PowerPC: Adjust multiarch Implies for PowerPC64
[glibc.git] / ChangeLog
blobfe42fb626d3a6ad7f3939f66daa981727fc2e7ba
1 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20         multiarch implementations.
21         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22         (__libc_ifunc_impl_list): Likewise.
23         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26         multiarch stpcpy for PPC64.
28 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
31         multiarch implementations.
32         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33         (__libc_ifunc_impl_list): Likewise.
34         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
35         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
37         multiarch strcpy for PPC64.
39 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42         redefine function name.
43         (_wordcopy_fwd_dest_aligned): Likewise.
44         (_wordcopy_bwd_aligned): Likewise.
45         (_wordcopy_bwd_dest_aligned): Likewise.
46         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
47         multiarch implementations.
48         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49         (__libc_ifunc_impl_list): Likewise.
50         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
51         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
54         multiarch wcscpy for PPC64.
56 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59         multiarch implementations.
60         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
61         (__libc_ifunc_impl_list): Likewise.
62         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
63         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
64         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
65         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
66         multiarch wcscpy for PPC64.
68 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
71         multiarch implementations.
72         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
73         (__libc_ifunc_impl_list): Likewise.
74         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
75         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
76         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
77         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
78         multiarch wcsrchr for PPC64.
80 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
83         multiarch implementations.
84         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
85         (__libc_ifunc_impl_list): Likewise.
86         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
87         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
88         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
89         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
90         multiarch wcschr for PPC64.
92 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
94         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
95         multiarch implementations.
96         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
97         (__libc_ifunc_impl_list): Likewise.
98         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
99         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
100         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
101         multiarch strchrnul for PPC64.
103 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
106         implementations.
107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
108         (__libc_ifunc_impl_list): Likewise.
109         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
110         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
111         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
112         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
113         strchr for PPC64.
115 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
118         implementations.
119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
120         (__libc_ifunc_impl_list): Likewise.
121         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
122         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
123         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
124         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
125         strncmp for PPC64.
127 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
130         multiarch implementations.
131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
132         (__libc_ifunc_impl_list): Likewise.
133         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
134         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
135         strncasecmp for PPC64.
136         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
137         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
138         multiarch strncasecmp_l for PPC64.
140 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
143         multiarch implementations.
144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
145         (__libc_ifunc_impl_list): Likewise.
146         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
147         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
148         multiarch strcasecmp for PPC64.
149         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
150         file.
151         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
152         multiarch strcasecmp_l for PPC64.
154 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
157         implementations.
158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
159         (__libc_ifunc_impl_list): Likewise.
160         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
161         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
162         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
163         strnlen for PPC64.
165 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
168         implementations.
169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
170         (__libc_ifunc_impl_list): Likewise.
171         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
172         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
173         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
174         strlen for PPC64.
176 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
179         implementations.
180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
181         (__libc_ifunc_impl_list): Likewise.
182         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
183         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
184         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
185         rawmemrchr for PPC64.
187 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
190         implementation.
191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
192         (__libc_ifunc_impl_list): Likewise.
193         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
194         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
195         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
196         memrchr for PPC64.
198 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
201         implementation.
202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
203         (__libc_ifunc_impl_list): Likewise.
204         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
205         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
206         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
207         memchr for PPC64.
209 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
212         implementation.
213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
214         (__libc_ifunc_impl_list): Likewise.
215         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
216         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
217         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
218         mempcpy for PPC64.
220 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
222         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
223         avoid cretion of __bzero symbol.
224         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
225         Likewise.
226         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
227         Likewise.
228         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
229         Likewise.
230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
231         multiarch implementations.
232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
233         (__libc_ifunc_impl_list): Likewise.
234         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
235         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
236         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
237         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
238         bzero for PPC32.
239         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
240         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
241         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
242         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
243         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
244         memset for PPC64.
245         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
247 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
249         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
250         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
251         implementations.
252         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
253         (__libc_ifunc_impl_list): Likewise.
254         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
255         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
256         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
257         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
258         memcmp for PPC64.
260 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
263         multiarch for POWER/PPC64.
264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
265         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
266         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
267         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
268         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
269         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
270         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
271         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
272         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
273         memcpy for PPC64.
275 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
277         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
278         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
279         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
280         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
281         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
282         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
283         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
284         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
285         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
286         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
287         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
288         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
289         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
290         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
291         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
300 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
302         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
304 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
306         * benchtests/Makefile (bench): Add exp2 and log2.
307         (LDLIBS-bench-exp2): Add -lm.
308         (LDLIBS-bench-log2): Likewise.
309         * benchtests/exp2-inputs: New inputs file.
310         * benchtests/log2-inputs: New inputs file.
311         * benchtests/log-inputs: Add new inputs.
312         * benchtests/tan-inputs: Likewise.
314 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
316         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
317         definition...
318         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
319         csloww1, csloww2): ... from here.
321         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
322         instead of structures.
323         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
324         (POLYNOMIAL): Likewise.
325         (TAYLOR_SLOW): Likewise.
326         (__sin): Likewise.
327         (__cos): Likewise.
328         (slow1): Likewise.
329         (slow2): Likewise.
330         (sloww): Likewise.
331         (sloww1); Likewise.
332         (sloww2): Likewise.
333         (bsloww1): Likewise.
334         (bsloww2): Likewise.
335         (cslow2): Likewise.
336         (csloww): Likewise.
337         (csloww1): Likewise.
338         (csloww2): Likewise.
340 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
342         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
343         (__malloc_assert, __libc_realloc, __libc_calloc,
344         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
345         memcpy and memset.
346         * malloc/hooks.c (realloc_check): Likewise.
348 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
350         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
351         * malloc/arena.c: Remove PER_THREAD conditional.
352         [!PER_THREAD]: Remove code.
353         (ptmalloc_unlock_all2): Likewise.
354         (ptmalloc_init): Likewise.
355         (_int_new_arena): Likewise.
356         (arena_get2): Likewise.
357         * malloc/hooks.c (__malloc_get_state): Likewise.
358         (__malloc_set_state): Likewise.
359         * malloc/malloc.c: Likewise.
360         (struct malloc_state): Likewise.
361         (struct malloc_par): Likewise.
362         (__libc_realloc): Likewise.
363         (__libc_mallopt): Likewise.
365 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
367         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
369 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
371         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
372         macro to a function.  Check for zero perturb_byte.
373         (_int_malloc, _int_free): Remove zero perturb_byte checks.
375 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
377         * malloc/malloc.c: (force_reg): Remove.
378         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
379         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
380         force_reg by atomic_forced_read.
381         * malloc/arena.c (ptmalloc_init): Likewise.
382         * malloc/hooks.c (top_check): Likewise.
384 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
388 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
392 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
394         * math/auto-libm-test-in: Add tests of lgamma.
395         * math/auto-libm-test-out: Regenerated.
396         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
397         (M_LOG_2_SQRT_PIl): Likewise.
398         (lgamma_test_data): Use AUTO_TESTS_f_f1.
399         * math/gen-auto-libm-tests.c (func_calc_method): Add value
400         mpfr_f_f1.
401         (func_calc_desc): Add mpfr_f_f1 union field.
402         (ARGS1): New macro.
403         (ARGS2): Likewise.
404         (ARGS3): Likewise.
405         (ARGS4): Likewise.
406         (RET1): Likewise.
407         (RET2): Likewise.
408         (CALC): Likewise.
409         (FUNC): Likewise.
410         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
411         (test_functions): Add lgamma.
412         (calc_generic_results): Handle mpfr_f_f1.
413         * sysdeps/i386/fpu/libm-test-ulps: Update.
414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
416 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
418         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
419         __mpn_add_n for PowerPC64/POWER7.
420         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
421         __mpn_sub_n for PowerPC64/POWER7.
423 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
425         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
426         __mpn_addmul_1 for PowerPC64.
427         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
428         __mpn_submul_1 for PowerPC64.
429         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
430         for PowerPC64.
431         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
432         for PowerPC64.
434 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
436         [BZ #15089]
437         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
439 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
441         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
443 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
445         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
446         add multiarch folders.
447         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
448         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
449         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
450         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
451         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
452         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
453         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
454         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
455         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
456         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
457         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
465 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
468         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
470         New file.
471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
472         New file.
473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
474         multiarch __ieee754_hypot for PowerPC32.
475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
476         New file.
477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
478         New file.
479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
480         multiarch __ieee754_hypotf for PowerPC32.
482 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
484         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
485         long_double_symbol only if __logbl is defined.
486         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
487         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
488         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
489         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
490         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
491         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
492         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
493         path for implementation.
494         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
495         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
497         logb, and logbl multiarch implementations for PowerPC32.
498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
499         file.
500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
501         file.
502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
503         multiarch logb for PowerPC32.
504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
505         file.
506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
507         file.
508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
509         multiarch logbf for PowerPC32.
510         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
512         file.
513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
514         multiarch logbl implementation for PowerPC32.
516 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
519         and modff multiarch implementations.
520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
521         New file.
522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
523         New file.
524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
525         multiarch modf for PowerPC32.
526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
527         New file.
528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
529         New file.
530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
531         multiarch modff for PowerPC32.
533 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
536         and lrintf multiarch implementations.
537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
538         New file.
539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
540         New file.
541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
542         multiarch lrint for PowerPC32.
543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
544         file: multiarch lrintf for PowerPC32.
546 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
549         and lroundf multiarch implementations.
550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
551         New file.
552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
553         New file.
554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
555         New file.
556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
557         multiarch lround for PowerPC32.
558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
559         file: multiarch lroundf for PowerPC32.
561 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
564         copysign and copysignf multiarch implementations.
565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
566         New file.
567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
568         New file.
569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
570         file: multiarch copysign for PowerPC32.
571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
572         file: multiarch copysignf for PowerPC32.
574 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
577         and truncf multiarch implementations.
578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
579         New file.
580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
581         file.
582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
583         multiarch trunc for PowerPC32.
584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
585         New file.
586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
587         New file.
588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
589         multiarch truncf for PowerPC32.
591 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
594         and roundf multiarch implementations.
595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
596         New file.
597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
598         file.
599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
600         multiarch round for PowerPC32.
601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
602         New file.
603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
604         New file.
605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
606         multiarch roundf for PowerPC32.
608 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
611         and floorf multiarch implementations.
612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
613         New file.
614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
615         file.
616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
617         multiarch floor for PowerPC32.
618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
619         New file.
620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
621         New file.
622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
623         multiarch floorf for PowerPC32.
625 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
628         and ceilf multiarch implementations.
629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
630         New file.
631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
632         file.
633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
634         multiarch ceil for PowerPC32.
635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
636         New file.
637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
638         file.
639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
640         multiarch ceilf for PowerPC32.
642 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
644         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
645         is defined.
646         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
647         FINITEF is defined.
648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
649         and finitef multiarch implementations.
650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
651         New file.
652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
653         file.
654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
655         multiarch finite for PowerPC32.
656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
657         New file.
658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
659         file: multiarch finitef for PowerPC32.
661 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
664         and isinff multiarch implementations.
665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
666         file.
667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
668         file.
669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
670         multiarch isinf for PowerPC32.
671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
672         New file.
673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
674         multiarch isinff for PowerPC32.
676 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
678         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
679         alias when __isnan is defined.
680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
681         and isnanf multiarch implementations.
682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
683         file.
684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
685         file.
686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
687         file.
688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
689         file.
690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
691         multiarch isnan for PowerPC32.
692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
693         New file.
694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
695         New file.
696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
697         multiarch isnanf for PowerPC32.
699 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
702         and sqrtf multiarch implementations.
703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
704         file.
705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
706         file.
707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
708         multiarch sqrt for PowerPC32.
709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
710         file.
711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
712         file.
713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
714         multiarch sqrtf for PowerPC32.
716 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
719         and llroundf multiarch implementations.
720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
721         New file.
722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
723         New file.
724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
725         New file.
726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
727         file: multiarch llround for PowerPC32.
728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
729         file: multiarch llroundf for PowerPC32.
731 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
734         multiarch PowerPC32 fpu implementations.
735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
736         New file.
737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
738         New file.
739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
740         multiarch llrint for PowerPC32.
741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
742         New file.
743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
744         New file.
745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
746         file.
748 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
752 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
754         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
755         file.
756         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
757         file.
758         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
759         file.
760         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
761         multiarch wordcopy for PPC32.
762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
763         wordcopy objects.
764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
765         (__libc_ifunc_impl_list): Likewise.
766         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
767         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
768         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
769         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
770         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
771         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
773 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
775         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
777         file.
778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
779         file.
780         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
781         file.
782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
783         multiarch wcscpy for PPC32.
784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
785         multiarch objects.
786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
787         (__libc_ifunc_impl_list): Likewise.
788         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
789         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
790         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
791         sysdeps/powerpc/power6/wcscpy.c.
793 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
795         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
796         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
797         file.
798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
799         file.
800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
801         file.
802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
803         multiarch wcsrchr for PPC32.
804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
805         multiarch objects.
806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
807         (__libc_ifunc_impl_list): Likewise.
808         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
809         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
810         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
811         sysdeps/powerpc/power6/wcsrchr.c.
813 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
816         file.
817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
818         file.
819         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
821         multiarch wcschr for PPc32.
822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
823         multiarch objects.
824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
825         (__libc_ifunc_impl_list): Likewise.
826         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
827         * sysdeps/powerpc/power6/wcschr.c: ... to here.
828         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
829         sysdeps/powerpc/power6/wcschr.c.
831 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
833         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
834         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
835         file.
836         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
837         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
838         file: multiarch strchr for PPC32.
839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
840         multiarch objects.
841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
842         (__libc_ifunc_impl_list): Likewise.
844 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
846         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
847         name.
848         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
849         file.
850         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
851         file.
852         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
853         multiarch strchrnul for PPC32.
854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
855         multiarch objects.
856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
857         (__libc_ifunc_impl_list): Likewise.
859 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
861         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
862         file.
863         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
864         multiarch strncasecmp for PPC32.
865         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
866         file.
867         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
868         multiarch strncasecmp_l for PPC32.
869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
870         strncasecmp 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         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
877         file.
878         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
879         multiarch strncasecmp for PPC32.
880         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
881         New file.
882         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
883         multiarch strcasecmp_l for PPC32.
884         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
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/strncmp-power7.S: New
892         file.
893         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
894         file.
895         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
896         multiarch strncmp for PPC32.
897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
898         multiarch objects.
899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
900         (__libc_ifunc_impl_list): Likewise.
902 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
904         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
905         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
906         file.
907         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
908         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
910         multiarch objects.
911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
912         (__libc_ifunc_impl_list): Likewise.
914 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
916         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
917         file.
918         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
919         file.
920         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
922         multiarch objects.
923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
924         (__libc_ifunc_impl_list): Likewise.
926 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
928         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
929         file.
930         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
931         file.
932         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
933         multiarch rawmemchr for PPC32.
934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
935         multiarch objects.
936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
937         (__libc_ifunc_impl_list): Likewise.
939 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
941         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
942         file.
943         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
944         file.
945         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
946         file: memrchr multiarch for PPC32.
947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
948         multiarch objects.
949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
950         (__libc_ifunc_impl_list): Likewise.
952 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
954         * string/memchr.c (__memchr): Using macro to redefine symbol name.
955         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
956         file.
957         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
958         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
959         multiarch memchr for PPC32.
960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
961         multiarch objects.
962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
963         (__libc_ifunc_impl_list): Likewise.
965 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
967         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
968         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
969         file.
970         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
971         file.
972         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
973         file: multiarch mempcpy for PPC32.
974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
975         multiarch objects.
976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
977         (__libc_ifunc_impl_list): Likewise.
979 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
981         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
982         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
983         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
984         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
985         multiarch bzero for PPC32.
986         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
987         file.
988         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
989         file.
990         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
991         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
992         file: multiarch memset for PPC32.
993         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
995         memset multiarch objects.
996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
997         (__libc_ifunc_impl_list): Likewise.
999 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1002         file.
1003         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1004         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1005         memcmp for PPC32.
1006         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1007         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1008         multiarch objects.
1009         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1010         (__libc_ifunc_impl_list): Likewise.
1012 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1015         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1017         file.
1018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1019         file.
1020         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1021         file.
1022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1023         multiarch memcpy for PPC32.
1024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1025         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/Makefile: New file to
1032         support multiarch for POWER/PPC32.
1033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1034         Likewise.
1035         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1037         Implies file to make multiarch folder appers before the fpu and
1038         default folder for power4 configuration.
1040 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1042         * scripts/bench.pl: Append volatile keyword to type.
1044 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1046         * sysdeps/sh/sotruss-lib.c: New file.
1047         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1049 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1053 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1055         [BZ #6810]
1056         * math/w_tgamma.c: Include <errno.h>.
1057         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1058         * math/w_tgammaf.c: Include <errno.h>.
1059         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1060         * math/w_tgammal.c: Include <errno.h>.
1061         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1062         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1063         underflow.  Add more tgamma tests.
1064         * math/auto-libm-test-out: Regenerated.
1065         * sysdeps/i386/fpu/libm-test-ulps: Update.
1066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1068         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1069         sin, sinh, tan, tanh, tgamma, y0 and y1.
1070         * math/auto-libm-test-out: Regenerated.
1071         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1072         (TEST_COND_x86): Likewise.
1073         (M_E2l): Remove macro.
1074         (M_E3l): Likewise.
1075         (M_2_SQRT_PIl): Likewise.
1076         (M_SQRT_PIl): Likewise.
1077         (M_1_DIV_El): Likewise.
1078         (log_test_data): Use AUTO_TESTS_f_f.
1079         (log10_test_data): Likewise.
1080         (log1p_test_data): Likewise.
1081         (log2_test_data): Likewise.
1082         (sin_test_data): Likewise.
1083         (sin_tonearest_test_data): Likewise.
1084         (sin_towardzero_test_data): Likewise.
1085         (sin_downward_test_data): Likewise.
1086         (sin_upward_test_data): Likewise.
1087         (sinh_test_data): Likewise.
1088         (sinh_tonearest_test_data): Likewise.
1089         (sinh_towardzero_test_data): Likewise.
1090         (sinh_downward_test_data): Likewise.
1091         (sinh_upward_test_data): Likewise.
1092         (tan_test_data): Likewise.
1093         (tan_tonearest_test_data): Likewise.
1094         (tan_towardzero_test_data): Likewise.
1095         (tan_downward_test_data): Likewise.
1096         (tan_upward_test_data): Likewise.
1097         (tanh_test_data): Likewise.
1098         (tgamma_test_data): Likewise.
1099         (y0_test_data): Likewise.
1100         (y1_test_data): Likewise.
1101         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1102         (special_real_inputs): Add pi/4.
1103         * sysdeps/i386/fpu/libm-test-ulps: Update.
1104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1106 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1108         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1109         "longjmp_target" static probes.
1110         (__longjmp): Rename to __longjmp_symbol.
1111         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1112         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1113         on which longjmp to generate.
1114         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1115         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1116         probe.
1117         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1118         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1119         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1120         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1121         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1122         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1124         __longjmp_symbol based on which __longjmp to generate.
1125         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1126         probe.
1127         (setjmp): Rename to setjmp_symbol.
1128         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1129         (_setjmp): Rename to _setjmp_symbol.
1130         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1131         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1132         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1133         which setjmp to generate.
1134         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1135         "longjmp_target" static probes.
1137 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1139         * benchtests/README: Add note about output arguments.
1140         * benchtests/bench-sincos.c: Remove file.
1141         * benchtests/sincos-inputs: New file.
1142         * scripts/bench.pl: Identify output arguments and define
1143         static variables for them.
1145         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1147         [BZ #15941]
1148         * Makefile (INSTALL): Add install-plain.texi as the primary
1149         dependency.
1150         * manual/install-plain.texi: New file.
1151         * manual/install.texi: Include node directive only for
1152         non-plaintext output.
1154 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1156         * stdlib/longlong.h: Update from GCC.
1158         [BZ #6807]
1159         [BZ #15901]
1160         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1161         * math/w_j0f.c (y0f): Likewise.
1162         * math/w_j0l.c (__y0l): Likewise.
1163         * math/w_j1.c (y1): Likewise.
1164         * math/w_j1f.c (y1f): Likewise.
1165         * math/w_j1l.c (__y1l): Likewise
1166         * math/w_jn.c (yn): Likewise.
1167         * math/w_jnf.c (ynf): Likewise.
1168         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1169         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
1170         value for Bessel function domain errors outside _SVID_ mode.
1171         Adjust sign of return value for yn (negative integer, 0).
1172         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1173         by zero in return for negative x and set sign appropriately for
1174         negative n.
1175         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1176         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1177         * math/libm-test.inc (y0_test_data): Add more tests and adjust
1178         expectations in error cases.
1179         (y1_test_data): Likewise.
1180         (yn_test_data): Likewise.
1181         * sysdeps/i386/fpu/libm-test-ulps: Update.
1182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1184 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1186         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1187         "64" to "64-v1".  Add "64-v2".
1188         (abi-64-options): Rename to ...
1189         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
1190         (abi-64-condition): Rename to ...
1191         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
1192         (abi-64-ld-soname): Rename to ...
1193         (abi-64-v1-ld-soname): ... this.
1194         (abi-64-v2-options): Define.
1195         (abi-64-v2-condition): Likewise.
1196         (abi-64-v2-ld-soname): Likewise.
1197         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1198         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1203 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1204             Alan Modra  <amodra@gmail.com>
1206         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1207         New versions for use with the ELFv2 ABI.
1208         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1209         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1210         declaration.
1211         (struct La_ppc64v2_retval): Likewise.
1212         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1213         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1214         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1215         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1216         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1217         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1218         Do not save or restore CR.
1219         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1220         (_dl_profile_resolve): Do no save or restore CR.  Support extended
1221         return values for ELFv2 ABI.  Fix location of FPR return registers.
1222         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1223         updated values for _CALL_ELF == 2.
1224         (La_regs, La_retval, int_retval): Likewise.
1226 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1228         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1229         (FRAME_MIN_SIZE_PARM): Likewise.
1230         (FRAME_BACKCHAIN): Likewise.
1231         (FRAME_CR_SAVE): Likewise.
1232         (FRAME_LR_SAVE): Likewise.
1233         (FRAME_TOC_SAVE): Likewise.
1234         (FRAME_PARM_SAVE): Likewise.
1235         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1236         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1237         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1238         (call_mcount_parm_offset): New macro.
1239         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1240         (PROF): Use symbolic stack frame offsets.
1241         (TAIL_CALL_SYSCALL_ERROR): Likewise.
1242         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1243         Redefine in terms of FRAME_MIN_SIZE.
1244         (_dl_runtime_resolve): Use symbolic stack frame offsets.
1245         (_dl_profile_resolve): Likewise.  Update comment.
1246         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1247         symbols stack frame offsets.
1248         (__sigsetjmp): Likewise.
1249         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1250         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1251         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1252         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1255         (FRAME_BACKCHAIN): Remove.
1256         (FRAME_CR_SAVE): Likewise.
1257         (FRAME_LR_SAVE): Likewise.
1258         (FRAME_COMPILER_DW): Likewise.
1259         (FRAME_LINKER_DW): Likewise.
1260         (FRAME_TOC_SAVE): Likewise.
1261         (FRAME_PARM_SAVE): Likewise.
1262         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1263         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1264         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1266         (CHECK_SP): Use symbolic stack frame offsets.
1267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1268         zone" instead of caller's parameter save area for temp storage.
1269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1270         Likewise.  Also, use symbolic stack frame offsets.
1271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1272         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1273         our own stack frame instead of the caller's.
1274         (__socket): Use symbolic stack frame offsets.
1276 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1277             Alan Modra  <amodra@gmail.com>
1279         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1280         Define.
1281         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1282         PPC64_LOCAL_ENTRY_OFFSET): Define.
1283         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1284         New function.
1285         (elf_machine_fixup_plt): Call it.
1286         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
1287         reloc arguments.
1288         (elf_machine_rela): Update call to elf_machine_plt_conflict.
1289         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1290         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1291         r2 before calling target.
1293 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1294             Alan Modra  <amodra@gmail.com>
1296         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1297         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1298         versions of macros to support ELFv2 ABI.
1299         (LOCALENTRY): New macro.
1300         (ENTRY, EALIGN): Use it.
1301         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1302         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1303         fall through into ENTRY entry point.
1304         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1305         Only define if _CALL_ELF != 2.
1307         (elf_machine_matches_host): Verify ABI version matches.
1308         (RTLD_START): Use LOCALENTRY.
1309         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1310         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1311         (PLT_ENTRY_WORDS): New macro.
1312         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1313         (elf_machine_runtime_setup): Support ELFv2 ABI.
1314         (elf_machine_fixup_plt): Likewise.
1315         (elf_machine_plt_conflict): Likewise.
1316         (resolve_ifunc): Likewise.
1317         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1318         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1319         Likewise.
1320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1321         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1323         (makecontext): Support ELFv2 ABI.
1324         * elf/elf.h (EF_PPC64_ABI): Define.
1326 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1328         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1329         New assembler macro.
1330         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1331         [ASSEMBLER] (ENTRY): ... but instead here ...
1332         [ASSEMBLER] (EALIGN): ... and here.
1333         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1334         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1335         [!ASSEMBLER] (ENTRY_2): Use it.
1336         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1337         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
1338         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1339         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1340         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1342         Use PPC64_LOAD_FUNCPTR.
1344 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1346         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1348 2013-12-04  Alan Modra  <amodra@gmail.com>
1350         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1351         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1352         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1353         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1355         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1356         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1357         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1358         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1359         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1360         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1362 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1365         (__makecontext): Fix incorrect CFI when backtracing out of
1366         context created via makecontext.
1367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1368         (__setcontext): Fix incorrect CFI during switch to new context.
1369         (__novec_setcontext): Likewise.
1371 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1373         [BZ #4772]
1374         * time/strptime_l.c (__strptime_internal): Allow modifiers
1375         in strptime.
1376         * time/tst-strptime.c (day_tests): Add testcase.
1379 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1381         * scripts/bench.pl: Skip over blank lines.
1383 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1385         [BZ #926]
1386         * manual/time.texi (Calendar Time): Clarify what timezone functions
1387         use.
1389 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1393 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1395         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1396         implementation.
1397         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1398         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1399         * debug/memset_chk.c (__memset_chk): Likewise.
1400         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1401         * debug/strncpy_chk.c: Likewise.
1403 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1405         [BZ #15268]
1406         [BZ #15425]
1407         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1408         (__ieee754_exp): For possibly underflowing results, check size of
1409         result and force underflow exception if required.
1410         * math/auto-libm-test-in: Add more tests of exp.
1411         * math/auto-libm-test-out: Regenerated.
1412         * sysdeps/i386/fpu/libm-test-ulps: Update.
1413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1415         [BZ #16283]
1416         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1417         * math/w_exp2f.c (__exp2f): Likewise.
1418         * math/w_exp2l.c (__exp2l): Likewise.
1419         * math/auto-libm-test-in: Do not allow missing errno on exp2
1420         underflow.
1421         * math/auto-libm-test-out: Regenerated.
1423 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1425         [BZ #16274]
1426         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1427         handle filename validation.
1428         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1429         (do_open): Delete.
1431 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1433         [BZ #6786]
1434         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1435         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1436         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1437         <float.h>.
1438         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1439         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1440         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1441         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1442         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1443         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1444         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1445         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1446         Add more erfc tests.
1447         * math/auto-libm-test-out: Regenerated.
1448         * sysdeps/i386/fpu/libm-test-ulps: Update.
1449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1451         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1452         exp2, expm1, j0 and j1.
1453         * math/auto-libm-test-out: Regenerated.
1454         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1455         (erfc_test_data): Likewise.
1456         (exp_test_data): Likewise.
1457         (exp_tonearest_test_data): Likewise.
1458         (exp_towardzero_test_data): Likewise.
1459         (exp_downward_test_data): Likewise.
1460         (exp_upward_test_data): Likewise.
1461         (exp10_test_data): Likewise.
1462         (exp2_test_data): Likewise.
1463         (expm1_test_data): Likewise.
1464         (j0_test_data): Likewise.
1465         (j1_test_data): Likewise.
1466         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1467         (input_flag_type): Add flag_xfail_rounding.
1468         (input_flags): Add xfail-rounding.
1469         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1470         (output_for_one_input_case): Handle flag_xfail_rounding.
1471         * sysdeps/i386/fpu/libm-test-ulps: Update.
1472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1474 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1476         [BZ #16289]
1477         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1478         division by 0.
1480 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1482         [BZ #16195]
1483         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1484         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1485         (STAP_PROBE0): New macro.
1486         (STAP_PROBE1): Likewise.
1487         (STAP_PROBE2): Likewise.
1488         (STAP_PROBE3): Likewise.
1489         (STAP_PROBE4): Likewise.
1491 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1493         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1495 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1497         * benchtests/Makefile (bench): Add sqrt.
1498         (LDLIBS-bench-sqrt): New.
1499         * benchtests/sqrt-input: New.
1501 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1503         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1504         (GAIH_EAI): Likewise.
1505         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1506         (gaih_inet): Likewise.
1507         (getaddrinfo): Don't use GAIH_EAI.
1509         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1510         (struct gaih): Remove definition.
1512 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1514         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1515         Use HERRNOP directly.
1517 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1521 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1523         * math/gen-auto-libm-tests.c (test_functions): Add more
1524         single-argument functions.
1525         (special_fill_pi_2): New function.
1526         (special_fill_minus_pi_2): Likewise.
1527         (special_fill_pi_6): Likewise.
1528         (special_fill_minus_pi_6): Likewise.
1529         (special_fill_pi_3): Likewise.
1530         (special_fill_2pi_3): Likewise.
1531         (special_fill_e): Likewise.
1532         (special_fill_1_e): Likewise.
1533         (special_fill_e_minus_1): Likewise.
1534         (special_real_inputs): Add more special inputs.
1535         (output_for_one_input_case): Do not require ERANGE on underflow to
1536         zero if round-to-nearest result does not underflow to zero, unless
1537         exact results required.
1538         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1539         atan, atanh, cbrt, cos and cosh.
1540         * math/auto-libm-test-out: Regenerated.
1541         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1542         (acos_tonearest_test_data): Likewise.
1543         (acos_towardzero_test_data): Likewise.
1544         (acos_downward_test_data): Likewise.
1545         (acos_upward_test_data): Likewise.
1546         (acosh_test_data): Likewise.
1547         (asin_test_data): Likewise.
1548         (asin_tonearest_test_data): Likewise.
1549         (asin_towardzero_test_data): Likewise.
1550         (asin_upward_test_data): Likewise.
1551         (asinh_test_data): Likewise.
1552         (atan_test_data): Likewise.
1553         (atanh_test_data): Likewise.
1554         (cbrt_test_data): Likewise.
1555         (cos_test_data): Likewise.
1556         (cos_tonearest_test_data): Likewise.
1557         (cos_towardzero_test_data): Likewise.
1558         (cos_downward_test_data): Likewise.
1559         (cos_upward_test_data): Likewise.
1560         (cosh_test_data): Likewise.
1561         (cosh_tonearest_test_data): Likewise.
1562         (cosh_towardzero_test_data): Likewise.
1563         (cosh_downward_test_data): Likewise.
1564         (cosh_upward_test_data): Likewise.
1565         * sysdeps/i386/fpu/libm-test-ulps: Update.
1566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1568 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1570         [BZ #6787]
1571         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1572         * math/w_exp10f.c (__exp10f): Likewise.
1573         * math/w_exp10l.c (__exp10l): Likewise.
1574         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1575         errno settings in existing tests.
1577         [BZ #14032]
1578         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1579         precision control set to double precision.
1580         * sysdeps/i386/fpu/w_sqrt.c: New file.
1581         * math/auto-libm-test-in: Add more tests.
1582         * math/auto-libm-test-out: Update.
1584         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1585         (sqrt_test_tonearest): New function.
1586         (sqrt_towardzero_test_data): New variable.
1587         (sqrt_test_towardzero): New function.
1588         (sqrt_downward_test_data): New variable.
1589         (sqrt_test_downward): New function.
1590         (sqrt_upward_test_data): New variable.
1591         (sqrt_test_upward): New function.
1592         (main): Call the new functions.
1594         * math/gen-auto-libm-tests.c: New file.
1595         * math/auto-libm-test-in: Likewise.
1596         * math/auto-libm-test-out: New generated file.
1597         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1598         variables.
1599         (%beautify): Add generated representations of zero.
1600         (top level): Set $auto_input and call parse_auto_input.
1601         (beautify): Remove trailing "f" from hex float constants.
1602         (parse_args): Handle XFAIL_TEST.
1603         (convert_condition): New function.
1604         (or_value): Likewise.
1605         (or_cond_value): Likewise.
1606         (generate_testfile): Handle AUTO_TESTS_* lines.
1607         (parse_auto_input): New function.
1608         * math/libm-test.inc (XFAIL_TEST): New macro.
1609         (ERRNO_UNCHANGED): Update value.
1610         (ERRNO_EDOM): Likewise.
1611         (ERRNO_ERANGE): Likewise.
1612         (IGNORE_RESULT): Likewise.
1613         (TEST_COND_flt_32): New macro.
1614         (TEST_COND_dbl_64): Likewise.
1615         (TEST_COND_ldbl_96_intel): Likewise.
1616         (TEST_COND_ldbl_96_m68k): Likewise.
1617         (TEST_COND_ldbl_128): Likewise.
1618         (TEST_COND_ldbl_128ibm): Likewise.
1619         (TEST_COND_long32): Likewise.
1620         (TEST_COND_long64): Likewise.
1621         (TEST_COND_before_rounding): Likewise.
1622         (TEST_COND_after_rounding): Likewise.
1623         (enable_test): Handle XFAIL_TEST flag.
1624         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1625         with finite results.
1626         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1627         auto-libm-test-out.
1629 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1630             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1632         [BZ #16214]
1633         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1634         __tls_get_addr_internal instead of __tls_get_offset in order to
1635         avoid GOT pointer dependency.  Make rtld export
1636         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1637         __tls_get_addr since we are a __tls_get_offset platform.
1638         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1639         GOT pointer being set up before.
1640         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1642 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
1644         * manual/math.texi (Errors in Math Functions): Document accuracy
1645         goals.
1647         [BZ #15004]
1648         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1649         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1650         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1651         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1652         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1653         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1654         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1655         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1656         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1657         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1658         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1659         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1660         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1661         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1662         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1663         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1665         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1666         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1667         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1668         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1669         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1670         Likewise.
1671         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1672         Likewise.
1673         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1674         Likewise.
1675         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1676         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1677         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1678         atomic-feupdateenv and flt-rounds.
1679         * sysdeps/powerpc/nofpu/Versions (libc): Add
1680         __atomic_feholdexcept, __atomic_feclearexcept,
1681         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1682         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1683         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1684         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1685         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1686         here.
1687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1688         Update.
1690         * manual/arith.texi (FP Exceptions): Document that exceptions may
1691         not be raised when matherr is used.
1692         (Math Error Reporting): Document overflow in directed rounding
1693         modes.  Document that errno may not be set when finite values are
1694         returned on overflow.  Document intent to set errno on underflow
1695         only for underflow to zero.
1697         [BZ #16271]
1698         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1699         round-to-nearest then adjust result for other rounding modes.
1700         * include/fenv.h (fegetround): Use libm_hidden_proto.
1701         * math/fegetround.c (fegetround): Use libm_hidden_def.
1702         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1703         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1704         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1705         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1706         Likewise.
1707         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1708         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1709         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1710         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1712 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1714         [BZ #16077]
1715         * nss/Versions (libnss_files): Add
1716         _nss_files_gethostbyname3_r.
1717         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1718         New function.
1719         (HOST_DB_LOOKUP): Remove macro.
1720         (_nss_files_gethostbyname_r): Implement function without the
1721         HOST_DB_LOOKUP macro.
1722         (_nss_files_gethostbyname2_r): Likewise.
1724 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
1726         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1728 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
1730         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1731         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1732         warning.
1734 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1736         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1737         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1738         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1739         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1740         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1741         __fe_nomask_env_priv and attribute_hidden.
1742         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1743         (libc_feupdateenv_test_ppc): Likewise.
1744         (libc_feresetround_ppc): Likewise.
1745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1746         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1747         compat_symbol macro.
1748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1749         (__fe_nomask_env): Likewise.
1750         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1752 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1754         * string/Makefile: Remove ifunc tests.
1755         * string/test-string.h: Define TEST_IFUNC.
1756         * string/test-bcopy-ifunc.c: Remove.
1757         * string/test-bzero-ifunc.c: Likewise.
1758         * string/test-memccpy-ifunc.c: Likewise.
1759         * string/test-memchr-ifunc.c: Likewise.
1760         * string/test-memcmp-ifunc.c: Likewise.
1761         * string/test-memcpy-ifunc.c: Likewise.
1762         * string/test-memmem-ifunc.c: Likewise.
1763         * string/test-memmove-ifunc.c: Likewise.
1764         * string/test-mempcpy-ifunc.c: Likewise.
1765         * string/test-memrchr-ifunc.c: Likewise.
1766         * string/test-memset-ifunc.c: Likewise.
1767         * string/test-rawmemchr-ifunc.c: Likewise.
1768         * string/test-stpcpy-ifunc.c: Likewise.
1769         * string/test-stpncpy-ifunc.c: Likewise.
1770         * string/test-strcasecmp-ifunc.c: Likewise.
1771         * string/test-strcasestr-ifunc.c: Likewise.
1772         * string/test-strcat-ifunc.c: Likewise.
1773         * string/test-strchr-ifunc.c: Likewise.
1774         * string/test-strchrnul-ifunc.c: Likewise.
1775         * string/test-strcmp-ifunc.c: Likewise.
1776         * string/test-strcpy-ifunc.c: Likewise.
1777         * string/test-strcspn-ifunc.c: Likewise.
1778         * string/test-strlen-ifunc.c: Likewise.
1779         * string/test-strncasecmp-ifunc.c: Likewise.
1780         * string/test-strncat-ifunc.c: Likewise.
1781         * string/test-strncmp-ifunc.c: Likewise.
1782         * string/test-strncpy-ifunc.c: Likewise.
1783         * string/test-strnlen-ifunc.c: Likewise.
1784         * string/test-strpbrk-ifunc.c: Likewise.
1785         * string/test-strrchr-ifunc.c: Likewise.
1786         * string/test-strspn-ifunc.c: Likewise.
1787         * string/test-strstr-ifunc.c: Likewise.
1789 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1791         * benchtests/Makefile: Remove ifunc tests.
1792         * benchtests/bench-string.h: Define TEST_IFUNC.
1793         * benchtests/bench-bcopy-ifunc.c: Remove.
1794         * benchtests/bench-bzero-ifunc.c: Likewise.
1795         * benchtests/bench-memccpy-ifunc.c: Likewise.
1796         * benchtests/bench-memchr-ifunc.c: Likewise.
1797         * benchtests/bench-memcmp-ifunc.c: Likewise.
1798         * benchtests/bench-memcpy-ifunc.c: Likewise.
1799         * benchtests/bench-memmem-ifunc.c: Likewise.
1800         * benchtests/bench-memmove-ifunc.c: Likewise.
1801         * benchtests/bench-mempcpy-ifunc.c: Likewise.
1802         * benchtests/bench-memrchr-ifunc.c: Likewise.
1803         * benchtests/bench-memset-ifunc.c: Likewise.
1804         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1805         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1806         * benchtests/bench-stpcpy-ifunc.c: Likewise.
1807         * benchtests/bench-stpncpy-ifunc.c: Likewise.
1808         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1809         * benchtests/bench-strcasestr-ifunc.c: Likewise.
1810         * benchtests/bench-strcat-ifunc.c: Likewise.
1811         * benchtests/bench-strchr-ifunc.c: Likewise.
1812         * benchtests/bench-strchrnul-ifunc.c: Likewise.
1813         * benchtests/bench-strcmp-ifunc.c: Likewise.
1814         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1815         * benchtests/bench-strcpy-ifunc.c: Likewise.
1816         * benchtests/bench-strcspn-ifunc.c: Likewise.
1817         * benchtests/bench-strlen-ifunc.c: Likewise.
1818         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1819         * benchtests/bench-strncat-ifunc.c: Likewise.
1820         * benchtests/bench-strncmp-ifunc.c: Likewise.
1821         * benchtests/bench-strncpy-ifunc.c: Likewise.
1822         * benchtests/bench-strnlen-ifunc.c: Likewise.
1823         * benchtests/bench-strpbrk-ifunc.c: Likewise.
1824         * benchtests/bench-strrchr-ifunc.c: Likewise.
1825         * benchtests/bench-strsep-ifunc.c: Likewise.
1826         * benchtests/bench-strspn-ifunc.c: Likewise.
1827         * benchtests/bench-strstr-ifunc.c: Likewise.
1829 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1831         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1833 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1835         * resolv/netdb.h: Use __glibc_reserved instead __unused.
1836         * rt/aio.h: Likewise.
1837         * sysdeps/gnu/bits/utmp.h: Likewise.
1838         * sysdeps/gnu/bits/utmpx.h: Likewise.
1839         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1840         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1841         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1842         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1843         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1844         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1845         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1846         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1847         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1848         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1849         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1850         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1851         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1853         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1854         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1855         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1856         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1857         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1858         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1859         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1860         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1861         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1862         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1863         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1864         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1865         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1866         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1867         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1868         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1869         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1870         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1871         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1872         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1873         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1874         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1875         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1876         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1877         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1878         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1879         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1880         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1882 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
1884         [BZ #16245]
1885         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1886         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1888 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
1890         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1891         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1892         Likewise.
1894 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1896         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1897         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1898         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1899         (__fesetround): Remove define.
1900         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1901         rounding and exceptions handling.
1902         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1903         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1904         (__fe_nomask_env): Likewise.
1905         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1906         __fegetround instead of fegetround.
1907         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1908         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1910 2013-11-21  Roland McGrath  <roland@hack.frob.com>
1912         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1913         it's there.
1915         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1917 2013-11-21  Meador Inge  <meadori@codesourcery.com>
1919         [BZ #11157]
1920         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1921         (encrypt_r): Likewise.
1922         * malloc/obstack.h (obstack_free): Likewise.
1923         * posix/unistd.h (encrypt): Likewise.
1925 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1927         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1928         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1929         DL_CALL_DT_FINI() that call the functions directly.
1930         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1931         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1932         * elf/dl-fini.c: Likewise.
1934 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
1936         * malloc/hooks.c (memalign_check): Add alignment rounding.
1937         * malloc/malloc.c (_mid_memalign): New function.
1938         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1939         Implement by calling _mid_memalign.
1940         * manual/probes.texi (Memory Allocation Probes): Remove
1941         memory_valloc_retry and memory_pvalloc_retry.
1943 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1945         * locale/programs/locarchive.c (open_archive): Add const
1946         qualifier to ARCHIVEFNAME and copy default fname to
1947         DEFAULT_FNAME.
1949         [BZ #15601]
1950         * libio/tst-widetext.input: Rename Oriya to Odia.
1951         * locale/iso-639.def: Likewise.
1953         * manual/probes.texi (Mathematical Function Probes): Add
1954         documentation for sin, cos, asin and acos probes.
1955         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1956         (__sin32): Add slowasin probe.
1957         (__cos32): Add slowacos probe.
1958         (__mpsin): Add slowsin probe.
1959         (__mpcos): Add slowcos probe.
1961 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
1963         [BZ #15483]
1964         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1965         thread-local __sim_exceptions_thread and global
1966         __sim_exceptions_global.
1967         (__sim_disabled_exceptions): Change to thread-local
1968         __sim_disabled_exceptions_thread and global
1969         __sim_disabled_exceptions_global.
1970         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1971         and global __sim_round_mode_global.
1972         (__simulate_exceptions): Use thread-local floating-point state and
1973         set global state from it as needed.
1974         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1975         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1976         __sim_round_mode_thread.
1977         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1978         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1979         and global __sim_exceptions_global.
1980         (__sim_disabled_exceptions): Change to thread-local
1981         __sim_disabled_exceptions_thread and global
1982         __sim_disabled_exceptions_global.
1983         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1984         and global __sim_round_mode_global.
1985         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1986         (SIM_SET_GLOBAL): Likewise.
1987         * sysdeps/powerpc/soft-fp/sfp-machine.h
1988         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1989         __sim_round_mode_thread.
1990         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1991         __sim_disabled_exceptions_thread.
1992         (__sim_exceptions): Change to __sim_exceptions_thread.
1993         (__sim_disabled_exceptions): Change to
1994         __sim_disabled_exceptions_thread.
1995         (__sim_round_mode): Change to __sim_round_mode_thread.
1996         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1997         thread-local floating-point state and set global state from it as
1998         needed.
1999         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2000         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2001         (__sim_disabled_exceptions): Remove extern declaration.
2002         (feenableexcept): Use thread-local floating-point state and set
2003         global state from it as needed.
2004         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2005         extern declaration.
2006         (__sim_disabled_exceptions): Likewise.
2007         (__sim_round_mode): Likewise.
2008         (__fegetenv): Use thread-local floating-point state.
2009         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2010         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2011         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2012         floating-point state and set global state from it as needed.
2013         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2014         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2015         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2016         Likewise.
2017         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2018         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2019         Likewise.
2020         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2021         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2022         Use __sim_round_mode_thread.
2023         * math/test-fenv-tls.c: New file.
2024         * math/Makefile (tests): Add test-fenv-tls.
2025         ($(objpfx)test-fenv-tls): Depend on
2026         $(common-objpfx)nptl/libpthread.so.
2028 2013-11-19  Andreas Schwab  <schwab@suse.de>
2030         * locale/programs/locale.c (show_info): Decode wordarray elements.
2031         * locale/categories.def (LC_MONETARY): Add element for
2032         _NL_MONETARY_CRNCYSTR.
2033         * locale/C-monetary.c (conversion_rate): New variable.
2034         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2035         element.
2037 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2039         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2040         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2042 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2044         * elf/Makefile (tst-auxv): New test.
2045         * elf/tst-auxv.c: New
2046         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2048 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2050         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2051         (hidden_proto): Caller changed.
2052         (hidden_tls_proto): New macro.
2053         (libc_hidden_tls_proto): Likewise.
2054         (rtld_hidden_tls_proto): Likewise.
2055         (libm_hidden_tls_proto): Likewise.
2056         (libresolv_hidden_tls_proto): Likewise.
2057         (librt_hidden_tls_proto): Likewise.
2058         (libdl_hidden_tls_proto): Likewise.
2059         (libnss_files_hidden_tls_proto): Likewise.
2060         (libnsl_hidden_tls_proto): Likewise.
2061         (libnss_nisplus_hidden_tls_proto): Likewise.
2062         (libutil_hidden_tls_proto): Likewise.
2064 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2066         [BZ #10253]
2067         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2068         (decompose_rpath): Defer expansion to fillin_rpath.
2069         (_dl_init_paths): Pass linkmap to fillin_rpath.
2071 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2073         * benchtests/Makefile: Add strsep.
2074         * benchtests/bench-strsep.c: New file: strsep benchtest.
2075         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2077 2013-11-18  Andreas Schwab  <schwab@suse.de>
2079         * locale/programs/locale.c (show_info) [case byte]: Check for
2080         '\377' instead of '\177'.
2081         * locale/C-monetary.c (not_available): Always use "\377".
2082         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2083         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2084         detect unavailable sign_posn locale elements.
2085         * locale/localeconv.c (__localeconv): For grouping and
2086         mon_grouping handle "\177" and "\377" like no grouping.
2087         (INT_ELEM): New macro.  Use it to set all numeric members.
2088         * locale/programs/ld-monetary.c (monetary_read)
2089         <tok_mon_grouping>: Normalize single -1 to the empty string.
2090         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2091         Likewise.
2093 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2095         [BZ #16055]
2096         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2097         when we match (nil).
2098         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2100 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2102         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2103         (NO_TEST_INLINE): Update value.
2104         (ERRNO_UNCHANGED): Likewise.
2105         (ERRNO_EDOM): Likewise.
2106         (ERRNO_ERANGE): Likewise.
2107         (IGNORE_RESULT): Likewise.
2108         (check_float_internal): Check signs of NaN results if
2109         TEST_NAN_SIGN used.
2110         (check_complex): Pass TEST_NAN_SIGN flag through to second
2111         check_float_internal call.
2112         (copysign_test_data): Add tests with quiet NaNs as second
2113         argument.  Use TEST_NAN_SIGN.
2114         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2115         TEST_NAN_SIGN.
2116         (signbit_test_data): Add tests of quiet NaN argument.
2117         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2119         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2120         $ignore_result.
2121         (parse_args): Handle function results specified as IGNORE.
2122         * math/libm-test.inc (IGNORE_RESULT): New macro.
2123         (check_float_internal): Do not check numerical result if flag
2124         IGNORE_RESULT set.
2125         (check_complex): Pass through IGNORE_RESULT to second
2126         check_float_internal call.
2127         (check_int): Do not check numerical result if flag IGNORE_RESULT
2128         set.
2129         (check_long): Likewise.
2130         (check_bool): Likewise.
2131         (check_longlong): Likewise.
2132         (lrint_test_data): Add tests of infinite and NaN arguments.
2133         (lrint_tonearest_test_data): Likewise.
2134         (lrint_towardzero_test_data): Likewise.
2135         (lrint_downward_test_data): Likewise.
2136         (lrint_upward_test_data): Likewise.
2137         (llrint_test_data): Likewise.
2138         (llrint_tonearest_test_data): Likewise.
2139         (llrint_towardzero_test_data): Likewise.
2140         (llrint_downward_test_data): Likewise.
2141         (llrint_upward_test_data): Likewise.
2142         (lround_test_data): Likewise.
2143         (llround_test_data): Likewise.
2145         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2146         (ERRNO_UNCHANGED): Update value.
2147         (ERRNO_EDOM): Likewise.
2148         (ERRNO_ERANGE): Likewise.
2149         (NO_TEST_INLINE_FLOAT): New macro.
2150         (NO_TEST_INLINE_DOUBLE): Likewise.
2151         (enable_test): New function.
2152         (RUN_TEST_f_f): Check enable_test before running test.
2153         (RUN_TEST_2_f): Likewise.
2154         (RUN_TEST_fff_f): Likewise.
2155         (RUN_TEST_c_f): Likewise.
2156         (RUN_TEST_f_f1): Likewise.
2157         (RUN_TEST_fF_f1): Likewise.
2158         (RUN_TEST_fI_f1): Likewise.
2159         (RUN_TEST_ffI_f1): Likewise.
2160         (RUN_TEST_c_c): Likewise.
2161         (RUN_TEST_cc_c): Likewise.
2162         (RUN_TEST_f_i): Likewise.
2163         (RUN_TEST_f_i_tg): Likewise.
2164         (RUN_TEST_ff_i_tg): Likewise.
2165         (RUN_TEST_f_b): Likewise.
2166         (RUN_TEST_f_b_tg): Likewise.
2167         (RUN_TEST_f_l): Likewise.
2168         (RUN_TEST_f_L): Likewise.
2169         (RUN_TEST_fFF_11): Likewise.
2170         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2171         conditionals.
2172         (cosh_test_data): Likewise.
2173         (exp_test_data): Likewise.
2174         (expm1_test_data): Likewise.
2175         (hypot_test_data): Likewise.
2176         (pow_test_data): Likewise.
2177         (sinh_test_data): Likewise.
2178         (tanh_test_data): Likewise.
2179         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2180         flags argument.
2182         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2183         tests with quiet NaN input and output.
2184         (acosh_test_data): Likewise.
2185         (asin_test_data): Likewise.
2186         (asinh_test_data): Likewise.
2187         (atan_test_data): Likewise.
2188         (atanh_test_data): Likewise.
2189         (atan2_test_data): Likewise.
2190         (cbrt_test_data): Likewise.
2191         (cos_test_data): Likewise.
2192         (cosh_test_data): Likewise.
2193         (erf_test_data): Likewise.
2194         (erfc_test_data): Likewise.
2195         (exp_test_data): Likewise.
2196         (exp10_test_data): Likewise.
2197         (exp2_test_data): Likewise.
2198         (expm1_test_data): Likewise.
2199         (hypot_test_data): Likewise.
2200         (j0_test_data): Likewise.
2201         (j1_test_data): Likewise.
2202         (jn_test_data): Likewise.
2203         (lgamma_test_data): Likewise.
2204         (log_test_data): Likewise.
2205         (log10_test_data): Likewise.
2206         (log1p_test_data): Likewise.
2207         (log2_test_data): Likewise.
2208         (pow_test_data): Likewise.
2209         (scalb_test_data): Likewise.
2210         (sin_test_data): Likewise.
2211         (sincos_test_data): Likewise.
2212         (sinh_test_data): Likewise.
2213         (tan_test_data): Likewise.
2214         (tanh_test_data): Likewise.
2215         (tgamma_test_data): Likewise.
2216         (y0_test_data): Likewise.
2217         (y1_test_data): Likewise.
2218         (yn_test_data): Likewise.
2220         [BZ #16167]
2221         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2222         argument being NaN and avoid computations with second argument in
2223         that case.
2224         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2225         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2226         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2228 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
2230         * locale/iso-639.def: Add Chitwani Tharu (the).
2232 2013-11-14  Andreas Schwab  <schwab@suse.de>
2234         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2235         word instead of empty string.
2237 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2240         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2242         (__fe_nomask_env): Likewise.
2244 2013-11-13  Steve Ellcey  <sellcey@mips.com>
2246         * benchtests/bench-timing.h: Include time.h.
2248 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2250         [BZ #15997]
2251         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2252         to 3.4.0 for x32.
2253         * sysdeps/unix/sysv/linux/configure: Regenerated.
2255 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
2257         [BZ #16151]
2258         * stdlib/strtod_l.c (round_and_return): Do not consider
2259         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2260         exponent one less than half the least subnormal exponent.
2261         * stdlib/test-strtod-round-data: Add more tests.
2262         * stdlib/tst-strtod-round.c (tests): Regenerated.
2264 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2266         [BZ #14143]
2267         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2268         (__fe_mask_env): Likewise.
2269         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2270         libm_hidden_proto and add function prototype.
2271         (__fe_mask_env): Add function prototype.
2272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2273         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2275         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2277         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2279 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2281         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2282         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2284 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2286         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2287         of htab_find_slot().
2289 2013-11-11  David S. Miller  <davem@davemloft.net>
2291         [BZ #16150]
2292         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2293         symbol in the non-vis3 case in static builds.
2294         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2295         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2296         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2297         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2299 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2301         [BZ #387]
2302         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2303         it is empty.
2305 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2307         * benchtests/Makefile: Add bench-strtod.
2308         * benchtests/bench-strtod.c: New file: strtod benchtest
2310 2013-11-11  Andreas Schwab  <schwab@suse.de>
2312         [BZ #16153]
2313         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2314         terminating NUL in key length.
2316 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2318         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2319         Add artificial ODP entry for vDSO symbol for PPC64.
2320         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2321         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2323 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2325         [BZ #15374]
2326         * nss/getent.c (services_keys): Recognize services starting with digit.
2328 2013-11-06  David S. Miller  <davem@davemloft.net>
2330         [BZ #15985]
2331         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2332         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2334 2013-11-06  Will Newton  <will.newton@linaro.org>
2336         * manual/memory.texi (Malloc Examples): Remove register
2337         keyword from examples.
2339 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
2341         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2343 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
2345         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2346         depending on [__GCC_IEC_559 > 0].
2347         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2348         depending on [__GCC_IEC_559_COMPLEX > 0].
2350 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
2352         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2353         to iso-639.def.
2355 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
2357         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2359 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
2361         [BZ #16112]
2362         * malloc/malloc (malloc_info): Do not handle first bin as
2363         special case.
2365 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
2367         * locale/iso-639.def: Add Central Nahuatl (nhn).
2369 2013-11-01  Bruno Haible  <bruno@clisp.org>
2371         [BZ #7003]
2372         * manual/math.texi (BSD Random): Specify range upper bound as
2373         in POSIX.
2375 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
2377         * locale/iso-639.def: Add Meadow Mari (mhr).
2379 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2381         [BZ #14752], [BZ #15763]
2382         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2383         Validate name.
2384         * rt/tst_shm.c: Add test for escaping directory.
2386 2013-10-31  Andreas Schwab  <schwab@suse.de>
2388         [BZ #15917]
2389         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2390         followed by 'x' as part of digit sequence.
2391         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2393 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2395         [BZ #16037]
2396         * configure.ac: allow GNU Make 4.0 and greater.
2397         * configure: Regenerated.
2399 2013-10-30  Will Newton  <will.newton@linaro.org>
2401         [BZ #16038]
2402         * malloc/hooks.c (memalign_check): Limit alignment to the
2403         maximum representable power of two.
2404         * malloc/malloc.c (__libc_memalign): Likewise.
2405         * malloc/tst-memalign.c (do_test): Add test for very
2406         large alignment values.
2407         * malloc/tst-posix_memalign.c (do_test): Likewise.
2409 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2411         [BZ #11087]
2412         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2413         (munmap_chunk): Likewise.
2414         (mremap_chunk): Likewise.
2416 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2418         [BZ #15799]
2419         * stdlib/div.c (div): Remove obsolete code.
2420         * stdlib/ldiv.c (ldiv): Likewise.
2421         * stdlib/lldiv.c (lldiv): Likewise.
2423 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2425         [BZ #16071]
2426         * nss/nss_files/files-XXX.c (get_contents_ret): New
2427         enumerator.
2428         (get_contents): New function.
2429         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2431 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2433         * configure.in: Moved to ...
2434         * configure.ac: ... here. Change reference to configure.in
2435         to configure.ac.
2436         * sysdeps/arm/preconfigure.ac: ... here.
2437         configure.in to configure.ac.
2438         * sysdeps/gnu/configure.in: Moved to ...
2439         * sysdeps/gnu/configure.ac: ... here.
2440         * sysdeps/i386/configure.in: Moved to ...
2441         * sysdeps/i386/configure.ac: ... here.
2442         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2443         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2444         * sysdeps/mach/configure.in: Moved to ...
2445         * sysdeps/mach/configure.ac: ... here.
2446         * sysdeps/mach/hurd/configure.in: Moved to ...
2447         * sysdeps/mach/hurd/configure.ac: ... here.
2448         * sysdeps/powerpc/configure.in: Moved to ...
2449         * sysdeps/powerpc/configure.ac: ... here.
2450         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2451         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2452         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2453         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2454         * sysdeps/s390/s390-32/configure.in: Moved to ...
2455         * sysdeps/s390/s390-32/configure.ac: ... here.
2456         * sysdeps/s390/s390-64/configure.in: Moved to ...
2457         * sysdeps/s390/s390-64/configure.ac: ... here.
2458         * sysdeps/sh/configure.in: Moved to ...
2459         * sysdeps/sh/configure.ac: ... here.
2460         * sysdeps/sparc/configure.in: Moved to ...
2461         * sysdeps/sparc/configure.ac: ... here.
2462         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2463         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2464         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2465         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2466         * sysdeps/x86_64/configure.in: Moved to ...
2467         * sysdeps/x86_64/configure.ac: ... here.
2468         * sysdeps/x86_64/preconfigure.in: Moved to ...
2469         * sysdeps/x86_64/preconfigure.ac: ... here.
2470         * aclocal.m4: Change reference to configure.in to configure.ac.
2471         * config.h.in: Likewise.
2472         * manual/install.texi: Likewise.
2473         * manual/maint.texi: Likewise.
2474         * Makefile: Likewise.
2475         * malloc/Makefile: Likewise.
2476         * nscd/Makefile: Likewise.
2477         * Makeconfig: Change reference to configure.in and
2478         preconfigure.in to configure.ac and preconfigure.ac
2479         respectively.
2480         * INSTALL: Regenerated.
2481         * configure: Likewise.
2482         * sysdeps/gnu/configure: Likewise.
2483         * sysdeps/i386/configure: Likewise.
2484         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2485         * sysdeps/mach/configure: Likewise.
2486         * sysdeps/mach/hurd/configure: Likewise.
2487         * sysdeps/powerpc/configure: Likewise.
2488         * sysdeps/powerpc/powerpc32/configure: Likewise.
2489         * sysdeps/powerpc/powerpc64/configure: Likewise.
2490         * sysdeps/s390/s390-32/configure: Likewise.
2491         * sysdeps/s390/s390-64/configure: Likewise.
2492         * sysdeps/sh/configure: Likewise.
2493         * sysdeps/sparc/configure: Likewise.
2494         * sysdeps/unix/sysv/linux/configure: Likewise.
2495         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2496         * sysdeps/x86_64/configure: Likewise.
2497         * sysdeps/x86_64/preconfigure: Likewise.
2499 2013-10-29  Andreas Schwab  <schwab@suse.de>
2501         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2503 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2505         * benchtests/pow-inputs: Add new inputs.
2507         * benchtests/exp-inputs: Add new inputs.
2509         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2510         conditional check for return value.
2511         (__cos32): Likewise.
2513 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2515         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2516         to provide a boost for large inputs with word alignment.
2517         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2518         implementation based on optimized PPC64 strcpy.
2519         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2520         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2521         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2522         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2524 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2526         [BZ #2801]
2527         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2529 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2531         [BZ #14876]
2532         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2533         * time/tst-strptime.c (day_tests): Add testcase.
2535 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2537         [BZ #14029]
2538         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2540 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2542         [BZ #16074]
2543         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2544         MAP_FAILED on error.
2546 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2548         [BZ #16072]
2549         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2550         heap for large requests.
2552 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2554         [BZ #9954]
2555         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2556         result if the result has no associated interface.
2557         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2558         interface for all 127.X.Y.Z addresses.
2560 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2562         * locale/iso-639.def: Add Ligurian (lij)
2564 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2566         [BZ #15825]
2567         * sunrpc/rpc_main.c: Document rpcgen -5.
2569 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2571         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2573 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2575         [BZ #10278]
2576         * posix/glob.c: Match only directories when trailing slash is present.
2577         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2578         (main): Add testcase.
2580 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2582         [BZ #15670]
2583         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2585 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2587         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2588         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2589         AUTH_DES and cindex for FIPS 140-2.
2590         (DES Encryption): Add cindex FIPS 46-3.
2592         * locale/locarchive.h (struct locarhandle): Add fname.
2593         * locale/programs/localedef.c (main): Pass ARGV[remaining]
2594         if an optional argument was specified to --list-archive,
2595         otherwise NULL.
2596         * locale/programs/locarchive.c (show_archive_content): Take new
2597         argument fname and pass it via ah.fname to open_archive.
2598         * locale/programs/localedef.h: Update decl.
2599         (open_archive): If AH->fname is non-null, open that file
2600         rather than the default file name, and don't ignore ENOENT.
2601         (create_archive): Set AH.fname to NULL.
2602         (delete_locales_from_archive): Likewise.
2603         (add_locales_to_archive): Likewise.
2604         * locale/programs/locfile.c (write_all_categories): Likewise.
2606 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
2607             Aldy Hernandez  <aldyh@redhat.com>
2609         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2610         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2611         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2612         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2613         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2614         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2615         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2616         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2617         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2618         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2619         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2620         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2621         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2622         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2623         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2624         Likewise.
2625         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2626         Likewise.
2627         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2628         Likewise.
2629         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2630         Likewise.
2631         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2632         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2633         Likewise.
2634         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2635         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2636         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2637         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2638         Likewise.
2639         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2640         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2641         * sysdeps/powerpc/preconfigure: Likewise.
2642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2643         Likewise.
2644         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2645         Replace contents of file by #include of <fenv_libc.h>.
2646         * sysdeps/powerpc/soft-fp/sfp-machine.h
2647         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2648         and <sys/prctl.h>.
2649         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2652         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2653         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2655         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2659         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2660         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2662         Allow copysignl PLT reference to be missing.
2664 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
2665             Joseph Myers  <joseph@codesourcery.com
2667         [BZ #15948]
2668         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2669         single character.
2670         (add_to_tablewc): Assert sequence of wide characters is nonempty.
2672 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2674         * elf/tst-tls-dlinfo.c: Don't include tls.h.
2675         * elf/tst-tls1.c: Likewise.
2676         * elf/tst-tls10.h: Likewise.
2677         * elf/tst-tls14.c: Likewise.
2678         * elf/tst-tls2.c: Likewise.
2679         * elf/tst-tls3.c: Likewise.
2680         * elf/tst-tls4.c: Likewise.
2681         * elf/tst-tls5.c: Likewise.
2682         * elf/tst-tls6.c: Likewise.
2683         * elf/tst-tls7.c: Likewise.
2684         * elf/tst-tls8.c: Likewise.
2685         * elf/tst-tls9.c: Likewise.
2686         * elf/tst-tlsmod1.c: Likewise.
2687         * elf/tst-tlsmod13.c: Likewise.
2688         * elf/tst-tlsmod13a.c: Likewise.
2689         * elf/tst-tlsmod14a.c: Likewise.
2690         * elf/tst-tlsmod16a.c: Likewise.
2691         * elf/tst-tlsmod16b.c: Likewise.
2692         * elf/tst-tlsmod2.c: Likewise.
2693         * elf/tst-tlsmod3.c: Likewise.
2694         * elf/tst-tlsmod4.c: Likewise.
2695         * elf/tst-tlsmod5.c: Likewise.
2696         * elf/tst-tlsmod6.c: Likewise.
2698 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
2700         [BZ #12486]
2701         * malloc/malloc.c: remove checks for statistics.
2703 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2705         [BZ #15277]
2706         * inet/inet_net.c (inet_network): Detect additional invalid strings.
2707         * inet/tst-network.c: Add testcase.
2709 2013-10-17  Andreas Schwab  <schwab@suse.de>
2711         [BZ #15218]
2712         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2713         to determine canonical name.
2715 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2717         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2718         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2719         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2720         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2721         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2722         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2723         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2724         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2725         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2726         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2727         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2728         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2729         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2730         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2731         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2732         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2733         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2734         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2735         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2736         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2737         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2738         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2739         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2740         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2741         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2742         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2743         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2744         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2745         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2746         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2747         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2748         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2749         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2750         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2751         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2752         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2753         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2754         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2755         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2756         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2757         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2758         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2759         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2760         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2761         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2762         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2763         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2764         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2765         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2766         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2767         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2768         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2769         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2770         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2771         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2772         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2773         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2774         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2776 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
2778         [BZ #16041]
2779         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2780         make result into a quiet NaN.
2782 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
2784         * soft-fp/adddf3.c: Fix horizontal whitespace.
2785         * soft-fp/addsf3.c: Likewise.
2786         * soft-fp/addtf3.c: Likewise.
2787         * soft-fp/divdf3.c: Likewise.
2788         * soft-fp/divsf3.c: Likewise.
2789         * soft-fp/divtf3.c: Likewise.
2790         * soft-fp/double.h: Likewise.
2791         * soft-fp/eqdf2.c: Likewise.
2792         * soft-fp/eqsf2.c: Likewise.
2793         * soft-fp/eqtf2.c: Likewise.
2794         * soft-fp/extenddftf2.c: Likewise.
2795         * soft-fp/extended.h: Likewise.
2796         * soft-fp/extendsfdf2.c: Likewise.
2797         * soft-fp/extendsftf2.c: Likewise.
2798         * soft-fp/extendxftf2.c: Likewise.
2799         * soft-fp/fixdfdi.c: Likewise.
2800         * soft-fp/fixdfsi.c: Likewise.
2801         * soft-fp/fixdfti.c: Likewise.
2802         * soft-fp/fixsfdi.c: Likewise.
2803         * soft-fp/fixsfsi.c: Likewise.
2804         * soft-fp/fixsfti.c: Likewise.
2805         * soft-fp/fixtfdi.c: Likewise.
2806         * soft-fp/fixtfsi.c: Likewise.
2807         * soft-fp/fixtfti.c: Likewise.
2808         * soft-fp/fixunsdfdi.c: Likewise.
2809         * soft-fp/fixunsdfsi.c: Likewise.
2810         * soft-fp/fixunsdfti.c: Likewise.
2811         * soft-fp/fixunssfdi.c: Likewise.
2812         * soft-fp/fixunssfsi.c: Likewise.
2813         * soft-fp/fixunssfti.c: Likewise.
2814         * soft-fp/fixunstfdi.c: Likewise.
2815         * soft-fp/fixunstfsi.c: Likewise.
2816         * soft-fp/fixunstfti.c: Likewise.
2817         * soft-fp/floatdidf.c: Likewise.
2818         * soft-fp/floatdisf.c: Likewise.
2819         * soft-fp/floatditf.c: Likewise.
2820         * soft-fp/floatsidf.c: Likewise.
2821         * soft-fp/floatsisf.c: Likewise.
2822         * soft-fp/floatsitf.c: Likewise.
2823         * soft-fp/floattidf.c: Likewise.
2824         * soft-fp/floattisf.c: Likewise.
2825         * soft-fp/floattitf.c: Likewise.
2826         * soft-fp/floatundidf.c: Likewise.
2827         * soft-fp/floatundisf.c: Likewise.
2828         * soft-fp/floatunditf.c: Likewise.
2829         * soft-fp/floatunsidf.c: Likewise.
2830         * soft-fp/floatunsisf.c: Likewise.
2831         * soft-fp/floatunsitf.c: Likewise.
2832         * soft-fp/floatuntidf.c: Likewise.
2833         * soft-fp/floatuntisf.c: Likewise.
2834         * soft-fp/floatuntitf.c: Likewise.
2835         * soft-fp/fmadf4.c: Likewise.
2836         * soft-fp/fmasf4.c: Likewise.
2837         * soft-fp/fmatf4.c: Likewise.
2838         * soft-fp/gedf2.c: Likewise.
2839         * soft-fp/gesf2.c: Likewise.
2840         * soft-fp/getf2.c: Likewise.
2841         * soft-fp/ledf2.c: Likewise.
2842         * soft-fp/lesf2.c: Likewise.
2843         * soft-fp/letf2.c: Likewise.
2844         * soft-fp/muldf3.c: Likewise.
2845         * soft-fp/mulsf3.c: Likewise.
2846         * soft-fp/multf3.c: Likewise.
2847         * soft-fp/negdf2.c: Likewise.
2848         * soft-fp/negsf2.c: Likewise.
2849         * soft-fp/negtf2.c: Likewise.
2850         * soft-fp/op-1.h: Likewise.
2851         * soft-fp/op-2.h: Likewise.
2852         * soft-fp/op-4.h: Likewise.
2853         * soft-fp/op-8.h: Likewise.
2854         * soft-fp/op-common.h: Likewise.
2855         * soft-fp/quad.h: Likewise.
2856         * soft-fp/single.h: Likewise.
2857         * soft-fp/soft-fp.h: Likewise.
2858         * soft-fp/sqrtdf2.c: Likewise.
2859         * soft-fp/sqrtsf2.c: Likewise.
2860         * soft-fp/sqrttf2.c: Likewise.
2861         * soft-fp/subdf3.c: Likewise.
2862         * soft-fp/subsf3.c: Likewise.
2863         * soft-fp/subtf3.c: Likewise.
2864         * soft-fp/truncdfsf2.c: Likewise.
2865         * soft-fp/trunctfdf2.c: Likewise.
2866         * soft-fp/trunctfsf2.c: Likewise.
2867         * soft-fp/trunctfxf2.c: Likewise.
2868         * soft-fp/unorddf2.c: Likewise.
2869         * soft-fp/unordsf2.c: Likewise.
2870         * soft-fp/unordtf2.c: Likewise.
2872 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
2874         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2875         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2877 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
2879         * elf/dl-libc.c: Clear initfini list after freeing.
2881 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
2883         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2884         * soft-fp/addsf3.c: Likewise.
2885         * soft-fp/addtf3.c: Likewise.
2886         * soft-fp/divdf3.c: Likewise.
2887         * soft-fp/divsf3.c: Likewise.
2888         * soft-fp/divtf3.c: Likewise.
2889         * soft-fp/double.h: Likewise.
2890         * soft-fp/eqdf2.c: Likewise.
2891         * soft-fp/eqsf2.c: Likewise.
2892         * soft-fp/eqtf2.c: Likewise.
2893         * soft-fp/extenddftf2.c: Likewise.
2894         * soft-fp/extended.h: Likewise.
2895         * soft-fp/extendsfdf2.c: Likewise.
2896         * soft-fp/extendsftf2.c: Likewise.
2897         * soft-fp/extendxftf2.c: Likewise.
2898         * soft-fp/fixdfdi.c: Likewise.
2899         * soft-fp/fixdfsi.c: Likewise.
2900         * soft-fp/fixdfti.c: Likewise.
2901         * soft-fp/fixsfdi.c: Likewise.
2902         * soft-fp/fixsfsi.c: Likewise.
2903         * soft-fp/fixsfti.c: Likewise.
2904         * soft-fp/fixtfdi.c: Likewise.
2905         * soft-fp/fixtfsi.c: Likewise.
2906         * soft-fp/fixtfti.c: Likewise.
2907         * soft-fp/fixunsdfdi.c: Likewise.
2908         * soft-fp/fixunsdfsi.c: Likewise.
2909         * soft-fp/fixunsdfti.c: Likewise.
2910         * soft-fp/fixunssfdi.c: Likewise.
2911         * soft-fp/fixunssfsi.c: Likewise.
2912         * soft-fp/fixunssfti.c: Likewise.
2913         * soft-fp/fixunstfdi.c: Likewise.
2914         * soft-fp/fixunstfsi.c: Likewise.
2915         * soft-fp/fixunstfti.c: Likewise.
2916         * soft-fp/floatdidf.c: Likewise.
2917         * soft-fp/floatdisf.c: Likewise.
2918         * soft-fp/floatditf.c: Likewise.
2919         * soft-fp/floatsidf.c: Likewise.
2920         * soft-fp/floatsisf.c: Likewise.
2921         * soft-fp/floatsitf.c: Likewise.
2922         * soft-fp/floattidf.c: Likewise.
2923         * soft-fp/floattisf.c: Likewise.
2924         * soft-fp/floattitf.c: Likewise.
2925         * soft-fp/floatundidf.c: Likewise.
2926         * soft-fp/floatundisf.c: Likewise.
2927         * soft-fp/floatunsidf.c: Likewise.
2928         * soft-fp/floatunsisf.c: Likewise.
2929         * soft-fp/floatuntidf.c: Likewise.
2930         * soft-fp/floatuntisf.c: Likewise.
2931         * soft-fp/floatuntitf.c: Likewise.
2932         * soft-fp/fmadf4.c: Likewise.
2933         * soft-fp/fmasf4.c: Likewise.
2934         * soft-fp/fmatf4.c: Likewise.
2935         * soft-fp/gedf2.c: Likewise.
2936         * soft-fp/gesf2.c: Likewise.
2937         * soft-fp/getf2.c: Likewise.
2938         * soft-fp/ledf2.c: Likewise.
2939         * soft-fp/lesf2.c: Likewise.
2940         * soft-fp/letf2.c: Likewise.
2941         * soft-fp/muldf3.c: Likewise.
2942         * soft-fp/mulsf3.c: Likewise.
2943         * soft-fp/multf3.c: Likewise.
2944         * soft-fp/negdf2.c: Likewise.
2945         * soft-fp/negsf2.c: Likewise.
2946         * soft-fp/negtf2.c: Likewise.
2947         * soft-fp/op-1.h: Likewise.
2948         * soft-fp/op-2.h: Likewise.
2949         * soft-fp/op-4.h: Likewise.
2950         * soft-fp/op-8.h: Likewise.
2951         * soft-fp/op-common.h: Likewise.
2952         * soft-fp/quad.h: Likewise.
2953         * soft-fp/single.h: Likewise.
2954         * soft-fp/soft-fp.h: Likewise.
2955         * soft-fp/sqrtdf2.c: Likewise.
2956         * soft-fp/sqrtsf2.c: Likewise.
2957         * soft-fp/sqrttf2.c: Likewise.
2958         * soft-fp/subdf3.c: Likewise.
2959         * soft-fp/subsf3.c: Likewise.
2960         * soft-fp/subtf3.c: Likewise.
2961         * soft-fp/truncdfsf2.c: Likewise.
2962         * soft-fp/trunctfdf2.c: Likewise.
2963         * soft-fp/trunctfsf2.c: Likewise.
2964         * soft-fp/trunctfxf2.c: Likewise.
2965         * soft-fp/unorddf2.c: Likewise.
2966         * soft-fp/unordsf2.c: Likewise.
2967         * soft-fp/unordtf2.c: Likewise.
2969 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
2971         [BZ #15672]
2972         * misc/error.c (error_tail): Fix possible buffer overflow.
2974 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
2976         [BZ #13028]
2977         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2978         address.
2980 2013-10-14  P. J. McDermott  <pj@pehjota.net>
2982         [BZ #832]
2983         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
2984         testing pipefail option.
2986 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
2988         * soft-fp/double.h: Indent preprocessor directives inside #if.
2989         * soft-fp/extended.h: Likewise.
2990         * soft-fp/op-2.h: Likewise.
2991         * soft-fp/op-4.h: Likewise.
2992         * soft-fp/op-common.h: Likewise.
2993         * soft-fp/quad.h: Likewise.
2994         * soft-fp/single.h: Likewise.
2995         * soft-fp/soft-fp.h: Likewise.
2997 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
2999         * iconv/iconv_prog.c: Fix typos.
3000         * stdio-common/psiginfo-data.h: Likewise.
3002 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3004         [BZ #15764]
3005         * locale/setlocale.c: Fix typo.
3007 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3009         [BZ #16036]
3010         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3011         signaling NaN arguments.
3012         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3013         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3015         [BZ #14910]
3016         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3017         unordered operands.
3018         * soft-fp/gesf2.c (__gesf2): Likewise.
3019         * soft-fp/getf2.c (__getf2): Likewise.
3020         * soft-fp/ledf2.c (__ledf2): Likewise.
3021         * soft-fp/lesf2.c (__lesf2): Likewise.
3022         * soft-fp/letf2.c (__letf2): Likewise.
3024         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3025         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3026         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3027         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3028         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3029         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3030         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3031         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3032         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3033         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3034         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3035         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3036         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3037         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3038         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3039         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3040         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3041         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3042         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3043         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3044         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3045         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3046         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3047         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3048         * soft-fp/floattidf.c (__floattidf): Likewise.
3049         * soft-fp/floattisf.c (__floattisf): Likewise.
3050         * soft-fp/floattitf.c (__floattitf): Likewise.
3051         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3052         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3053         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3054         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3055         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3056         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3057         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3058         * soft-fp/gesf2.c (__gesf2): Likewise.
3059         * soft-fp/getf2.c (__getf2): Likewise.
3060         * soft-fp/ledf2.c (__ledf2): Likewise.
3061         * soft-fp/lesf2.c (__lesf2): Likewise.
3062         * soft-fp/letf2.c (__letf2): Likewise.
3064         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3065         Undefine and redefine.
3066         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3067         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3068         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3069         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3070         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3071         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3072         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3073         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3074         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3075         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3076         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3077         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3078         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3079         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3080         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3082         [BZ #16032]
3083         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3084         without decrementing exponent if mantissa >= that for the
3085         denominator, not >.
3086         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3087         denominator, not >.  Decrement exponent in < case instead of
3088         incrementing in >= case.
3089         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3090         without decrementing exponent if mantissa >= that for the
3091         denominator, not >.
3093         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3094         computing saturated result for unsigned overflow.
3096 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3097             Jeff Law  <law@redhat.com>
3099         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3100         (atan2Mp): Add systemtap probe marker.
3101         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3102         (__ieee754_log): Add systemtap probe marker.
3103         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3104         (atanMp): Add systemtap probe marker.
3105         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3106         (tanMp): Add systemtap probe marker.
3107         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3108         (__slowexp): Add systemtap probe marker.
3109         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3110         (__slowpow): Add systemtap probe marker.
3111         * manual/probes.texi: Document probes.
3113 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3115         [BZ #15362]
3116         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3117         written.
3118         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3119         written.
3120         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3121         written to buffer but not flushed.
3122         * libio/iofwrite_u.c:  Likewise.
3123         * libio/iopadn.c:  Return bytes returned even if EOF was
3124         encountered.
3125         * libio/iowpadn.c:  Likewise.
3126         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3127         if _IO_padn does not write the whole buffer.
3128         [!COMPILE_WPRINTF] (PAD): Likewise.
3130 2013-10-10  David S. Miller  <davem@davemloft.net>
3132         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3133         directory block.
3135 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3137         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3138         instead of FSF address.
3139         * soft-fp/fixdfti.c: Likewise.
3140         * soft-fp/fixsfti.c: Likewise.
3141         * soft-fp/fixtfti.c: Likewise.
3142         * soft-fp/fixunsdfti.c: Likewise.
3143         * soft-fp/fixunssfti.c: Likewise.
3144         * soft-fp/fixunstfti.c: Likewise.
3145         * soft-fp/floattidf.c: Likewise.
3146         * soft-fp/floattisf.c: Likewise.
3147         * soft-fp/floattitf.c: Likewise.
3148         * soft-fp/floatuntidf.c: Likewise.
3149         * soft-fp/floatuntisf.c: Likewise.
3150         * soft-fp/floatuntitf.c: Likewise.
3151         * soft-fp/trunctfxf2.c: Likewise.
3153         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3154         * soft-fp/fixdfti.c: Likewise.
3155         * soft-fp/fixsfti.c: Likewise.
3156         * soft-fp/fixtfti.c: Likewise.
3157         * soft-fp/fixunsdfti.c: Likewise.
3158         * soft-fp/fixunssfti.c: Likewise.
3159         * soft-fp/fixunstfti.c: Likewise.
3160         * soft-fp/floattidf.c: Likewise.
3161         * soft-fp/floattisf.c: Likewise.
3162         * soft-fp/floattitf.c: Likewise.
3163         * soft-fp/floatuntidf.c: Likewise.
3164         * soft-fp/floatuntisf.c: Likewise.
3165         * soft-fp/floatuntitf.c: Likewise.
3166         * soft-fp/trunctfxf2.c: Likewise.
3168 2013-10-10  David S. Miller  <davem@davemloft.net>
3170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3172 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
3174         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3175         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3176         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3177         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3178         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3179         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3180         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3182         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3183         for NaNs before doing comparisons on argument.
3184         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3185         Likewise.
3187 2013-10-10  Will Newton  <will.newton@linaro.org>
3189         * malloc/hooks.c (memalign_check): Ensure the value of bytes
3190         passed to _int_memalign does not overflow.
3192 2013-10-10  Torvald Riegel  <triegel@redhat.com>
3194         * scripts/bench.pl: Add include-sources directive.
3195         * benchtests/README: Update documentation.
3197 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3199         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3200         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3201         instead of FP_INIT_ROUNDMODE.
3202         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3203         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3205         [BZ #16034]
3206         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
3207         copy class of input value.
3208         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
3209         not handle exceptions.
3210         * soft-fp/negsf2.c (__negsf2): Likewise.
3211         * soft-fp/negtf2.c (__negtf2): Likewise.
3212         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3214 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
3216         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3217         semicolon.  From Linux kernel.
3219 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
3221         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3223 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
3225         [BZ #156]
3226         * manual/socket.texi: Added statement about buffer
3227         for gethostbyname2_r.
3229 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
3231         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3232         Use .p2align directive instead, throughout.
3233         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3234         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3235         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3236         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3237         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3238         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3239         * sysdeps/x86_64/strchr.S: Likewise.
3240         * sysdeps/x86_64/strrchr.S: Likewise.
3242 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3244         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3246         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3248         * sysdeps/generic/math_private.h (__mpsin1): Remove
3249         declaration.
3250         (__mpcos1): Likewise.
3251         (__mpsin): New argument __range_reduce.
3252         (__mpcos): Likewise.
3253         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3254         (slow): Use __mpsin and __mpcos.
3255         (slow1): Likewise.
3256         (slow2): Likewise.
3257         (sloww): Likewise.
3258         (sloww1): Likewise.
3259         (sloww2): Likewise.
3260         (bsloww): Likewise.
3261         (bsloww1): Likewise.
3262         (bsloww2): Likewise.
3263         (cslow2): Likewise.
3264         (csloww): Likewise.
3265         (csloww1): Likewise.
3266         (csloww2): Likewise.
3267         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3268         range_reduce.  Merge in __mpsin1.
3269         (__mpcos): Likewise.
3270         (__mpsin1): Remove.
3271         (__mpcos1): Likewise.
3273 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3275         * locale/loadlocale.c (_nl_intern_locale_data): Use
3276         LOCFILE_ALIGNED_P.
3277         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3278         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3279         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3280         obstack data is appropriately aligned.
3281         (obstack_int32_grow_fast): Likewise.
3282         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3283         * locale/programs/locfile.c (add_locale_uint32): Likewise.
3284         (add_locale_uint32_array): Likewise.
3286 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3288         * benchtests/Makefile: Remove ARGLIST and RET variables.
3289         ($(objpfx)bench-%.c): Pass only function name to the script.
3290         * benchtests/README: Update documentation.
3291         * benchtests/acos-inputs: Add new directives.
3292         * benchtests/acosh-inputs: Likewise.
3293         * benchtests/asin-inputs: Likewise.
3294         * benchtests/asinh-inputs: Likewise.
3295         * benchtests/atan-inputs: Likewise.
3296         * benchtests/atanh-inputs: Likewise.
3297         * benchtests/cos-inputs: Likewise.
3298         * benchtests/cosh-inputs: Likewise.
3299         * benchtests/exp-inputs: Likewise.
3300         * benchtests/log-inputs: Likewise.
3301         * benchtests/pow-inputs: Likewise.
3302         * benchtests/rint-inputs: Likewise.
3303         * benchtests/sin-inputs: Likewise.
3304         * benchtests/sinh-inputs: Likewise.
3305         * benchtests/tan-inputs: Likewise.
3306         * benchtests/tanh-inputs: Likewise.
3307         * scripts/bench.pl: Add support for new directives.
3309 2013-10-07  Alan Modra  <amodra@gmail.com>
3311         * README: Fix careless merge.
3313 2013-10-05  Alan Modra  <amodra@gmail.com>
3315         * NEWS: Mention powerpc64le support and bugs fixed.
3316         * README: Both big-endian and little-endian powerpc64 supported.
3318 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3320         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3321         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3322         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3323         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3325 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
3327         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3328         match prototype.
3330 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
3332         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3333         Move -mhard-float appending from
3334         ports/sysdeps/powerpc/powerpc32/Makefile.
3335         [$(with-fp) = yes] (ASFLAGS): Likewise.
3336         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3337         * sysdeps/powerpc/nofpu: Move directory from
3338         ports/sysdeps/powerpc/nofpu.
3339         * sysdeps/powerpc/soft-fp: Move directory from
3340         ports/sysdeps/powerpc/soft-fp.
3341         * sysdeps/powerpc/powerpc32/405: Move directory from
3342         ports/sysdeps/powerpc/powerpc32/405.
3343         * sysdeps/powerpc/powerpc32/440: Move directory from
3344         ports/sysdeps/powerpc/powerpc32/440.
3345         * sysdeps/powerpc/powerpc32/464: Move directory from
3346         ports/sysdeps/powerpc/powerpc32/464.
3347         * sysdeps/powerpc/powerpc32/476: Move directory from
3348         ports/sysdeps/powerpc/powerpc32/476.
3349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3350         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3352         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3354         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3356         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3358         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3359         * README: Update for powerpc-*-linux-gnu software floating point
3360         support in libc.
3362         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3363         case to powerpc/powerpc32*.
3364         * sysdeps/unix/sysv/linux/configure: Regenerated.
3366         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3367         (_FPU_MASK_OM): Define as 0x04.
3368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3370         0x00c10080.
3371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3372         0x0000003c.
3373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3376         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3377         getcontext_e500.
3378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3379         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3380         setcontext_e500.
3381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3382         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3383         and setcontext_e500.
3385 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3387         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3389 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3391         * manual/threads.texi (Default Thread Attributes): Fix typo.
3393 2013-10-04  Will Newton  <will.newton@linaro.org>
3395         * malloc/Makefile: Add tst-memalign.
3396         * malloc/tst-memalign.c: New file.
3398         * malloc/tst-posix_memalign.c: Add comments.
3399         (do_test): Add comments and call free on all potentially
3400         allocated pointers. Add space after cast.
3402         * malloc/tst-pvalloc.c: Add comments.
3403         (do_test): Add comments and call free on all potentially
3404         allocated pointers. Remove duplicate check for NULL pointer.
3405         Add space after cast.
3407         * malloc/tst-valloc.c: Add comments.
3408         (do_test): Add comments and call free on all potentially
3409         allocated pointers. Remove duplicate check for NULL pointer.
3410         Add space after cast.
3412 2013-10-04  Alan Modra  <amodra@gmail.com>
3414         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3415         Use stdint types in rather than __attribute__((mode())).
3416         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3418 2013-10-04  Alan Modra  <amodra@gmail.com>
3420         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3421         Correct handling of unaligned relocs for little-endian.
3422         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3424 2013-10-04  Alan Modra  <amodra@gmail.com>
3426         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3427         * configure: Regenerate.
3428         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3429         * shlib-versions: Likewise.
3431 2013-10-04  Alan Modra  <amodra@gmail.com>
3433         * string/tester.c (test_memrchr): Increment reported test cycle.
3435 2013-10-04  Alan Modra  <amodra@gmail.com>
3437         * string/test-memcpy.c (do_one_test): When reporting errors, print
3438         string address and don't overrun end of string.
3440 2013-10-04  Alan Modra  <amodra@gmail.com>
3442         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3443         insrdi.  Make better use of reg selection to speed exit slightly.
3444         Schedule entry path a little better.  Remove useless "are we done"
3445         checks on entry to main loop.  Handle wrapping around zero address.
3446         Correct main loop count.  Handle single left-over word from main
3447         loop inline rather than by using loop_small.  Remove extra word
3448         case in loop_small caused by wrong loop count.  Add little-endian
3449         support.
3450         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3451         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3452         cache hint.
3453         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3454         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3455         support.  Avoid rlwimi.
3456         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3458 2013-10-04  Alan Modra  <amodra@gmail.com>
3460         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3461         insrdi.  Formatting.
3462         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3463         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3464         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3465         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3466         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3467         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3469 2013-10-04  Alan Modra  <amodra@gmail.com>
3471         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3472         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3473         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3474         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3475         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3476         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3477         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3478         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3479         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3480         use of regs.  Use power7 mtocrf.  Tidy function tails.
3482 2013-10-04  Alan Modra  <amodra@gmail.com>
3484         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3485         Formatting.  Consistently use rXXX register defines or rN defines.
3486         Use early exit labels that avoid restoring unused non-volatile regs.
3487         Make cr field use more consistent with rWORDn compares.  Rename
3488         regs used as shift registers for unaligned loop, using rN defines
3489         for short lifetime/multiple use regs.
3490         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3491         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3492         addi 1,1,64 to pop stack frame.  Simplify return value code.
3493         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3495 2013-10-04  Alan Modra  <amodra@gmail.com>
3497         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3498         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3499         rather than rlwimi.
3500         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3501         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3502         little-endian support.  Correct typos.
3503         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3504         rather than rlwimi.
3505         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3506         in loop and entry code to keep "and." results.
3507         (strchr): Add little-endian support.  Comment.  Move cntlzd
3508         earlier in tail.
3509         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3511 2013-10-04  Alan Modra  <amodra@gmail.com>
3513         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3514         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3515         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3516         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3518 2013-10-04  Alan Modra  <amodra@gmail.com>
3520         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3521         (rTMP): Define as r11.
3522         (strcmp): Add little-endian support.  Optimise tail.
3523         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3524         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3525         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3526         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3527         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3528         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3529         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3531 2013-10-04  Alan Modra  <amodra@gmail.com>
3533         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3534         little-endian support.  Remove unnecessary "are we done" tests.
3535         Handle "s" wrapping around zero and extremely large "size".
3536         Correct main loop count.  Handle single left-over word from main
3537         loop inline rather than by using small_loop.  Correct comments.
3538         Delete "zero" tail, use "end_max" instead.
3539         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3541 2013-10-04  Alan Modra  <amodra@gmail.com>
3543         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3544         support.  Don't branch over align.
3545         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3546         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3547         support.  Rearrange tmp reg use to suit.  Comment.
3548         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3550 2013-10-04  Alan Modra  <amodra@gmail.com>
3552         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3554 2013-10-04  Alan Modra  <amodra@gmail.com>
3556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3557         conditional form of branch and link when obtaining pc.
3558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3560 2013-10-04  Alan Modra  <amodra@gmail.com>
3562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3563         HIWORD/LOWORD.
3564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3567 2013-10-04  Alan Modra  <amodra@gmail.com>
3569         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3570         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3571         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3572         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3573         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3574         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3575         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3576         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3577         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3578         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3580 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3581             Alistair Popple <alistair@ozlabs.au.ibm.com>
3582             Alan Modra <amodra@gmail.com>
3584         [BZ #15723]
3585         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3586         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3587         _dl_hwcap access for little-endian.
3588         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3589         destroy vmx regs when saving unaligned.
3590         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3591         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
3592         destroy vmx regs when saving unaligned.
3594 2013-10-04  Alan Modra  <amodra@gmail.com>
3596         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3597         Don't use a union to pack hi/low value.
3599 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3601         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3602         for little-endian.
3603         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3604         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3605         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3606         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3607         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3609 2013-10-04  Alan Modra  <amodra@gmail.com>
3611         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3612         constants to usual value for .cst8 section, and remove redundant
3613         high address load.
3614         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3615         constant for 0x1p52.  Load little-endian words of double from
3616         correct stack offsets.
3618 2013-10-04  Alan Modra  <amodra@gmail.com>
3620         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3621         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3622         words of double from correct stack offsets.
3623         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3624         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3625         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3626         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3627         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3628         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3629         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3630         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3631         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3632         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3633         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3634         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3635         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3636         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3637         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3638         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3639         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3641 2013-10-04  Alan Modra  <amodra@gmail.com>
3643         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3644         64-bit int/double union.
3645         (_FPU_SETCW): Likewise.
3646         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3647         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3649 2013-10-04  Alan Modra  <amodra@gmail.com>
3651         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3652         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3654 2013-10-04  Alan Modra  <amodra@gmail.com>
3656         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3657         use vector int constants.
3658         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3660 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3662         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3663         array with long long.
3664         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3665         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3666         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3667         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3668         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3669         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3670         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3671         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3672         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3673         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3674         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3675         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3676         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3678 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3680         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3681         (__signbit): Likewise.  Correct for little-endian.
3682         (__signbitl): Call __signbit.
3683         (lrint): Correct for little-endian.
3684         (lrintf): Call lrint.
3686 2013-10-04  Alan Modra  <amodra@gmail.com>
3688         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3689         union 32-bit int array member with 64-bit int array.
3690         (t515, tm256): Double rather than long double.
3691         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3693 2013-10-04  Alan Modra  <amodra@gmail.com>
3695         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3696         Delete.
3697         (IEEE854_LONG_DOUBLE_BIAS): Delete.
3698         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3699         version of math_ldbl.h.
3701 2013-10-04  Alan Modra  <amodra@gmail.com>
3703         [BZ #15734], [BZ #15735]
3704         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3705         all uses of ieee875 long double macros and unions.  Simplify test
3706         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
3707         ldbl_extract_mantissa value for ix,iy exponents.  Properly
3708         normalize after ldbl_extract_mantissa, and don't add hidden bit
3709         already handled.  Don't treat low word of ieee854 mantissa like
3710         low word of IBM long double and mask off bit when testing for
3711         zero.
3712         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3713         all uses of ieee875 long double macros and unions.  Simplify tests
3714         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
3715         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
3716         two1022, instead use their values.  Recognise that tests for large
3717         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
3718         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3719         Rewrite all uses of ieee875 long double macros and unions.  Simplify
3720         test for 0.0L and nan.  Correct negation.
3721         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3722         ieee875 long double macros and unions.  Correct output for large
3723         magnitude x.  Correct absolute value calculation.
3724         (__erfcl): Likewise.
3725         * math/libm-test.inc: Add tests for errors discovered in IBM long
3726         double versions of fmodl, remainderl, erfl and erfcl.
3728 2013-10-04  Alan Modra  <amodra@gmail.com>
3730         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3731         all uses of ieee854 long double macros and unions.  Simplify tests
3732         for long doubles that are fully specified by the high double.
3733         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3734         Likewise.
3735         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3736         Remove dead code too.
3737         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3738         (__ieee754_ynl): Likewise.
3739         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3740         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3741         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3742         Remove dead code too.
3743         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3744         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3745         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3746         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3747         Simplify.
3748         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3749         Simplify.
3750         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3751         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3752         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3753         Comment on variable precision.
3754         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3755         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3756         Likewise.
3757         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3758         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3759         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3760         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3761         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3763 2013-10-04  Alan Modra  <amodra@gmail.com>
3765         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3766         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3767         all uses of ieee854 long double macros and unions.
3768         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3769         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3770         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3771         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3772         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3773         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3774         Likewise.
3775         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3776         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3777         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3778         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3779         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3780         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3781         Simplify sign and nan test too.
3782         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3783         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3784         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3785         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3786         Likewise.
3787         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3788         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3789         Likewise.
3790         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3791         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3792         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3793         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3794         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3795         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3797 2013-10-04  Alan Modra  <amodra@gmail.com>
3799         * stdio-common/printf_size.c (__printf_size): Don't use
3800         union ieee854_long_double in fpnum union.
3801         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
3802         signbit macro to retrieve sign from long double.
3803         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3804         retrieve sign from long double.
3805         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3806         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3807         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3808         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3809         * math/test-misc.c (main): Don't use union ieee854_long_double.
3811 2013-10-04  Alan Modra  <amodra@gmail.com>
3813         [BZ #15680]
3814         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3815         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3816         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3817         calculation.  Remove unnecessary test for denormal exponent.
3818         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3819         Correct handling of denormals.  Avoid undefined shift behaviour.
3820         Correct normalisation of low mantissa when low double is denormal.
3821         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3822         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
3823         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3824         Correct normalisation of low mantissa.  Test for overflow of high
3825         mantissa and normalise.
3826         (ldbl_nearbyint): Use more readable constant for two52.
3827         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3828         (__mpn_construct_long_double): Fix test for overflow of high
3829         mantissa and correct normalisation.  Avoid undefined shift.
3831 2013-10-04  Alan Modra  <amodra@gmail.com>
3833         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3834         (union ibm_extended_long_double): Define as an array of ieee754_double.
3835         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3836         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3837         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3838         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3839         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3840         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3841         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3842         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3843         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3844         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3845         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3847 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
3849         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3850         page size instead of calling getpagesize.
3852         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3853         (LOCFILE_ALIGN_MASK): Likewise.
3854         (LOCFILE_ALIGN_UP): Likewise.
3855         (LOCFILE_ALIGNED_P): Likewise.
3856         * locale/programs/ld-collate.c (collate_output): Use the new
3857         macros instead of __alignof__ (int32_t).
3858         * locale/weight.h (findidx): Likewise.
3860 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
3862         [BZ #431]
3863         * manual/string.texi: Fix strncat and wcsncat.
3865 2013-10-03  Brooks Moses  <bmoses@google.com>
3867         [BZ #15915]
3868         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3869         * Makerules: ...here, and adjust associated comments.
3871 2013-10-02  Will Newton  <will.newton@linaro.org>
3873         * malloc/Makefile: Add tst-pvalloc.
3874         * malloc/tst-pvalloc.c: New file.
3876 2013-10-02  Will Newton  <will.newton@linaro.org>
3878         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3879         improve test coverage.
3881 2013-10-02  Will Newton  <will.newton@linaro.org>
3883         * malloc/Makefile: Add tst-posix_memalign.
3884         * malloc/tst-posix_memalign.c: New file.
3886 2013-10-01  Eric Blake  <eblake@redhat.com>
3888         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3889         Use __THROWNL rather than __THROW on static functions.
3891 2013-09-30  Petr Machata  <pmachata@redhat.com>
3893         * elf/elf.h (R_AARCH64_ABS16): New macro.
3894         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3895         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3896         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3897         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3898         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3899         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3900         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3901         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3902         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3903         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3904         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3905         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3906         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3907         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3908         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3909         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3910         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3911         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3912         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3913         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3914         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3915         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3916         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3917         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3918         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3919         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3920         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3921         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3922         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3923         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3924         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3925         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3926         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3927         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3928         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3929         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3930         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3931         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3932         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3933         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3934         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3935         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3936         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3937         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3938         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3939         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3940         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3941         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3942         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3943         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3944         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3945         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3946         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3947         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3948         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3949         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3950         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3951         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3952         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3953         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3954         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3955         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3956         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3957         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3958         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3959         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3960         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3961         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3962         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3963         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3964         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3965         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3966         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3967         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3968         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3969         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3970         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3971         (R_AARCH64_TLSDESC_LDR): Likewise.
3972         (R_AARCH64_TLSDESC_ADD): Likewise.
3973         (R_AARCH64_TLSDESC_CALL): Likewise.
3975 2013-09-30  Andreas Schwab  <schwab@suse.de>
3977         [BZ #15048]
3978         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3979         the nss database lookup.
3980         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3983 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
3985         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3987 2013-09-28  P. J. McDermott  <pj@pehjota.net>
3989         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3990         ${Bash-specific parameter/pattern/string} parameter expansion.
3991         * sysdeps/unix/make-syscalls.sh: Likewise.
3993 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3995         * sysdeps/sh/stackguard-macros.h: New file.
3997 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
3999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4000         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4001         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4002         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4003         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4004         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4006 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4008         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4009         Fix thread ID register.
4011 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4013         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4014         [POSIX || UNIX98]: Require rather than permitting all symbols from
4015         <time.h>.
4016         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4017         element of struct sched_param.
4018         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4019         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4020         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4021         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4022         constant.
4024 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4026         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4027         argument calculation.
4029 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4031         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4032         Expect macro.
4033         [POSIX] (pthread_attr_t): Do not require type.
4034         [POSIX] (pthread_cond_t): Likewise.
4035         [POSIX] (pthread_condattr_t): Likewise.
4036         [POSIX] (pthread_key_t): Likewise.
4037         [POSIX] (pthread_mutex_t): Likewise.
4038         [POSIX] (pthread_mutexattr_t): Likewise.
4039         [POSIX] (pthread_once_t): Likewise.
4040         [POSIX] (pthread_t): Likewise.
4041         [POSIX-based standards] (pthread_atfork): Expect function.
4043 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4044             Richard Sandiford  <richard@codesourcery.com>
4046         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4047         (swap_endianness_p): New extern variable.
4048         (set_big_endian): New inline function.
4049         (maybe_swap_uint32): Likewise.
4050         (maybe_swap_uint32_array): Likewise.
4051         (maybe_swap_uint32_obstack): Likewise.
4052         * locale/programs/locfile.c: Include <stdbool.h>.
4053         (swap_endianness_p): New variable.
4054         (add_locale_uint32): Call maybe_swap_uint32.
4055         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4056         (write_locale_data): Call maybe_swap_uint32_array.
4057         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4058         maybe_swap_uint32.
4059         (obstack_int32_grow_fast): Likewise.
4060         (output_weightwc): Call maybe_swap_uint32_obstack.
4061         (collate_output): Likewise.
4062         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4063         (OPT_LITTLE_ENDIAN): Likewise.
4064         (options): Add --little-endian and --big-endian options.
4065         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4066         * locale/programs/locarchive.c: Include "locfile.h".
4067         (GET): New macro.
4068         (SET): Likewise.
4069         (INC): Likewise.
4070         (create_archive): Use the new macros to access fields of
4071         structures directly mapped from or written to locale archives.
4072         (oldlocrecentcmp): Likewise.
4073         (enlarge_archive): Likewise.
4074         (insert_name): Likewise.
4075         (add_alias): Likewise.
4076         (add_locale): Likewise.
4077         (delete_locales_from_archive): Likewise.
4078         (show_archive_content): Likewise.
4079         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4080         locale data.
4082 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4084         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4085         http://www.gnu.org/doc/freemanuals.texi.
4086         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4088 2013-09-24  Will Newton  <will.newton@linaro.org>
4090         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4091         macro.
4093 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4095         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4096         unsigned char.
4098 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4100         * manual/threads.texi (POSIX Threads): Fix a typo.
4102 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4104         [BZ #14547]
4105         * string/tst-strcoll-overflow.c: New test case.
4106         * string/Makefile (xtests): Add tst-strcoll-overflow.
4107         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4108         cache if string sizes may cause integer overflow.
4110         [BZ #14547]
4111         * string/strcoll_l.c (coll_seq): New members rule, idx,
4112         save_idx and back_us.
4113         (get_next_seq_nocache): New function.
4114         (do_compare_nocache): New function.
4115         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4116         when malloc fails.
4118 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4120         [BZ #15754]
4121         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4122         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4123         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4125         [BZ #15754]
4126         * elf/Makefile (tests): Add tst-ptrguard1.
4127         (tests-static): Add tst-ptrguard1-static.
4128         (tst-ptrguard1-ARGS): Define.
4129         (tst-ptrguard1-static-ARGS): Define.
4130         * elf/tst-ptrguard1.c: New file.
4131         * elf/tst-ptrguard1-static.c: New file.
4132         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4133         * sysdeps/i386/stackguard-macros.h: Likewise.
4134         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4135         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4136         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4137         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4138         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4139         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4141 2013-09-23  Hector Marco  <hecmargi@upv.es>
4142             Ismael Ripoll  <iripoll@disca.upv.es>
4143             Carlos O'Donell  <carlos@redhat.com>
4145         [BZ #15754]
4146         * sysdeps/generic/stackguard-macros.h: Define
4147         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4148         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4149         Define __pointer_chk_guard_local.
4150         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4151         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4153 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4155         [BZ #15859]
4156         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4158 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4160         * include/string.h (__ffs): Declare as hidden.
4161         * string/ffs.c (__ffs): Define as hidden.
4162         * sysdeps/i386/ffs.c (__ffs): Likewise.
4163         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4164         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4165         * sysdeps/s390/ffs.c (__ffs): Likewise.
4166         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4168 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
4170         * NEWS: Mention malloc probes.
4172         * malloc/arena.c (new_heap): New memory_heap_new probe.
4173         (grow_heap): New memory_heap_more probe.
4174         (shrink_heap): New memory_heap_less probe.
4175         (heap_trim): New memory_heap_free probe.
4176         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4177         (systrim): New memory_sbrk_less probe.
4178         * manual/probes.texi: Document them.
4180         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4181         * manual/probes.texi: Document it.
4183         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4184         (__libc_realloc): Add memory_realloc_retry probe.
4185         (__libc_memalign): Add memory_memalign_retry probe.
4186         (__libc_valloc): Add memory_valloc_retry probe.
4187         (__libc_pvalloc): Add memory_pvalloc_retry probe.
4188         (__libc_calloc): Add memory_calloc_retry probe.
4189         * manual/probes.texi: Document them.
4191         * malloc/arena.c (get_free_list): Add probe
4192         memory_arena_reuse_free_list.
4193         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4194         and memory_arena_reuse.
4195         (arena_get2) [!PER_THREAD]: Likewise.
4196         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4197         memory_arena_reuse_realloc.
4198         * manual/probes.texi: Document them.
4200         * malloc/malloc.c (__libc_free): Add
4201         memory_mallopt_free_dyn_thresholds probe.
4202         (__libc_mallopt): Add multiple memory_mallopt probes.
4203         * manual/probes.texi: Document them.
4205         * malloc/malloc.c: Include stap-probe.h.
4206         (__libc_mallopt): Add memory_mallopt probe.
4207         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4208         * manual/probes.texi: New.
4209         * manual/Makefile (chapters): Add probes.
4210         * manual/threads.texi: Set next node.
4212 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
4214         [BZ #15963, #13985]
4215         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4216         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4217         Add `Chinese' to `nan' entry name.
4219 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4221         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4222         (POLYNOMIAL): Likewise.
4223         (TAYLOR_SINCOS): Likewise.
4224         (TAYLOR_SLOW): Likewise.
4225         (__sin): Use TAYLOR_SINCOS.
4226         (__cos): Likewise.
4227         (slow): Use TAYLOR_SLOW.
4228         (sloww): Likewise.
4229         (bsloww): Likewise.
4230         (csloww): Likewise.
4232 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4234         * stdlib/strtod_l.c: Fix buffer overrun.
4236 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4238         * benchtests/Makefile (bench): Add sincos.
4239         * benchtests/bench-sincos.c: New file.
4241         * math/libm-test.inc (cos_test_data): New test inputs.
4242         (sin_test_data): Likewise.
4244         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4245         macro.
4246         (__sin): Use it.
4247         (__cos): Likewise.
4248         (slow1): Likewise.
4249         (slow2): Likewise.
4250         (sloww1): Likewise.
4251         (sloww2): Likewise.
4252         (bsloww1): Likewise.
4253         (bsloww2): Likewise.
4254         (cslow2): Likewise.
4255         (csloww1): Likewise.
4256         (csloww2): Likewise.
4258         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4259         function.
4260         (__sin): Use it.
4261         (__cos): Likewise.
4263         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4264         gotos.
4265         (__cos): Likewise.
4267 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
4269         * config.h.in (HAVE_MIPS_NAN2008): New macro.
4270         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4271         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4272         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4273         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4274         * elf/cache.c (print_entry): Handle the new cache flags.
4276 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4277             Aldy Hernandez  <aldyh@redhat.com>
4279         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4280         Change condition to [_SOFT_FLOAT].
4281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4293         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4296         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4297         declaration.
4299 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4301         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4302         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4303         (__longjmp): Use LOAD_GP to load saved GPRs.
4304         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4305         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4306         (__sigsetjmp): Use SAVE_GP to save GPRs.
4308         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4309         Do not append -msoft-float.
4310         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4312 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4314         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4316 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
4318         [BZ #15966]
4319         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4320         (_FPU_GETCW): Use initial "__" on variable and field names but not
4321         on macro parameter name.
4322         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
4323         parentheses around reference to macro parameter.
4325 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
4327         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4328         prototype.
4329         (ctype_startup): Use uint32_t in cast and sizeof for
4330         ctype->charnames.
4332 2013-09-11  Jia Liu  <proljc@gmail.com>
4334         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4335         __daddr_t_defined.
4336         [__FreeBSD__]: Likewise.
4338 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
4340         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4341         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4342         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4343         (strchr): Remove __strchr_sse42 ifunc selection.
4344         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4345         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4347 2013-09-11  Will Newton  <will.newton@linaro.org>
4349         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4350         parameter to RES. Remove hardcoded 1000 value.
4351         * benchtests/bench-skeleton.c (main): Pass RES parameter
4352         to TIMING_INIT and multiply result by 1000.
4354 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4358 2013-09-11  Andreas Schwab  <schwab@suse.de>
4360         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4361         if not defined.
4362         (O_TMPFILE) [__USE_GNU]: Define.
4363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4364         Define.
4366 2013-09-11  Will Newton  <will.newton@linaro.org>
4368         [BZ #15857]
4369         * malloc/malloc.c (__libc_memalign): Check the value of bytes
4370         does not overflow.
4372 2013-09-11  Will Newton  <will.newton@linaro.org>
4374         [BZ #15856]
4375         * malloc/malloc.c (__libc_valloc): Check the value of bytes
4376         does not overflow.
4378 2013-09-11  Will Newton  <will.newton@linaro.org>
4380         [BZ #15855]
4381         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4382         does not overflow.
4384 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
4386         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4387         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4388         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4389         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4390         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4392 2013-09-10  Allan McRae  <allan@archlinux.org>
4394         [BZ #15748]
4395         * manual/arith.texi (Parsing of Floats): Clarify
4396         cross-reference.
4398         [BZ #15849]
4399         * manual/install.texi (Running make install): Mention
4400         --enable-pt-chown.
4401         * INSTALL: Regenerated.
4403 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4405         * csu/init-first.c (_init): Remove the !SHARED condition around
4406         FPU control word initialization.
4407         * elf/dl-support.c (_dl_fpu_control): New variable.
4408         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4409         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4410         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4411         * math/test-fpucw-static.c: New file.
4412         * math/test-fpucw-ieee.c: New file.
4413         * math/test-fpucw-ieee-static.c: New file.
4414         * math/Makefile (tests): Add `test-fpucw-ieee' and
4415         `$(tests-static)'.
4416         (tests-static): New variable.
4417         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4418         dependency to...
4419         [($(build-shared),yes)]
4420         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4421         ... this.
4422         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4423         New dependency.
4425 2013-09-09  Allan McRae  <allan@archlinux.org>
4427         [BZ #15939]
4428         * manual/string.texi (Collation Functions): Fix typo in
4429         strcoll example.
4430         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4432         [BZ #15893]
4433         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4435         [BZ #15892]
4436         * libio/memstream.c (open_memstream): Fix memory leak.
4437         * libio/wmemstream.c (open_wmemstream): Likewise.
4439         [BZ #15895]
4440         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4442 2013-09-09  Will Newton  <will.newton@linaro.org>
4444         * malloc/Makefile: Add tst-realloc to tests.
4445         * malloc/tst-realloc.c: New file.
4447 2013-09-09  Allan McRae  <allan@archlinux.org>
4449         [BZ #15844]
4450         * COPYING: Update from GNU website to fix FSF address.
4451         * COPYING.LIB: Likewise.
4453 2013-09-06  David S. Miller  <davem@davemloft.net>
4455         * po/zh_TW.po: Update Chinese (traditional) translation from
4456         translation project.
4458 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4459             Joseph Myers  <joseph@codesourcery.com>
4461         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4462         "localeinfo.h".
4463         (obstack_chunk_alloc): New macro.
4464         (obstack_chunk_free): Likewise.
4465         (record_offset): New function.
4466         (init_locale_data): Likewise.
4467         (align_locale_data): Likewise.
4468         (add_locale_empty): Likewise.
4469         (add_locale_raw_data): Likewise.
4470         (add_locale_raw_obstack): Likewise.
4471         (add_locale_string): Likewise.
4472         (add_locale_wstring): Likewise.
4473         (add_locale_uint32): Likewise.
4474         (add_locale_uint32_array): Likewise.
4475         (add_locale_char): Likewise.
4476         (start_locale_structure): Likewise.
4477         (end_locale_structure): Likewise.
4478         (start_locale_prelude): Likewise.
4479         (end_locale_prelude): Likewise.
4480         (write_locale_data): Take locale_file structure rather than an
4481         iovec.
4482         * locale/programs/locfile.h: Include "obstack.h".
4483         (struct locale_file): Change to store locale file contents instead
4484         of header.
4485         (init_locale_data): New prototype.
4486         (align_locale_data): Likewise.
4487         (add_locale_empty): Likewise.
4488         (add_locale_raw_data): Likewise.
4489         (add_locale_raw_obstack): Likewise.
4490         (add_locale_string): Likewise.
4491         (add_locale_wstring): Likewise.
4492         (add_locale_uint32): Likewise.
4493         (add_locale_uint32_array): Likewise.
4494         (add_locale_char): Likewise.
4495         (start_locale_structure): Likewise.
4496         (end_locale_structure): Likewise.
4497         (start_locale_prelude): Likewise.
4498         (end_locale_prelude): Likewise.
4499         (write_locale_data): Update prototype.
4500         * locale/programs/3level.h (struct TABLE): Remove result field.
4501         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4502         Use new locale_file interface.
4503         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4504         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4505         * locale/programs/ld-address.c (address_output): Use new
4506         locale_file interface.
4507         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4508         NO_ADD_LOCALE.
4509         (collate_finish): Don't call collseq_table_finalize.
4510         (collate_output): Use new locale_file interface.
4511         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4512         in file.
4513         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4514         (TABLE): Move defines earlier in file.
4515         (ELEMENT): Likewise.
4516         (DEFAULT): Likewise.
4517         (wctrans_table_add): Move macro and inline function earlier in
4518         file.
4519         (struct wctype_table): Move type earlier in file.
4520         (add_locale_wctype_table): New static prototype.
4521         (struct locale_ctype_t): Use logical types instead of struct iovec
4522         pointers for members.
4523         (ctype_output): Use new locale_file interface.
4524         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4525         new locale_file interface.
4526         (allocate_arrays): Update for use of new locale_file interface.
4527         * locale/programs/ld-identification.c (identification_output): Use
4528         new locale_file interface.
4529         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4530         * locale/programs/ld-messages.c (messages_output): Likewise.
4531         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4532         * locale/programs/ld-name.c (name_output): Likewise.
4533         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4534         * locale/programs/ld-paper.c (paper_output): Likewise.
4535         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4536         * locale/programs/ld-time.c (time_output): Likewise.
4538 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4540         * benchtests/Makefile: Add memrchr benchmark.
4541         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4542         benchmark as memrchr.
4543         * benchtests/bench-memrchr-ifunc.c: New file.
4544         * benchtests/bench-memrchr.c: New file.
4546 2013-09-06   Will Newton  <will.newton@linaro.org>
4548         * benchtests/Makefile (string-bench): Add memcpy.
4550 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4551             Cong Wang  <amwang@redhat.com>
4553         * sysdeps/unix/sysv/linux/bits/in.h
4554         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4555         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4556         before __USE_KERNEL_IPV6_DEFS uses.
4557         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4558         IPPROTO_BEETPH.
4559         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4560         sockaddr_in6, or ipv6_mreq.
4562 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4564         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4565         memory access for final bytes in some large inputs.
4566         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4568 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4570         * string/test-memrchr.c: New file.
4571         * string/test-memrchr-ifunc.c: New file.
4572         * string/Makefile: Add new memrchr testcase.
4574 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4576         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4577         fanotify_init returns EPERM.
4579 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4581         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4582         errors.
4583         (top level): Treat second token from macro or constant entries for
4584         allowed headers as allowed.
4585         * include/complex.h: Condition internal declarations on
4586         [!_ISOMAC].
4587         * include/fenv.h: Condition include of <stdbool.h> and internal
4588         declarations on [!_ISOMAC].
4590 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
4592         [BZ #15923]
4593         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4595 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4597         * configure.in (--enable-versioning): Remove configure option.
4598         (libc_cv_asm_symver_directive): Remove configure test.
4599         (libc_cv_ld_version_script_option): Likewise.
4600         (VERSIONING): Remove variable and AC_SUBST.
4601         (DO_VERSIONING): Remove AC_DEFINE.
4602         * configure: Regenerated.
4603         * config.h.in (DO_VERSIONING): Remove macro.
4604         * Makerules [$(versioning) = yes]: Change conditionals to
4605         [$(build-shared) = yes].
4606         * config.make.in (versioning): Remove variable.
4607         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4608         [$(build-shared) = yes].
4609         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4610         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4611         * elf/Makefile [$(versioning) = yes]: Change conditionals to
4612         [$(build-shared) = yes].
4613         * extra-lib.mk [$(versioning) = yes]: Likewise.
4614         * hurd/Makefile [$(versioning) = yes]: Likewise.
4615         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4616         [SHARED].
4617         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4618         [SHARED].
4619         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4620         [SHARED && !NO_HIDDEN].
4621         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4622         [SHARED].
4623         [SHARED && DO_VERSIONING]: Likewise..
4624         * libio/Makefile [$(versioning) = yes]: Change conditionals to
4625         [$(build-shared) = yes].
4626         * manual/install.texi (--disable-versioning): Remove
4627         documentation.
4628         * INSTALL: Regenerated.
4629         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4630         to [SHARED].
4631         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4632         [$(build-shared) = yes].
4633         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4634         * sysdeps/i386/i686/multiarch/strstr-c.c
4635         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4636         [SHARED && !NO_HIDDEN].
4637         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4638         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4639         * sysdeps/powerpc/powerpc32/dl-machine.c
4640         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4641         * sysdeps/powerpc/powerpc32/sysdep.h
4642         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4643         to [SHARED && PIC && !NO_HIDDEN].
4644         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4645         conditional to [SHARED].
4647 2013-09-04   Will Newton  <will.newton@linaro.org>
4649         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4650         * benchtests/bench-string.h: Include bench-timing.h instead
4651         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4652         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4653         call to HP_TIMING_DIFF_INIT.
4654         * benchtests/bench-memccpy.c: Use bench-timing.h macros
4655         instead of hp-timing.h macros.
4656         * benchtests/bench-memchr.c: Likewise.
4657         * benchtests/bench-memcmp.c: Likewise.
4658         * benchtests/bench-memcpy.c: Likewise.
4659         * benchtests/bench-memmem.c: Likewise.
4660         * benchtests/bench-memmove.c: Likewise.
4661         * benchtests/bench-memset.c: Likewise.
4662         * benchtests/bench-rawmemchr.c: Likewise.
4663         * benchtests/bench-strcasecmp.c: Likewise.
4664         * benchtests/bench-strcasestr.c: Likewise.
4665         * benchtests/bench-strcat.c: Likewise.
4666         * benchtests/bench-strchr.c: Likewise.
4667         * benchtests/bench-strcmp.c: Likewise.
4668         * benchtests/bench-strcpy.c: Likewise.
4669         * benchtests/bench-strcpy_chk.c: Likewise.
4670         * benchtests/bench-strlen.c: Likewise.
4671         * benchtests/bench-strncasecmp.c: Likewise.
4672         * benchtests/bench-strncat.c: Likewise.
4673         * benchtests/bench-strncmp.c: Likewise.
4674         * benchtests/bench-strncpy.c: Likewise.
4675         * benchtests/bench-strnlen.c: Likewise.
4676         * benchtests/bench-strpbrk.c: Likewise.
4677         * benchtests/bench-strrchr.c: Likewise.
4678         * benchtests/bench-strspn.c: Likewise.
4679         * benchtests/bench-strstr.c: Likewise.
4681 2013-09-04  Will Newton  <will.newton@linaro.org>
4683         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4685 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
4687         [BZ #15427]
4688         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4689         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4690         * math/libm-test.inc (lgamma_test_data): Add more tests.
4691         * sysdeps/i386/fpu/libm-test-ulps: Update.
4692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4694 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
4696         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4698         Add ifunc.
4699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4700         Add strcmp-sse2-unaligned
4701         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4703 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4705         * Versions.def (libc): Add GLIBC_2.19.
4707 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4709         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4710         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4712 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
4714         [BZ #14155]
4715         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4716         intermediate calculations in recurrence.
4717         (__ieee754_ynf): Likewise.
4718         * math/libm-test.inc (jn_test_data): Do not allow spurious
4719         underflow exception.  Add more tests.
4720         (yn_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-02   Ondřej Bílka  <neleai@seznam.cz>
4726         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4728 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4730         * csu/init-first.c: Fix then/than typos.
4731         * locale/programs/ld-collate.c: Likewise.
4732         * locale/programs/linereader.h: Likewise.
4733         * manual/charset.texi: Likewise.
4734         * manual/filesys.texi: Likewise.
4735         * manual/stdio.texi: Likewise.
4736         * manual/string.texi: Likewise.
4737         * stdlib/fmtmsg.c: Likewise.
4738         * sysdeps/i386/stpncpy.S: Likewise.
4739         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4740         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4741         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4742         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4744 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4746         * elf/dl-open.c: Fix typos.
4747         * iconvdata/gbbig5.c: Likewise.
4748         * iconvdata/iso-2022-jp.c: Likewise.
4749         * iconv/gconv_int.h: Likewise.
4750         * iconv/loop.c: Likewise.
4751         * nis/rpcsvc/nis.h: Likewise.
4752         * resolv/ns_name.c: Likewise.
4753         * stdio-common/vfscanf.c: Likewise.
4754         * streams/stropts.h: Likewise.
4755         * sunrpc/rpc_thread.c: Likewise.
4756         * sysdeps/i386/strpbrk.S: Likewise.
4757         * sysdeps/ieee754/k_standard.c: Likewise.
4758         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4759         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4760         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4761         * sysdeps/mach/hurd/profil.c: Likewise.
4762         * sysdeps/s390/dl-procinfo.h: Likewise.
4763         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4764         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4765         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4766         * sysdeps/x86_64/dl-trampoline.S: Likewise.
4767         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4769 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
4771         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4774 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
4776         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4777         aix specific files.
4778         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4779         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4780         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4781         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4782         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4783         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4784         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4785         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4787 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4788             Roland McGrath  <roland@hack.frob.com>
4790         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4791         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4793 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4795         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4796         __executable_start symbol instead of _start.
4798 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4800         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4801         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4802         Move macros to...
4803         * sysdeps/gnu/ldsodefs.h: ... this new file.
4805         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4806         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4807         instead of ELFOSABI_LINUX.
4809         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4810         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4811         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4812         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4813         Likewise.
4814         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4815         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4816         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4817         Likewise.
4818         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4819         (ibm_extended_long_double): Add ieee_nan member.
4820         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4821         (do_test): New function.
4823         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4824         TEST_TRUNC.
4825         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4826         functions, renamed from truncdfsf_test, trunctfsf_test,
4827         trunctfdf_test.
4828         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4829         functions.
4830         (do_test): Run all these.
4832 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
4834         * argp/argp-help.c: Fix typos.
4835         * argp/argp-parse.c: Likewise.
4836         * debug/backtracesyms.c: Likewise.
4837         * elf/elf.h: Likewise.
4838         * malloc/malloc.c: Likewise.
4839         * nis/nis_print.c: Likewise.
4840         * resolv/res_comp.c: Likewise.
4841         * stdlib/stdlib.h: Likewise.
4842         * sunrpc/clnt_tcp.c: Likewise.
4843         * sunrpc/clnt_udp.c: Likewise.
4844         * sunrpc/clnt_unix.c: Likewise.
4845         * sysdeps/unix/bsd/ptsname.c: Likewise.
4846         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4847         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4849         Likewise.
4850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4851         Likewise.
4852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4853         Likewise.
4854         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4856 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4858         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4861 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
4863         [BZ #15897]
4864         * dlfcn/Makefile (tests): Add bug-dl-leaf.
4865         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4866         ($(objpfx)bug-dl-leaf): New rule.
4867         ($(objpfx)bug-dl-leaf.so): Likewise.
4868         ($(objpfx)bug-dl-leaf.out): Likewise.
4869         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4870         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4871         * dlfcn/bug-dl-leaf.c: New test.
4872         * dlfcn/bug-dl-leaf-lib.c: Likewise.
4873         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4874         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4875         (dlclose): Likewise.
4876         (dlmopen): Likewise.
4878 2013-08-27  Roland McGrath  <roland@hack.frob.com>
4880         * include/netdb.h [!_ISOMAC]:
4881         Don't include <tls.h>.
4882         (h_errno, __libc_h_errno): Move declaration and macros out of
4883         [_LIBC_REENTRANT].
4885         * include/resolv.h [_RESOLV_H_]:
4886         Don't include <tls.h>.
4887         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4888         * resolv/res_libc.c: Don't include <tls.h>.
4889         (_res): Use __attribute__ ((nocommon)) in place of
4890         __attribute__ ((section (".bss"))).
4892         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4893         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4895         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4897         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4898         only under [SIOCGIFCONF && SIOCGIFNETMASK].
4900         * resolv/res_mkquery.c: Include <sys/time.h>.
4902         * inet/ifreq.c: Moved to ...
4903         * sysdeps/unix/ifreq.c: ... here.
4904         * inet/ifreq.c: New file, true stub version.
4906         * socket/sa_len.c: New file.
4907         * socket/Makefile (aux): Add it.
4908         * sysdeps/unix/sysv/linux/Makefile
4909         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4910         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4911         and #include <socket/sa_len.c>.
4912         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4913         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4915         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4916         * bits/socket.h: ... here.
4918         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4919         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4920         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4922 2013-08-27  Andreas Schwab  <schwab@suse.de>
4924         [BZ #15736]
4925         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4926         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4927         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4928         * string/test-strcasecmp.c (test_main): Run tests in several
4929         locales.
4930         * string/test-strncasecmp.c (test_main): Likewise.
4932         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4933         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4934         to __strcasecmp_nonascii and __strncasecmp_nonascii.
4935         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4936         (__strncasecmp_ssse3) [PIC]: Likewise.
4938 2013-08-26  Roland McGrath  <roland@hack.frob.com>
4940         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4942         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4943         instead of explicitly declaring xdecrypt.
4944         * nis/nss_nis/nis-publickey.c: Likewise.
4946 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4948         [BZ #15890]
4949         * nscd/aicache.c: Include res_hconf.h.
4950         (addhstaiX): Initialize res_hconf.
4952 2013-08-26  Andreas Schwab  <schwab@suse.de>
4954         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4955         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4957 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4959         * nscd/aicache.c (addhstaiX): Fix indentation.
4961 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
4963         * configure.ac: Quote $build_pt_chown test.
4964         * configure: Regenerated.
4966 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
4968         [BZ #15532]
4969         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4970         * math/s_cexpf.c (__cexpf): Likewise.
4971         * math/s_cexpl.c (__cexpl): Likewise.
4972         * math/libm-test.inc (cexp_test_data): Correct expected return
4973         value for NaN + i0.  Add another test.
4975 2013-08-22  David S. Miller  <davem@davemloft.net>
4977         * po/ca.po: Update Catalan translation from translation project.
4978         * po/uk.po: Add Ukrainian translations from translation project.
4980 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
4982         [BZ #15797]
4983         * math/s_fdim.c (__fdim): Check for infinite arguments if result
4984         is infinite, not alongside NaN test.
4985         * math/s_fdimf.c (__fdimf): Likewise.
4986         * math/s_fdiml.c (__fdiml): Likewise.
4987         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
4988         errno is unchanged.
4990 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
4992         * argp/argp-help.c: Fix typos.
4993         * crypt/speeds.c: Likewise.
4994         * csu/check_fds.c: Likewise.
4995         * elf/dl-load.c: Likewise.
4996         * elf/dl-open.c: Likewise.
4997         * elf/reldep3.c: Likewise.
4998         * elf/reldep.c: Likewise.
4999         * elf/sprof.c: Likewise.
5000         * iconv/iconv_charmap.c: Likewise.
5001         * iconv/skeleton.c: Likewise.
5002         * iconv/strtab.c: Likewise.
5003         * io/lockf64.c: Likewise.
5004         * libio/libioP.h: Likewise.
5005         * resolv/gai_notify.c: Likewise.
5006         * resolv/ns_name.c: Likewise.
5007         * resolv/ns_samedomain.c: Likewise.
5008         * resolv/res_send.c: Likewise.
5009         * stdlib/random.c: Likewise.
5010         * sunrpc/rpc/xdr.h: Likewise.
5011         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5012         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5013         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5014         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5015         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5016         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5017         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5018         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5019         * sysdeps/mach/hurd/check_fds.c: Likewise.
5020         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5021         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5022         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5023         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5024         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5025         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5026         * sysdeps/pthread/aio_notify.c: Likewise.
5027         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5028         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5029         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5030         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5031         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5033 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5035         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5036         version if bit_Slow_SSE4_2 is set.
5037         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5038         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5040 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5042         [BZ #15867]
5043         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5044         trampoline stack frame information.
5045         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5046         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5047         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5048         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5049         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5050         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5051         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5052         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5053         sa_flags value.
5054         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5055         interrupting a syscall and set with option SA_SIGINFO.
5057 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5059         [BZ #15531]
5060         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5061         argument is infinite.
5062         * math/s_cprojf.c (__cprojf): Likewise.
5063         * math/s_cprojl.c (__cprojl): Likewise.
5064         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5065         * math/libm-test.inc (cproj_test_data): Add more tests.
5067         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5069         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5070         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5071         size.  Use __ffs to determine corresponding shift.
5073 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5074             Roland McGrath  <roland@hack.frob.com>
5076         * Makefile (INSTALL): Remove trailing blank lines from output of
5077         makeinfo.
5079 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5081         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5082         Align 32 bit compat elf_greg to 8 bytes.
5084 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5086         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5088 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5090         * string/strcoll_l.c (coll_seq): New structure.
5091         (get_next_seq_cached): New function.
5092         (get_next_seq): New function.
5093         (do_compare): New function.
5094         (STRCOLL): Use GNU style definition.  Simplify implementation
5095         by using get_next_seq, get_next_seq_cached and do_compare.
5097 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5099         [BZ #14699]
5100         CVE-2013-4237
5101         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5102         member.
5103         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5104         member.
5105         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5106         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5107         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5108         conditional.
5109         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5110         GETDENTS_64BIT_ALIGNED.
5111         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5112         * manual/filesys.texi (Reading/Closing Directory): Document
5113         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5114         strongly.
5115         * manual/conf.texi (Limits for Files): Add portability note to
5116         NAME_MAX, PATH_MAX.
5117         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5119 2013-08-13  Andreas Schwab  <schwab@suse.de>
5121         [BZ #15749]
5122         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5123         of fabs.
5124         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5125         LDBL_MAX_EXP >= 16384]: Add tests for it.
5127 2013-08-12  David S. Miller  <davem@davemloft.net>
5129         * version.h (RELEASE): Set to "development".
5130         (VERSION): Set to "2.18.90".
5131         * NEWS: Add 2.19 section.
5133 2013-08-03  David S. Miller  <davem@davemloft.net>
5135         * po/ko.po: Update Korean translation from translation project.
5137 2013-08-01  David S. Miller  <davem@davemloft.net>
5139         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5140         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5141         Bilka.
5143 2013-07-30  David S. Miller  <davem@davemloft.net>
5145         * po/fr.po: Update French translation from translation project.
5147 2013-07-28  David S. Miller  <davem@davemloft.net>
5149         * po/cs.po: Update Czech translation from translation project.
5151         * po/sv.po: Update Swedish translation from translation project.
5153 2013-07-27  David S. Miller  <davem@davemloft.net>
5155         * po/eo.po: Update Esperanto translation from translation project.
5157         * po/vi.po: Update Vietnamese translation from translation project.
5159         * po/de.po: Update German translation from translation project.
5161 2013-07-26  David S. Miller  <davem@davemloft.net>
5163         * po/bg.po: Update Bulgarian translation from translation project.
5165         * po/nl.po: Update Dutch translation from translation project.
5166         * po/pl.po: Update Polish translation from translation project.
5167         * po/ru.po: Update Russian translation from translation project.
5169 2013-07-24  David S. Miller  <davem@davemloft.net>
5171         * po/libc.pot: Update.
5173 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5175         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5176         variable page size.
5177         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5178         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5179         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5181 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5183         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5185 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5186             Andreas Schwab  <schwab@suse.de>
5187             Roland McGrath  <roland@hack.frob.com>
5188             Joseph Myers  <joseph@codesourcery.com>
5189             Carlos O'Donell  <carlos@redhat.com>
5191         [BZ #15755]
5192         * config.h.in: Define HAVE_PT_CHOWN.
5193         * config.make.in (build-pt-chown): New variable.
5194         * configure.in (--enable-pt_chown): New configure option.
5195         * configure: Regenerate.
5196         * login/Makefile: Include Makeconfig.  Build pt_chown only if
5197         build-pt-chown is enabled.
5198         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5199         pt_chown to fix pty ownership.
5200         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5201         CLOSE_ALL_FDS.
5202         * manual/install.texi (Configuring and compiling): Mention
5203         --enable-pt_chown. Add @findex for grantpt.
5204         * INSTALL: Regenerate.
5206 2013-07-20  David S. Miller  <davem@davemloft.net>
5208         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5209         difference between 32-bit and 64-bit.
5211 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
5213         [BZ #15711]
5214         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5215         Avoid system header dependency with -ffreestanding.
5216         ($(objpfx)bits/syscall%d): Likewise.
5218 2013-07-13  David S. Miller  <davem@davemloft.net>
5220         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5221         underflows from atanl/atan2l due to bug 15319.
5222         (casinh_test_data): Likewise.
5224 2013-07-07  David S. Miller  <davem@davemloft.net>
5226         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5228 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
5230         * sysdeps/i386/fpu/libm-test-ulps: Update.
5231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5233 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5235         * configure.in (--enable-lock-elision): Fix message text.
5236         * INSTALL: Regenerate.
5237         * configure: Regenerate.
5239 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5243 2013-07-03  Andreas Jaeger  <aj@suse.de>
5245         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5246         define.
5247         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5248         (ptrace_peeksiginfo_args): Add.
5249         (__ptrace_peeksiginfo_flags): Add.
5250         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5251         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5252         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5254 2013-07-03  Allan McRae  <allan@archlinux.org>
5256         * sysdeps/i386/fpu/libm-test-ulps: Update.
5258 2013-07-02  David S. Miller  <davem@davemloft.net>
5260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5262 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
5264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5266 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5268         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5271 2013-07-02  Andi Kleen <ak@linux.intel.com>
5273         * config.h.in (ENABLE_LOCK_ELISION): Add.
5274         * configure.in (--enable-lock-elision): Add option.
5275         * manual/install.texi: Document --enable lock elision.
5276         * configure: Regenerate
5277         * INSTALL: Regenerate.
5279 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5281         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5282         SSE4.2 strcasecmp for libc.a.
5283         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5285 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5287         [BZ #13304]
5288         * soft-fp/op-common.h (_FP_FMA): New macro.
5289         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5290         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
5291         (_FP_MUL_MEAT_1_imm): ... here.
5292         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
5293         (_FP_MUL_MEAT_1_wide): ... here.
5294         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
5295         (_FP_MUL_MEAT_1_hard): ... here.
5296         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5297         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
5298         (_FP_MUL_MEAT_2_wide): ... here.
5299         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
5300         (_FP_MUL_MEAT_2_wide_3mul): ... here.
5301         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
5302         (_FP_MUL_MEAT_2_gmp): ... here.
5303         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5304         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
5305         (_FP_MUL_MEAT_4_wide): ... here.
5306         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
5307         (_FP_MUL_MEAT_4_gmp): ... here.
5308         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5309         (_FP_WFRACBITS_DW_S): Likewise.
5310         (_FP_WFRACXBITS_DW_S): Likewise.
5311         (_FP_HIGHBIT_DW_S): Likewise.
5312         (FP_FMA_S): Likewise.
5313         (_FP_FRAC_HIGH_DW_S): Likewise.
5314         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5315         (_FP_WFRACBITS_DW_D): Likewise.
5316         (_FP_WFRACXBITS_DW_D): Likewise.
5317         (_FP_HIGHBIT_DW_D): Likewise.
5318         (FP_FMA_D): Likewise.
5319         (_FP_FRAC_HIGH_DW_D): Likewise.
5320         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5321         (_FP_WFRACBITS_DW_E): Likewise.
5322         (_FP_WFRACXBITS_DW_E): Likewise.
5323         (_FP_HIGHBIT_DW_E): Likewise.
5324         (FP_FMA_E): Likewise.
5325         (_FP_FRAC_HIGH_DW_E): Likewise.
5326         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5327         (_FP_WFRACBITS_DW_Q): Likewise.
5328         (_FP_WFRACXBITS_DW_Q): Likewise.
5329         (_FP_HIGHBIT_DW_Q): Likewise.
5330         (FP_FMA_Q): Likewise.
5331         (_FP_FRAC_HIGH_DW_Q): Likewise.
5332         * soft-fp/fmasf4.c: New file.
5333         * soft-fp/fmadf4.c: Likewise.
5334         * soft-fp/fmatf4.c: Likewise.
5336 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5339         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5340         Silvermont.
5341         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5342         macro.
5343         (index_Slow_SSE4_2): Likewise.
5344         (index_Prefer_PMINUB_for_stringop): Likewise.
5345         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5346         bit_Slow_SSE4_2 is set.
5347         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5348         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5350 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5352         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5353         rtld_global._dl_hwcap2.
5354         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5355         POWER8.
5356         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5357         POWER8 feature descriptions defined in _dl_hwcap2.
5358         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5359         string handling for POWER8 feature bits.
5360         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5361         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5362         _dl_powerpc_cap_flags.
5363         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5364         * sysdeps/powerpc/rtld-global-offsets.sym
5365         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5366         _dl_hwcap2 in the rtld_global_ro structure.
5368 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5370         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5371         hardware capabilities in support of AT_HWCAP2.
5372         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5373         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5374         GLRO(dl_hwcap2).
5375         (_dl_show_auxv): Add support for calling _dl_procinfo to display
5376         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
5377         explicitly the unknown a_type display mechanism is used.
5378         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5379         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5380         struct member.
5381         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5382         to macro prototype for AT_HWCAP2 support.
5383         * sysdeps/i386/dl-procinfo.h: Likewise.
5384         * sysdeps/s390/dl-procinfo.h: Likewise.
5385         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5386         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5387         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5388         return -1 for unknown a_type display fallback.
5389         * sysdeps/sparc/dl-procinfo.h: Likewise.
5390         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5391         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5393 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5395         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5396         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5398 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5400         [BZ #12492]
5401         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5402         mprotect making __stack_prot writable.
5404 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5405             Joseph Myers  <joseph@codesourcery.com>
5407         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5408         as being properly aligned.
5410 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5412         * dlfcn/modstatic5.c: New file.
5413         * dlfcn/tststatic5.c: New file.
5414         * dlfcn/Makefile (tests): Add tststatic5.
5415         (tests-static): Likewise.
5416         (modules-names): Add modstatic5.
5417         (tststatic5-ENV): New variable.
5418         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5420         [BZ #15022]
5421         * elf/dl-support.c (_dl_main_map): New variable.
5422         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5423         (_dl_nns, _dl_load_adds): Set to 1.
5424         (_dl_initial_searchlist): Refer to _dl_main_map.
5425         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5426         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5427         call to _dl_get_origin.
5428         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5429         around call_map.
5430         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5431         * dlfcn/modstatic3.c: New file.
5432         * dlfcn/tststatic3.c: New file.
5433         * dlfcn/tststatic4.c: New file.
5434         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5435         (tests-static): Likewise.
5436         (modules-names): Add modstatic3.
5437         (tststatic3-ENV, tststatic4-ENV): New variables.
5438         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5439         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5441 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5443         * configure.in (CC): Require GCC version 4.4 or later.
5444         * configure: Regenerated.
5445         * manual/install.texi (Tools for Compilation): Update GCC version
5446         requirement.
5447         * INSTALL: Regenerated.
5449 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5451         [BZ #15674]
5452         * string/test-memcmp.c (check2): New.
5453         (main): Call check2.
5455         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5457 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5459         [BZ #15022]
5460         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5461         over to...
5462         (dl_open_worker) [!SHARED]: ... here.
5464 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5466         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5468 2013-06-25  Richard Henderson  <rth@redhat.com>
5470         * locale/programs/locarchive.c: Include <libc-internal.h>
5472 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5474         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5475         trailing whitespace removed.
5477 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5479         [BZ #10283]
5480         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5481         * locale/programs/locarchive.c: Include libc-mmap.h.
5482         (prepare_address_space): Take two new outputs (the mmap base and len).
5483         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5484         values.
5485         (create_archive): Declare new mmap base and len values for
5486         prepare_address_space, and store the result in ah.
5487         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5488         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5489         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5490         Declare new mmap base and len values for
5491         prepare_address_space, and store the result in new_ah.
5492         (open_archive): Declare new mmap base and len values for
5493         prepare_address_space, and store the result in ah.
5494         (close_archive): If ah->mmap_base is not NULL, use that and
5495         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5496         * sysdeps/generic/libc-mmap.h: New file.
5498 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5500         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5501         (ALIGN_UP): Likewise.
5502         (PTR_ALIGN_DOWN): Likewise.
5503         (PTR_ALIGN_UP): Likewise.
5505 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5507         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5508         entry mapped to PPC_PLATFORM_POWER8.
5509         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5510         POWER8.
5511         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5512         (_dl_string_platform): Add case for exporting platform position for
5513         POWER8.
5514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5515         search path to sysdeps/powerpc/powerpc32/power8 directory.
5516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5517         search path to sysdeps/powerpc/powerpc64/power8 directory.
5518         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5519         power7 directories.
5520         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5521         power7 directories.
5523 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5525         * INSTALL: Regenerate.
5527         * nscd/connections.c (nscd_init): Fix comment.
5529 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5531         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5533         [BZ #15667]
5534         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5535         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5537 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5539         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5540         DL_DST_REQ_STATIC.
5541         (DL_DST_REQ_STATIC): Remove macro.
5543 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5545         [BZ #7006]
5546         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5547         with a shift of 0 bits.
5549 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5551         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5552         $(tststatic-ENV).
5554 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5556         [BZ #15655]
5557         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5559 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5561         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5562         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5563         accepts -fno-tree-loop-distribute-patterns.
5564         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5565         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5566         recursive call.
5567         * string/memset.c (memset): Likewise.
5568         * string/test-memmove.c (simple_memmove): Disable loop transformation
5569         to library calls.
5570         * string/test-memset.c (simple_memset): Likewise.
5571         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5572         * benchtests/bench-memset.c (simple_memset): Likewise.
5573         * configure: Regenerated.
5575 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5577         * math/test-misc.c (main): Ignore fesetround failure when failures
5578         of subsequent rounding tests would be ignored.
5580         [BZ #15654]
5581         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5582         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5583         * math/fegetenv.c (__fegetenv): Return 0.
5584         * math/fegetexcept.c (fegetexcept): Return 0.
5585         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5586         FE_TONEAREST.
5587         * math/feholdexcpt.c (feholdexcept): Return 0.
5588         * math/fesetenv.c (__fesetenv): Return 0.
5589         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5590         argument FE_TONEAREST.
5591         * math/feupdateenv.c (__feupdateenv): Return 0.
5592         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5594 2013-06-18  Roland McGrath  <roland@hack.frob.com>
5596         * elf/rtld-Rules (rtld-compile-command.S): New variable.
5597         (rtld-compile-command.s, rtld-compile-command.c): New variables.
5598         ($(objpfx)rtld-%.os rules): Use them.
5600 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5602         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5603         fields.
5605 2013-06-17  Roland McGrath  <roland@hack.frob.com>
5607         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5608         length of target pattern, then descending length of dependency pattern.
5609         * configure.in (AWK): Require gawk 3.1.2 or newer.
5610         * manual/install.texi (Tools for Compilation): Say that we do.
5611         * configure: Regenerated.
5613         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5614         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5615         * scripts/sysd-rules.awk: ... this new script.
5616         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5617         than a glob-style pattern.
5619 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
5621         * math/test-misc.c (main): Do not treat incorrectly rounded
5622         conversions as failure unless ROUNDING_TESTS passes.
5624 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
5626         [BZ #15631]
5627         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5628         restore exception state around main square root computation, then
5629         check for inexactness explicitly.
5631         * math/libm-test.inc (fma_test_data): Add another test.
5633 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5635         * manual/threads.texi (Non-POSIX Extensions): New document
5636         node.  Document pthread_getattr_default_np and
5637         pthread_setattr_default_np.
5639         * Versions.def (libpthread): Add GLIBC_2.18.
5640         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5642         Likewise.
5643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5644         Likewise.
5645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5646         Likewise.
5647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5648         Likewise.
5649         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5650         Likewise.
5651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5652         Likewise.
5653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5654         Likewise.
5655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5656         Likewise.
5657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5658         Likewise.
5660 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5663         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5665 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5666             H.J. Lu  <hjl.tools@gmail.com>
5668         [BZ #15627]
5669         * sysdeps/x86_64/rtld-memset.c: Remove file.
5670         * sysdeps/x86_64/rtld-memset.S: New file.
5672 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
5674         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5675         (test_in_one_mode): Take arguments for whether the rounding mode
5676         is supported for each floating-point type.
5677         (do_test): Pass new arguments to test_in_one_mode using
5678         ROUNDING_TESTS.
5680 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5682         * posix/tst-waitid.c (do_test): Distinguish different instances of
5683         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
5684         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5685         before entering the kernel for waitpid.
5687 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5689         * NEWS: Fix note on clock function precision.  Text by Roland
5690         McGrath.
5692 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5694         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5695         it into place only when and if the sanity check passes.
5697 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
5699         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5700         output for whether conversion result is exact.  Take argument
5701         indicating whether type is IBM long double.
5702         (round_for_all): Change need_exact field to ibm_ld.
5703         * stdlib/tst-strtod-round.c (struct exactness): New type.
5704         (struct test): Change bool ld_ok field to struct exactness exact.
5705         (TEST): Update all definitions for change to field.
5706         (tests): Regenerate array contents.
5707         (test_in_one_mode): Take pointer to new field instead of old ld_ok
5708         field value.  Check for IBM long double here.
5709         (do_test): Update calls to test_in_one_mode.
5711 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5713         [BZ #12515]
5714         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5715         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5717 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5719         [BZ #15605]
5720         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5721         generated by the compiler on loop optimizations.
5722         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5723         general definitions.
5725 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
5727         * math/bug-nextafter.c: Include <math-tests.h>.
5728         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5729         the relevant type.
5730         * math/bug-nexttoward.c: Include <math-tests.h>.
5731         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5732         the relevant type.
5733         * math/test-misc.c: Include <math-tests.h>.
5734         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5735         the relevant type.
5737 2013-06-12  Andreas Jaeger  <aj@suse.de>
5739         * po/ia.po: Update Interlingua translation from translation
5740         project.
5742 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5744         * include/fenv.h: Include stdbool.h.
5745         (struct rm_ctx): New structure.
5746         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5747         Define macro.
5748         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5749         (SET_RESTORE_ROUNDF): Likewise.
5750         (SET_RESTORE_ROUNDL): Likewise.
5751         (SET_RESTORE_ROUND_NOEX): Likewise.
5752         (SET_RESTORE_ROUND_NOEXF): Likewise.
5753         (SET_RESTORE_ROUND_NOEXL): Likewise.
5754         (SET_RESTORE_ROUND_53BIT): Likewise.
5755         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5756         (libc_feresetround_noexf_ctx): Likewise.
5757         (libc_feresetround_noexl_ctx): Likewise.
5758         (libc_feholdsetround_53bit_ctx): Likewise.
5759         (libc_feresetround_53bit_ctx): Likewise.
5760         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5761         (libc_feholdexcept_setround_sse_ctx): New function.
5762         (libc_fesetenv_sse_ctx): Likewise.
5763         (libc_feupdateenv_sse_ctx): Likewise.
5764         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5765         (libc_feholdexcept_setround_387_ctx): Likewise.
5766         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5767         (libc_feholdsetround_387_prec_ctx): Likewise.
5768         (libc_feholdsetround_387_ctx): Likewise.
5769         (libc_feholdsetround_387_53bit_ctx): Likewise.
5770         (libc_feholdsetround_sse_ctx): Likewise.
5771         (libc_feresetround_sse_ctx): Likewise.
5772         (libc_feresetround_387_ctx): Likewise.
5773         (libc_feupdateenv_387_ctx): Likewise.
5774         (libc_feholdexcept_setroundf_ctx): Define macro.
5775         (libc_fesetenvf_ctx): Likewise.
5776         (libc_feupdateenvf_ctx): Likewise.
5777         (libc_feholdsetroundf_ctx): Likewise.
5778         (libc_feresetroundf_ctx): Likewise.
5779         (libc_feholdexcept_setround_ctx): Likewise.
5780         (libc_fesetenv_ctx): Likewise.
5781         (libc_feupdateenv_ctx): Likewise.
5782         (libc_feholdsetround_ctx): Likewise.
5783         (libc_feresetround_ctx): Likewise.
5784         (libc_feholdexcept_setroundl_ctx): Likewise.
5785         (libc_feupdateenvl_ctx): Likewise.
5786         (libc_feholdsetroundl_ctx): Likewise.
5787         (libc_feresetroundl_ctx): Likewise.
5788         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5789         (libc_feresetround_53bit_ctx): Likewise.
5791 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5793         * locale/iso-639.def: Convert to UTF-8.
5795 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
5797         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5798         (EXCEPTION_TESTS_double): Likewise.
5799         (EXCEPTION_TESTS_long_double): Likewise.
5800         (EXCEPTION_TESTS): Likewise.
5801         * math/libm-test.inc (test_exceptions): Only test exceptions if
5802         EXCEPTION_TESTS (FLOAT).
5804 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5806         * benchtests/Makefile (string-bench): Add strcpy_chk and
5807         stpcpy_chk.
5808         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5809         * benchtests/bench-stpcpy_chk.c: New file.
5810         * benchtests/bench-strcpy_chk-ifunc.c: New file.
5811         * benchtests/bench-strcpy_chk.c: New file.
5812         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5813         code.
5814         (do_test): Likewise.
5816 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5818         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5819         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5820         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5821         with tabs where appropriate.
5822         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5823         dl-procinfo.h.
5824         [PPC_PLATFORM_PPC440]: Likewise.
5825         [PPC_PLATFORM_PPC464]: Likewise.
5826         [PPC_PLATFORM_PPC476]: Likewise.
5827         (_dl_string_platform): Add support for detecting ppc405, ppc440,
5828         ppc464, and ppc476 platform strings merging from ports/
5829         dl-procinfo.h.
5831 2013-06-11  Andreas Schwab  <schwab@suse.de>
5833         [BZ #14991]
5834         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5835         (from_ucs4_idx): Regenerate.
5836         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5837         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5838         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5839         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5840         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5841         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5842         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5843         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5844         from FROM_LOOP and TO_LOOP specific macros.
5845         (BODY): Handle combining characters.
5846         * iconvdata/BIG5HKSCS.irreversible: Update.
5847         * iconvdata/BIG5HKSCS.precomposed: New file.
5848         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5849         characters.
5850         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5852 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5854         * include/sys/time.h: Fix indentation and add copyright header.
5856         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5857         (do_test): Likewise.
5858         * string/test-memchr.c (do_one_test): Likewise.
5859         (do_test): Likewise.
5860         * string/test-memcmp.c (do_one_test): Likewise.
5861         (do_test): Likewise.
5862         * string/test-memcpy.c (do_one_test): Likewise.
5863         (do_test): Likewise.
5864         * string/test-memmem.c (do_one_test): Likewise.
5865         (do_test): Likewise.
5866         (do_random_tests): Likewise.
5867         * string/test-memmove.c (do_one_test): Likewise.
5868         (do_test): Likewise.
5869         * string/test-memset.c (do_one_test): Likewise.
5870         (do_test): Likewise.
5871         * string/test-rawmemchr.c (do_one_test): Likewise.
5872         (do_test): Likewise.
5873         * string/test-strcasecmp.c (do_one_test): Likewise.
5874         (do_test): Likewise.
5875         * string/test-strcasestr.c (do_one_test): Likewise.
5876         (do_test): Likewise.
5877         * string/test-strcat.c (do_one_test): Likewise.
5878         (do_test): Likewise.
5879         * string/test-strchr.c (do_one_test): Likewise.
5880         (do_test): Likewise.
5881         * string/test-strcmp.c (do_one_test): Likewise.
5882         (do_test): Likewise.
5883         * string/test-strcpy.c (do_one_test): Likewise.
5884         (do_test): Likewise.
5885         * string/test-string.h: Likewise.
5886         (test_init): Likewise.
5887         * string/test-strlen.c (do_one_test): Likewise.
5888         (do_test): Likewise.
5889         * string/test-strncasecmp.c (do_one_test): Likewise.
5890         (do_test): Likewise.
5891         * string/test-strncat.c (do_one_test): Likewise.
5892         (do_test): Likewise.
5893         * string/test-strncmp.c (do_one_test): Likewise.
5894         (do_test_limit): Likewise.
5895         (do_test): Likewise.
5896         * string/test-strncpy.c (do_one_test): Likewise.
5897         (do_test): Likewise.
5898         * string/test-strnlen.c (do_one_test): Likewise.
5899         (do_test): Likewise.
5900         * string/test-strpbrk.c (do_one_test): Likewise.
5901         (do_test): Likewise.
5902         * string/test-strrchr.c (do_one_test): Likewise.
5903         (do_test): Likewise.
5904         * string/test-strspn.c (do_one_test): Likewise.
5905         (do_test): Likewise.
5906         * string/test-strstr.c (do_one_test): Likewise.
5907         (do_test): Likewise.
5909         * benchtests/Makefile (string-bench): Add string benchmarks.
5910         * benchtests/bench-bcopy-ifunc.c: New file.
5911         * benchtests/bench-bcopy.c: New file.
5912         * benchtests/bench-bzero-ifunc.c: New file.
5913         * benchtests/bench-bzero.c: New file.
5914         * benchtests/bench-memccpy-ifunc.c: New file.
5915         * benchtests/bench-memccpy.c: New file.
5916         * benchtests/bench-memchr-ifunc.c: New file.
5917         * benchtests/bench-memchr.c: New file.
5918         * benchtests/bench-memcmp-ifunc.c: New file.
5919         * benchtests/bench-memcmp.c: New file.
5920         * benchtests/bench-memmem-ifunc.c: New file.
5921         * benchtests/bench-memmem.c: New file.
5922         * benchtests/bench-memmove-ifunc.c: New file.
5923         * benchtests/bench-memmove.c: New file.
5924         * benchtests/bench-mempcpy-ifunc.c: New file.
5925         * benchtests/bench-mempcpy.c: New file.
5926         * benchtests/bench-memset-ifunc.c: New file.
5927         * benchtests/bench-memset.c: New file.
5928         * benchtests/bench-rawmemchr-ifunc.c: New file.
5929         * benchtests/bench-rawmemchr.c: New file.
5930         * benchtests/bench-stpcpy-ifunc.c: New file.
5931         * benchtests/bench-stpcpy.c: New file.
5932         * benchtests/bench-stpncpy-ifunc.c: New file.
5933         * benchtests/bench-stpncpy.c: New file.
5934         * benchtests/bench-strcasecmp-ifunc.c: New file.
5935         * benchtests/bench-strcasecmp.c: New file.
5936         * benchtests/bench-strcasestr-ifunc.c: New file.
5937         * benchtests/bench-strcasestr.c: New file.
5938         * benchtests/bench-strcat-ifunc.c: New file.
5939         * benchtests/bench-strcat.c: New file.
5940         * benchtests/bench-strchr-ifunc.c: New file.
5941         * benchtests/bench-strchr.c: New file.
5942         * benchtests/bench-strchrnul-ifunc.c: New file.
5943         * benchtests/bench-strchrnul.c: New file.
5944         * benchtests/bench-strcmp-ifunc.c: New file.
5945         * benchtests/bench-strcmp.c: New file.
5946         * benchtests/bench-strcpy-ifunc.c: New file.
5947         * benchtests/bench-strcpy.c: New file.
5948         * benchtests/bench-strcspn-ifunc.c: New file.
5949         * benchtests/bench-strcspn.c: New file.
5950         * benchtests/bench-strlen-ifunc.c: New file.
5951         * benchtests/bench-strlen.c: New file.
5952         * benchtests/bench-strncasecmp-ifunc.c: New file.
5953         * benchtests/bench-strncasecmp.c: New file.
5954         * benchtests/bench-strncat-ifunc.c: New file.
5955         * benchtests/bench-strncat.c: New file.
5956         * benchtests/bench-strncmp-ifunc.c: New file.
5957         * benchtests/bench-strncmp.c: New file.
5958         * benchtests/bench-strncpy-ifunc.c: New file.
5959         * benchtests/bench-strncpy.c: New file.
5960         * benchtests/bench-strnlen-ifunc.c: New file.
5961         * benchtests/bench-strnlen.c: New file.
5962         * benchtests/bench-strpbrk-ifunc.c: New file.
5963         * benchtests/bench-strpbrk.c: New file.
5964         * benchtests/bench-strrchr-ifunc.c: New file.
5965         * benchtests/bench-strrchr.c: New file.
5966         * benchtests/bench-strspn-ifunc.c: New file.
5967         * benchtests/bench-strspn.c: New file.
5968         * benchtests/bench-strstr-ifunc.c: New file.
5969         * benchtests/bench-strstr.c: New file.
5971         * benchtests/Makefile: Disable parallel execution of targets.
5972         (string-bench): Add memcpy.
5973         (benchset): New variable to store a list of benchmark sets.
5974         (bench-func): Renamed from bench.
5975         (bench-set): New target.
5976         (bench): Depend on bench-func and bench-set.
5977         * benchtests/README: Add section on benchmark sets.
5978         * benchtests/bench-memcpy-ifunc.c: New file.
5979         * benchtests/bench-memcpy.c: New file.
5980         * benchtests/bench-string.h: New file.
5982 2013-06-11  Andreas Schwab  <schwab@suse.de>
5984         [BZ #15577]
5985         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5986         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5987         values in the triple.
5988         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5989         terminator in the group key.
5991 2013-06-11  Andreas Jaeger  <aj@suse.de>
5993         * po/zh_TW.po: Update Chinese (traditional) translation from
5994         translation project.
5996 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5998         * include/time.h (__clock_gettime): Add libc_hidden_proto.
5999         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6000         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6001         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6002         (clock_getcpuclockid): Likewise.
6003         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6004         Add weak_alias and libc_hidden_def.
6005         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6006         * rt/clock_gettime.c (clock_gettime): Rename to
6007         __clock_gettime.  Add weak_alias and libc_hidden_def.
6008         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6009         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6010         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6011         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6012         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6013         Likewise.
6014         * rt/clock_settime.c (clock_settime): Rename to
6015         __clock_settime.  Add weak_alias and libc_hidden_def.
6016         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6018 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6020         * mach/err_boot.sub: Remove trailing whitespace.
6021         * mach/err_ipc.sub: Likewise.
6022         * mach/err_mach.sub: Likewise.
6024         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6025         (ROUNDING_TESTS_double): Likewise.
6026         (ROUNDING_TESTS_long_double): Likewise.
6027         (ROUNDING_TESTS): Likewise.
6028         * math/libm-test.inc: Include <math-tests.h>.
6029         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6030         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6031         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6032         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6034 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6036         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6037         of assigning.
6039 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6041         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6042         otherwise empty TRANS lines.
6043         * sysdeps/gnu/errlist.c: Regenerated.
6045         * catgets/gencat.c (error_print): Use (void) in function
6046         definition.
6047         * crypt/crypt_util.c (__init_des): Likewise.
6048         * crypt/speeds.c (Stop): Likewise.
6049         (main): Likewise.
6050         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6051         * inet/ruserpass.c (token): Likewise.
6052         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6053         * intl/localealias.c (extend_alias_table): Likewise.
6054         * intl/plural-exp.c (init_germanic_plural): Likewise.
6055         * libio/fcloseall.c (__fcloseall): Likewise.
6056         * libio/genops.c (_IO_flush_all): Likewise.
6057         (_IO_flush_all_linebuffered): Likewise.
6058         (_IO_cleanup): Likewise.
6059         (_IO_iter_begin): Likewise.
6060         (_IO_iter_end): Likewise.
6061         (_IO_list_lock): Likewise.
6062         (_IO_list_unlock): Likewise.
6063         (_IO_list_resetlock): Likewise.
6064         * libio/getchar.c (getchar): Likewise.
6065         * libio/getchar_u.c (getchar_unlocked): Likewise.
6066         * libio/getwchar.c (getwchar): Likewise.
6067         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6068         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6069         * login/getpt.c (__getpt): Likewise.
6070         * login/tst-utmp.c (main): Likewise.
6071         * malloc/hooks.c (__malloc_check_init): Likewise.
6072         * malloc/malloc.c (__malloc_stats): Likewise.
6073         * malloc/mtrace.c (tr_break): Likewise.
6074         (mtrace): Likewise.
6075         (muntrace): Likewise.
6076         * misc/fstab.c (endfsent): Likewise.
6077         * misc/getclktck.c (__getclktck): Likewise.
6078         * misc/getdtsz.c (__getdtablesize): Likewise.
6079         * misc/gethostid.c (gethostid): Likewise.
6080         * misc/getpagesize.c (__getpagesize): Likewise.
6081         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6082         (__get_nprocs): Likewise.
6083         (__get_phys_pages): Likewise.
6084         (__get_avphys_pages): Likewise.
6085         * misc/getttyent.c (getttyent): Likewise.
6086         (setttyent): Likewise.
6087         (endttyent): Likewise.
6088         * misc/getusershell.c (getusershell): Likewise.
6089         (endusershell): Likewise.
6090         (setusershell): Likewise.
6091         (initshells): Likewise.
6092         * misc/hsearch.c (__hdestroy): Likewise.
6093         * misc/sync.c (sync): Likewise.
6094         * misc/syslog.c (closelog_internal): Likewise.
6095         (closelog): Likewise.
6096         * misc/ttyslot.c (ttyslot): Likewise.
6097         * misc/vhangup.c (vhangup): Likewise.
6098         * posix/fork.c (__fork): Likewise.
6099         * posix/getegid.c (__getegid): Likewise.
6100         * posix/geteuid.c (__geteuid): Likewise.
6101         * posix/getgid.c (__getgid): Likewise.
6102         * posix/getpid.c (__getpid): Likewise.
6103         * posix/getppid.c (__getppid): Likewise.
6104         * posix/getuid.c (__getuid): Likewise.
6105         * posix/pause.c (pause): Likewise.
6106         * posix/setpgrp.c (setpgrp): Likewise.
6107         * posix/setsid.c (__setsid): Likewise.
6108         * posix/test-vfork.c (noop): Likewise.
6109         * resolv/gethnamaddr.c (_endhtent): Likewise.
6110         (_gethtent): Likewise.
6111         (ht_endhostent): Likewise.
6112         (gethostent): Likewise.
6113         (dns_service): Likewise.
6114         * stdlib/drand48.c (drand48): Likewise.
6115         * stdlib/lrand48.c (lrand48): Likewise.
6116         * stdlib/mrand48.c (mrand48): Likewise.
6117         * stdlib/rand.c (rand): Likewise.
6118         * stdlib/random.c (__random): Likewise.
6119         * stdlib/setenv.c (clearenv): Likewise.
6120         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6121         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6122         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6123         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6124         (__get_nprocs): Likewise.
6125         (__get_phys_pages): Likewise.
6126         (__get_avphys_pages): Likewise.
6127         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6128         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6129         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6130         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6131         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6132         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6133         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6134         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6135         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6136         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6137         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6138         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6139         * sysdeps/posix/clock.c (clock): Likewise.
6140         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6141         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6142         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6143         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6144         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6145         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6146         (__get_nprocs_conf): Likewise.
6147         (__get_phys_pages): Likewise.
6148         (__get_avphys_pages): Likewise.
6149         * time/clock.c (clock): Likewise.
6150         * time/tzset.c (__tzname_max): Likewise.
6152 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6154         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6155         (__bswap_32): Do not use "register".
6156         * crypt/crypt.c (_ufc_doit_r): Likewise.
6157         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6158         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6159         * gmon/gmon.c (__monstartup): Likewise.
6160         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6161         * hurd/hurdmalloc.c (more_memory): Likewise.
6162         (malloc): Likewise.
6163         (free): Likewise.
6164         (realloc): Likewise.
6165         (malloc_fork_prepare): Likewise.
6166         (malloc_fork_parent): Likewise.
6167         (malloc_fork_child): Likewise.
6168         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6169         (_svcauth_des): Likewise.
6170         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6171         * inet/inet_net.c (inet_network): Likewise.
6172         * inet/inet_netof.c (inet_netof): Likewise.
6173         * inet/rcmd.c (__validuser2_sa): Likewise.
6174         * io/fts.c (fts_open): Likewise.
6175         (fts_load): Likewise.
6176         (fts_close): Likewise.
6177         (fts_read): Likewise.
6178         (fts_children): Likewise.
6179         (fts_build): Likewise.
6180         (fts_stat): Likewise.
6181         (fts_sort): Likewise.
6182         (fts_alloc): Likewise.
6183         (fts_lfree): Likewise.
6184         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6185         (_IO_file_xsgetn): Likewise.
6186         (_IO_file_xsgetn_mmap): Likewise.
6187         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6188         (_IO_cookie_write): Likewise.
6189         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6190         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6191         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6192         * malloc/obstack.c (_obstack_begin): Likewise.
6193         (_obstack_begin_1): Likewise.
6194         (_obstack_newchunk): Likewise.
6195         (_obstack_allocated_p): Likewise.
6196         (obstack_free): Likewise.
6197         (_obstack_memory_used): Likewise.
6198         * misc/getttyent.c (getttynam): Likewise.
6199         (getttyent): Likewise.
6200         (skip): Likewise.
6201         (value): Likewise.
6202         * misc/getusershell.c (initshells): Likewise.
6203         * misc/syslog.c (__vsyslog_chk): Likewise.
6204         * misc/ttyslot.c (ttyslot): Likewise.
6205         * nis/nis_hash.c (__nis_hash): Likewise.
6206         * posix/fnmatch_loop.c (FCT): Likewise.
6207         * posix/getconf.c (print_all): Likewise.
6208         (main): Likewise.
6209         * posix/getopt.c (exchange): Likewise.
6210         * posix/glob.c (globfree): Likewise.
6211         (prefix_array): Likewise.
6212         (__glob_pattern_type): Likewise.
6213         * resolv/arpa/nameser.h (NS_GET16): Likewise.
6214         (NS_GET32): Likewise.
6215         (NS_PUT16): Likewise.
6216         (NS_PUT32): Likewise.
6217         * resolv/gethnamaddr.c (getanswer): Likewise.
6218         (gethostbyname2): Likewise.
6219         (gethostbyaddr): Likewise.
6220         (_gethtent): Likewise.
6221         (_gethtbyname2): Likewise.
6222         (_gethtbyaddr): Likewise.
6223         * resolv/ns_print.c (dst_s_get_int16): Likewise.
6224         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6225         * resolv/res_init.c (__res_vinit): Likewise.
6226         (net_mask): Likewise.
6227         * resolv/res_mkquery.c (outchar): Likewise.
6228         (PRINT): Likewise.
6229         * stdio-common/printf_fp.c (outchar): Likewise.
6230         (PRINT): Likewise.
6231         * stdio-common/printf_fphex.c (outchar): Likewise.
6232         (PRINT): Likewise.
6233         * stdio-common/printf_size.c (outchar): Likewise.
6234         (PRINT): Likewise.
6235         * stdio-common/test_rdwr.c (main): Likewise.
6236         * stdio-common/tfformat.c (matches): Likewise.
6237         * stdio-common/vfprintf.c (outchar): Likewise.
6238         (printf_unknown): Likewise.
6239         (buffered_vfprintf): Likewise.
6240         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6241         * stdio-common/xbug.c (AppendToBuffer): Likewise.
6242         (ReadFile): Likewise.
6243         * stdlib/qsort.c (SWAP): Likewise.
6244         (_quicksort): Likewise.
6245         * stdlib/setenv.c (__add_to_environ): Likewise.
6246         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6247         * stdlib/strtol_l.c (__strtol_l): Likewise.
6248         * stdlib/tst-strtod.c (main): Likewise.
6249         * stdlib/tst-strtol.c (main): Likewise.
6250         * stdlib/tst-strtoll.c (main): Likewise.
6251         * string/bits/string2.h (__strcmp_cc): Likewise.
6252         (__strcmp_cg): Likewise.
6253         (__strcspn_c1): Likewise.
6254         (__strcspn_c2): Likewise.
6255         (__strcspn_c3): Likewise.
6256         (__strspn_c1): Likewise.
6257         (__strspn_c2): Likewise.
6258         (__strspn_c3): Likewise.
6259         (__strsep_1c): Likewise.
6260         (__strsep_2c): Likewise.
6261         (__strsep_3c): Likewise.
6262         * string/memccpy.c (__memccpy): Likewise.
6263         * string/stpcpy.c (__stpcpy): Likewise.
6264         * string/strcmp.c (strcmp): Likewise.
6265         * string/strrchr.c (strrchr): Likewise.
6266         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6267         Likewise.
6268         * sysdeps/mach/hurd/getcwd.c
6269         (_hurd_canonicalize_directory_name_internal): Likewise.
6270         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6271         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6272         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6273         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6274         Likewise, in both definitions.
6275         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6276         definitions.
6277         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6278         64] (__bswap_64): Likewise.
6279         * time/test_time.c (main): Likewise.
6280         * time/tzfile.c (__tzfile_read): Likewise.
6281         (__tzfile_compute): Likewise.
6282         * time/tzset.c (__tzset_parse_tz): Likewise.
6283         (tzset_internal): Likewise.
6284         (compute_change): Likewise.
6285         * wcsmbs/wcscat.c (__wcscat): Likewise.
6286         * wcsmbs/wcschr.c (wcschr): Likewise.
6287         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6288         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6289         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6290         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6291         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6292         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6293         * wcsmbs/wmemchr.c (wmemchr): Likewise.
6294         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6295         * wcsmbs/wmemset.c (wmemset): Likewise.
6297 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
6299         * scripts/config.guess: Update to version 2013-05-16.
6300         * scripts/config.sub: Update to version 2013-04-24.
6301         * scripts/install-sh: Update to version 2011-11-20.07.
6302         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6303         * scripts/move-if-change: Update to version 2012-01-06 07:23.
6305 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
6307         * debug/fgetws_u_chk.c: Fix leading whitespaces.
6308         * elf/sln.c: Likewise.
6309         * hurd/hurd/ioctl.h: Likewise.
6310         * hurd/hurdmalloc.c: Likewise.
6311         * hurd/xattr.c: Likewise.
6312         * include/shlib-compat.h: Likewise.
6313         * inet/ruserpass.c: Likewise.
6314         * libio/iofgets_u.c: Likewise.
6315         * libio/iofgetws_u.c: Likewise.
6316         * locale/programs/ld-identification.c: Likewise.
6317         * locale/programs/ld-time.c: Likewise.
6318         * mach/msg-destroy.c: Likewise.
6319         * nss/nss_files/files-netgrp.c: Likewise.
6320         * resolv/res_data.c: Likewise.
6321         * soft-fp/op-1.h: Likewise.
6322         * soft-fp/op-2.h: Likewise.
6323         * soft-fp/op-4.h: Likewise.
6324         * soft-fp/op-common.h: Likewise.
6325         * stdio-common/printf_fphex.c: Likewise.
6326         * stdlib/strtod_l.c: Likewise.
6327         * sunrpc/rpc/clnt.h: Likewise.
6328         * sysdeps/generic/framestate.c: Likewise.
6329         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6330         * sysdeps/i386/bsd-setjmp.S: Likewise.
6331         * sysdeps/i386/__longjmp.S: Likewise.
6332         * sysdeps/i386/setjmp.S: Likewise.
6333         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6334         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6335         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6336         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6337         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6338         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6339         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6340         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6341         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6342         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6343         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6344         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6345         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6346         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6347         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6348         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6349         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6350         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6351         * sysdeps/ieee754/support.c: Likewise.
6352         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6353         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6354         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6355         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6356         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6357         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6358         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6359         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6360         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6361         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6362         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6363         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6364         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6365         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6366         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6367         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6368         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6371 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
6373         * posix/transbug.c: Remove executable mode.
6375 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
6377         * crypt/speeds.c: Remove trailing whitespace.
6378         * dlfcn/default.c: Likewise.
6379         * elf/ifuncdep2.c: Likewise.
6380         * elf/ifuncmain1.c: Likewise.
6381         * elf/ifuncmain1vis.c: Likewise.
6382         * elf/testobj.h: Likewise.
6383         * elf/tst-stackguard1.c: Likewise.
6384         * gmon/sys/gmon.h: Likewise.
6385         * hurd/hurdmsg.c: Likewise.
6386         * hurd/new-fd.c: Likewise.
6387         * hurd/ports-get.c: Likewise.
6388         * iconvdata/ibm1008_420.c: Likewise.
6389         * inet/tst-getni1.c: Likewise.
6390         * inet/tst-getni2.c: Likewise.
6391         * libio/ioungetc.c: Likewise.
6392         * libio/wfiledoalloc.c: Likewise.
6393         * manual/libm-err-tab.pl: Likewise.
6394         * math/w_dremf.c: Likewise.
6395         * misc/ftruncate.c: Likewise.
6396         * posix/bug-glob2.c: Likewise.
6397         * posix/tst-pcre.c: Likewise.
6398         * posix/wait4.c: Likewise.
6399         * resolv/README: Likewise.
6400         * resolv/res_debug.h: Likewise.
6401         * resolv/tst-inet_ntop.c: Likewise.
6402         * setjmp/bug269-setjmp.c: Likewise.
6403         * soft-fp/extended.h: Likewise.
6404         * soft-fp/op-1.h: Likewise.
6405         * soft-fp/op-2.h: Likewise.
6406         * soft-fp/op-4.h: Likewise.
6407         * soft-fp/op-8.h: Likewise.
6408         * soft-fp/testit.c: Likewise.
6409         * stdio-common/bug16.c: Likewise.
6410         * stdlib/random.c: Likewise.
6411         * sunrpc/rpcsvc/rquota.x: Likewise.
6412         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6413         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6414         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6415         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6416         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6417         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6418         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6419         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6420         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6421         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6422         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6423         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6424         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6425         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6426         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6427         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6428         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6429         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6430         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6431         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6432         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6433         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6434         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6435         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6436         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6437         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6438         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6439         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6440         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6441         * sysdeps/ieee754/s_lib_version.c: Likewise.
6442         * sysdeps/mach/hurd/check_fds.c: Likewise.
6443         * sysdeps/mach/hurd/getsockname.c: Likewise.
6444         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6445         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6446         * sysdeps/powerpc/bits/link.h: Likewise.
6447         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6448         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6449         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6450         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6451         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6452         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6453         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6454         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6455         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6456         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6457         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6458         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6459         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6460         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6461         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6462         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6464         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6465         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6466         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6467         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6468         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6469         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6470         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6471         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6472         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6473         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6475         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6476         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6477         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6478         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6479         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6480         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6481         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6482         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6483         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6484         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6485         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6486         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6487         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6488         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6489         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6490         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6491         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6492         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6493         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6494         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6495         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6496         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6497         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6498         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6499         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6500         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6501         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6502         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6503         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6504         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6505         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6506         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6507         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6508         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6509         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6510         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6511         * sysdeps/powerpc/sysdep.h: Likewise.
6512         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6513         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6514         * sysdeps/sh/dl-trampoline.S: Likewise.
6515         * sysdeps/sh/memset.S: Likewise.
6516         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6517         * sysdeps/sh/strlen.S: Likewise.
6518         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6519         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6520         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6521         * sysdeps/sparc/sparc32/rem.S: Likewise.
6522         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6523         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6524         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6525         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6526         * sysdeps/sparc/sparc32/urem.S: Likewise.
6527         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6528         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6529         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6530         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6531         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6532         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6533         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6534         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6535         * sysdeps/unix/bsd/times.c: Likewise.
6536         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6537         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6541         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6542         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6543         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6544         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6545         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6546         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6547         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6548         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6549         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6550         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6551         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6552         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6553         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6554         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6555         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6556         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6557         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6558         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6559         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6560         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6561         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6562         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6563         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6564         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6565         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6566         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6567         * sysdeps/x86_64/strcspn.S: Likewise.
6569 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6571         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6572         generated file.  Regenerate properly from gen-translit.pl.
6573         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6574         locale/C-translit.h.
6576 2013-06-05  Andreas Schwab  <schwab@suse.de>
6578         [BZ #15100]
6579         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6580         week as 6 instead of -1.
6581         * time/tst-strptime.c (day_tests): Add test case.
6583 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6585         * sysdeps/generic/math_private.h
6586         (libc_feholdexcept_setround_53bit): Replace with
6587         libc_feholdsetround_53bit.
6588         (libc_feupdateenv_53bit): Replace with
6589         libc_feresetround_53bit.
6590         (SET_RESTORE_ROUND_53BIT): Adjust.
6592 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6594         * string/test-strchrnul.c: Add copyright header.
6596         * posix/tst-getaddrinfo4.c: Increase test timeout.
6598 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
6600         [BZ #15536]
6601         * math/libm-test.inc (MAX_EXP): Remove
6602         (MIN_EXP): Define.
6603         (ulp): Use MIN_EXP - MANT_DIG.
6604         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6606 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
6608         * po/be.po: Revert last change.
6609         * po/zh_CN.po: Likewise.
6610         * po/header.pot: Likewise.
6612 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
6614         * Makefile ($(common-objpfx)linkobj/libc.so): Define
6615         link-libc-deps to empty as target-specific variable.
6616         * Makerules (link-libc-args): New variable.
6617         (libc-for-link): Likewise.
6618         (link-libc-deps): Likewise.
6619         (lib%.so): Depend on $(link-libc-deps).  Link with
6620         $(link-libc-args).
6621         (build-module): Link with $(link-libc-args).
6622         (build-module-asneeded): Likewise.
6623         (build-module-helper-objlist): Filter out $(link-libc-deps) from
6624         list of objects.
6625         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6626         target-specific variable.
6627         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6628         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6629         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6630         libc.
6631         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6632         libc and ld.so.
6633         ($(objpfx)libpcprofile.so): Likewise.
6634         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6635         libc_nonshared.a.
6636         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6637         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6638         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6639         $(link-libc-deps).
6640         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6641         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6642         * login/Makefile ($(objpfx)libutil.so): Likewise.
6643         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6644         * math/Makefile ($(objpfx)libm.so): Likewise.
6645         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6646         $(objpfx)libnsl.so): Define libc-for-link as target-specific
6647         variable instead of depending directly on libc.
6648         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6649         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6650         $(link-libc-deps).
6651         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6652         libc.
6653         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6654         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6655         ($(objpfx)libanl.so): Likewise.
6656         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6657         ld.so.
6658         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6659         $(link-libc-deps).
6660         * sysdeps/i386/fpu/Makefile: Remove file.
6661         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6662         ($(objpfx)libm.so): Remove dependency on ld.so.
6664 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
6666         [BZ # 15553]
6667         * nis/yp_xdr.c (XDRMAXNAME): Define.
6668         (XDRMAXRECORD): Define.
6669         (xdr_domainname): Use XDRMAXNAME.
6670         (xdr_mapname): Likewise.
6671         (xdr_peername): Likewise.
6672         (xdr_keydat): Use XDRMAXRECORD.
6673         (xdr_valdat): Likewise.
6675 2013-05-30  Jeff Law  <law@redhat.com>
6677         [BZ #14256]
6678         * manual/errno.texi (ESTALE): Update to account for more than
6679         just NFS file systems.
6680         * sysdeps/gnu/errlist.c: Regenerated.
6682 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6684         [BZ #15465]
6685         * elf/Makefile (tests): Add tst-null-argv.
6686         (modules-names):  Add tst-null-argv-lib.
6687         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6688         (tst-null-argv-ENV): Set environment for tst-null-argv.
6689         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6690         (RTLD_PROGNAME): New macro.
6691         * elf/tst-null-argv.c: New test case.
6692         * elf/tst-null-argv-lib.c: Library for test case.
6693         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6694         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6695         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6696         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6697         * elf/dl-init.c (call_init): Likewise.
6698         (_dl_init): Likewise.
6699         * elf/dl-load.c (print_search_path): Likewise.
6700         (_dl_map_object): Likewise.
6701         * elf/dl-lookup.c (do_lookup_x): Likewise.
6702         (add_dependency): Likewise.
6703         (_dl_lookup_symbol_x): Likewise.
6704         (_dl_debug_bindings): Likewise.
6705         * elf/dl-open.c (_dl_show_scope): Likewise.
6706         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6707         * elf/dl-version.c (match_symbol): Likewise.
6708         (_dl_check_map_versions): Likewise.
6709         * elf/rtld.c (dl_main): Likewise.
6710         (print_unresolved): Use RTLD_PROGNAME.
6711         (print_missing_version): Likewise.
6712         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6713         (elf_machine_rela): Likewise.
6714         * sysdeps/powerpc/powerpc32/dl-machine.c
6715         (__process_machine_rela): Likewise.
6716         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6717         Likewise.
6718         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6719         Likewise.
6720         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6721         Likewise.
6722         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6723         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6724         Likewise.
6725         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6726         Likewise.
6727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6729 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
6731         * po/be.po: Add descriptive title.
6732         * po/zh_CN.po: Likewise.
6733         * po/header.pot: Likewise.
6735 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
6737         * locale/programs/locarchive.c (create_archive): Inlucde fname in
6738         error message.
6739         (enlarge_archive): Likewise.
6741 2013-05-28  Ben North  <ben@redfrontdoor.org>
6743         * manual/arith.texi (frexp): It is the magnitude of the return
6744         value which lies in [0.5, 1), not the return value itself.
6746 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6750 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
6752         * stdio-common/bug26.c (main): Correct fscanf template.
6754         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6755         declare _dl_skip_args.
6757         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6758         Don't declare.
6760         * manual/platform.texi: Add missing @end deftypefun.
6762 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6764         [BZ #15529]
6765         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6766         bit of mantissa of 2^16382.
6767         * math/libm-test.inc (hypot_test_data): Add more tests.
6769         * math/libm-test.inc: Add drem and pow10 to list of tested
6770         functions.
6771         (pow10_test): New function.
6772         (drem_test): Likewise.
6773         (drem_test_tonearest): Likewise.
6774         (drem_test_towardzero): Likewise.
6775         (drem_test_downward): Likewise.
6776         (drem_test_upward): Likewise.
6777         (main): Call the new functions.
6779         * math/libm-test.inc (finite_test_data): Remove.
6780         (finite_test): Run tests from isfinite_test_data.
6781         (gamma_test_data): Remove.
6782         (gamma_test): Run tests from lgamma_test_data.
6783         * sysdeps/i386/fpu/libm-test-ulps: Update.
6784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6786 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6788         * manual/platform.texi: Add PowerPC PPR function set documentation.
6789         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6790         implementation.
6792 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
6794         * math/libm-test.inc (MAX_EXP): Define.
6795         (ULPDIFF): Define.
6796         (ulp): New function.
6797         (check_float_internal): Use ULPDIFF.
6798         (cpow_test): Disable failing test.
6799         (check_ulp): Test ulp() implemetnation.
6800         (main): Call check_ulp before starting tests.
6802 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6804         * math/gen-libm-test.pl (generate_testfile): Do not handle
6805         START_DATA and END_DATA.
6806         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6807         END_DATA.
6808         (acos_tonearest_test_data): Likewise.
6809         (acos_towardzero_test_data): Likewise.
6810         (acos_downward_test_data): Likewise.
6811         (acos_upward_test_data): Likewise.
6812         (acosh_test_data): Likewise.
6813         (asin_test_data): Likewise.
6814         (asin_tonearest_test_data): Likewise.
6815         (asin_towardzero_test_data): Likewise.
6816         (asin_downward_test_data): Likewise.
6817         (asin_upward_test_data): Likewise.
6818         (asinh_test_data): Likewise.
6819         (atan_test_data): Likewise.
6820         (atanh_test_data): Likewise.
6821         (atan2_test_data): Likewise.
6822         (cabs_test_data): Likewise.
6823         (cacos_test_data): Likewise.
6824         (cacosh_test_data): Likewise.
6825         (carg_test_data): Likewise.
6826         (casin_test_data): Likewise.
6827         (casinh_test_data): Likewise.
6828         (catan_test_data): Likewise.
6829         (catanh_test_data): Likewise.
6830         (cbrt_test_data): Likewise.
6831         (ccos_test_data): Likewise.
6832         (ccosh_test_data): Likewise.
6833         (ceil_test_data): Likewise.
6834         (cexp_test_data): Likewise.
6835         (cimag_test_data): Likewise.
6836         (clog_test_data): Likewise.
6837         (clog10_test_data): Likewise.
6838         (conj_test_data): Likewise.
6839         (copysign_test_data): Likewise.
6840         (cos_test_data): Likewise.
6841         (cos_tonearest_test_data): Likewise.
6842         (cos_towardzero_test_data): Likewise.
6843         (cos_downward_test_data): Likewise.
6844         (cos_upward_test_data): Likewise.
6845         (cosh_test_data): Likewise.
6846         (cosh_tonearest_test_data): Likewise.
6847         (cosh_towardzero_test_data): Likewise.
6848         (cosh_downward_test_data): Likewise.
6849         (cosh_upward_test_data): Likewise.
6850         (cpow_test_data): Likewise.
6851         (cproj_test_data): Likewise.
6852         (creal_test_data): Likewise.
6853         (csin_test_data): Likewise.
6854         (csinh_test_data): Likewise.
6855         (csqrt_test_data): Likewise.
6856         (ctan_test_data): Likewise.
6857         (ctan_tonearest_test_data): Likewise.
6858         (ctan_towardzero_test_data): Likewise.
6859         (ctan_downward_test_data): Likewise.
6860         (ctan_upward_test_data): Likewise.
6861         (ctanh_test_data): Likewise.
6862         (ctanh_tonearest_test_data): Likewise.
6863         (ctanh_towardzero_test_data): Likewise.
6864         (ctanh_downward_test_data): Likewise.
6865         (ctanh_upward_test_data): Likewise.
6866         (erf_test_data): Likewise.
6867         (erfc_test_data): Likewise.
6868         (exp_test_data): Likewise.
6869         (exp_tonearest_test_data): Likewise.
6870         (exp_towardzero_test_data): Likewise.
6871         (exp_downward_test_data): Likewise.
6872         (exp_upward_test_data): Likewise.
6873         (exp10_test_data): Likewise.
6874         (exp2_test_data): Likewise.
6875         (expm1_test_data): Likewise.
6876         (fabs_test_data): Likewise.
6877         (fdim_test_data): Likewise.
6878         (finite_test_data): Likewise.
6879         (floor_test_data): Likewise.
6880         (fma_test_data): Likewise.
6881         (fma_towardzero_test_data): Likewise.
6882         (fma_downward_test_data): Likewise.
6883         (fma_upward_test_data): Likewise.
6884         (fmax_test_data): Likewise.
6885         (fmin_test_data): Likewise.
6886         (fmod_test_data): Likewise.
6887         (fpclassify_test_data): Likewise.
6888         (frexp_test_data): Likewise.
6889         (gamma_test_data): Likewise.
6890         (hypot_test_data): Likewise.
6891         (ilogb_test_data): Likewise.
6892         (isfinite_test_data): Likewise.
6893         (isgreater_test_data): Likewise.
6894         (isgreaterequal_test_data): Likewise.
6895         (isinf_test_data): Likewise.
6896         (isless_test_data): Likewise.
6897         (islessequal_test_data): Likewise.
6898         (islessgreater_test_data): Likewise.
6899         (isnan_test_data): Likewise.
6900         (isnormal_test_data): Likewise.
6901         (issignaling_test_data): Likewise.
6902         (isunordered_test_data): Likewise.
6903         (j0_test_data): Likewise.
6904         (j1_test_data): Likewise.
6905         (jn_test_data): Likewise.
6906         (ldexp_test_data): Likewise.
6907         (lgamma_test_data): Likewise.
6908         (lrint_test_data): Likewise.
6909         (lrint_tonearest_test_data): Likewise.
6910         (lrint_towardzero_test_data): Likewise.
6911         (lrint_downward_test_data): Likewise.
6912         (lrint_upward_test_data): Likewise.
6913         (llrint_test_data): Likewise.
6914         (llrint_tonearest_test_data): Likewise.
6915         (llrint_towardzero_test_data): Likewise.
6916         (llrint_downward_test_data): Likewise.
6917         (llrint_upward_test_data): Likewise.
6918         (log_test_data): Likewise.
6919         (log10_test_data): Likewise.
6920         (log1p_test_data): Likewise.
6921         (log2_test_data): Likewise.
6922         (logb_test_data): Likewise.
6923         (logb_downward_test_data): Likewise.
6924         (lround_test_data): Likewise.
6925         (llround_test_data): Likewise.
6926         (modf_test_data): Likewise.
6927         (nearbyint_test_data): Likewise.
6928         (nextafter_test_data): Likewise.
6929         (nexttoward_test_data): Likewise.
6930         (pow_test_data): Likewise.
6931         (pow_tonearest_test_data): Likewise.
6932         (pow_towardzero_test_data): Likewise.
6933         (pow_downward_test_data): Likewise.
6934         (pow_upward_test_data): Likewise.
6935         (remainder_test_data): Likewise.
6936         (remainder_tonearest_test_data): Likewise.
6937         (remainder_towardzero_test_data): Likewise.
6938         (remainder_downward_test_data): Likewise.
6939         (remainder_upward_test_data): Likewise.
6940         (remquo_test_data): Likewise.
6941         (rint_test_data): Likewise.
6942         (rint_tonearest_test_data): Likewise.
6943         (rint_towardzero_test_data): Likewise.
6944         (rint_downward_test_data): Likewise.
6945         (rint_upward_test_data): Likewise.
6946         (round_test_data): Likewise.
6947         (scalb_test_data): Likewise.
6948         (scalbn_test_data): Likewise.
6949         (scalbln_test_data): Likewise.
6950         (signbit_test_data): Likewise.
6951         (sin_test_data): Likewise.
6952         (sin_tonearest_test_data): Likewise.
6953         (sin_towardzero_test_data): Likewise.
6954         (sin_downward_test_data): Likewise.
6955         (sin_upward_test_data): Likewise.
6956         (sincos_test_data): Likewise.
6957         (sinh_test_data): Likewise.
6958         (sinh_tonearest_test_data): Likewise.
6959         (sinh_towardzero_test_data): Likewise.
6960         (sinh_downward_test_data): Likewise.
6961         (sinh_upward_test_data): Likewise.
6962         (sqrt_test_data): Likewise.
6963         (tan_test_data): Likewise.
6964         (tan_tonearest_test_data): Likewise.
6965         (tan_towardzero_test_data): Likewise.
6966         (tan_downward_test_data): Likewise.
6967         (tan_upward_test_data): Likewise.
6968         (tanh_test_data): Likewise.
6969         (tgamma_test_data): Likewise.
6970         (trunc_test_data): Likewise.
6971         (y0_test_data): Likewise.
6972         (y1_test_data): Likewise.
6973         (yn_test_data): Likewise.
6974         (significand_test_data): Likewise.
6976         * math/gen-libm-test.pl (@functions): Remove variable.
6977         (generate_testfile): Don't handle START and END lines.
6978         * math/libm-test.inc (START): New macro.
6979         (END): Likewise.
6980         (END_COMPLEX): Likewise.
6981         (acos_test): Use END macro without arguments.
6982         (acos_test_tonearest): Likewise.
6983         (acos_test_towardzero): Likewise.
6984         (acos_test_downward): Likewise.
6985         (acos_test_upward): Likewise.
6986         (acosh_test): Likewise.
6987         (asin_test): Likewise.
6988         (asin_test_tonearest): Likewise.
6989         (asin_test_towardzero): Likewise.
6990         (asin_test_downward): Likewise.
6991         (asin_test_upward): Likewise.
6992         (asinh_test): Likewise.
6993         (atan_test): Likewise.
6994         (atanh_test): Likewise.
6995         (atan2_test): Likewise.
6996         (cabs_test): Likewise.
6997         (cacos_test): Use END_COMPLEX macro without arguments.
6998         (cacosh_test): Likewise.
6999         (carg_test): Use END macro without arguments.
7000         (casin_test): Use END_COMPLEX macro without arguments.
7001         (casinh_test): Likewise.
7002         (catan_test): Likewise.
7003         (catanh_test): Likewise.
7004         (cbrt_test): Use END macro without arguments.
7005         (ccos_test): Use END_COMPLEX macro without arguments.
7006         (ccosh_test): Likewise.
7007         (ceil_test): Use END macro without arguments.
7008         (cexp_test): Use END_COMPLEX macro without arguments.
7009         (cimag_test): Use END macro without arguments.
7010         (clog_test): Use END_COMPLEX macro without arguments.
7011         (clog10_test): Likewise.
7012         (conj_test): Likewise.
7013         (copysign_test): Use END macro without arguments.
7014         (cos_test): Likewise.
7015         (cos_test_tonearest): Likewise.
7016         (cos_test_towardzero): Likewise.
7017         (cos_test_downward): Likewise.
7018         (cos_test_upward): Likewise.
7019         (cosh_test): Likewise.
7020         (cosh_test_tonearest): Likewise.
7021         (cosh_test_towardzero): Likewise.
7022         (cosh_test_downward): Likewise.
7023         (cosh_test_upward): Likewise.
7024         (cpow_test): Use END_COMPLEX macro without arguments.
7025         (cproj_test): Likewise.
7026         (creal_test): Use END macro without arguments.
7027         (csin_test): Use END_COMPLEX macro without arguments.
7028         (csinh_test): Likewise.
7029         (csqrt_test): Likewise.
7030         (ctan_test): Likewise.
7031         (ctan_test_tonearest): Likewise.
7032         (ctan_test_towardzero): Likewise.
7033         (ctan_test_downward): Likewise.
7034         (ctan_test_upward): Likewise.
7035         (ctanh_test): Likewise.
7036         (ctanh_test_tonearest): Likewise.
7037         (ctanh_test_towardzero): Likewise.
7038         (ctanh_test_downward): Likewise.
7039         (ctanh_test_upward): Likewise.
7040         (erf_test): Use END macro without arguments.
7041         (erfc_test): Likewise.
7042         (exp_test): Likewise.
7043         (exp_test_tonearest): Likewise.
7044         (exp_test_towardzero): Likewise.
7045         (exp_test_downward): Likewise.
7046         (exp_test_upward): Likewise.
7047         (exp10_test): Likewise.
7048         (exp2_test): Likewise.
7049         (expm1_test): Likewise.
7050         (fabs_test): Likewise.
7051         (fdim_test): Likewise.
7052         (finite_test): Likewise.
7053         (floor_test): Likewise.
7054         (fma_test): Likewise.
7055         (fma_test_towardzero): Likewise.
7056         (fma_test_downward): Likewise.
7057         (fma_test_upward): Likewise.
7058         (fmax_test): Likewise.
7059         (fmin_test): Likewise.
7060         (fmod_test): Likewise.
7061         (fpclassify_test): Likewise.
7062         (frexp_test): Likewise.
7063         (gamma_test): Likewise.
7064         (hypot_test): Likewise.
7065         (ilogb_test): Likewise.
7066         (isfinite_test): Likewise.
7067         (isgreater_test): Likewise.
7068         (isgreaterequal_test): Likewise.
7069         (isinf_test): Likewise.
7070         (isless_test): Likewise.
7071         (islessequal_test): Likewise.
7072         (islessgreater_test): Likewise.
7073         (isnan_test): Likewise.
7074         (isnormal_test): Likewise.
7075         (issignaling_test): Likewise.
7076         (isunordered_test): Likewise.
7077         (j0_test): Likewise.
7078         (j1_test): Likewise.
7079         (jn_test): Likewise.
7080         (ldexp_test): Likewise.
7081         (lgamma_test): Likewise.
7082         (lrint_test): Likewise.
7083         (lrint_test_tonearest): Likewise.
7084         (lrint_test_towardzero): Likewise.
7085         (lrint_test_downward): Likewise.
7086         (lrint_test_upward): Likewise.
7087         (llrint_test): Likewise.
7088         (llrint_test_tonearest): Likewise.
7089         (llrint_test_towardzero): Likewise.
7090         (llrint_test_downward): Likewise.
7091         (llrint_test_upward): Likewise.
7092         (log_test): Likewise.
7093         (log10_test): Likewise.
7094         (log1p_test): Likewise.
7095         (log2_test): Likewise.
7096         (logb_test): Likewise.
7097         (logb_test_downward): Likewise.
7098         (lround_test): Likewise.
7099         (llround_test): Likewise.
7100         (modf_test): Likewise.
7101         (nearbyint_test): Likewise.
7102         (nextafter_test): Likewise.
7103         (nexttoward_test): Likewise.
7104         (pow_test): Likewise.
7105         (pow_test_tonearest): Likewise.
7106         (pow_test_towardzero): Likewise.
7107         (pow_test_downward): Likewise.
7108         (pow_test_upward): Likewise.
7109         (remainder_test): Likewise.
7110         (remainder_test_tonearest): Likewise.
7111         (remainder_test_towardzero): Likewise.
7112         (remainder_test_downward): Likewise.
7113         (remainder_test_upward): Likewise.
7114         (remquo_test): Likewise.
7115         (rint_test): Likewise.
7116         (rint_test_tonearest): Likewise.
7117         (rint_test_towardzero): Likewise.
7118         (rint_test_downward): Likewise.
7119         (rint_test_upward): Likewise.
7120         (round_test): Likewise.
7121         (scalb_test): Likewise.
7122         (scalbn_test): Likewise.
7123         (scalbln_test): Likewise.
7124         (signbit_test): Likewise.
7125         (sin_test): Likewise.
7126         (sin_test_tonearest): Likewise.
7127         (sin_test_towardzero): Likewise.
7128         (sin_test_downward): Likewise.
7129         (sin_test_upward): Likewise.
7130         (sincos_test): Likewise.
7131         (sinh_test): Likewise.
7132         (sinh_test_tonearest): Likewise.
7133         (sinh_test_towardzero): Likewise.
7134         (sinh_test_downward): Likewise.
7135         (sinh_test_upward): Likewise.
7136         (sqrt_test): Likewise.
7137         (tan_test): Likewise.
7138         (tan_test_tonearest): Likewise.
7139         (tan_test_towardzero): Likewise.
7140         (tan_test_downward): Likewise.
7141         (tan_test_upward): Likewise.
7142         (tanh_test): Likewise.
7143         (tgamma_test): Likewise.
7144         (trunc_test): Likewise.
7145         (y0_test): Likewise.
7146         (y1_test): Likewise.
7147         (yn_test): Likewise.
7148         (significand_test): Likewise.
7150 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7152         [BZ #15381]
7153         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7155 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7157         [BZ #14894]
7158         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7159         __ppc_mdoio and __ppc_mdoom.
7160         * manual/platform.texi: Document new functions __ppc_yield,
7161         __ppc_mdoio and __ppc_mdoom.
7163 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7165         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7166         (main): Mention "tls" pseudo-hwcap is legacy.
7167         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7169 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7171         * math/gen-libm-test.pl (parse_args): Output only string of
7172         arguments as text for test name, not full call or descriptions of
7173         tests for extra outputs.
7174         (generate_testfile): Do not pass function name to parse_args.
7175         Generate this_func variable from START.
7176         * math/libm-test.inc (struct test_f_f_data): Rename test_name
7177         field to arg_str.
7178         (struct test_ff_f_data): Likewise.
7179         (test_ff_f_data_nexttoward): Likewise.
7180         (struct test_fi_f_data): Likewise.
7181         (struct test_fl_f_data): Likewise.
7182         (struct test_if_f_data): Likewise.
7183         (struct test_fff_f_data): Likewise.
7184         (struct test_c_f_data): Likewise.
7185         (struct test_f_f1_data): Likewise.  Remove field extra_name.
7186         (struct test_fF_f1_data): Likewise.
7187         (struct test_ffI_f1_data): Likewise.
7188         (struct test_c_c_data): Rename test_name field to arg_str.
7189         (struct test_cc_c_data): Likewise.
7190         (struct test_f_i_data): Likewise.
7191         (struct test_ff_i_data): Likewise.
7192         (struct test_f_l_data): Likewise.
7193         (struct test_f_L_data): Likewise.
7194         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
7195         and extra2_name.
7196         (COMMON_TEST_SETUP): New macro.
7197         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7198         (COMMON_TEST_CLEANUP): Likewise.
7199         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7200         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
7201         macros.
7202         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7203         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
7204         macros.
7205         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7206         (RUN_TEST_fff_f): Take argument string.  Call new setup and
7207         cleanup macros.
7208         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7209         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
7210         macros.
7211         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7212         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
7213         macros.
7214         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7215         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
7216         cleanup macros.
7217         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7218         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
7219         cleanup macros.
7220         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7221         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
7222         cleanup macros.
7223         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7224         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
7225         macros.
7226         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7227         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
7228         macros.
7229         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7230         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
7231         macros.
7232         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7233         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
7234         cleanup macros.
7235         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7236         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
7237         cleanup macros.
7238         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7239         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
7240         macros.
7241         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7242         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
7243         cleanup macros.
7244         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7245         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
7246         macros.
7247         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7248         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
7249         macros.
7250         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7251         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
7252         cleanup macros.
7253         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7255 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7257         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7258         to _sifields.sigfault.
7259         (si_addr_lsb): Define new macro.
7260         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7261         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7262         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7264 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
7266         [BZ #15441]
7267         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7268         returns -1.
7269         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7270         null return -1.
7271         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7272         loading the domain.
7274 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7276         * math/gen-libm-test.pl (parse_args): Do not include expected
7277         result in test name.
7278         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7279         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7280         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7281         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7282         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7285 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7287         * benchtests/Makefile: Sort function entries.
7289         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7290         tanh, asinh, acosh, atanh.
7291         * benchtests/acos-inputs: New file.
7292         * benchtests/acosh-inputs: New file.
7293         * benchtests/asin-inputs: New file.
7294         * benchtests/asinh-inputs: New file.
7295         * benchtests/atanh-inputs: New file.
7296         * benchtests/cosh-inputs: New file.
7297         * benchtests/log-inputs: New file.
7298         * benchtests/sinh-inputs: New file.
7299         * benchtests/tanh-inputs: New file.
7301 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
7303         [BZ #15339]
7304         * posix/tst-getaddrinfo4.c: New test.
7305         * posix/Makefile (tests): Add it.
7307 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7309         [BZ #15339]
7310         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7311         when no services were used.
7312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7313         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7315 2013-05-21  Andreas Schwab  <schwab@suse.de>
7317         [BZ #15014]
7318         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7319         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7320         successful.
7321         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7322         redundant variable declarations and reallocation of buffer when
7323         parsing as IPv6 address.  Always set NSS status when called from
7324         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
7325         buffer too small.  Correct computation of needed size.
7326         * nss/Makefile (tests): Add test-digits-dots.
7327         * nss/test-digits-dots.c: New test.
7329 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7331         * benchtests/Makefile: Remove instructions for adding
7332         benchmark tests.
7333         * benchtests/README: New file to explain how to execute and
7334         enhance the benchmark tests.
7336 2013-05-21  Andreas Schwab  <schwab@suse.de>
7338         [BZ #15493]
7339         * setjmp/Makefile (tests): Add tst-sigsetjmp.
7340         * setjmp/tst-sigsetjmp.c: New test.
7342 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7344         * sysdeps/x86_64/memset.S (memset): New implementation.
7345         (__bzero): Likewise.
7346         (__memset_tail): New function.
7348 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7350         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7351         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7352         __memcpy_sse2_unaligned ifunc selection.
7353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7354         Add memcpy-sse2-unaligned.S.
7355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7356         Add: __memcpy_sse2_unaligned.
7358 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
7360         [BZ #15490]
7361         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7362         math_force_eval before restoring floating-point envrionment.
7363         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7364         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7365         Likewise.
7366         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7367         <math_private.h>.
7368         (__nearbyintl): Use math_force_eval before restoring
7369         floating-point environment.
7370         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7372         * math/gen-libm-test.pl (special_functions): Remove.
7373         (parse_args): Don't handle TEST_extra.  Handle functions with no
7374         return value.
7375         * math/libm-test.inc (struct test_sincos_data): Replace with
7376         struct test_fFF_11_data.
7377         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7378         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7379         (sincos_test_data): Change element type to struct
7380         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
7381         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7382         RUN_TEST_LOOP_sincos.
7383         * math/README.libm-test: Don't mention special handling of
7384         individual functions.
7385         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7386         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7387         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7388         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7389         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7392         * math/gen-libm-test.pl (get_variable): Remove function.
7393         (parse_args): Don't show pointer parameters to call in test
7394         names.  Use "extra output N" in test names for extra outputs
7395         rather than naming variables.
7397 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7399         [BZ #15488]
7400         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7401         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7402         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7403         double tests.
7404         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7405         disable.
7406         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7407         check_long_double.
7409         * math/gen-libm-test.pl (@tests): Remove variable.
7410         ($count): Likewise.
7411         (new_test): Remove function.
7412         (show_exceptions): New function.
7413         (special_functions): Use show_exceptions instead of new_test.
7414         (parse_args): Likewise.
7415         (generate_testfile): Pass only function name in generated call to
7416         print_max_error or print_complex_max_error.
7417         (get_ulps): Do not handle complex tests specially.
7418         (output_test): Rename to ...
7419         (get_all_ulps_for_test): ... this.  Return a string rather than
7420         printing to a file.  Require ulps to be present.
7421         (output_ulps): Generate arrays rather than #defines.
7422         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7423         (struct ulp_data): New type.
7424         (BUILD_COMPLEX_ULP): Remove macro.
7425         (compare_ulp_data): New function.
7426         (find_ulps): Likewise.
7427         (find_test_ulps): Likewise.
7428         (find_function_ulps): Likewise.
7429         (find_complex_function_ulps): Likewise.
7430         (print_max_error): Determine allowed ulps using
7431         find_function_ulps.
7432         (print_complex_max_error): Determine allowed ulps using
7433         find_complex_function_ulps.
7434         (check_float_internal): Determine max ulps using find_test_ulps.
7435         (check_float): Do not take max_ulp parameter.  Update call to
7436         check_float_internal.
7437         (check_complex): Likewise.
7438         (check_int): Do not take max_ulp parameter.
7439         (check_long): Likewise.
7440         (check_bool): Likewise.
7441         (check_longlong): Likewise.
7442         (struct test_f_f_data): Remove max_ulp field.
7443         (struct test_ff_f_data): Likewise.
7444         (struct test_ff_f_data_nexttoward): Likewise.
7445         (struct test_fi_f_data): Likewise.
7446         (struct test_fl_f_data): Likewise.
7447         (struct test_if_f_data): Likewise.
7448         (struct test_fff_f_data): Likewise.
7449         (struct test_c_f_data): Likewise.
7450         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7451         (struct test_fF_f1_data): Likewise.
7452         (struct test_ffI_f1_data): Likewise.
7453         (struct test_c_c_data): Remove max_ulp field.
7454         (struct test_cc_c_data): Likewise.
7455         (struct test_f_i_data): Likewise.
7456         (struct test_ff_i_data): Likewise.
7457         (struct test_f_l_data): Likewise.
7458         (struct test_f_L_data): Likewise.
7459         (struct test_sincos_data): Likewise.
7460         (RUN_TEST_f_f): Do not handle ulps.
7461         (RUN_TEST_LOOP_f_f): Likewise.
7462         (RUN_TEST_2_f): Likewise.
7463         (RUN_TEST_LOOP_2_f): Likewise.
7464         (RUN_TEST_fff_f): Likewise.
7465         (RUN_TEST_LOOP_fff_f): Likewise.
7466         (RUN_TEST_c_f): Likewise.
7467         (RUN_TEST_LOOP_c_f): Likewise.
7468         (RUN_TEST_f_f1): Likewise.
7469         (RUN_TEST_LOOP_f_f1): Likewise.
7470         (RUN_TEST_fF_f1): Likewise.
7471         (RUN_TEST_LOOP_fF_f1): Likewise.
7472         (RUN_TEST_fI_f1): Likewise.
7473         (RUN_TEST_LOOP_fI_f1): Likewise.
7474         (RUN_TEST_ffI_f1): Likewise.
7475         (RUN_TEST_LOOP_ffI_f1): Likewise.
7476         (RUN_TEST_c_c): Likewise.
7477         (RUN_TEST_LOOP_c_c): Likewise.
7478         (RUN_TEST_cc_c): Likewise.
7479         (RUN_TEST_LOOP_cc_c): Likewise.
7480         (RUN_TEST_f_i): Likewise.
7481         (RUN_TEST_LOOP_f_i): Likewise.
7482         (RUN_TEST_f_i_tg): Likewise.
7483         (RUN_TEST_LOOP_f_i_tg): Likewise.
7484         (RUN_TEST_ff_i_tg): Likewise.
7485         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7486         (RUN_TEST_f_b): Likewise.
7487         (RUN_TEST_LOOP_f_b): Likewise.
7488         (RUN_TEST_f_b_tg): Likewise.
7489         (RUN_TEST_LOOP_f_b_tg): Likewise.
7490         (RUN_TEST_f_l): Likewise.
7491         (RUN_TEST_LOOP_f_l): Likewise.
7492         (RUN_TEST_f_L): Likewise.
7493         (RUN_TEST_LOOP_f_L): Likewise.
7494         (RUN_TEST_sincos): Likewise.
7495         (RUN_TEST_LOOP_sincos): Likewise.
7497 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7499         [BZ #15480]
7500         [BZ #15485]
7501         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7502         main case of finite arguments, set rounding mode to FE_TONEAREST
7503         and discard exceptions.
7504         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7505         exceptions.
7506         (remainder_tonearest_test_data): New variable.
7507         (remainder_test_tonearest): New function.
7508         (remainder_towardzero_test_data): New variable.
7509         (remainder_test_towardzero): New function.
7510         (remainder_downward_test_data): New variable.
7511         (remainder_test_downward): New function.
7512         (remainder_upward_test_data): New variable.
7513         (remainder_test_upward): New function.
7514         (main): Call the new test functions.
7516         * math/libm-test.inc (struct test_f_f1_data): Remove field
7517         extra_init.
7518         (struct test_fF_f1_data): Likewise.
7519         (struct test_ffI_f1_data): Likewise.
7520         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7521         based on value of EXTRA_EXPECTED.
7522         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7523         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7524         EXTRA_VAR based on value of EXTRA_EXPECTED.
7525         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7526         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7527         EXTRA_VAR based on value of EXTRA_EXPECTED.
7528         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7529         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7530         EXTRA_VAR based on value of EXTRA_EXPECTED.
7531         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7532         * math/gen-libm-test.pl (parse_args): Don't output initializers
7533         for extra output values.
7535         * math/libm-test.inc (check_int): Expect result to be exactly
7536         equal to expected value and do not handle ulps.
7537         (check_long): Likewise.
7538         (check_longlong): Likewise.
7540         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7541         exceptions.
7542         (cimag_test_data): Likewise.
7543         (conj_test_data): Likewise.
7544         (copysign_test_data): Likewise.
7545         (cproj_test_data): Likewise.
7546         (creal_test_data): Likewise.
7547         (fabs_test_data): Likewise.
7548         (fdim_test_data): Likewise.
7549         (finite_test_data): Likewise.
7550         (floor_test_data): Likewise.
7551         (fmax_test_data): Likewise.
7552         (fmin_test_data): Likewise.
7553         (fmod_test_data): Likewise.
7554         (fpclassify_test_data): Likewise.
7555         (frexp_test_data): Likewise.
7556         (ilogb_test_data): Likewise.
7557         (isfinite_test_data): Likewise.
7558         (isgreater_test_data): Likewise.
7559         (isgreaterequal_test_data): Likewise.
7560         (isinf_test_data): Likewise.
7561         (isless_test_data): Likewise.
7562         (islessequal_test_data): Likewise.
7563         (islessgreater_test_data): Likewise.
7564         (isnan_test_data): Likewise.
7565         (isnormal_test_data): Likewise.
7566         (issignaling_test_data): Likewise.
7567         (isunordered_test_data): Likewise.
7568         (ldexp_test_data): Likewise.
7569         (lrint_test_data): Likewise.
7570         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7571         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7572         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7573         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7574         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7575         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7576         test input.
7577         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7578         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7579         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7580         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7581         that test input.
7582         (lrint_downward_test_data): Test for "inexact" exceptions.
7583         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7584         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7585         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7586         test input.
7587         (lrint_upward_test_data): Test for "inexact" exceptions.
7588         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7589         test input.
7590         (llrint_test_data): Test for "inexact" exceptions.
7591         (llrint_test_data) [TEST_FLOAT]: Disable one test.
7592         (llrint_tonearest_test_data): Test for "inexact" exceptions.
7593         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7594         (llrint_towardzero_test_data): Test for "inexact" exceptions.
7595         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7596         (llrint_downward_test_data): Test for "inexact" exceptions.
7597         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7598         (llrint_upward_test_data): Test for "inexact" exceptions.
7599         (logb_test_data): Likewise.
7600         (logb_downward_test_data): Likewise.
7601         (nextafter_test_data): Likewise.
7602         (nexttoward_test_data): Likewise.
7603         (remainder_test_data): Likewise.
7604         (remquo_test_data): Likewise.
7605         (scalbn_test_data): Likewise.
7606         (scalbln_test_data): Likewise.
7607         (signbit_test_data): Likewise.
7608         (sqrt_test_data): Likewise.
7609         (significand_test_data): Likewise.
7611 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7613         [BZ #15424]
7614         * benchtests/bench-modf.c (struct args): Mark arg0 as
7615         volatile.
7616         * scripts/bench.pl: Mark members of struct args as volatile.
7618 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7620         [BZ # 15497]
7621         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7622         negative infinity on POWER6 or lower.
7623         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7625 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7627         [BZ #15442]
7628         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7629         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7630         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7631         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7632         (_FP_SETQNAN): New macro.
7633         (_FP_SETQNAN_SEMIRAW): Likewise.
7634         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7635         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7636         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7637         (FP_EXTEND): Use _FP_FRAC_SNANP.
7638         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7639         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7640         into account.
7641         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7642         New macro.
7643         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7644         Likewise.
7646 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7648         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7649         with DIVIDE_BY_ZERO_EXCEPTION.
7650         (gamma_test_data): Likewise.
7651         (lgamma_test_data): Likewise.
7652         (log_test_data): Likewise.
7653         (log10_test_data): Likewise.
7654         (log2_test_data): Likewise.
7655         (tgamma_test_data): Likewise.
7657         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7658         (acos_test_tonearest): Likewise.
7659         (acos_test_towardzero): Likewise.
7660         (acos_test_downward): Likewise.
7661         (acos_test_upward): Likewise.
7662         (acosh_test): Likewise.
7663         (asin_test): Likewise.
7664         (asin_test_tonearest): Likewise.
7665         (asin_test_towardzero): Likewise.
7666         (asin_test_downward): Likewise.
7667         (asin_test_upward): Likewise.
7668         (asinh_test): Likewise.
7669         (atan_test): Likewise.
7670         (atanh_test): Likewise.
7671         (atan2_test): Likewise.
7672         (cabs_test): Likewise.
7673         (cacos_test): Likewise.
7674         (cacosh_test): Likewise.
7675         (casin_test): Likewise.
7676         (casinh_test): Likewise.
7677         (catan_test): Likewise.
7678         (catanh_test): Likewise.
7679         (cbrt_test): Likewise.
7680         (ccos_test): Likewise.
7681         (ccosh_test): Likewise.
7682         (cexp_test): Likewise.
7683         (clog_test): Likewise.
7684         (clog10_test): Likewise.
7685         (cos_test): Likewise.
7686         (cos_test_tonearest): Likewise.
7687         (cos_test_towardzero): Likewise.
7688         (cos_test_downward): Likewise.
7689         (cos_test_upward): Likewise.
7690         (cosh_test): Likewise.
7691         (cosh_test_tonearest): Likewise.
7692         (cosh_test_towardzero): Likewise.
7693         (cosh_test_downward): Likewise.
7694         (cosh_test_upward): Likewise.
7695         (cpow_test): Likewise.
7696         (csin_test): Likewise.
7697         (csinh_test): Likewise.
7698         (csqrt_test): Likewise.
7699         (ctan_test): Likewise.
7700         (ctan_test_tonearest): Likewise.
7701         (ctan_test_towardzero): Likewise.
7702         (ctan_test_downward): Likewise.
7703         (ctan_test_upward): Likewise.
7704         (ctanh_test): Likewise.
7705         (ctanh_test_tonearest): Likewise.
7706         (ctanh_test_towardzero): Likewise.
7707         (ctanh_test_downward): Likewise.
7708         (ctanh_test_upward): Likewise.
7709         (erf_test): Likewise.
7710         (erfc_test): Likewise.
7711         (exp_test): Likewise.
7712         (exp_test_tonearest): Likewise.
7713         (exp_test_towardzero): Likewise.
7714         (exp_test_downward): Likewise.
7715         (exp_test_upward): Likewise.
7716         (exp10_test): Likewise.
7717         (exp2_test): Likewise.
7718         (expm1_test): Likewise.
7719         (fmod_test): Likewise.
7720         (gamma_test): Likewise.
7721         (hypot_test): Likewise.
7722         (j0_test): Likewise.
7723         (j1_test): Likewise.
7724         (jn_test): Likewise.
7725         (lgamma_test): Likewise.
7726         (log_test): Likewise.
7727         (log10_test): Likewise.
7728         (log1p_test): Likewise.
7729         (log2_test): Likewise.
7730         (logb_test_downward): Likewise.
7731         (pow_test): Likewise.
7732         (pow_test_tonearest): Likewise.
7733         (pow_test_towardzero): Likewise.
7734         (pow_test_downward): Likewise.
7735         (pow_test_upward): Likewise.
7736         (remainder_test): Likewise.
7737         (remquo_test): Likewise.
7738         (sin_test): Likewise.
7739         (sin_test_tonearest): Likewise.
7740         (sin_test_towardzero): Likewise.
7741         (sin_test_downward): Likewise.
7742         (sin_test_upward): Likewise.
7743         (sincos_test): Likewise.
7744         (sinh_test): Likewise.
7745         (sinh_test_tonearest): Likewise.
7746         (sinh_test_towardzero): Likewise.
7747         (sinh_test_downward): Likewise.
7748         (sinh_test_upward): Likewise.
7749         (sqrt_test): Likewise.
7750         (tan_test): Likewise.
7751         (tan_test_tonearest): Likewise.
7752         (tan_test_towardzero): Likewise.
7753         (tan_test_downward): Likewise.
7754         (tan_test_upward): Likewise.
7755         (tanh_test): Likewise.
7756         (tgamma_test): Likewise.
7757         (y0_test): Likewise.
7758         (y1_test): Likewise.
7759         (yn_test): Likewise.
7761         * math/gen-libm-test.pl (adjust_arg): Remove function.
7762         (special_function): Remove argument $in_func.  Only handle
7763         generating output for tables of tests, not inside functions.
7764         (parse_args): Likewise.
7765         (generate_testfile): Remove variable $in_func.  Update call to
7766         parse_args.
7767         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7768         (MINUS_ZERO_INIT): Rename macro to minus_zero.
7769         (PLUS_INFTY_INIT): Rename macro to plus_infty.
7770         (MINUS_INFTY_INIT): Rename macro to minus_infty.
7771         (QNAN_VALUE_INIT): Rename macro to qnan_value.
7772         (MAX_VALUE_INIT): Rename macro to max_value.
7773         (MIN_VALUE_INIT): Rename macro to min_value.
7774         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7775         (plus_zero): Remove variable.
7776         (minus_zero): Likewise.
7777         (plus_infty): Likewise.
7778         (minus_infty): Likewise.
7779         (qnan_value): Likewise.
7780         (max_value): Likewise.
7781         (min_value): Likewise.
7782         (min_subnorm_value): Likewise.
7784 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7786         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7787         uint64_t or uint32_t usage.
7788         * crypt/sha256-block.c: Likewise.
7789         * crypt/sha256-crypt.c: Likewise.
7790         * crypt/sha256.c: Likewise.
7791         * crypt/sha512-block.c: Likewise.
7792         * crypt/sha512-crypt.c: Likewise.
7793         * crypt/sha512.c: Likewise.
7794         * debug/backtrace-tst.c: Likewise.
7795         * debug/pcprofiledump.c: Likewise.
7796         * elf/cache.c: Likewise.
7797         * elf/dl-cache.c: Likewise.
7798         * elf/dl-misc.c: Likewise.
7799         * elf/dl-profile.c: Likewise.
7800         * elf/dl-support.c: Likewise.
7801         * elf/ldconfig.c: Likewise.
7802         * elf/sprof.c: Likewise.
7803         * iconv/dummy-repertoire.c: Likewise.
7804         * iconv/iconv_charmap.c: Likewise.
7805         * iconv/skeleton.c: Likewise.
7806         * iconvdata/8bit-generic.c: Likewise.
7807         * iconvdata/cp737.h: Likewise.
7808         * iconvdata/cp775.h: Likewise.
7809         * iconvdata/ibm1008.h: Likewise.
7810         * iconvdata/ibm1025.h: Likewise.
7811         * iconvdata/ibm1046.h: Likewise.
7812         * iconvdata/ibm1097.h: Likewise.
7813         * iconvdata/ibm1112.h: Likewise.
7814         * iconvdata/ibm1122.h: Likewise.
7815         * iconvdata/ibm1123.h: Likewise.
7816         * iconvdata/ibm1124.h: Likewise.
7817         * iconvdata/ibm1129.h: Likewise.
7818         * iconvdata/ibm1130.h: Likewise.
7819         * iconvdata/ibm1132.h: Likewise.
7820         * iconvdata/ibm1133.h: Likewise.
7821         * iconvdata/ibm1137.h: Likewise.
7822         * iconvdata/ibm1140.h: Likewise.
7823         * iconvdata/ibm1141.h: Likewise.
7824         * iconvdata/ibm1142.h: Likewise.
7825         * iconvdata/ibm1143.h: Likewise.
7826         * iconvdata/ibm1144.h: Likewise.
7827         * iconvdata/ibm1145.h: Likewise.
7828         * iconvdata/ibm1146.h: Likewise.
7829         * iconvdata/ibm1147.h: Likewise.
7830         * iconvdata/ibm1148.h: Likewise.
7831         * iconvdata/ibm1149.h: Likewise.
7832         * iconvdata/ibm1153.h: Likewise.
7833         * iconvdata/ibm1154.h: Likewise.
7834         * iconvdata/ibm1155.h: Likewise.
7835         * iconvdata/ibm1156.h: Likewise.
7836         * iconvdata/ibm1157.h: Likewise.
7837         * iconvdata/ibm1158.h: Likewise.
7838         * iconvdata/ibm1160.h: Likewise.
7839         * iconvdata/ibm1161.h: Likewise.
7840         * iconvdata/ibm1162.h: Likewise.
7841         * iconvdata/ibm1163.h: Likewise.
7842         * iconvdata/ibm1164.h: Likewise.
7843         * iconvdata/ibm1166.h: Likewise.
7844         * iconvdata/ibm1167.h: Likewise.
7845         * iconvdata/ibm12712.h: Likewise.
7846         * iconvdata/ibm1390.h: Likewise.
7847         * iconvdata/ibm1399.h: Likewise.
7848         * iconvdata/ibm16804.h: Likewise.
7849         * iconvdata/ibm4517.h: Likewise.
7850         * iconvdata/ibm4899.h: Likewise.
7851         * iconvdata/ibm4909.h: Likewise.
7852         * iconvdata/ibm4971.h: Likewise.
7853         * iconvdata/ibm5347.h: Likewise.
7854         * iconvdata/ibm803.h: Likewise.
7855         * iconvdata/ibm856.h: Likewise.
7856         * iconvdata/ibm901.h: Likewise.
7857         * iconvdata/ibm902.h: Likewise.
7858         * iconvdata/ibm9030.h: Likewise.
7859         * iconvdata/ibm9066.h: Likewise.
7860         * iconvdata/ibm921.h: Likewise.
7861         * iconvdata/ibm922.h: Likewise.
7862         * iconvdata/ibm9448.h: Likewise.
7863         * iconvdata/isiri-3342.h: Likewise.
7864         * iconvdata/jis0201.h: Likewise.
7865         * include/link.h: Likewise.
7866         * include/netdb.h: Likewise.
7867         * inet/check_native.c: Likewise.
7868         * inet/check_pf.c: Likewise.
7869         * inet/getipv4sourcefilter.c: Likewise.
7870         * inet/getnameinfo.c: Likewise.
7871         * inet/getsourcefilter.c: Likewise.
7872         * inet/htonl.c: Likewise.
7873         * inet/setipv4sourcefilter.c: Likewise.
7874         * inet/setsourcefilter.c: Likewise.
7875         * inet/test-inet6_opt.c: Likewise.
7876         * inet/tst-network.c: Likewise.
7877         * locale/C-collate.c: Likewise.
7878         * locale/C-ctype.c: Likewise.
7879         * locale/C-time.c: Likewise.
7880         * locale/C-translit.h: Likewise.
7881         * locale/loadarchive.c: Likewise.
7882         * locale/programs/3level.h: Likewise.
7883         * locale/programs/charmap.c: Likewise.
7884         * locale/programs/charmap.h: Likewise.
7885         * locale/programs/ld-address.c: Likewise.
7886         * locale/programs/ld-collate.c: Likewise.
7887         * locale/programs/ld-ctype.c: Likewise.
7888         * locale/programs/ld-identification.c: Likewise.
7889         * locale/programs/ld-measurement.c: Likewise.
7890         * locale/programs/ld-messages.c: Likewise.
7891         * locale/programs/ld-monetary.c: Likewise.
7892         * locale/programs/ld-name.c: Likewise.
7893         * locale/programs/ld-numeric.c: Likewise.
7894         * locale/programs/ld-paper.c: Likewise.
7895         * locale/programs/ld-telephone.c: Likewise.
7896         * locale/programs/ld-time.c: Likewise.
7897         * locale/programs/linereader.c: Likewise.
7898         * locale/programs/locale.c: Likewise.
7899         * locale/programs/locarchive.c: Likewise.
7900         * locale/programs/locfile.h: Likewise.
7901         * locale/programs/repertoire.c: Likewise.
7902         * locale/programs/simple-hash.c: Likewise.
7903         * locale/programs/simple-hash.h: Likewise.
7904         * malloc/memusage.c: Likewise.
7905         * malloc/memusagestat.c: Likewise.
7906         * nis/nis_defaults.c: Likewise.
7907         * nis/nis_hash.c: Likewise.
7908         * nis/nis_print.c: Likewise.
7909         * nis/nis_xdr.c: Likewise.
7910         * nscd/connections.c: Likewise.
7911         * nscd/hstcache.c: Likewise.
7912         * nscd/nscd_gethst_r.c: Likewise.
7913         * nscd/nscd_getserv_r.c: Likewise.
7914         * nscd/nscd_helper.c: Likewise.
7915         * nscd/servicescache.c: Likewise.
7916         * nss/makedb.c: Likewise.
7917         * nss/nss_db/db-XXX.c: Likewise.
7918         * nss/nss_db/db-initgroups.c: Likewise.
7919         * nss/nss_db/db-netgrp.c: Likewise.
7920         * nss/nss_files/files-network.c: Likewise.
7921         * nss/nss_files/files-parse.c: Likewise.
7922         * posix/bug-regex5.c: Likewise.
7923         * posix/fnmatch_loop.c: Likewise.
7924         * posix/regcomp.c: Likewise.
7925         * posix/regexec.c: Likewise.
7926         * posix/tst-rfc3484-2.c: Likewise.
7927         * posix/tst-rfc3484-3.c: Likewise.
7928         * posix/tst-rfc3484.c: Likewise.
7929         * resolv/nss_dns/dns-canon.c: Likewise.
7930         * resolv/nss_dns/dns-network.c: Likewise.
7931         * resolv/res_init.c: Likewise.
7932         * resolv/res_mkquery.c: Likewise.
7933         * resolv/tst-aton.c: Likewise.
7934         * stdlib/cxa_atexit.c: Likewise.
7935         * stdlib/cxa_finalize.c: Likewise.
7936         * stdlib/gen-fpioconst.c: Likewise.
7937         * stdlib/strtol_l.c: Likewise.
7938         * string/tst-endian.c: Likewise.
7939         * sunrpc/auth_des.c: Likewise.
7940         * sunrpc/clnt_udp.c: Likewise.
7941         * sunrpc/rtime.c: Likewise.
7942         * sunrpc/svcauth_des.c: Likewise.
7943         * sunrpc/xdr.c: Likewise.
7944         * sunrpc/xdr_intXX_t.c: Likewise.
7945         * sunrpc/xdr_rec.c: Likewise.
7946         * sysdeps/generic/ldconfig.h: Likewise.
7947         * sysdeps/generic/ldsodefs.h: Likewise.
7948         * sysdeps/generic/memusage.h: Likewise.
7949         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7950         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7951         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7952         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7953         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7955         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7956         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7957         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7958         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7959         * sysdeps/posix/getaddrinfo.c: Likewise.
7960         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7961         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7962         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7963         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7964         * sysdeps/powerpc/test-gettimebase.c: Likewise.
7965         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7966         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7967         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7968         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7969         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7970         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7971         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7972         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7973         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7974         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7975         * sysdeps/x86_64/dl-tls.h: Likewise.
7976         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7977         * time/alt_digit.c: Likewise.
7978         * time/era.c: Likewise.
7979         * wcsmbs/tst-c16c32-1.c: Likewise.
7981 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7983         * math/libm-test.inc (struct test_sincos_data): New type.
7984         (RUN_TEST_LOOP_sincos): New macro.
7985         (sincos_test_data): New variable.
7986         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7988 2013-05-16  Richard Henderson  <rth@redhat.com>
7990         * math/atest-exp2.c (LIMB64): New macro.
7991         (CONSTSZ): New macro.
7992         (mp_exp1, mp_exp_m1, mp_log2): New variables.
7993         (hexdig): Move ...
7994         (print_mpn_fp): ... to function scope.
7995         (read_mpn_hex): Remove.
7996         (get_log2): Remove.
7997         (exp2_mpn): Use mp_log2.
7998         (main): Use mp_exp1.
8000 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8002         * math/libm-test.inc: Remove comment about not testing "inexact"
8003         exceptions.
8004         (INEXACT_EXCEPTION): New macro.
8005         (NO_INEXACT_EXCEPTION): Likewise.
8006         (INVALID_EXCEPTION_OK): Update value.
8007         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8008         (OVERFLOW_EXCEPTION_OK): Likewise.
8009         (UNDERFLOW_EXCEPTION_OK): Likewise.
8010         (IGNORE_ZERO_INF_SIGN): Likewise.
8011         (ERRNO_UNCHANGED): Likewise.
8012         (ERRNO_EDOM): Likewise.
8013         (ERRNO_ERANGE): Likewise.
8014         (test_exceptions): Handle testing "inexact" exceptions.
8015         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8016         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8017         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8018         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8019         INEXACT_EXCEPTION.
8020         (rint_towardzero_test_data): Likewise.
8021         (rint_downward_test_data): Likewise.
8022         (rint_upward_test_data): Likewise.
8024         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8025         with OVERFLOW_EXCEPTION.
8026         (exp10_test_data): Likewise.
8027         (exp2_test_data): Likewise.
8028         (expm1_test_data): Likewise.
8029         (lgamma_test_data): Likewise.
8030         (pow_test_data): Likewise.
8031         (tgamma_test_data): Likewise.
8032         (yn_test_data): Remove duplicate test of overflow.
8034         * math/libm-test.inc (struct test_cc_c_data): New type.
8035         (RUN_TEST_LOOP_cc_c): New macro.
8036         (cpow_test_data): New variable.
8037         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8039         * math/libm-test.inc (struct test_f_L_data): New type.
8040         (RUN_TEST_LOOP_f_L): New macro.
8041         (llrint_test_data): New variable.
8042         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8043         (llrint_tonearest_test_data): New variable.
8044         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8045         (llrint_towardzero_test_data): New variable.
8046         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8047         (llrint_downward_test_data): New variable.
8048         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8049         (llrint_upward_test_data): New variable.
8050         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8051         (llround_test_data): New variable.
8052         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8054 2013-05-13  Peter Collingbourne  <pcc@google.com>
8056         * math/atest-exp2.c (get_log2): Remove const attribute.
8058 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8060         * math/libm-test.inc (struct test_f_l_data): New type.
8061         (RUN_TEST_LOOP_f_l): New macro.
8062         (lrint_test_data): New variable.
8063         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8064         (lrint_tonearest_test_data): New variable.
8065         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8066         (lrint_towardzero_test_data): New variable.
8067         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8068         (lrint_downward_test_data): New variable.
8069         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8070         (lrint_upward_test_data): New variable.
8071         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8072         (lround_test_data): New variable.
8073         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8075 2013-05-15  Peter Collingbourne  <pcc@google.com>
8077         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8078         (EXTRACT_WORDS64) Use where appropriate.
8079         (INSERT_WORDS64) Likewise.
8081         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8082         constraints with x constraints.
8083         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8085         * malloc/obstack.c (_obstack_compat): Add initializer.
8087 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8089         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8090         si_trapno and add si_addr_lsb to _sifields.sigfault.
8091         (si_trapno): Remove macro.
8092         (si_addr_lsb): Define new macro.
8093         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8095 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8097         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8098         instead of TEST_f_l.
8099         (llrint_test_tonearest): Likewise.
8100         (llrint_test_towardzero): Likewise.
8101         (llrint_test_downward): Likewise.
8102         (llrint_test_upward): Likewise.
8103         (llround_test): Likewise.
8105         * math/libm-test.inc (struct test_f_i_data): Add comment.
8106         (RUN_TEST_LOOP_f_b): New macro.
8107         (RUN_TEST_LOOP_f_b_tg): Likewise.
8108         (finite_test_data): New variable.
8109         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8110         (isfinite_test_data): New variable.
8111         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8112         (isinf_test_data): New variable.
8113         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8114         (isnan_test_data): New variable.
8115         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8116         (isnormal_test_data): New variable.
8117         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8118         (issignaling_test_data): New variable.
8119         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8120         (signbit_test_data): New variable.
8121         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8123         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8124         with INVALID_EXCEPTION.
8125         (acosh_test_data): Likewise.
8126         (asin_test_data): Likewise.
8127         (atanh_test_data): Likewise.
8128         (fmod_test_data): Likewise.
8129         (log_test_data): Likewise.
8130         (log10_test_data): Likewise.
8131         (log2_test_data): Likewise.
8132         (pow_test_data): Likewise.
8133         (sqrt_test_data): Likewise.
8134         (y0_test_data): Likewise.
8135         (y1_test_data): Likewise.
8136         (yn_test_data): Likewise.
8138         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8139         function contents.
8141         * math/libm-test.inc (struct test_ff_i_data): New type.
8142         (RUN_TEST_LOOP_ff_i_tg): New macro.
8143         (isgreater_test_data): New variable.
8144         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8145         (isgreaterequal_test_data): New variable.
8146         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8147         (isless_test_data): New variable.
8148         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8149         (islessequal_test_data): New variable.
8150         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8151         (islessgreater_test_data): New variable.
8152         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8153         (isunordered_test_data): New variable.
8154         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8156 2013-05-14  David S. Miller  <davem@davemloft.net>
8158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8160 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8162         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8164         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8165         extra_test to int.
8166         (struct test_f_i_data): Change type of max_ulp to int.
8168         * math/libm-test.inc (test_ffI_f1_data): New type.
8169         (RUN_TEST_LOOP_ffI_f1): New macro.
8170         (remquo_test_data): New variable.
8171         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8173         * setjmp/tst-setjmp-fp.c: New file.
8174         * setjmp/Makefile (tests): Add tst-setjmp-fp.
8175         (link-libm): New variable.
8176         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8178         * math/libm-test.inc (struct test_f_i_data): New type.
8179         (RUN_TEST_LOOP_f_i): New macro.
8180         (RUN_TEST_LOOP_f_i_tg): Likewise.
8181         (fpclassify_test_data): New variable.
8182         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8183         (ilogb_test_data): New variable.
8184         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8186         * math/libm-test.inc (scalbln_test): Correct function name in END
8187         call.
8189         * math/libm-test.inc (struct test_f_f1_data): Add comment.
8190         (RUN_TEST_LOOP_fI_f1): New macro.
8191         (frexp_test_data): New variable.
8192         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8194         * math/libm-test.inc (struct test_fF_f1_data): New type.
8195         (RUN_TEST_LOOP_fF_f1): New macro.
8196         (modf_test_data): New variable.
8197         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8199         * math/libm-test.inc (struct test_f_f1_data): New type.
8200         (RUN_TEST_LOOP_f_f1): New macro.
8201         (gamma_test_data): New variable.
8202         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8203         (lgamma_test_data): New variable.
8204         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8206 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
8208         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8209         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8210         (main): Comment "tls" pseudo-hwcap.
8212 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
8214         * math/libm-test.inc (struct test_fl_f_data): New type.
8215         (RUN_TEST_LOOP_fl_f): New variable.
8216         (scalbln_test_data): New variable.
8217         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8219         * math/libm-test.inc (struct test_fi_f_data): New type.
8220         (RUN_TEST_LOOP_fi_f): New macro.
8221         (ldexp_test_data): New variable.
8222         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8223         (scalbn_test_data): New variable.
8224         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8226         * math/libm-test.inc (struct test_c_f_data): New type.
8227         (RUN_TEST_LOOP_c_f): New macro.
8228         (cabs_test_data): New variable.
8229         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8230         (carg_test_data): New variable.
8231         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8232         (cimag_test_data): New variable.
8233         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8234         (creal_test_data): New variable.
8235         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8237         * math/libm-test.inc (struct test_if_f_data): New type.
8238         (RUN_TEST_LOOP_if_f): New macro.
8239         (jn_test_data): New variable.
8240         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8241         (yn_test_data): New variable.
8242         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8244         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8246 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8248         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8249         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8251 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8253         * benchtests/Makefile (CPPFLAGS-nonlib): Add
8254         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8255         (bench-deps): Add bench-timing.h.
8256         * benchtests-bench-skeleton.c: Include bench-timing.h.
8257         (main): Use TIMING_* macros instead of clock_gettime.
8258         * benchtests/bench-timing.h: New file.
8260         [BZ #14582]
8261         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8262         Renamed from _LIB_VERSION.
8263         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8265 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
8267         * math/libm-test.inc (struct test_fff_f_data): New type.
8268         (RUN_TEST_LOOP_fff_f): New macro.
8269         (fma_test_data): New variable.
8270         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8271         (fma_towardzero_test_data): New variable.
8272         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8273         (fma_downward_test_data): New variable.
8274         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8275         (fma_upward_test_data): New variable.
8276         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8278         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8279         (struct test_c_c_data): New type.
8280         (RUN_TEST_LOOP_c_c): New macro.
8281         (cacos_test_data): New variable.
8282         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8283         (cacosh_test_data): New variable.
8284         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8285         (casin_test_data): New variable.
8286         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8287         (casinh_test_data): New variable.
8288         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8289         (catan_test_data): New variable.
8290         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8291         (catanh_test_data): New variable.
8292         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8293         (ccos_test_data): New variable.
8294         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8295         (ccosh_test_data): New variable.
8296         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8297         (cexp_test_data): New variable.
8298         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8299         (clog_test_data): New variable.
8300         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8301         (clog10_test_data): New variable.
8302         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8303         (conj_test_data): New variable.
8304         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8305         (cproj_test_data): New variable.
8306         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8307         (csin_test_data): New variable.
8308         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8309         (csinh_test_data): New variable.
8310         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8311         (csqrt_test_data): New variable.
8312         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8313         (ctan_test_data): New variable.
8314         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8315         (ctan_tonearest_test_data): New variable.
8316         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8317         (ctan_towardzero_test_data): New variable.
8318         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8319         (ctan_downward_test_data): New variable.
8320         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8321         (ctan_upward_test_data): New variable.
8322         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8323         (ctanh_test_data): New variable.
8324         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8325         (ctanh_tonearest_test_data): New variable.
8326         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8327         (ctanh_towardzero_test_data): New variable.
8328         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8329         (ctanh_downward_test_data): New variable.
8330         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8331         (ctanh_upward_test_data): New variable.
8332         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8333         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8334         of BUILD_COMPLEX.
8336         * math/libm-test.inc (struct test_ff_f_data): New type.
8337         (struct test_ff_f_data_nexttoward): Likewise.
8338         (RUN_TEST_LOOP_2_f): New macro.
8339         (RUN_TEST_LOOP_ff_f): Likewise.
8340         (atan2_test_data): New variable.
8341         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8342         (copysign_test_data): New variable.
8343         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8344         (fdim_test_data): New variable.
8345         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8346         (fmax_test_data): New variable.
8347         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8348         (fmin_test_data): New variable.
8349         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8350         (fmod_test_data): New variable.
8351         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8352         (hypot_test_data): New variable.
8353         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8354         (nextafter_test_data): New variable.
8355         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8356         (nexttoward_test_data): New variable.
8357         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8358         (pow_test_data): New variable.
8359         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8360         (pow_tonearest_test_data): New variable.
8361         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8362         (pow_towardzero_test_data): New variable.
8363         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8364         (pow_downward_test_data): New variable.
8365         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8366         (pow_upward_test_data): New variable.
8367         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8368         (remainder_test_data): New variable.
8369         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8370         (scalb_test_data): New variable.
8371         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8372         * sysdeps/i386/fpu/libm-test-ulps: Update.
8374 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
8376         * math/libm-test.inc (fma_test): Use max_value instead of local
8377         variable fltmax.
8378         (nextafter_test): Likewise.
8380         * math/libm-test.inc (acos_towardzero_test_data): New variable.
8381         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8382         (acos_downward_test_data): New variable.
8383         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8384         (acos_upward_test_data): New variable.
8385         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8386         (acosh_test_data): New variable.
8387         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8388         (asin_test_data): New variable.
8389         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8390         (asin_tonearest_test_data): New variable.
8391         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8392         (asin_towardzero_test_data): New variable.
8393         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8394         (asin_downward_test_data): New variable.
8395         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8396         (asin_upward_test_data): New variable.
8397         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8398         (asinh_test_data): New variable.
8399         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8400         (atan_test_data): New variable.
8401         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8402         (atanh_test_data): New variable.
8403         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8404         (cbrt_test_data): New variable.
8405         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8406         (ceil_test_data): New variable.
8407         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8408         (cos_test_data): New variable.
8409         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8410         (cos_tonearest_test_data): New variable.
8411         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8412         (cos_towardzero_test_data): New variable.
8413         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8414         (cos_downward_test_data): New variable.
8415         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8416         (cos_upward_test_data): New variable.
8417         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8418         (cosh_test_data): New variable.
8419         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8420         (cosh_tonearest_test_data): New variable.
8421         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8422         (cosh_towardzero_test_data): New variable.
8423         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8424         (cosh_downward_test_data): New variable.
8425         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8426         (cosh_upward_test_data): New variable.
8427         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8428         (erf_test_data): New variable.
8429         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8430         (erfc_test_data): New variable.
8431         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8432         (exp_test_data): New variable.
8433         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8434         (exp_tonearest_test_data): New variable.
8435         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8436         (exp_towardzero_test_data): New variable.
8437         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8438         (exp_downward_test_data): New variable.
8439         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8440         (exp_upward_test_data): New variable.
8441         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8442         (exp10_test_data): New variable.
8443         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8444         (exp2_test_data): New variable.
8445         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8446         (expm1_test_data): New variable.
8447         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8448         (fabs_test_data): New variable.
8449         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8450         (floor_test_data): New variable.
8451         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8452         (j0_test_data): New variable.
8453         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8454         (j1_test_data): New variable.
8455         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8456         (log_test_data): New variable.
8457         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8458         (log10_test_data): New variable.
8459         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8460         (log1p_test_data): New variable.
8461         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8462         (log2_test_data): New variable.
8463         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8464         (logb_test_data): New variable.
8465         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8466         (logb_downward_test_data): New variable.
8467         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8468         (nearbyint_test_data): New variable.
8469         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8470         (rint_test_data): New variable.
8471         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8472         (rint_tonearest_test_data): New variable.
8473         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8474         (rint_towardzero_test_data): New variable.
8475         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8476         (rint_downward_test_data): New variable.
8477         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8478         (rint_upward_test_data): New variable.
8479         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8480         (round_test_data): New variable.
8481         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8482         (sin_test_data): New variable.
8483         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8484         (sin_tonearest_test_data): New variable.
8485         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8486         (sin_towardzero_test_data): New variable.
8487         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8488         (sin_downward_test_data): New variable.
8489         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8490         (sin_upward_test_data): New variable.
8491         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8492         (sinh_test_data): New variable.
8493         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8494         (sinh_tonearest_test_data): New variable.
8495         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8496         (sinh_towardzero_test_data): New variable.
8497         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8498         (sinh_downward_test_data): New variable.
8499         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8500         (sinh_upward_test_data): New variable.
8501         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8502         (sqrt_test_data): New variable.
8503         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8504         (tan_test_data): New variable.
8505         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8506         (tan_tonearest_test_data): New variable.
8507         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8508         (tan_towardzero_test_data): New variable.
8509         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8510         (tan_downward_test_data): New variable.
8511         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8512         (tan_upward_test_data): New variable.
8513         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8514         (tanh_test_data): New variable.
8515         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8516         (tgamma_test_data): New variable.
8517         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8518         (trunc_test_data): New variable.
8519         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8520         (y0_test_data): New variable.
8521         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8522         (y1_test_data): New variable.
8523         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8524         (significand_test_data): New variable.
8525         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8527 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8529         [BZ #12387]
8530         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8532 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8534         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8536 2013-05-10  Andreas Jaeger  <aj@suse.de>
8538         [BZ #15448]
8539         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8540         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8542 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8544         * math/gen-libm-test.pl (adjust_arg): New function.
8545         (special_functions): Handle generating output in both functions
8546         and arrays.
8547         (parse_args): Likewise.
8548         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8549         $in_func argument to parse_args.
8550         * math/libm-test.inc (struct test_f_f_data): New type.
8551         (IF_ROUND_INIT_): New macro.
8552         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8553         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8554         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8555         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8556         (ROUND_RESTORE_): Likewise.
8557         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8558         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8559         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8560         (ROUND_RESTORE_FE_UPWARD): Likewise.
8561         (RUN_TEST_LOOP_f_f): New macro.
8562         (acos_test_data): New variable.
8563         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8564         (acos_tonearest_test_data): New variable.
8565         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8567 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8569         * benchtests/bench-skeleton.c (startup): Fix coding style.
8571 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8573         [BZ #6809]
8574         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8575         negative infinity argument.
8576         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8577         negative infinity argument.
8578         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8579         negative infinity argument.
8580         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8581         domain errors.
8583 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8585         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8586         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8587         * iconv/iconv_prog.c (main): Likewise.
8588         * locale/programs/charmap-dir.c (charmap_readdir)
8589         (fopen_uncompressed): Likewise.
8590         * locale/programs/locfile.c (siblings_uncached)
8591         (write_locale_data): Use lstat64 instead of lstat.
8592         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8593         stat.
8595 2013-05-10  Andreas Jaeger  <aj@suse.de>
8597         [BZ #15395]
8598         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8599         localization.
8600         Include <locale.h>.
8602 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
8604         * elf/dl-close.c (_dl_close_worker): Add comments.
8606 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
8608         [BZ #15359]
8609         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8610         high part of pi/2.
8611         (__ieee754_rem_pio2l): Update comments.
8613         [BZ #15429]
8614         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8615         high part of pi/2.
8616         (__ieee754_rem_pio2l): Update comments.
8618         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8619         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8621         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8622         M_PI_4l.
8624         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8625         (M_PI_34_LOG10El): Likewise.
8626         (M_PI2_LOG10El): Likewise.
8627         (M_PI4_LOG10El): Likewise.
8628         (M_PI_LOG10El): Likewise.
8630 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8634 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
8636         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8637         (MINUS_ZERO_INIT): Likewise.
8638         (PLUS_INFTY_INIT): Likewise.
8639         (MINUS_INFTY_INIT): Likewise.
8640         (QNAN_VALUE_INIT): Likewise.
8641         (MAX_VALUE_INIT): Likewise.
8642         (MIN_VALUE_INIT): Likewise.
8643         (MIN_SUBNORM_VALUE_INIT): Likewise.
8644         (plus_zero): Initialize with PLUS_ZERO_INIT.
8645         (minus_zero): Initialize with MINUS_ZERO_INIT.
8646         (plus_infty): Initialize with PLUS_INFTY_INIT.
8647         (minus_infty): Initialize with MINUS_INFTY_INIT.
8648         (qnan_value): Initialize with QNAN_VALUE_INIT.
8649         (max_value): Initialize with MAX_VALUE_INIT.
8650         (min_value): Initialize with MIN_VALUE_INIT.
8651         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8653         * math/libm-test.inc (RUN_TEST_if_f): New macro.
8654         (jn_test): Use TEST_if_f instead of TEST_ff_f.
8655         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8656         (yn_test): Use TEST_if_f instead of TEST_ff_f.
8658         * math/libm-test.inc (RUN_TEST_f_f): New macro.
8659         (RUN_TEST_2_f): Likewise.
8660         (RUN_TEST_ff_f): Likewise.
8661         (RUN_TEST_fi_f): Likewise.
8662         (RUN_TEST_fl_f): Likewise.
8663         (RUN_TEST_fff_f): Likewise.
8664         (RUN_TEST_c_f): Likewise.
8665         (RUN_TEST_f_f1): Likewise.
8666         (RUN_TEST_fF_f1): Likewise.
8667         (RUN_TEST_fI_f1): Likewise.
8668         (RUN_TEST_ffI_f1): Likewise.
8669         (RUN_TEST_c_c): Likewise.
8670         (RUN_TEST_cc_c): Likewise.
8671         (RUN_TEST_f_i): Likewise.
8672         (RUN_TEST_f_i_tg): Likewise.
8673         (RUN_TEST_ff_i_tg): Likewise.
8674         (RUN_TEST_f_b): Likewise.
8675         (RUN_TEST_f_b_tg): Likewise.
8676         (RUN_TEST_f_l): Likewise.
8677         (RUN_TEST_f_L): Likewise.
8678         (RUN_TEST_sincos): Likewise.
8679         * math/gen-libm-test.pl (new_test): Take new argument to indicate
8680         whether to show exceptions.  Do not include ");\n" in return
8681         value.
8682         (special_functions): Output call to RUN_TEST_sincos instead of
8683         check_float calls.  Update calls to new_test.
8684         (parse_args): Output call to single RUN_TEST_* macro instead of
8685         check_* calls and other assignments.  Update calls to new_test.
8687         [BZ #2546]
8688         [BZ #2560]
8689         [BZ #5159]
8690         [BZ #15426]
8691         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8692         input to result for tgamma overflow.
8693         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8694         (gamma_coeff): New variable.
8695         (NCOEFF): New macro.
8696         (gamma_positive): New function.
8697         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8698         underflow here.  Use gamma_positive instead of exp (lgamma) for
8699         other arguments.
8700         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8701         (gamma_coeff): New variable.
8702         (NCOEFF): New macro.
8703         (gammaf_positive): New function.
8704         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8705         underflow here.  Use gamma_positive instead of exp (lgamma) for
8706         other arguments.
8707         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8708         (gamma_coeff): New variable.
8709         (NCOEFF): New macro.
8710         (gammal_positive): New function.
8711         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8712         underflow here.  Use gamma_positive instead of exp (lgamma) for
8713         other arguments.
8714         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8715         (gamma_coeff): New variable.
8716         (NCOEFF): New macro.
8717         (gammal_positive): New function.
8718         (__ieee754_gammal_r): Handle positive infinity, overflow and
8719         underflow here.  Handle NaN the same as positive infinity.  Remove
8720         check x < 0xffffffff for negative integers.  Use gamma_positive
8721         instead of exp (lgamma) for other arguments.
8722         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8723         (gamma_coeff): New variable.
8724         (NCOEFF): New macro.
8725         (gammal_positive): New function.
8726         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8727         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8728         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8729         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8730         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8731         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8732         * sysdeps/generic/math_private.h (__gamma_productf): New
8733         prototype.
8734         (__gamma_product): Likewise.
8735         (__gamma_productl): Likewise.
8736         * math/Makefile (libm-calls): Add gamma_product.
8737         * math/libm-test.inc (tgamma_test): Add more tests.
8738         * sysdeps/i386/fpu/libm-test-ulps: Update.
8739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8741 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
8743         * benchtests/bench-skeleton.c (main): Preheat CPU.
8745 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
8747         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8749 2013-05-07  Roland McGrath  <roland@hack.frob.com>
8751         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8752         and _dl_skip_args_internal.
8754 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
8756         * manual/message.texi (Message Translation): Talk about users.
8757         Message to key mapping impacts design.
8759 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8761         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8763         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8765         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8766         * sysdeps/wordsize-64/glob64.c: ... here.
8768         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8769         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8770         New macros.
8772         * debug/getlogin_r_chk.c: Moved to ...
8773         * login/getlogin_r_chk.c: ... here.
8774         * debug/Makefile (routines): Move getlogin_r_chk to ...
8775         * login/Makefile (routines): ... here.
8776         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8777         * login/Versions (libc: GLIBC_2.4): ... here.
8779         * io/poll.c (__poll): Renamed from poll.
8780         Add libc_hidden_def.
8781         (poll): Define as weak alias.
8783         * debug/ptsname_r_chk.c: Moved to ...
8784         * login/ptsname_r_chk.c: ... here.
8785         * debug/Makefile (routines): Move ptsname_r_chk to ...
8786         * login/Makefile (routines): ... here.
8787         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8788         * login/Versions (libc: GLIBC_2.4): ... here.
8790         * posix/getlogin.c: Moved to ...
8791         * login/getlogin.c: ... here.
8792         * posix/getlogin_r.c: Moved to ...
8793         * login/getlogin_r.c: ... here.
8794         * posix/getlogin_r.c: Moved to ...
8795         * login/getlogin_r.c: ... here.
8796         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8797         * login/Makefile (routines): ... here.
8798         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8799         * login/Versions (libc: GLIBC_2.0): ... here.
8801         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8802         (setrlimit): Define as weak alias.
8804         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8805         Call __ names for open, ftruncate, and close.
8806         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8807         (truncate): Define as weak alias.
8809 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
8811         * math/gen-libm-test.pl (parse_args): Initialize x before each
8812         test of frexp, modf and remquo.
8814         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8815         test signgam value.
8817 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8819         [BZ #15418]
8820         [BZ #15419]
8821         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8822         internal tests.
8823         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8825 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8827         * elf/dl-writev.h: New file.
8828         * elf/dl-misc.c: Include it.
8829         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8830         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8832 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
8834         * math/libm-test.inc (noXFails): Remove variable.
8835         (noXPasses): Likewise.
8836         (BUILD_COMPLEX_INT): Remove macro.
8837         (print_screen): Remove xfail argument.
8838         (print_screen_max_error): Likewise.
8839         (update_stats): Likewise.
8840         (print_max_error): Likewise.  Update calls to other affected
8841         functions.
8842         (print_complex_max_error): Likewise.
8843         (test_single_exception): Update calls to print_screen.
8844         (test_single_errno): Likewise.
8845         (check_float_internal): Remove xfail argument.  Update calls to
8846         other affected functions.
8847         (check_float): Likewise.
8848         (check_complex): Likewise.
8849         (check_int): Likewise.
8850         (check_long): Likewise.
8851         (check_bool): Likewise.
8852         (check_longlong): Likewise.
8853         (main): Don't print noXFails and noXPasses.
8854         * math/gen-libm-test.pl (top level): Don't mention expected
8855         failure handling in comment.
8856         (new_test): Don't handle expected failures.
8857         (parse_args): Don't mention expected failure handling in comment.
8858         (generate_testfile): Don't handle expected failures.
8859         (parse_ulps): Likewise.
8860         (print_ulps_file): Likewise.
8861         (get_failure): Remove function.
8862         (output_test): Don't handle expected failures.
8863         * make/README.libm-test: Don't mention expected failure handling.
8865         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
8866         (minus_zero): Likewise.
8867         (plus_infty): Likewise.
8868         (minus_infty): Likewise.
8869         (qnan_value): Likewise.
8870         (max_value): Likewise.
8871         (min_value): Likewise.
8872         (min_subnorm_value): Likewise.
8873         (initialize): Do not initialize those variables dynamically.
8875 2013-05-03  Roland McGrath  <roland@hack.frob.com>
8877         * io/open.c (__open_2): Moved to ...
8878         * io/open_2.c: ... this new file.
8879         * io/open64.c (__open64_2): Moved to ...
8880         * io/open64_2.c: ... this new file.
8881         * io/openat.c (__openat_2): Moved to ...
8882         * io/openat_2.c: ... this new file.
8883         * io/openat64.c (__openat64_2): Moved to ...
8884         * io/openat64_2.c: ... this new file.
8885         * io/Makefile (routines): Add them.
8886         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8887         * sysdeps/unix/sysv/linux/open_2.c: File removed.
8888         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8889         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8890         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8891         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8892         (__openat64): Add hidden_ver.
8893         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8894         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8896         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8897         Separately conditionalize setting of GLRO(dl_sysinfo) so
8898         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8899         as well, but the actual setting is only under [NEED_DL_SYSINFO].
8901 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8903         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8904         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8905         definition.
8906         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8907         * sysdeps/unix/sysv/linux/powerpc/init-first.c
8908         (_libc_vdso_platform_setup): Add __vdso_time initialization.
8909         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8910         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8912 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
8914         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8915         test signgam value.
8917         * math/libm-test.inc (hypot_test): Do not use
8918         IGNORE_ZERO_INF_SIGN.
8920 2013-05-03  Andreas Jaeger  <aj@suse.de>
8922         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8923         Linux 3.9.
8924         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8925         (PF_MAX): Adjust for VSOCK change.
8927 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8931 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
8933         [BZ #15264]
8934         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8935         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8936         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8938 2013-05-02  David S. Miller  <davem@davemloft.net>
8940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8942 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
8944         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8946 2013-05-01  Roland McGrath  <roland@hack.frob.com>
8948         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8950 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
8952         [BZ #14952]
8953         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8954         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8955         Use __attribute__ ((__gnu_inline__)).
8956         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8957         Don't use __attribute__ ((__gnu_inline__)).
8959 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
8961         [BZ #15423]
8962         * math/s_catan.c (__catan): Handle small real or imaginary part of
8963         input specially to avoid spurious underflow.
8964         * math/s_catanf.c (__catanf): Likewise.
8965         * math/s_catanh.c (__catanh): Likewise.
8966         * math/s_catanhf.c (__catanhf): Likewise.
8967         * math/s_catanhl.c (__catanhl): Likewise.
8968         * math/s_catanl.c (__catanl): Likewise.
8969         * math/libm-test.inc (catan_test): Add more tests.
8970         (catanh_test): Likewise.
8971         * sysdeps/i386/fpu/libm-test-ulps: Update.
8972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8974 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8978 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
8980         [BZ #15416]
8981         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8982         accurately for denominator in atan2.
8983         * math/s_catanf.c (__catanf): Likewise.
8984         * math/s_catanh.c (__catanh): Likewise.
8985         * math/s_catanhf.c (__catanhf): Likewise.
8986         * math/s_catanhl.c (__catanhl): Likewise.
8987         * math/s_catanl.c (__catanl): Likewise.
8988         * math/libm-test.inc (catan_test): Add more tests.
8989         (catanh_test): Likewise.
8990         * sysdeps/i386/fpu/libm-test-ulps: Update.
8991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8993 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8995         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8997         * benchtests/Makefile (bench): Remove slow benchmarks.
8998         * benchtests/atan-inputs: Add slow benchmark inputs.
8999         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9000         (BENCH_FUNC): Accept variant offset.
9001         (VARIANT): Define.
9002         * benchtests/bench-skeleton.c (main): Run benchmark for each
9003         variant.
9004         * benchtests/cos-inputs: Add slow benchmark inputs.
9005         * benchtests/exp-inputs: Likewise.
9006         * benchtests/pow-inputs: Likewise.
9007         * benchtests/sin-inputs: Likewise.
9008         * benchtests/slowatan-inputs: Remove.
9009         * benchtests/slowatan.c: Remove.
9010         * benchtests/slowcos-inputs: Remove.
9011         * benchtests/slowcos.c: Remove.
9012         * benchtests/slowexp-inputs: Remove.
9013         * benchtests/slowexp.c: Remove.
9014         * benchtests/slowpow-inputs: Remove.
9015         * benchtests/slowpow.c: Remove.
9016         * benchtests/slowsin-inputs: Remove.
9017         * benchtests/slowsin.c: Remove.
9018         * benchtests/slowtan-inputs: Remove.
9019         * benchtests/slowtan.c: Remove.
9020         * benchtests/tan-inputs: Add slow benchmark inputs.
9021         * scripts/bench.pl: Parse comments and directives.
9023         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9024         in CPPFLAGS.
9025         ($(objpfx)bench-%.c): Remove *-ITER.
9026         * benchtests/bench-modf.c: Remove definition of ITER.
9027         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9028         (main): Loop for DURATION seconds instead of fixed number of
9029         iterations.
9030         * scripts/bench.pl: Don't expect iterations in parameters.
9032 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9034         * io/fchdir.c (__fchdir): Renamed from fchdir.
9035         (fchdir): Define as weak alias.
9037 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9039         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9040         (ERRNO_EDOM): Likewise.
9041         (ERRNO_ERANGE): Likewise.
9042         (noErrnoTests): New variable.
9043         (init_max_error): Set errno to 0.
9044         (test_single_errno): New function.
9045         (test_errno): Likewise.
9046         (check_float_internal): Call test_errno.  Set errno to 0.
9047         (check_complex): Refer to errno tests in comment.
9048         (check_int): Call test_errno.  Set errno to 0.
9049         (check_long): Likewise.
9050         (check_bool): Likewise.
9051         (check_longlong): Likewise.
9052         (cos_test): Use ERRNO_* flags for errno tests instead of
9053         check_int.
9054         (expm1_test): Likewise.
9055         (fmod_test): Likewise.
9056         (ilogb_test): Likewise.
9057         (lgamma_test): Likewise.
9058         (pow_test): Likewise.
9059         (remainder_test): Likewise.
9060         (sin_test): Likewise.
9061         (tan_test): Likewise.
9062         (yn_test): Likewise.
9063         (initialize): Set errno to 0.
9064         (main): Print number of errno tests.
9065         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9067 2013-04-29  Andreas Jaeger  <aj@suse.de>
9069         [BZ #15084]
9070         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9071         and RES_USEVC.
9073         [BZ #15085]
9074         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9075         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9076         unimplemented.
9078         [BZ #15380]
9079         * stdlib/random.c (__initstate): Return NULL if
9080         __initstate fails.
9082         [BZ #15086]
9083         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9084         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9085         RES_SNGLKUPREOP.
9087 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9091 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9093         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9094         of individual tests.
9095         (casin_test): Likewise.
9096         (casinh_test): Likewise.
9098 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9100         [BZ #15409]
9101         * math/s_catan.c (__catan): Handle arguments with large real or
9102         imaginary part separately without squaring.
9103         * math/s_catanf.c (__catanf): Likewise.
9104         * math/s_catanh.c (__catanh): Likewise.
9105         * math/s_catanhf.c (__catanhf): Likewise.
9106         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9107         and redefine.
9108         (__catanhl): Handle arguments with large real or imaginary part
9109         separately without squaring.
9110         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9111         and redefine.
9112         (__catanl): Handle arguments with large real or imaginary part
9113         separately without squaring.
9114         * math/libm-test.inc (catan_test): Add more tests.
9115         (catanh_test): Likewise.
9116         * sysdeps/i386/fpu/libm-test-ulps: Update.
9117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9119 2013-04-27  Andreas Jaeger  <aj@suse.de>
9121         [BZ #15007]
9122         * stdlib/stdlib.h: Update guards for qecvt.
9123         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9124         <stdlib.h>.
9126 2013-04-27  Allan McRae  <allan@archlinux.org>
9128         * sysdeps/i386/fpu/libm-test-ulps: Update.
9130 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9132         [BZ #15406]
9133         * math/s_catan.c: Include <float.h>.
9134         (__catan): Ensure underflow exception occurs for underflowed
9135         result.
9136         * math/s_catanf.c: Include <float.h>.
9137         (__catanf): Ensure underflow exception occurs for underflowed
9138         result.
9139         * math/s_catanh.c: Include <float.h>.
9140         (__catanh): Ensure underflow exception occurs for underflowed
9141         result.
9142         * math/s_catanhf.c: Include <float.h>.
9143         (__catanhf): Ensure underflow exception occurs for underflowed
9144         result.
9145         * math/s_catanhl.c: Include <float.h>.
9146         (__catanhl): Ensure underflow exception occurs for underflowed
9147         result.
9148         * math/s_catanl.c: Include <float.h>.
9149         (__catanl): Ensure underflow exception occurs for underflowed
9150         result.
9151         * math/libm-test.inc (catan_test): Add more tests.
9152         (catanh_test): Likewise.
9154         [BZ #15405]
9155         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9156         underflowed result.
9157         * math/s_ccoshf.c (__ccoshf): Likewise.
9158         * math/s_ccoshl.c (__ccoshl): Likewise.
9159         * math/s_csin.c (__csin): Likewise.
9160         * math/s_csinf.c (__csinf): Likewise.
9161         * math/s_csinh.c (__csinh): Likewise.
9162         * math/s_csinhf.c (__csinhf): Likewise.
9163         * math/s_csinhl.c (__csinhl): Likewise.
9164         * math/s_csinl.c (__csinl): Likewise.
9165         * math/libm-test.inc (ccos_test): Add more tests.
9166         (ccosh_test): Likewise.
9167         (csin_test): Likewise.
9168         (csinh_test): Likewise.
9170 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9172         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9173         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9174         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9175         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9176         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9177         powerpc/power5+/fpu folders.
9178         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9181 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9185 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
9187         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9188         additions to variable.
9189         [$(config-machine) = x86_64] (modules-names): Likewise.
9190         ($(objpfx)tst-audit3): Remove dependency.
9191         ($(objpfx)tst-audit3.out): Likewise.
9192         ($(objpfx)tst-audit4): Likewise.
9193         ($(objpfx)tst-audit4.out): Likewise.
9194         ($(objpfx)tst-audit5): Likewise.
9195         ($(objpfx)tst-audit5.out): Likewise.
9196         ($(objpfx)tst-audit6): Likewise.
9197         ($(objpfx)tst-audit6.out): Likewise.
9198         ($(objpfx)tst-audit7): Likewise.
9199         ($(objpfx)tst-audit7.out): Likewise.
9200         (tst-audit3-ENV): Remove variable.
9201         (tst-audit4-ENV): Likewise.
9202         (tst-audit5-ENV): Likewise.
9203         (tst-audit6-ENV): Likewise.
9204         (tst-audit7-ENV): Likewise.
9205         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9206         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9207         addition to variable.
9208         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9209         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9210         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9211         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9212         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9213         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9214         tst-audit3, tst-audit4 and tst-audit5.
9215         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9216         tst-audit6 and tst-audit7.
9217         [$(subdir) = elf] (modules-names): Add audit modules for those
9218         tests.
9219         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9220         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9221         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9222         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9223         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9224         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9225         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9226         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9227         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9228         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9229         [$(subdir) = elf] (tst-audit3-ENV): New variable.
9230         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9231         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9232         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9233         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9234         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9235         Likewise.
9236         [$(subdir) = elf && $(config-cflags-avx) = yes]
9237         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9238         [$(subdir) = elf && $(config-cflags-avx) = yes]
9239         (CFLAGS-tst-auditmod4a.c): Likewise.
9240         [$(subdir) = elf && $(config-cflags-avx) = yes]
9241         (CFLAGS-tst-auditmod4b.c): Likewise.
9242         [$(subdir) = elf && $(config-cflags-avx) = yes]
9243         (CFLAGS-tst-auditmod6b.c): Likewise.
9244         [$(subdir) = elf && $(config-cflags-avx) = yes]
9245         (CFLAGS-tst-auditmod6c.c): Likewise.
9246         [$(subdir) = elf && $(config-cflags-avx) = yes]
9247         (CFLAGS-tst-auditmod7b.c): Likewise.
9248         * elf/tst-audit3.c: Move to ...
9249         * sysdeps/x86_64/tst-audit3.c: ... here.
9250         * elf/tst-audit4.c: Move to ...
9251         * sysdeps/x86_64/tst-audit4.c: ... here.
9252         * elf/tst-audit5.c: Move to ...
9253         * sysdeps/x86_64/tst-audit5.c: ... here.
9254         * elf/tst-audit6.c: Move to ...
9255         * sysdeps/x86_64/tst-audit6.c: ... here.
9256         * elf/tst-audit7.c: Move to ...
9257         * sysdeps/x86_64/tst-audit7.c: ... here.
9258         * elf/tst-auditmod3a.c: Move to ...
9259         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9260         * elf/tst-auditmod3b.c: Move to ...
9261         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9262         * elf/tst-auditmod4a.c: Move to ...
9263         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9264         * elf/tst-auditmod4b.c: Move to ...
9265         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9266         * elf/tst-auditmod5a.c: Move to ...
9267         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9268         * elf/tst-auditmod5b.c: Move to ...
9269         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9270         * elf/tst-auditmod6a.c: Move to ...
9271         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9272         * elf/tst-auditmod6b.c: Move to ...
9273         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9274         * elf/tst-auditmod6c.c: Move to ...
9275         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9276         * elf/tst-auditmod7a.c: Move to ...
9277         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9278         * elf/tst-auditmod7b.c: Move to ...
9279         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9281 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
9283         [BZ #15366]
9284         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9285         define unconditionally.
9286         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9287         define unconditionally.
9288         (INT8_C, INT16_C, etc.): Likewise.
9290 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
9292         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9293         __ehdr_start with hidden visibility.
9295         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9297 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
9299         * math/libm-test.inc (cos_test): Use accurate hex constants.
9300         (sincost_test): Likewise.
9302 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
9304         * math/libm-test.inc (catan_test): Add more tests.
9305         (catanh_test): Likewise.
9307         * math/s_catanf.c (__catanf): Use suffixed floating-point
9308         constants.
9309         * math/s_catanhf.c (__catanhf): Likewise.
9310         * math/s_catanhl.c (__catanhl): Likewise.
9311         * math/s_catanl.c (__catanl): Likewise.
9313         [BZ #15394]
9314         * math/s_catan.c (__catan): Calculate imaginary part of result
9315         with log1p not log unless computing log of number close to 0.
9316         * math/s_catanf.c (__catanf): Likewise.
9317         * math/s_catanl.c (__catanl): Likewise.
9318         * math/s_catanh.c (__catanh): Calculate real part of result with
9319         log1p not log unless computing log of number close to 0.
9320         * math/s_catanhf.c (__catanhf): Likewise.
9321         * math/s_catanhl.c (__catanhl): Likewise.
9322         * math/libm-test.inc (catan_test): Add more tests.
9323         (catanh_test): Likewise.
9324         * sysdeps/i386/fpu/libm-test-ulps: Update.
9325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9327 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9329         * benchtests/Makefile: Mention files in which fast and slow
9330         paths of math functions are implemented.
9332 2013-04-23  Roland McGrath  <roland@hack.frob.com>
9334         * sysdeps/posix/timespec_get.c: New file.
9336 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9338         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9339         POWER.
9340         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9341         for POWER.
9342         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9343         powerpc/power5/fpu folders.
9344         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9345         * benchtests/Makefile: Add modf testcase.
9346         * benchtests/bench-modf.c: New file: Benchmark test for mo
9348 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9350         [BZ #14888]
9351         * time/Makefile (tests): Add tst-strptime-whitespace.
9352         * time/strptime_l.c (get_number): Use ISSPACE.
9353         (__strptime_internal): Likewise.
9354         * time/tst-strptime-whitespace.c: New test case.
9356 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
9358         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9359         member.
9360         (_nss_files_init): Set it here.
9362 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
9364         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9365         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9366         unsigned.
9368 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
9370         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9372 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9374         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9375         size just once.
9377 2013-04-21  David S. Miller  <davem@davemloft.net>
9379         * po/ru.po: Update Russion translation from translation project.
9381 2013-04-17  Adam Conrad  <adconrad@0c3.net>
9383         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9384         and setfsgid.
9386 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9388         * configure.in: Remove i386 configure warning. Remove i386 case.
9389         * configure: Regenerate.
9390         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9391         Add example to error message.
9392         * sysdeps/i386/configure: Regenerate.
9394 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9396         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9397         slowtan.
9398         * benchtests/cos-inputs: New file.
9399         * benchtests/slowcos-inputs: New file.
9400         * benchtests/slowcos.c: New file.
9401         * benchtests/slowtan-inputs: New file.
9402         * benchtests/slowtan.c: New file.
9403         * benchtests/tan-inputs: New file.
9405 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9407         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9408         considered kosher.
9410 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9412         * benchtests/Makefile: Include cppflags-iterator.mk to add
9413         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9415         * Makefile.in (bench-clean): New target.
9416         * benchtests/Makefile (bench-clean): Likewise.
9418 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9420         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9422 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9424         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9426 2013-04-15  Andreas Schwab  <schwab@suse.de>
9428         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9429         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9430         * nscd/pwdcache.c (cache_addpw): Likewise.
9431         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9432         more than recsize.
9434 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9436         * benchtests/Makefile (bench): Write all output to
9437         bench-out.tmp together.
9439 2013-04-15  Andreas Schwab  <schwab@suse.de>
9441         * nscd/nscd.c (main): Don't fork again after closing files.
9443 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9445         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9447         * benchtests/Rules (bench-deps): Collect dependencies into a
9448         single variable.  Add Makefile to dependencies.
9449         ($(objpfx)bench-%.c): Depend on bench-deps.
9451 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9452             Xavier Roche  <roche+kml2@exalead.com>
9454         [BZ #15361]
9455         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9456         just that it's a file descriptor.
9457         * manual/llio.texi (Synchronizing AIO Operations): Update description
9458         for EBADF error from aio_fsync.
9460 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9462         * Rules (bench): Move target definition...
9463         * benchtests/Makefile: ... here.
9465 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9467         * math/libm-test.inc (cos_test): Fix PI/2 test.
9468         (sincos_test): Likewise.
9469         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9470         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9472 2013-04-11  Andreas Schwab  <schwab@suse.de>
9474         [BZ #13988]
9475         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9476         accept exponent character only when digits were seen.
9477         * stdio-common/Makefile (tests): Add bug26.
9478         * stdio-common/bug26.c: New file.
9480         [BZ #14293]
9481         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9482         non-freeable.
9484 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9486         * Makeconfig (rtld-prefix): Define built linker prefix.
9487         * Rules (run-bench): Use it.
9488         * math/Makefile (run-regen-ulps): Likewise.
9490         * Rules (bench): Remove eval.
9492 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9493             Roland McGrath  <roland@hack.frob.com>
9494             Ondrej Bilka  <neleai@seznam.cz>
9496         [BZ #15346]
9497         * time/getdate.c: Include ctype.h and alloca.h.
9498         (__getdate_r): Trim leading and trailing spaces of input.
9499         * time/tst-getdate.c (tests): Add tests with leading and
9500         trailing spaces.
9502 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9504         [BZ #14280]
9505         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9506         when computing value.
9508 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9510         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9511         Use testrun.sh to run libm tests.
9513         [BZ #15309]
9514         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9516 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9518         [BZ #15264]
9519         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9521 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9523         * Makefile.in (regen-ulps): New target.
9524         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9525         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9526         [ifneq (no,$(PERL)] (regen-ulps): New target.
9527         [ifeq (no,$(PERL)] (regen-ulps): New target.
9528         * math/libm-test.inc (ulps_file_name): Define.
9529         (output_dir): New variable.
9530         (options): Add "output-dir" option.
9531         (parse_opt): Handle 'o' case.
9532         (main): If output_dir is non-NULL use it as a prefix
9533         otherwise use "".
9534         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9536 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9538         [BZ #10060, #10062]
9539         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9540         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9541         fail configure if __sync_val_compare_and_swap is not inlined.
9542         * sysdeps/i386/configure: Regenerate.
9543         * configure.in: Build for i686 when configured for i386.
9544         * configure: Regenerate.
9545         * README: Remove i386 reference.
9547 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9549         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9550         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9552 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9554         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9555         (lmsnanval): New variables.
9556         (F): Add conversion tests.
9557         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9558         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9560         * stdio-common/tstdiomisc.c (F): Properly collect individual
9561         tests' results.
9563         [BZ #14686, #15336]
9564         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9565         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9566         Instead, use input NaN values or generate a qNaN by arithmetic
9567         operation.  Also fix bugs to comply with the standard.
9568         * math/libm-test.inc (remainder_test): Add more tests.
9570         [BZ #15335, #15342]
9571         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9572         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9573         input NaN values or generate a qNaN by arithmetic operation.
9575         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9576         unreachable code.
9578         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9579         definitions.
9581 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9583         [BZ #14478]
9584         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9585         underflowed result.
9586         * math/s_cexpf.c (__cexpf): Likewise.
9587         * math/s_cexpl.c (__cexpl): Likewise.
9588         * math/libm-test.inc (cexp_test): Add more tests.
9590 2013-04-03  Andreas Schwab  <schwab@suse.de>
9592         [BZ #15330]
9593         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9594         order arrays from heap if bigger than alloca cutoff.
9596 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
9598         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9599         (SNAN_TESTS_double): Refer to GCC PR56831.
9600         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9601         GCC PR56828.
9603 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9605         * Rules (bench): Move bench.out after the run is complete.
9607         * Rules (bench): Echo currently running benchmark.
9609         * benchtests/Makefile (bench): Add atan and slowatan.
9610         * benchtests/atan-inputs: New file.
9611         * benchtests/slowatan-inputs: New file.
9612         * benchtests/slowatan.c: New file.
9614         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9615         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9616         its value.
9618         [BZ #15305]
9619         * sysdeps/unix/sysv/linux/kernel-features.h
9620         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9621         __ASSUME_XFS_RESTRICTED_CHOWN.
9622         * sysdeps/unix/sysv/linux/pathconf.c
9623         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9624         Save and restore errno.
9626 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
9628         [BZ #15327]
9629         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9630         arguments using __kernel_casinh.
9631         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9632         arguments using __kernel_casinhf.
9633         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9634         arguments using __kernel_casinhl.
9635         * math/libm-test.inc (cacosh_test): Add more tests.
9636         * sysdeps/i386/fpu/libm-test-ulps: Update.
9637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9639 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9641         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9644         * bench/Makefile (bench): Add sin and slowsin.
9645         * benchtests/sin-inputs: New file.
9646         * benchtests/slowsin-inputs: New file.
9647         * benchtests/slowsin.c: New file.
9649         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9650         (bench): Add slowexp and slowpow.
9651         (exp-ITER): Increase iterations.
9652         (pow-ITER): Likewise.
9653         * benchtests/exp-inputs: Change input.
9654         * benchtests/pow-inputs: Likewise.
9655         * benchtests/slowexp-inputs: New file.
9656         * benchtests/slowexp.c: New file.
9657         * benchtests/slowpow-inputs: New file.
9658         * benchtests/slowpow.c: New file.
9660 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9662         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9663         instructions.
9664         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9665         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9666         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9667         * benchtests/Makefile: Add rint benchtest.
9668         * benchtests/rint-inputs: Input for rint benchtest.
9670 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9672         * Versions.def (libm): Add GLIBC_2.18.
9673         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9674         hidden libm prototypes.
9675         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9676         * math/Makefile (libm-calls): Add s_issignaling.
9677         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9678         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
9679         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9680         declaration.
9681         * math/math.h [__USE_GNU] (issignaling): New macro.
9682         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9683         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9684         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9685         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9686         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9687         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9688         * manual/arith.texi (issignaling): New section.
9689         * manual/libm-err-tab.pl (@all_functions): Update comment.
9690         * math/gen-libm-test.pl (parse_args): Apply special handling for
9691         issignaling.
9692         * math/libm-test.inc (print_float, issignaling_test): New
9693         functions.
9694         (check_float_internal): Add issignaling checks.
9695         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9696         default definition.
9697         * sysdeps/powerpc/math-tests.h: New file.
9698         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9699         tests.
9700         * math/test-snan.c (TEST_FUNC): Likewise.
9702 2013-03-30  David S. Miller  <davem@davemloft.net>
9704         * po/de.po: Update from translation team.
9706 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
9708         [BZ #10357]
9709         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9710         imaginary part less than 1.0 and real part less than 0.5
9711         specially.
9712         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9713         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9714         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9715         (cacos_test): Add more tests.
9716         (casin_test): Likewise.
9717         (casinh_test): Likewise.
9718         * sysdeps/i386/fpu/libm-test-ulps: Update.
9719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9721 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9723         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9724         ONE with its value.
9726         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9727         (__pow_mp): Replace ONE and MONE with their values.
9728         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9729         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9730         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9731         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9732         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9733         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9735         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9737         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9738         (__pow_mp): Replace ZERO and MZERO with their values.
9739         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9740         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9741         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9742         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9743         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9744         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9745         (__sqr): Likewise.
9747         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9749         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9751 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9753         * include/stdlib.h [!SHARED] (__call_tls_dtors):
9754         Declare with __attribute__ ((weak)).
9755         * stdlib/exit.c (__libc_atexit) [!SHARED]:
9756         Call __call_tls_dtors only if it's not NULL.
9758 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9760         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9761         didn't do it already, then set _dl_phdr and _dl_phnum based on the
9762         magic __ehdr_start linker symbol if it's defined.
9763         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9764         them up here if it was already done.
9766         * elf/dl-support.c (_dl_phdr): Make pointer to const.
9767         (_dl_aux_init): Use const in cast when setting it.
9768         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9769         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9770         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9772         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9773         Declare them here.
9774         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9775         * csu/libc-tls.c: Nor here.
9776         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9778         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9779         (__libc_message): Never call vsyslog.
9781 2013-03-28  Alan Modra  <amodra@gmail.com>
9783         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9784         Define as empty.
9785         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9786         Likewise.
9788 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9790         [BZ #15214]
9791         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9792         underflow.
9793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9795 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9797         [BZ #15304]
9798         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9799         Don't add gid passed as argument.
9801         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9803 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
9805         [BZ #15307]
9806         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9807         imaginary part between 1.0 and 1.5 and real part less than 0.5
9808         specially.
9809         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9810         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9811         * math/libm-test.inc (cacos_test): Add more tests.
9812         (casin_test): Likewise.
9813         (casinh_test): Likewise.
9814         * sysdeps/i386/fpu/libm-test-ulps: Update.
9815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9817 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9819         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9820         constants.
9821         (norm): Likewise.
9822         (denorm): Likewise.
9823         (__dbl_mp): Likewise.
9824         (add_magnitudes): Likewise.
9825         (sub_magnitudes): Likewise.
9826         (__add): Likewise.
9827         (__sub): Likewise.
9828         (__mul): Likewise.
9829         (__sqr): Likewise.
9830         (__inv): Likewise.
9831         (__dvd): Likewise.
9833         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9834         commented code.
9835         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9836         (__dubcos): Likewise.
9837         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9838         (__ieee754_acos): Likewise.
9839         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9840         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9841         (__exp1): Likewise.
9842         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9843         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9844         (log1): Likewise.
9845         (my_log2): Likewise.
9846         (checkint): Likewise.
9847         * sysdeps/ieee754/dbl-64/e_remainder.c
9848         (__ieee754_remainder): Likewise.
9849         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9850         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9851         (bsloww): Likewise.
9852         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9854         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9855         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9856         MANTISSA_STORE_T to store computations on mantissa.  Use
9857         macros for rounding and division.
9858         (denorm): Likewise.
9859         (__dbl_mp): Likewise.
9860         (add_magnitudes): Likewise.
9861         (sub_magnitudes): Likewise.
9862         (__mul): Likewise.
9863         (__sqr): Likewise.
9864         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9865         powers of two in terms of TWOPOW macro.
9866         (mp_no): Make type of mantissa as MANTISSA_T.
9867         [!RADIXI]: Define RADIXI.
9868         [!TWO52]: Define TWO52.
9869         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9871 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9873         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9874         llroundl symbol when building for PPC32.
9876 2013-03-24  Mark H Weaver  <mhw@netris.org>
9878         * manual/arith.texi (Normalization Functions): Fix prototypes for
9879         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9881 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9883         [BZ #13889]
9884         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9885         high value to check if expl overflow.
9886         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9887         to check for underflow and overflow.
9888         * math/libm-test.inc: Add exp test.
9890 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
9892         [BZ #11120]
9893         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9894         with NOT_IN_libc.
9896 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9898         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9899         symbol.
9901 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
9903         * math/gen-libm-test.pl (parse_args, special_functions): Properly
9904         wrap blocks consisting of several statements.
9906         * sysdeps/generic/math-tests.h: New file.
9907         * sysdeps/i386/fpu/math-tests.h: Likewise.
9908         * math/test-snan.c: Include it.
9909         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9911 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9913         [BZ #15285]
9914         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9915         (__ieee754_j0l): Do not improve calculations using cos of twice
9916         input for inputs above LDBL_MAX / 2.0L.
9917         (__ieee754_y0l): Likewise.
9918         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9919         (__ieee754_j1l): Do not improve calculations using cos of twice
9920         input for inputs above LDBL_MAX / 2.0L.
9921         (__ieee754_y1l): Likewise.
9922         * math/libm-test.inc (j0_test): Add another test.
9923         (j1_test): Likewise.
9924         (y0_test): Likewise.
9925         (y1_test): Likewise.
9926         * sysdeps/i386/fpu/libm-test-ulps: Update.
9928 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9930         * Rules ($(objpfx)bench-%.c): Include code from a C source
9931         file.
9933 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9935         [BZ #15287]
9936         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9937         imaginary part 1.0 and real part less than 0.5 specially.
9938         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9939         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9940         * math/libm-test.inc (cacos_test): Add more tests.
9941         (casin_test): Likewise.
9942         (casinh_test): Likewise.
9943         * sysdeps/i386/fpu/libm-test-ulps: Update.
9944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9946 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9948         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9949         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9951 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
9953         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9954         * config.make.in (config-cflags-sse4): Remove variable.
9955         (config-cflags-avx): Likewise.
9956         (config-cflags-sse2avx): Likewise.
9957         (config-cflags-novzeroupper): Likewise.
9958         (config-asflags-i686): Likewise.
9959         (have-mfma4): Likewise.
9960         (have-as-vis3): Likewise.
9961         (MIG): Likewise.
9962         * configure.in (MIG): Do not AC_SUBST.
9963         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9964         (libc_cv_cc_sse4): Do not AC_SUBST.
9965         (libc_cv_cc_avx): Likewise.
9966         (libc_cv_cc_sse2avx): Likewise.
9967         (libc_cv_cc_novzeroupper): Likewise.
9968         (libc_cv_cc_fma4): Likewise.
9969         (libc_cv_as_i686): Likewise.
9970         (libc_cv_sparc_as_vis3): Likewise.
9971         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9972         LIBC_CONFIG_VAR.
9973         (config-asflags-i686): Likewise.
9974         (config-cflags-avx): Likewise.
9975         (config-cflags-sse2avx): Likewise.
9976         (have-mfma4): Likewise.
9977         (config-cflags-novzeroupper): Likewise.
9978         * sysdeps/mach/configure.in (MIG): Likewise.
9979         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9980         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9981         LIBC_CONFIG_VAR.
9982         (config-cflags-avx): Likewise.
9983         (config-cflags-sse2avx): Likewise.
9984         (have-mfma4): Likewise.
9985         (config-cflags-novzeroupper): Likewise.
9986         * configure: Regenerated.
9987         * sysdeps/i386/configure: Likewise.
9988         * sysdeps/mach/configure: Likewise.
9989         * sysdeps/sparc/configure: Likewise.
9990         * sysdeps/x86_64/configure: Likewise.
9992 2013-03-20  Roland McGrath  <roland@hack.frob.com>
9994         [BZ #14812]
9995         * locale/programs/localedef.c (options): Put N_ translation marker
9996         on argument names, not just descriptions.
9998 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10000         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10002 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10004         [BZ #14176]
10005         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10007 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10009         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10010         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10011         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10012         [!BEFORE_ABORT] (before_abort): New function.
10013         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10014         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10015         (writev_for_fatal): New function.
10016         (WRITEV_FOR_FATAL): New macro; call that.
10017         (backtrace_and_maps): New function.
10018         (BEFORE_ABORT): New macro; call that.
10019         (struct str_list): Type removed.
10020         (__libc_message, __libc_fatal): Functions removed.
10021         Include <sysdeps/posix/libc_fatal.c> instead.
10023 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10025         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10026         constants.
10027         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10028         double constants.
10030 2013-03-19  Andreas Schwab  <schwab@suse.de>
10032         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10033         * sysdeps/gnu/configure: Regenerate.
10035         * configure.in: Substitute libc_cv_rtlddir.
10036         * configure: Regenerate.
10037         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10038         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10039         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10040         * elf/Makefile (install-others, CFLAGS-interp.c)
10041         (ldso_install, common-ldd-rewrite): Likewise.
10042         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10043         $(inst_slibdir)/$(rtld-installed-name).
10044         * scripts/rellns-sh: Add -p option.
10045         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10046         for source.
10048 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10050         * manual/nptl.texi: Renamed to ...
10051         * manual/threads.texi: ... this.
10052         * manual/Makefile (chapters): Update.
10054 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10056         [BZ #14812]
10057         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10058         on argument names, not just descriptions.
10059         * malloc/memusagestat.c (options): Likewise.
10060         * nss/getent.c (options): Likewise.
10062 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10064         [BZ #14812]
10065         * iconv/iconv_prog.c (options): Put N_ translation marker
10066         on argument names, not just descriptions.
10067         * iconv/iconvconfig.c (options): Likewise.
10069 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10071         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10072         implementation which is faster on all x86_64 architectures.
10073         Tested on AMD, Intel Nehalem, SNB, IVB.
10074         * sysdeps/x86_64/strnlen.S: Likewise.
10076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10077         Remove all multiarch strlen and strnlen versions.
10078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10079         Remove strlen and strnlen related parts.
10081         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10082         Inline strlen part.
10083         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10085         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10086         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10087         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10088         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10089         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10090         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10092 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10094         * manual/memory.texi (Malloc Tunable Parameters):
10095         Sort parameters alphabetically. Add comments for missing entries.
10097 2013-03-17  David S. Miller  <davem@davemloft.net>
10099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10101 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10103         [BZ #15283]
10104         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10105         for arguments at most half maximum finite value.
10106         * math/libm-test.inc (j0_test): Add more tests.
10107         (j1_test): Likewise.
10108         (y0_test): Likewise.
10109         (y1_test): Likewise.
10110         * sysdeps/i386/fpu/libm-test-ulps: Update.
10111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10113         [BZ #14155]
10114         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10115         1 / x and functions P and Q for arguments above 0x1p256L.
10116         (__ieee754_y0l): Likewise.
10117         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10118         (__ieee754_y1l): Likewise.
10119         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10120         (j1_test): Likewise.
10121         (y0_test): Likewise.
10122         (y1_test): Likewise.
10124 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10126         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10127         variable.
10129 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10131         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10132         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10133         zero since it's initialized to EXEC_PAGESIZE.
10135         * sysdeps/unix/sysv/linux/ldsodefs.h
10136         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10137         * sysdeps/generic/ldsodefs.h: ... here.
10139 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10141         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10143         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10144         math/test-snan.c.
10145         * math/test-snan.c: Renamed from
10146         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10147         * math/Makefile (tests): Add test-snan.
10148         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10149         test-powerpc-snan.
10151         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10152         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10153         functions.
10154         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10155         __builtin_nan family of functions.
10156         * math/libm-test.inc (initialize): Initialize qnan_value with
10157         __builtin_nan family of functions.
10158         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10159         Remove variables.
10160         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10161         Remove functions.
10162         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10163         storage class.  Initialize qNaN_var and sNaN_var with
10164         __builtin_nan and __builtin_nans families of functions,
10165         respectively.
10167         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10168         (sqrt_test): Remove duplicate test with qNaN input.
10169         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10170         (round_test, signbit_test, significand_test): Note missing +/-Inf
10171         as well as qNaN tests.
10173         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10174         qNaN_var.  Fix a few strings, too.
10175         * math/libm-test.inc (nan_value): Rename to qnan_value.
10176         * math/gen-libm-test.pl (%beautify): Adjust to that.
10177         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10178         * math/test-misc.c (main): Likewise.
10179         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10180         to __qnan_bytes, and __qnan_union, respectively.
10181         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10182         Likewise.
10183         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10184         and lqnanval, respectively.
10185         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10186         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10187         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10188         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10190         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10191         * math/test-misc.c (main) [__x86_64__]: Enable test for long
10192         doubles.
10194         * math/test-misc.c (main): Fix copy'n'pastos.
10195         * misc/tst-efgcvt.c (special): Likewise.
10197         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10198         Remove declarations.
10200 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10202         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10203         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10204         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10205         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10207 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10209         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10210         macro to return vdso values correctly in IFUNC implementations.
10211         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10212         Optimization by using IFUNC.
10214 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10215             Richard Henderson  <rth@redhat.com>
10216             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10218         * Makefile.in (bench): New target.
10219         * NEWS: Mention the benchmark framework.
10220         * Rules (bench): Likewise.
10221         (binaries-bench): Generate binaries for functions to
10222         benchmark.
10223         * benchtests/Makefile: New makefile for benchmark tests.
10224         * benchtests/bench-skeleton.c: New skeleton file for benchmark
10225         programs.
10226         * benchtests/exp-inputs: New input file for EXP function.
10227         * benchtests/pow-inputs: New input file for POW function.
10228         * scripts/bench.pl: New script to generate source files for
10229         benchmark programs.
10231 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10233         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10234         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10235         computations on mantissa.  Use macros for rounding and
10236         division.
10237         (denorm): Likewise.
10238         (__dbl_mp): Likewise.
10239         (add_magnitudes): Likewise.
10240         (sub_magnitudes): Likewise.
10241         (__mul): Likewise.
10242         (__sqr): Likewise.
10243         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10244         powers of two in terms of TWOPOW macro.
10245         (mp_no): Make type of mantissa as MANTISSA_T.
10246         [!RADIXI]: Define RADIXI.
10247         [!TWO52]: Define TWO52.
10248         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10250         * manual/nptl.texi (cindex): Modify threads to pthreads.
10252 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
10254         * sysdeps/x86_64/preconfigure: Regenerated.
10256 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
10258         [BZ #14155]
10259         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10260         0x1p28 and above.
10261         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10262         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10263         0x1p28 and above.
10264         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10265         * math/libm-test.inc (j0_test): Do not allow one spurious
10266         underflow exception.
10267         (y1_test): Likewise.
10269 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10271         * manual/Makefile (chapters): Add nptl.
10272         * manual/debug.texi (Debugging Support): Add link to Threads
10273         chapter.
10274         * manual/nptl.texi: New file.
10276         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10278 2013-03-14  Petr Baudis  <pasky@ucw.cz>
10280         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10281         for non-NULL pointer before the memory validity test. Pointed
10282         out by Holger Brunck <holger.brunck@keymile.com>.
10284 2013-03-13  Andreas Schwab  <schwab@suse.de>
10286         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10287         instead of .os.
10289 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
10291         * timezone/zic.c: Update from tzcode 2013b.
10293 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
10295         * manual/install.texi (Configuring and compiling):
10296         Mention i686 and i586.
10297         * INSTALL: Regenerate.
10299 2013-03-12  Roland McGrath  <roland@hack.frob.com>
10301         * sysdeps/init_array/elf-init.c: New file.
10302         * csu/elf-init.c
10303         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10304         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10306         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10307         __gmon_start__ as global, but as static with a .preinit_array pointer.
10308         * sysdeps/init_array/gmon-start.c: New file.  Use that.
10309         * sysdeps/init_array/crti.S: New file, empty except for comments.
10310         * sysdeps/init_array/crtn.S: Likewise.
10312 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
10314         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10315         definining bcopy.
10316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10317         Remove Prefer_SSE_for_memop.
10318         * sysdeps/x86_64/multiarch/init-arch.h: Remove
10319         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10320         HAS_PREFER_SSE_FOR_MEMOP.
10321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10322         memset-x86-64.
10323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10324         Remove bzero, memset ifunc support.
10325         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10326         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10327         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10328         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10330 2013-03-11  Andreas Schwab  <schwab@suse.de>
10332         [BZ #15234]
10333         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10334         by SHLIB_COMPAT.
10335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10336         (GLIBC_2.16): Remove pthread_atfork.
10338 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10340         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10341         (ptestcases.h): Likewise.
10343 2013-03-08  Roland McGrath  <roland@hack.frob.com>
10345         * Makeconfig ($(common-objpfx)config.status): Depend on
10346         sysdeps/*/preconfigure{,.in} too.
10348 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
10350         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10351         (__free_hook): Use void * instead of __malloc_ptr_t.
10352         (__malloc_hook): Likewise.
10353         (__realloc_hook): Likewise.
10354         (__memalign_hook): Likewise.
10355         (__after_morecore_hook): Likewise.
10356         * malloc/arena.c (save_malloc_hook): Likewise.
10357         (save_free_hook): Likewise.
10358         * malloc/hooks.c (malloc_hook_ini): Likewise.
10359         (realloc_hook_ini): Likewise.
10360         (memalign_hook_ini): Likewise.
10361         * malloc/malloc.c (malloc_hook_ini): Likewise.
10362         (realloc_hook_ini): Likewise.
10363         (memalign_hook_ini): Likewise.
10364         (__free_hook): Likewise.
10365         (__malloc_hook): Likewise.
10366         (__realloc_hook): Likewise.
10367         (__memalign_hook): Likewise.
10368         (__libc_malloc): Likewise.
10369         (__libc_free): Likewise.
10370         (__libc_realloc): Likewise.
10371         (__libc_memalign): Likewise.
10372         (__libc_valloc): Likewise.
10373         (__libc_pvalloc): Likewise.
10374         (__libc_calloc): Likewise.
10375         (__posix_memalign): Likewise.
10376         * malloc/morecore.c (__sbrk): Likewise.
10377         (__default_morecore): Likewise.
10379         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10381         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10382         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10383         __malloc_ptrdiff_t.
10385         * malloc/malloc.h (__malloc_size_t): Remove macro.
10386         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10387         __malloc_size_t.
10388         (old_memalign_hook): Likewise.
10389         (old_realloc_hook): Likewise.
10390         (struct hdr): Likewise.
10391         (flood): Likewise.
10392         (mallochook): Likewise.
10393         (memalignhook): Likewise.
10394         (reallochook): Likewise.
10395         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10396         (tr_old_realloc_hook): Likewise.
10397         (tr_old_memalign_hook): Likewise.
10398         (tr_mallochook): Likewise.
10399         (tr_reallochook): Likewise.
10400         (tr_memalignhook): Likewise.
10402 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10404         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10405         default_ldbl_pack and using as default implementation.
10406         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10407         implementation.
10408         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10409         redundant definition.
10410         (ldbl_insert_mantissa): Likewise.
10411         (ldbl_canonicalize): Likewise.
10412         (ldbl_nearbyint): Likewise.
10413         (ldbl_pack): Rename to ldbl_pack_ppc.
10414         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10415         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10416         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10418 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10421         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10422         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10423         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10425         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10426         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10427         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10429 2013-03-07  Andreas Jaeger  <aj@suse.de>
10431         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10432         bits/mman-linux.h.
10434 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10436         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10437         Include mpa.h and declare __MPEXP.
10438         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10439         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10440         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10441         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10442         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10443         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10444         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10446         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10447         (__slowpow): Use long double EXPL and LOGL functions to
10448         compute POW.
10449         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10450         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10451         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10452         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10453         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10454         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10457         intermediate variable to calculate exponent.
10458         (__sqr): Likewise.
10459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10460         Likewise.
10461         (__sqr): Likewise.
10463         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10464         [!NO__SQR]: Define __sqr.
10465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10466         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10467         sysdeps/ieee754/dbl-64/mpa.c.
10468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10470         [BZ #12723]
10471         * posix/Makefile (tests): Add tst-pathconf.
10472         * posix/tst-pathconf.c: New test case.
10473         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10474         _PC_PIPE_BUF.
10475         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10477 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10479         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10481 2013-03-06  Andreas Jaeger  <aj@suse.de>
10483         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10484         definition via __MAP_ANONYMOUS.
10486         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10487         it's not part of Linux headers.
10489         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10490         (MAP_HUGE_MASK): Define.
10492         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10493         Define.
10494         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10495         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10496         Define.
10497         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10498         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10499         Define.
10500         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10501         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10502         Define.
10503         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10505         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10506         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10507         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10508         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10509         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10510         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10512         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10513         Handle f2fs.
10515         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10516         Handle f2fs and efivarfs.
10518         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10519         f2fs.
10521         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10522         (EFIVARFS_MAGIC): Add.
10523         (F2FS_LINK_MAX): Add.
10525 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10527         * stdio-common/vfprintf.c: Replace __builtin_expect with
10528         __glibc_unlikely.
10530 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10532         [BZ #13550]
10533         * sysdeps/generic/bp-sym.h: Remove file.
10534         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10535         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10536         <bp-sym.h> and <bp-asm.h>.
10537         (__longjmp): Don't use BP_SYM.
10538         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10539         and <bp-asm.h>.
10540         (memcpy): Don't use BP_SYM.
10541         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10542         <bp-sym.h> and <bp-asm.h>.
10543         (memcpy): Don't use BP_SYM.
10544         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10545         <bp-asm.h>.
10546         (memcpy): Don't use BP_SYM.
10547         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10548         <bp-asm.h>.
10549         (memset): Don't use BP_SYM.
10550         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10551         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10552         (__bzero): Don't use BP_SYM.
10553         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10554         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10555         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10556         <bp-sym.h> and <bp-asm.h>.
10557         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10558         pointers.
10559         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10560         <bp-sym.h> and <bp-asm.h>.
10561         (memcpy): Don't use BP_SYM.
10562         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10563         <bp-sym.h> and <bp-asm.h>.
10564         (memset): Don't use BP_SYM.
10565         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10566         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10567         (__bzero): Don't use BP_SYM.
10568         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10569         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10570         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10571         <bp-sym.h> and <bp-asm.h>.
10572         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10573         pointers.
10574         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10575         <bp-sym.h> and <bp-asm.h>.
10576         (memcpy): Don't use BP_SYM.
10577         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10578         <bp-sym.h> and <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/power7/memchr.S: Don't include
10586         <bp-sym.h> and <bp-asm.h>.
10587         (__memchr): Don't use BP_SYM.
10588         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10589         <bp-sym.h> and <bp-asm.h>.
10590         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10591         pointers.
10592         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10593         <bp-sym.h> and <bp-asm.h>.
10594         (memcpy): Don't use BP_SYM.
10595         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10596         <bp-sym.h> and <bp-asm.h>.
10597         (__mempcpy): Don't use BP_SYM.
10598         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10599         <bp-sym.h> and <bp-asm.h>.
10600         (__memrchr): Don't use BP_SYM.
10601         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10602         <bp-sym.h> and <bp-asm.h>.
10603         (memset): Don't use BP_SYM.
10604         (__bzero): Likewise.
10605         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10606         <bp-sym.h> and <bp-asm.h>.
10607         (__rawmemchr): Don't use BP_SYM.
10608         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10609         <bp-sym.h> and <bp-asm.h>.
10610         (__STRCMP): Don't use BP_SYM.
10611         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10612         <bp-sym.h> and <bp-asm.h>.
10613         (strchr): Don't use BP_SYM.
10614         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10615         <bp-sym.h> and <bp-asm.h>.
10616         (__strchrnul): Don't use BP_SYM.
10617         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10618         <bp-sym.h> and <bp-asm.h>.
10619         (strlen): Don't use BP_SYM.
10620         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10621         <bp-sym.h> and <bp-asm.h>.
10622         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10623         pointers.
10624         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10625         <bp-sym.h> and <bp-asm.h>.
10626         (__strnlen): Don't use BP_SYM.
10627         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10628         <bp-sym.h> and <bp-asm.h>.
10629         (__GI__setjmp): Don't use BP_SYM.
10630         (_setjmp): Likewise.
10631         (__sigsetjmp): Likewise.
10632         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10633         (L(start_addresses)): Don't use BP_SYM.
10634         (_start): Likewise.
10635         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10636         <bp-asm.h>.
10637         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10638         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10639         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10640         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10641         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10642         <bp-asm.h>.
10643         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10644         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
10645         about bounded pointers.
10646         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10647         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10648         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10649         <bp-asm.h>.
10650         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10651         about bounded pointers.  Remove GKM FIXME comments.
10652         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10653         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10654         <bp-asm.h>.
10655         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10656         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
10657         Remove GKM FIXME comments.
10658         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10659         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10660         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10661         <bp-asm.h>.
10662         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10663         about bounded pointers.  Remove GKM FIXME comment.
10664         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10665         and <bp-asm.h>.
10666         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10667         pointers.
10668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10669         <bp-sym.h> and <bp-asm.h>.
10670         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10672         <bp-sym.h> and <bp-asm.h>.
10673         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10674         comment.
10676 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10678         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10679         call free(NULL).
10681 2013-03-05  David S. Miller  <davem@davemloft.net>
10683         * po/es.po: Update from translation team.
10685 2013-03-05  Andreas Jaeger  <aj@suse.de>
10687         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10688         <bits/mman-linux.h>.
10689         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10690         is fine.
10691         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10692         <bits/mman-linux.h> to end of file.
10693         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10694         is fine.
10695         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10696         <bits/mman-linux.h> to end of file.
10697         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10698         is fine.
10699         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10700         <bits/mman-linux.h> to end of file.
10702         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10703         (MCL_CURRENT, MCL_FUTURE): Define here.
10705 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10707         [BZ #15232]
10708         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10709         attribute_hidden.
10710         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10712 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10714         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10715         fourth parameter needed for rt_sigprocmask syscall.
10716         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10717         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10718         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10719         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10720         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10721         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10723 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
10725         [BZ #13550]
10726         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10727         comment about bounded pointers.
10728         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10729         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10731 2013-03-04  Andreas Jaeger  <aj@suse.de>
10733         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10734         common definitions.
10736         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10737         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10738         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10739         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10740         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10741         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10743 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10745         [BZ #15055]
10746         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10747         __ieee754_sqrl instead of __sqrl.
10749 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
10751         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10752         * sysdeps/powerpc/fpu_control.h: ... here.
10753         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10754         * sysdeps/powerpc/bits/fenvinline.h: ... here.
10755         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10756         * sysdeps/powerpc/bits/mathinline.h: ... here.
10758 2013-03-01  Roland McGrath  <roland@hack.frob.com>
10760         * elf/dl-hwcaps.c (_dl_important_hwcaps):
10761         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10762         to just [NEED_DL_SYSINFO_DSO].
10763         * elf/dl-support.c: Likewise.
10764         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10765         * elf/rtld.c (dl_main): Likewise.
10766         * elf/setup-vdso.h (setup_vdso): Likewise.
10767         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10768         * sysdeps/unix/sysv/linux/dl-sysdep.c
10769         (_dl_discover_osversion): Likewise.
10771 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
10773         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10774         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10776 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10778         * NEWS: Mention libm performance improvements and non-x86 PI
10779         futex support.
10781         * csu/libc-start.c (__pthread_initialize_minimal): Change
10782         function arguments.
10783         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10785 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
10787         [BZ #13550]
10788         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10789         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10790         <bp-sym.h> and <bp-asm.h>.
10791         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10792         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10793         and <bp-asm.h>.
10794         (memcpy): Don't use BP_SYM.
10795         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10796         <bp-asm.h>.
10797         (__mpn_add_n): Don't use BP_SYM.
10798         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10799         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10800         and <bp-asm.h>.
10801         (__mpn_addmul_1): Don't use BP_SYM.
10802         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10803         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10804         <bp-sym.h>.
10805         (_setjmp): Don't use BP_SYM.
10806         (__novmx_setjmp): Likewise.
10807         (__GI__setjmp): Likewise.
10808         (__vmx_setjmp): Likewise.
10809         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10810         <bp-sym.h>.
10811         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10812         (__bzero): Don't use BP_SYM.
10813         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10814         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10815         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10816         <bp-sym.h> and <bp-asm.h>.
10817         (memcpy): Don't use BP_SYM.
10818         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10819         <bp-sym.h> and <bp-asm.h>.
10820         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10821         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10822         <bp-sym.h> and <bp-asm.h>.
10823         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10824         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10825         <bp-asm.h>.
10826         (__mpn_lshift): Don't use BP_SYM.
10827         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10828         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10829         <bp-asm.h>.
10830         (memset): Don't use BP_SYM.
10831         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10832         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10833         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10834         <bp-asm.h>.
10835         (__mpn_mul_1): Don't use BP_SYM.
10836         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10837         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10838         <bp-sym.h> and <bp-asm.h>.
10839         (memcmp): Don't use BP_SYM.
10840         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10841         <bp-sym.h> and <bp-asm.h>.
10842         (memcpy): Don't use BP_SYM.
10843         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10844         <bp-sym.h> and <bp-asm.h>.
10845         (memset): Don't use BP_SYM.
10846         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10847         <bp-sym.h> and <bp-asm.h>.
10848         (strncmp): Don't use BP_SYM.
10849         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10850         <bp-sym.h> and <bp-asm.h>.
10851         (memcpy): Don't use BP_SYM.
10852         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10853         <bp-sym.h> and <bp-asm.h>.
10854         (memset): Don't use BP_SYM.
10855         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10856         <bp-sym.h> and <bp-asm.h>.
10857         (__memchr): Don't use BP_SYM.
10858         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10859         <bp-sym.h> and <bp-asm.h>.
10860         (memcmp): Don't use BP_SYM.
10861         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10862         <bp-sym.h> and <bp-asm.h>.
10863         (memcpy): Don't use BP_SYM.
10864         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10865         <bp-sym.h> and <bp-asm.h>.
10866         (__mempcpy): Don't use BP_SYM.
10867         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10868         <bp-sym.h> and <bp-asm.h>.
10869         (__memrchr): Don't use BP_SYM.
10870         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10871         <bp-sym.h> and <bp-asm.h>.
10872         (memset): Don't use BP_SYM.
10873         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10874         <bp-sym.h> and <bp-asm.h>.
10875         (__rawmemchr): Don't use BP_SYM.
10876         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10877         <bp-sym.h> and <bp-asm.h>.
10878         (__STRCMP): Don't use BP_SYM.
10879         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10880         <bp-sym.h> and <bp-asm.h>.
10881         (strchr): Don't use BP_SYM.
10882         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10883         <bp-sym.h> and <bp-asm.h>.
10884         (__strchrnul): Don't use BP_SYM.
10885         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10886         <bp-sym.h> and <bp-asm.h>.
10887         (strlen): Don't use BP_SYM.
10888         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10889         <bp-sym.h> and <bp-asm.h>.
10890         (strncmp): Don't use BP_SYM.
10891         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10892         <bp-sym.h> and <bp-asm.h>.
10893         (__strnlen): Don't use BP_SYM.
10894         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10895         <bp-asm.h>.
10896         (__mpn_rshift): Don't use BP_SYM.
10897         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10898         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10899         <bp-sym.h> and <bp-asm.h>.
10900         (__sigsetjmp): Don't use BP_SYM.
10901         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10902         (L(start_addresses)): Don't use BP_SYM.
10903         (_start): Likewise.
10904         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10905         <bp-asm.h>.
10906         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10907         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10908         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10909         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10910         <bp-asm.h>.
10911         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10912         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10913         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10914         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10915         <bp-asm.h>.
10916         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10917         comments.
10918         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10919         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10920         <bp-asm.h>.
10921         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
10922         FIXME comments.
10923         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10924         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10925         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10926         <bp-asm.h>.
10927         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10928         comment.
10929         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10930         and <bp-asm.h>.
10931         (strncmp): Don't use BP_SYM,
10932         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10933         <bp-asm.h>.
10934         (__mpn_sub_n): Don't use BP_SYM.
10935         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10936         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10937         and <bp-asm.h>.
10938         (__mpn_submul_1): Don't use BP_SYM.
10939         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10941         <bp-sym.h> and <bp-asm.h>.
10942         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10944         <bp-sym.h> and <bp-asm.h>.
10945         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10946         comment.
10948 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10951         Use ZK to minimize writes to Z.
10952         (sub_magnitudes): Simplify code a bit.
10953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10954         Use ZK to minimize writes to Z.
10955         (sub_magnitudes): Simplify code a bit.
10957 2013-02-27  Roland McGrath  <roland@hack.frob.com>
10959         * csu/gmon-start.c: Add special exception to license text.
10961 2013-02-27  Richard Henderson  <rth@redhat.com>
10963         * scripts/config.guess: Update from config.git.
10964         * scripts/config.sub: Likewise.
10966 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10968         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10970         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10972         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10974         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10976         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10978 2013-02-26  Roland McGrath  <roland@hack.frob.com>
10980         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10981         [$(build-shared = yes].
10983 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10985         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10986         (__mul): Reduce iterations for calculating mantissa.
10988         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10989         MPTWO.
10990         (__mpranred): Likewise.
10992         [BZ #15160]
10993         * malloc/memusagestat.c (main): Draw graphs for heap and stack
10994         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10996 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
10998         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10999         Define __attribute__.
11001 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11003         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11004         unused.
11005         * posix/regex_internal.h (__attribute): Remove.
11006         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11007         (re_string_context_at): Likewise.
11008         (bitset_not): Use __attribute__ and mark function as possibly
11009         unused.
11010         (bitset_merge): Likewise.
11011         (bitset_mask): Likewise.
11012         (re_string_char_size_at): Likewise.
11013         (re_string_wchar_at): Likewise.
11014         (re_string_elem_size_at): Likewise.
11016 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11018         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11019         code.
11020         (cc32): Likewise.
11022         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11023         (__acr): Likewise.
11024         (__cpy): Likewise.
11025         (norm): Likewise.
11026         (denorm): Likewise.
11027         (__dbl_mp): Likewise.
11028         (add_magnitudes): Likewise.
11029         (sub_magnitudes): Likewise.
11030         (__mul): Likewise.
11031         (__inv): Likewise.
11033         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11034         style.
11036         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11037         style.
11039         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11040         code.
11042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11043         up changes with default code.
11044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11045         Likewise.
11047 2013-02-24  Allan McRae  <allan@archlinux.org>
11049         * manual/socket.texi (The Internet Namespace): Order menu items
11050         to match that in the file.
11052         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11053         node listing of the info page menu.
11055 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11057         [BZ #13550]
11058         * sysdeps/i386/bp-asm.h: Remove file.
11059         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11060         (PARMS): Do not use macros from bp-asm.h.
11061         (S1): Likewise.
11062         (S2): Likewise.
11063         (SIZE): Likewise.
11064         (__mpn_add_n): Do not use BP_SYM
11065         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11066         "bp-asm.h".
11067         (PARMS): Do not use macros from bp-asm.h.
11068         (S1): Likewise.
11069         (SIZE): Likewise.
11070         (__mpn_addmul_1): Do not use BP_SYM
11071         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11072         "bp-asm.h".
11073         (PARMS): Do not use macros from bp-asm.h.
11074         (SIGMSK): Likewise.
11075         (_setjmp): Likewise.  Do not use BP_SYM.
11076         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11077         "bp-asm.h".
11078         (PARMS): Do not use macros from bp-asm.h.
11079         (SIGMSK): Likewise.
11080         (setjmp): Likewise.  Do not use BP_SYM.
11081         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11082         "bp-asm.h".
11083         (PARMS): Do not use macros from bp-asm.h.
11084         (__frexp): Do not use BP_SYM.
11085         (frexp): Likewise.
11086         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11087         "bp-asm.h".
11088         (PARMS): Do not use macros from bp-asm.h.
11089         (__frexpf): Do not use BP_SYM.
11090         (frexpf): Likewise.
11091         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11092         "bp-asm.h".
11093         (PARMS): Do not use macros from bp-asm.h.
11094         (__frexpl): Do not use BP_SYM.
11095         (frexpl): Likewise.
11096         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11097         "bp-asm.h".
11098         (PARMS): Do not use macros from bp-asm.h.
11099         (__remquo): Do not use BP_SYM.
11100         (remquo): Likewise.
11101         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11102         "bp-asm.h".
11103         (PARMS): Do not use macros from bp-asm.h.
11104         (__remquof): Do not use BP_SYM.
11105         (remquof): Likewise.
11106         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11107         "bp-asm.h".
11108         (PARMS): Do not use macros from bp-asm.h.
11109         (__remquol): Do not use BP_SYM.
11110         (remquol): Likewise.
11111         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11112         "bp-asm.h".
11113         (PARMS): Do not use macros from bp-asm.h.
11114         (DEST): Likewise.
11115         (SRC): Likewise.
11116         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11117         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11118         "bp-asm.h".
11119         (PARMS): Do not use macros from bp-asm.h.
11120         (strlen): Do not use BP_SYM.
11121         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11122         "bp-asm.h".
11123         (PARMS): Do not use macros from bp-asm.h.
11124         (S1): Likewise.
11125         (S2): Likewise.
11126         (SIZE): Likewise.
11127         (__mpn_add_n): Do not use BP_SYM.
11128         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11129         "bp-asm.h".
11130         (PARMS): Do not use macros from bp-asm.h.
11131         (S1): Likewise.
11132         (SIZE): Likewise.
11133         (__mpn_addmul_1): Do not use BP_SYM.
11134         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11135         weak_alias.
11136         (bzero): Likewise.
11137         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11138         "bp-asm.h".
11139         (PARMS): Do not use macros from bp-asm.h.
11140         (S): Likewise.
11141         (SIZE): Likewise.
11142         (__mpn_lshift): Do not use BP_SYM.
11143         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11144         "bp-asm.h".
11145         (PARMS): Do not use macros from bp-asm.h.
11146         (DEST): Likewise.
11147         (SRC): Likewise.
11148         (LEN): Likewise.
11149         (memcpy): Likewise.  Do not use BP_SYM.
11150         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11151         libc_hidden_def and weak_alias.
11152         (mempcpy): Do not use BP_SYM in weak_alias.
11153         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11154         "bp-asm.h".
11155         (PARMS): Do not use macros from bp-asm.h.
11156         (DEST): Likewise.
11157         (LEN): Likewise.
11158         [!BZERO_P] (CHR): Likewise.
11159         (memset): Likewise.  Do not use BP_SYM.
11160         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11161         "bp-asm.h".
11162         (PARMS): Do not use macros from bp-asm.h.
11163         (S1): Likewise.
11164         (SIZE): Likewise.
11165         (__mpn_mul_1): Do not use BP_SYM.
11166         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11167         "bp-asm.h".
11168         (PARMS): Do not use macros from bp-asm.h.
11169         (S): Likewise.
11170         (SIZE): Likewise.
11171         (__mpn_rshift): Do not use BP_SYM.
11172         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11173         "bp-asm.h".
11174         (PARMS): Do not use macros from bp-asm.h.
11175         (STR): Likewise.
11176         (CHR): Likewise.
11177         (strchr): Likewise.  Do not use BP_SYM.
11178         (index): Do not use BP_SYM in weak_alias.
11179         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11180         "bp-asm.h".
11181         (PARMS): Do not use macros from bp-asm.h.
11182         (DEST): Likewise.
11183         (SRC): Likewise.
11184         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
11185         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11186         "bp-asm.h".
11187         (PARMS): Do not use macros from bp-asm.h.
11188         (strlen): Do not use BP_SYM.
11189         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11190         "bp-asm.h".
11191         (PARMS): Do not use macros from bp-asm.h.
11192         (S1): Likewise.
11193         (S2): Likewise.
11194         (SIZE): Likewise.
11195         (__mpn_sub_n): Do not use BP_SYM.
11196         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11197         "bp-asm.h".
11198         (PARMS): Do not use macros from bp-asm.h.
11199         (S1): Likewise.
11200         (SIZE): Likewise.
11201         (__mpn_submul_1): Do not use BP_SYM.
11202         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11203         "bp-asm.h".
11204         (PARMS): Do not use macros from bp-asm.h.
11205         (S1): Likewise.
11206         (S2): Likewise.
11207         (SIZE): Likewise.
11208         (__mpn_add_n): Do not use BP_SYM.
11209         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11210         weak_alias.
11211         (bzero): Likewise.
11212         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11213         "bp-asm.h".
11214         (PARMS): Do not use macros from bp-asm.h.
11215         (BLK2): Likewise.
11216         (LEN): Likewise.
11217         (memcmp): Do not use BP_SYM.
11218         (bcmp): Do not use BP_SYM in weak_alias.
11219         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11220         "bp-asm.h".
11221         (PARMS): Do not use macros from bp-asm.h.
11222         (DEST): Likewise.
11223         (SRC): Likewise.
11224         (LEN): Likewise.
11225         (memcpy): Likewise.  Do not use BP_SYM.
11226         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11227         "bp-asm.h".
11228         (PARMS): Do not use macros from bp-asm.h.
11229         (DEST): Likewise.
11230         (SRC): Likewise.
11231         (LEN): Likewise.
11232         (memmove): Likewise.  Do not use BP_SYM.
11233         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11234         "bp-asm.h".
11235         (PARMS): Do not use macros from bp-asm.h.
11236         (DEST): Likewise.
11237         (SRC): Likewise.
11238         (LEN): Likewise.
11239         (__mempcpy): Likewise.  Do not use BP_SYM.
11240         (mempcpy): Do not use BP_SYM in weak_alias.
11241         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11242         "bp-asm.h".
11243         (PARMS): Do not use macros from bp-asm.h.
11244         (DEST): Likewise.
11245         (LEN): Likewise.
11246         [!BZERO_P] (CHR): Likewise.
11247         (memset): Likewise.  Do not use BP_SYM.
11248         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11249         "bp-asm.h".
11250         (PARMS): Do not use macros from bp-asm.h.
11251         (STR2): Likewise.
11252         (strcmp): Do not use BP_SYM.
11253         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11254         "bp-asm.h".
11255         (PARMS): Do not use macros from bp-asm.h.
11256         (STR): Likewise.
11257         (DELIM): Likewise.
11258         [USE_AS_STRTOK_R] (SAVE): Likewise.
11259         (FUNCTION): Likewise.  Do not use BP_SYM.
11260         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11261         aliases.
11262         (strtok_r): Likewise.
11263         (__GI___strtok_r): Likewise.
11264         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11265         (PARMS): Do not use macros from bp-asm.h.
11266         (S): Likewise.
11267         (SIZE): Likewise.
11268         (__mpn_lshift): Do not use BP_SYM.
11269         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11270         (PARMS): Do not use macros from bp-asm.h.
11271         (STR): Likewise.
11272         (CHR): Likewise.
11273         (__memchr): Do not use BP_SYM.
11274         (memchr): Do not use BP_SYM in weak_alias.
11275         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11276         (PARMS): Do not use macros from bp-asm.h.
11277         (BLK2): Likewise.
11278         (LEN): Likewise.
11279         (memcmp): Do not use BP_SYM.
11280         (bcmp): Do not use BP_SYM in weak_alias.
11281         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11282         (PARMS): Do not use macros from bp-asm.h.
11283         (S1): Likewise.
11284         (SIZE): Likewise.
11285         (__mpn_mul_1): Do not use BP_SYM.
11286         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11287         "bp-asm.h".
11288         (PARMS): Do not use macros from bp-asm.h.
11289         (STR): Likewise.
11290         (CHR): Likewise.
11291         (__rawmemchr): Do not use BP_SYM.
11292         (rawmemchr): Do not use BP_SYM in weak_alias.
11293         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11294         (PARMS): Do not use macros from bp-asm.h.
11295         (S): Likewise.
11296         (SIZE): Likewise.
11297         (__mpn_rshift): Do not use BP_SYM.
11298         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11299         (PARMS): Do not use macros from bp-asm.h.
11300         (SIGMSK): Likewise.
11301         (__sigsetjmp): Likewise.  Do not use BP_SYM.
11302         * sysdeps/i386/start.S: Do not include "bp-sym.h".
11303         (_start): Do not use BP_SYM.
11304         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11305         (PARMS): Do not use macros from bp-asm.h.
11306         (DEST): Likewise.
11307         (SRC): Likewise.
11308         (__stpcpy): Likewise.  Do not use BP_SYM.
11309         (stpcpy): Do not use BP_SYM in weak_alias.
11310         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11311         "bp-asm.h".
11312         (PARMS): Do not use macros from bp-asm.h.
11313         (DEST): Likewise.
11314         (SRC): Likewise.
11315         (LEN): Likewise.
11316         (__stpncpy): Likewise.  Do not use BP_SYM.
11317         (stpncpy): Do not use BP_SYM in weak_alias.
11318         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11319         (PARMS): Do not use macros from bp-asm.h.
11320         (STR): Likewise.
11321         (CHR): Likewise.
11322         (strchr): Likewise.  Do not use BP_SYM.
11323         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11324         "bp-asm.h".
11325         (PARMS): Do not use macros from bp-asm.h.
11326         (STR): Likewise.
11327         (CHR): Likewise.
11328         (__strchrnul): Likewise.  Do not use BP_SYM.
11329         (strchrnul): Do not use BP_SYM in weak_alias.
11330         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11331         "bp-asm.h".
11332         (PARMS): Do not use macros from bp-asm.h.
11333         (STOP): Likewise.
11334         (strcspn): Do not use BP_SYM.
11335         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11336         "bp-asm.h".
11337         (PARMS): Do not use macros from bp-asm.h.
11338         (STR): Likewise.
11339         (STOP): Likewise.
11340         (strpbrk): Likewise.  Do not use BP_SYM.
11341         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11342         "bp-asm.h".
11343         (PARMS): Do not use macros from bp-asm.h.
11344         (STR): Likewise.
11345         (CHR): Likewise.
11346         (strrchr): Likewise.  Do not use BP_SYM.
11347         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11348         (PARMS): Do not use macros from bp-asm.h.
11349         (SKIP): Likewise.
11350         (strspn): Do not use BP_SYM.
11351         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11352         (PARMS): Do not use macros from bp-asm.h.
11353         (STR): Likewise.
11354         (DELIM): Likewise.
11355         (SAVE): Likewise.
11356         (FUNCTION): Likewise.  Do not use BP_SYM.
11357         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11358         aliases.
11359         (strtok_r): Likewise.
11360         (__GI___strtok_r): Likewise.
11361         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11362         (PARMS): Do not use macros from bp-asm.h.
11363         (S1): Likewise.
11364         (S2): Likewise.
11365         (SIZE): Likewise.
11366         (__mpn_sub_n): Do not use BP_SYM.
11367         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11368         "bp-asm.h".
11369         (PARMS): Do not use macros from bp-asm.h.
11370         (S1): Likewise.
11371         (SIZE): Likewise.
11372         (__mpn_submul_1): Do not use BP_SYM.
11373         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11374         <bp-sym.h>.
11375         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11376         and <bp-asm.h>.
11377         (PARMS): Do not use macros from bp-asm.h.
11378         (FLAGS): Likewise.
11379         (PTID): Likewise.
11380         (TLS): Likewise.
11381         (CTID): Likewise.
11382         (__clone): Do not use BP_SYM.
11383         (clone): Do not use BP_SYM in weak_alias.
11384         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11385         and <bp-asm.h>.
11386         (PARMS): Do not use macros from bp-asm.h.
11387         (LEN): Likewise.
11388         (__mmap64): Do not use BP_SYM.
11389         (mmap64): Do not use BP_SYM in weak_alias.
11390         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11391         <bp-sym.h> and <bp-asm.h>.
11392         (PARMS): Do not use macros from bp-asm.h.
11393         (__posix_fadvise64_l64): Do not use BP_SYM.
11394         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11395         (PARMS): Do not use macros from bp-asm.h.
11396         (NSOPS): Likewise.
11397         (semtimedop): Do not use BP_SYM.
11398         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11399         and <bp-asm.h>.
11401 2013-02-21  Allan McRae  <allan@archlinux.org>
11403         * manual/message.texi (Charset conversion in gettext):
11404         Move @end statement to beginning of line.
11406 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11409         static.
11410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11411         Likewise.
11413         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11414         (denorm): Likewise.
11415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11418 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11420         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11421         tail-call to the resolved function if pltexit isn't needed.
11423 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11426         or Y being zero as being unlikely.
11427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11428         Likewise.
11430 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11432         * manual/nss.texi (System Databases and Name Service Switch):
11433         Remove frobnicate @pxref.
11435 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11437         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11438         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11440 2013-02-20  Petr Machata  <pmachata@redhat.com>
11442         * elf/elf.h (R_ARM_TARGET1): New macro.
11443         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11444         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11445         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11446         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11447         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11448         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11449         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11450         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11451         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11452         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11453         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11454         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11455         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11456         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11457         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11458         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11459         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11460         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11461         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11462         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11463         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11464         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11465         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11466         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11467         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11468         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11469         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11470         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11471         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11472         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11473         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11474         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11475         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11476         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11477         (R_ARM_THM_GOT_BREL12): Likewise.
11478         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11479         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11480         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11481         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11482         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11483         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11484         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11485         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11486         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11488 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11490         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11491         __attribute_used__ to __attribute__ ((unused)).
11493 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11495         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11496         powerpc mpa.c.
11497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11498         comment formatting.
11499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11501 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11503         [BZ #13550]
11504         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11505         Remove macro.
11506         (ENTER): Remove both macro definitions.
11507         (LEAVE): Likewise.
11508         (CHECK_BOUNDS_LOW): Likewise.
11509         (CHECK_BOUNDS_HIGH): Likewise.
11510         (CHECK_BOUNDS_BOTH): Likewise.
11511         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11512         (RETURN_BOUNDED_POINTER): Likewise.
11513         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11514         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11515         (POP_ERRNO_LOCATION_RETURN): Likewise.
11516         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11517         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11518         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11519         macros.
11520         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11521         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11522         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11523         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11524         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11525         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11526         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11527         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11528         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11529         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11530         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11531         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11532         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11533         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11534         removed macros.
11535         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11536         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11537         macros.
11538         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11539         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11540         * sysdeps/i386/i586/memset.S (memset): Likewise.
11541         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11542         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11543         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11544         macros.
11545         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11546         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11547         Change uses of L(2) to L(out).
11548         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11549         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11550         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11551         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11552         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11553         removed macros.
11554         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11555         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11556         macros.
11557         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11558         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11559         (RETURN): Do not use macro LEAVE.
11560         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11561         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11562         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11563         * sysdeps/i386/i686/memset.S (memset): Likewise.
11564         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11565         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11566         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11567         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11568         Likewise.
11569         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11570         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11571         L(1_2) and L(1_3) into L(1).
11572         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11573         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11574         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11575         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11576         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11577         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11578         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11579         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11580         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11581         macros.
11582         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11583         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11584         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11585         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11586         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11587         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11588         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11589         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11590         * sysdeps/i386/strcspn.S (strcspn): Likewise.
11591         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11592         * sysdeps/i386/strrchr.S (strrchr): Likewise.
11593         * sysdeps/i386/strspn.S (strspn): Likewise.
11594         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11595         conditional code.
11596         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11597         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11598         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11599         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
11600         L(1_3) into L(1_1).
11601         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11602         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11603         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11604         macros.
11605         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11607 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
11609         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11610         macro.
11612 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11614         * math/atest-exp.c (exp_mpn): Remove ROUND.
11615         * math/atest-exp2.c (exp_mpn): Likewise.
11616         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11618         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11619         * stdlib/tst-tls-atexit-lib.c: Likewise.
11620         * stdlib/tst-tls-atexit.c: Likewise.
11622 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11624         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11625         and __attribute_alloc_size__.
11627 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11629         * include/programs/xmalloc.h: Change __attribute_alloc_size to
11630         __attribute_alloc_size__.
11631         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11632         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11634 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11636         * include/programs/xmalloc.h: New file.
11637         * catgets/gencat.c: Include it.
11638         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11639         * elf/pldd.c: Likewise.
11640         * iconv/iconv_charmap.c: Likewise.
11641         * iconv/iconvconfig.c: Likewise.
11642         * iconv/strtab.c: Likewise.
11643         * locale/programs/locale.c: Likewise.
11644         * locale/programs/localedef.h: Likewise.
11645         * locale/programs/simple-hash.c: Likewise.
11646         * nscd/nscd.h: Likewise.
11647         * nss/makedb.c: Likewise.
11648         * sysdeps/generic/ldconfig.h: Likewise.
11650 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11652         * Versions.def: Add GLIBC_2.18.
11653         * include/link.h (struct link_map): New member l_tls_dtor_count.
11654         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11655         (__call_tls_dtors): Likewise.
11656         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11657         __cxa_thread_atexit_impl.
11658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11659         Likewise.
11660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11661         Likewise.
11662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11663         Likewise.
11664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11665         Likewise.
11666         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11668         Likewise.
11669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11670         Likewise.
11671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11673         Likewise.
11674         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11675         (tests): Add test case tst-tls-atexit.
11676         (modules-names): Add shared library for tst-tls-atexit.
11677         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11678         (GLIBC_PRIVATE): Add __call_tls_dtors.
11679         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11680         for libstdc++.
11681         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11682         * stdlib/tst-tls-atexit.c: New test case.
11683         * stdlib/tst-tls-atexit-lib.c: New test case.
11685         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11687         * elf/Versions (ld): Add _dl_find_dso_for_object.
11688         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11689         * elf/dl-open.c (_dl_find_dso_for_object): New function.
11690         (dl_open_worker): Use _dl_find_dso_for_object.
11691         * elf/dl-sym.c (do_sym): Likewise.
11692         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11694 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11696         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11697         Syntactic changes only.
11698         (_dl_runtime_profile): Do a tail-call to the resolved function.
11700 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
11702         [BZ #13550]
11703         * sysdeps/x86_64/bp-asm.h: Remove file.
11704         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11705         <bp-sym.h> and <bp-asm.h>.
11706         (__clone): Do not use BP_SYM.
11707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11708         <bp-sym.h> and <bp-asm.h>.
11709         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11710         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11711         "bp-asm.h".
11712         (_setjmp): Do not use BP_SYM.
11713         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11714         "bp-asm.h".
11715         (setjmp): Do not use BP_SYM.
11716         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11717         libc_hidden_def.
11718         (mempcpy): Do not use BP_SYM in weak_alias.
11719         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11720         "bp-asm.h".
11721         (strchr): Do not use BP_SYM.
11722         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11723         "bp-asm.h".
11724         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11725         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11726         (_start): Do not use BP_SYM.
11727         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11728         "bp-asm.h".
11729         (strcat): Do not use BP_SYM.
11730         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11731         "bp-asm.h".
11732         (STRCMP): Do not use BP_SYM.
11733         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11734         "bp-asm.h".
11735         (STRCPY): Do not use BP_SYM.
11736         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11737         "bp-asm.h".
11738         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11739         "bp-asm.h".
11740         (FUNCTION): Do not use BP_SYM.
11741         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11742         weak_alias.
11743         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11745 2013-02-17  Andreas Jaeger  <aj@suse.de>
11747         * time/Versions: Sort entries.
11748         * string/Versions: Likewise.
11749         * resolv/Versions: Likewise.
11750         * posix/Versions: Likewise.
11751         * iconv/Versions: Likewise.
11752         * elf/Versions: Likewise.
11753         * wcsmbs/Versions: Likewise.
11755 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11757         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11758         loop termination condition.
11760         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11761         variable to calculate EZ.
11762         (__sqr): Likewise.
11764         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11765         the lower precision input.
11767 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
11769         [BZ #13550]
11770         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11771         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11772         (run-via-rtld-prefix): Do not handle %-bp tests.
11773         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11774         (all-object-suffixes): Remove .ob.
11775         (bppfx): Remove variable.
11776         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11777         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11778         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11779         [$(build-bounded) = yes] (libtype.ob): Likewise.
11780         * Makerules (elide-routines.ob): Remove variable.
11781         (do-tests-clean): Do not handle *-bp.out.
11782         (common-mostlyclean): Do not handle *-bp and *-bp.out.
11783         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11784         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11785         (tests): Do not include $(tests-bp.out).
11786         (xtests): Do not include $(xtests-bp.out).
11787         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11788         [$(build-bounded) = yes] ($(addprefix
11789         $(objpfx),$(binaries-bounded))): Remove rule.
11790         ($(objpfx)%-bp.out): Remove rule.
11791         * config.make.in (build-bounded): Remove variable.
11792         * crypt/Makefile [$(build-bounded) = yes]
11793         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11794         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11795         append to variable.
11796         [$(build-bounded) = yes] (install-lib): Likewise.
11797         [$(build-bounded) = yes] (generated): Likewise.
11798         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11799         Remove rule.
11800         * intl/Makefile [$(build-bounded) = yes]
11801         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11802         * math/Makefile [$(build-bounded) = yes]
11803         ($(tests:%=$(objpfx)%-bp): Likewise.
11804         * misc/Makefile [$(build-bounded) = yes]
11805         ($(objpfx)tst-tsearch-bp): Likewise.
11806         * nptl/Makeconfig (bounded-thread-library): Remove variable.
11807         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11808         Remove dependency.
11809         * string/Makefile (o-objects.ob): Remove variable.
11810         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11811         (CFLAGS-.ob): Remove variable.
11812         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11813         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11814         both definitions of variable.
11815         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11816         (ASFLAGS-.ob): Remove variable.
11818 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
11820         [BZ #13550]
11821         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11822         Remove __BOUNDED_POINTERS__ from condition.
11823         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11824         * string/bits/string2.h [!__NO_STRING_INLINES &&
11825         !__BOUNDED_POINTERS__]: Likewise.
11826         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11827         Likewise.
11828         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11829         Remove conditional code.
11830         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11831         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11832         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11833         condition.
11835         [BZ #13550]
11836         * csu/libc-start.c: Do not include <bp-sym.h>.
11837         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11838         * elf/dl-open.c: Do not include <bp-sym.h>.
11839         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11840         * math/fegetenv.c: Do not include <bp-sym.h>.
11841         (fegetenv): Do not use BP_SYM in versioned symbols.
11842         * nptl/sysdeps/pthread/bits/libc-lockP.h
11843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11844         <bp-sym.h>.
11845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11846         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11848         (__pthread_mutex_destroy): Likewise.
11849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11850         (__pthread_mutex_lock): Likewise.
11851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11852         (__pthread_mutex_trylock): Likewise.
11853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11854         (__pthread_mutex_unlock): Likewise.
11855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11856         (__pthread_mutexattr_init): Likewise.
11857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11858         (__pthread_mutexattr_destroy): Likewise.
11859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11860         (__pthread_mutexattr_settype): Likewise.
11861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11862         (__pthread_rwlock_init): Likewise.
11863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11864         (__pthread_rwlock_destroy): Likewise.
11865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11866         (__pthread_rwlock_rdlock): Likewise.
11867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11868         (__pthread_rwlock_tryrdlock): Likewise.
11869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11870         (__pthread_rwlock_wrlock): Likewise.
11871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11872         (__pthread_rwlock_trywrlock): Likewise.
11873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11874         (__pthread_rwlock_unlock): Likewise.
11875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11876         (__pthread_key_create): Likewise.
11877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11878         (__pthread_setspecific): Likewise.
11879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11880         (__pthread_getspecific): Likewise.
11881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11882         Likewise.
11883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11884         (_pthread_cleanup_push_defer): Likewise.
11885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11886         (_pthread_cleanup_pop_restore): Likewise.
11887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11888         (pthread_setcancelstate): Likewise.
11889         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11890         <bp-sym.h>.
11891         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11892         (memchr): Do not use BP_SYM in weak_alias.
11893         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11894         (fegetenv): Do not use BP_SYM in versioned symbols.
11895         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11896         (fesetenv): Do not use BP_SYM in versioned symbols.
11897         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11898         (feupdateenv): Do not use BP_SYM in versioned symbols.
11899         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11900         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11901         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11902         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11903         (open64): Do not use BP_SYM in weak_alias.
11904         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11905         (fegetenv): Do not use BP_SYM in versioned symbols.
11906         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11907         (fesetenv): Do not use BP_SYM in versioned symbols.
11908         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11909         (feupdateenv): Do not use BP_SYM in versioned symbols.
11910         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11911         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11912         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11913         (feraiseexcept): Do not use BP_SYM in versioned symbols.
11914         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11915         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11916         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11917         <bp-sym.h>.
11918         (__libc_start_main): Do not use BP_SYM.
11920 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11923         redundant return line.
11924         (norm): Likewise.
11925         (denorm): Likewise.
11926         (dbl_mp): Likewise.
11927         (sub_magnitudes): Likewise.
11928         (__add): Likewise.
11929         (__sub): Likewise.
11930         (__mul): Likewise.
11931         (__inv): Likewise.
11932         (__dvd): Likewise.
11933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11934         (norm): Likewise.
11935         (denorm): Likewise.
11936         (dbl_mp): Likewise.
11937         (sub_magnitudes): Likewise.
11938         (__add): Likewise.
11939         (__sub): Likewise.
11940         (__mul): Likewise.
11941         (__inv): Likewise.
11942         (__dvd): Likewise.
11944         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11945         instead of __mul.
11946         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11947         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11948         (cc32): Likewise.
11950         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11951         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11953         of __mul for squares.
11954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11955         function
11956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11957         Likewise.
11958         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11959         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11961 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
11963         [BZ #13550]
11964         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11965         code.
11966         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11967         prototype or function definition.  Rename ubp_* variables and
11968         parameters.  Remove argv definitions conditional on
11969         [__BOUNDED_POINTERS__].
11970         * debug/backtrace.c (__backtrace): Do not use __unbounded.
11971         * elf/dl-runtime.c (_dl_fixup): Likewise.
11972         * include/set-hooks.h (RUN_HOOK): Likewise.
11973         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11974         definition.
11975         * string/strcpy.c (strcpy): Do not use __unbounded.
11976         * sysdeps/generic/frame.h (struct layout): Likewise.
11977         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11978         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11979         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11980         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11981         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11982         (__backtrace): Likewise.
11983         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11984         use __ptrvalue.
11985         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11986         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11987         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11988         Likewise.
11989         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11990         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11991         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11992         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11993         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11994         Do not use __unbounded.
11995         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11996         Rename __unboundedrlimits parameter to rlimits in prototype.
11997         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11998         Do not use __unbounded.
11999         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12000         not use __ptrvalue.
12001         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12002         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12003         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12004         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12005         __ptrvalue or __unbounded.
12006         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12007         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12008         use __unbounded.
12009         (__new_msgctl): Do not use __ptrvalue.
12010         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12011         __unbounded.
12012         (__libc_msgrcv): Do not use __ptrvalue.
12013         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12014         startup_info): Do not use __unbounded.
12015         (__libc_start_main): Likewise.  Rename ubp_* variables and
12016         parameters.  Remove argv definitions conditional on
12017         [__BOUNDED_POINTERS__].
12018         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12019         __ptrvalue.
12020         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12021         use __unbounded.
12022         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12023         or __ptrvalue.
12024         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12025         use __unbounded.
12026         (__new_shmctl): Do not use __ptrvalue.
12027         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12028         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12029         Likewise.
12030         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12032         (__libc_sigaction): Likewise.
12033         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12034         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12035         Likewise.
12036         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12038 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12040         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12042         * string/mempcpy.c: Implement by calling memcpy.
12044 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12046         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12049         evaluation.
12051         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12052         values in the mantissa.
12054         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12055         minimize writes to Z.
12056         (sub_magnitudes): Simplify code a bit.
12058 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12060         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12061         from the message.  The linker prefixes all warnings with that already.
12063 2013-02-12  Andreas Schwab  <schwab@suse.de>
12065         [BZ #15078]
12066         * posix/regexec.c (extend_buffers): Add parameter min_len.
12067         (check_matching): Pass minimum needed length.
12068         (clean_state_log_if_needed): Likewise.
12069         (get_subexp): Likewise.
12070         * posix/Makefile (tests): Add bug-regex34.
12071         (bug-regex34-ENV): Define.
12072         * posix/bug-regex34.c: New file.
12074         [BZ #11561]
12075         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12076         elements compare against the byte sequence of it, not its name.
12077         * posix/Makefile (tests): Add bug-regex35.
12078         (bug-regex35-ENV): Define.
12079         * posix/bug-regex35.c: New file.
12081 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12083         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12084         comment.
12085         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12086         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12087         (CHECK_EOL): Add undef.
12089 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12091         * bits/stdlib-bsearch.h: New file.
12092         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12093         * stdlib/stdlib.h: Likewise.
12095 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12097         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12098         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12099         declaration.
12100         * manual/search.texi (Array Search Function): Add missing const in
12101         lfind prototype.
12102         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12103         declaration to use rlim_t.
12104         (Basic Scheduling Functions): Remove erroneous const from
12105         sched_getparam prototype.  Remove erroneous * from
12106         sched_get_priority_max and sched_get_priority_min prototypes.
12107         (Resource Usage): Fix summary @comment on vtimes to refer to
12108         sys/vtimes.h rather than vtimes.h.
12109         Add missing *s in vtimes prototype.
12110         (Limits on Resources): Fix ulimit prototype to return long int.
12111         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12112         prototypes to use long int rather than double.
12113         (BSD Random): Fix initstate and setstate to use char *, not void *.
12114         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12115         prototype to make second argument 'struct aiocb64 *const[]'.
12116         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12117         (Status of AIO Operations): Remove erroneous const in aio_return and
12118         aio_return64 prototypes.
12119         (Synchronizing I/O): Fix sync prototype to return void.
12120         * manual/startup.texi (Suboptions): Remove an erroneous const in
12121         getsubopt prototype.
12122         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12123         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12124         use size_t rather than int.
12125         (Scanning All Users): Likewise for getpwent_r.
12126         (Setting Groups): Add missing const to setgroups prototype.
12127         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12128         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12129         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12130         'const void *' rather than 'const char *'.
12131         (Host Address Functions): Likewise for inet_ntop.
12132         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12133         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12134         ssize_t for return value.
12135         (Sending Data): Likewise for send, sendto, sendmsg.
12136         (Socket Option Functions): Add a missing const in setsockopt prototype.
12137         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12138         use wchar_t for the argument.
12139         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12140         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12141         take no arguments.
12142         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12143         double/float/long double for second argument.
12144         Fix return types of significand, significandf, significandl.
12145         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12146         argument in fchmod prototype.
12147         (File Owner): Use uid_t and gid_t in fchown prototype.
12148         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12149         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12150         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12151         use 'const struct dirent **' as argument types to CMP function pointer
12152         argument.
12153         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12154         (File Times): Fix summary magic @comment for struct utimbuf and utime
12155         to refer to utime.h, not time.h.
12156         * manual/string.texi (Argz Functions): Add missing const in
12157         argz_extract and argz_next prototypes.
12158         (Finding Tokens in a String): Likewise for basename.
12159         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12160         (Copying and Concatenation): Fix typo in wmemmove prototype.
12161         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12162         (Signal Stack): Remove erroneous const in sigstack prototype.
12163         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12164         prototype.
12165         (Simple Calendar Time): Likewise for stime.
12166         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12167         prototype.
12168         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12169         say sys/sysctl.h instead.
12170         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12171         and vsyslog prototypes.
12173 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12175         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12176         Remove.
12178 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12180         * misc/sys/mman.h: Fix typo in mremap comment.
12182 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12184         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12185         the '\0' terminator.
12187 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12189         [BZ #13550]
12190         * debug/segfault.c: Don't include <bp-checks.h>.
12191         * sysdeps/generic/bp-checks.h: Remove file.
12192         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12193         (__GETDENTS): Don't use CHECK_N.
12194         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12195         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12196         (__getgroups): Don't use CHECK_N.
12197         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12198         (setgroups): Don't use CHECK_N.
12199         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12200         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12201         (__libc_msgrcv): Don't use CHECK_N.
12202         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12203         (__libc_msgsnd): Don't use CHECK_N.
12204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12205         <bp-checks.h>.
12206         (__libc_pread): Don't use CHECK_N.
12207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12208         include <bp-checks.h>.
12209         (__libc_pread64): Don't use CHECK_N.
12210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12211         include <bp-checks.h>.
12212         (__libc_pwrite): Don't use CHECK_N.
12213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12214         include <bp-checks.h>.
12215         (__libc_pwrite64): Don't use CHECK_N.
12216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12217         <bp-checks.h>.
12218         (__libc_pread): Don't use CHECK_N.
12219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12220         include <bp-checks.h>.
12221         (__libc_pread64): Don't use CHECK_N.
12222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12223         include <bp-checks.h>.
12224         (__libc_pwrite): Don't use CHECK_N.
12225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12226         include <bp-checks.h>.
12227         (__libc_pwrite64): Don't use CHECK_N.
12228         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12229         (do_pread): Don't use CHECK_N.
12230         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12231         (do_pread64): Don't use CHECK_N.
12232         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12233         (do_pwrite): Don't use CHECK_N.
12234         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12235         (do_pwrite64): Don't use CHECK_N.
12236         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12237         (__libc_readv): Don't use CHECK_N.
12238         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12239         (semop): Don't use CHECK_N.
12240         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12241         <bp-checks.h>.
12242         (semtimedop): Don't use CHECK_N.
12243         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12244         (__libc_pread): Don't use CHECK_N.
12245         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12246         <bp-checks.h>.
12247         (__libc_pread64): Don't use CHECK_N.
12248         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12249         <bp-checks.h>.
12250         (__libc_pwrite): Don't use CHECK_N.
12251         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12252         <bp-checks.h>.
12253         (__libc_pwrite64): Don't use CHECK_N.
12254         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12255         <bp-checks.h>.
12256         (__libc_msgrcv): Don't use CHECK_N.
12257         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12258         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
12259         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12260         (__libc_writev): Don't use CHECK_N.
12262 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12264         * string/strcpy.c: Removed unused variable.
12266         * Makeconfig (+sysdep-includes): Define with := rather than =.
12267         Use an existing include/ subdir of each sysdeps dir before it.
12269 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12271         * nscd/connection.c (register_traced_file): Comment function.
12272         [HAVE_INOTIFY] (union __inev): Define.
12273         [HAVE_INOTIFY] (inotify_check_files): New function.
12274         [HAVE_INOTIFY] (clear_db_cache): Likewise.
12275         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12276         clear_db_cache.
12277         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12279 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12281         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12282         loaded if not already and that a failure is permanent.
12284 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12286         [BZ #15006]
12287         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12288         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12290 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12292         [BZ #13550]
12293         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12294         (CHECK_1_NULL_OK): Likewise.
12295         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12296         (__fxstat): Do not use CHECK_1.
12297         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12298         <bp-checks.h>.
12299         (___fxstat64): Do not use CHECK_1.
12300         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12301         <bp-checks.h>.
12302         (__fxstatat): Do not use CHECK_1.
12303         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12304         <bp-checks.h>.
12305         (__fxstatat64): Do not use CHECK_1.
12306         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12307         <bp-checks.h>.
12308         (__fxstat): Do not use CHECK_1.
12309         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12310         <bp-checks.h>.
12311         (__fxstatat): Do not use CHECK_1.
12312         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12313         <bp-checks.h>.
12314         (__getresgid): Do not use CHECK_1.
12315         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12316         <bp-checks.h>.
12317         (__getresuid): Do not use CHECK_1.
12318         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12319         <bp-checks.h>.
12320         (__lxstat): Do not use CHECK_1.
12321         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12322         <bp-checks.h>.
12323         (__old_msgctl): Do not use CHECK_1.
12324         (__new_msgctl): Likewise.
12325         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12326         <bp-checks.h>.
12327         (__new_setrlimit): Do not use CHECK_1.
12328         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12329         <bp-checks.h>.
12330         (__old_shmctl): Do not use CHECK_1.
12331         (__new_shmctl): Likewise.
12332         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12333         <bp-checks.h>.
12334         (__xstat): Do not use CHECK_1.
12335         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12336         (__lxstat): Do not use CHECK_1.
12337         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12338         <bp-checks.h>.
12339         (___lxstat64): Do not use CHECK_1.
12340         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12341         (__old_msgctl): Do not use CHECK_1.
12342         (__new_msgctl): Likewise.
12343         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12344         <bp-checks.h>.
12345         (__gettimeofday): Do not use CHECK_1.
12346         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12347         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12348         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12349         <bp-checks.h>.
12350         (__gettimeofday): Do not use CHECK_1.
12351         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12352         (__old_shmctl): Do not use CHECK_1_NULL_OK.
12353         (__new_shmctl): Do not use CHECK_1.
12354         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12355         <bp-checks.h>.
12356         (do_sigtimedwait): Do not use CHECK_1.
12357         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12358         <bp-checks.h>.
12359         (do_sigwaitinfo): Do not use CHECK_1.
12360         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12361         <bp-checks.h>.
12362         (msgctl): Do not use CHECK_1.
12363         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12364         <bp-checks.h>.
12365         (shmctl): Do not use CHECK_1.
12366         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12367         (ustat): Do not use CHECK_1.
12368         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12369         <bp-checks.h>.
12370         (__fxstat): Do not use CHECK_1.
12371         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12372         <bp-checks.h>.
12373         (__fxstatat): Do not use CHECK_1.
12374         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12375         <bp-checks.h>.
12376         (__lxstat): Do not use CHECK_1.
12377         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12378         <bp-checks.h>.
12379         (__xstat): Do not use CHECK_1.
12380         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12381         (__xstat): Do not use CHECK_1.
12382         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12383         (___xstat64): Do not use CHECK_1.
12385         [BZ #13550]
12386         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12387         definitions.
12388         (CHECK_BOUNDS_HIGH): Likewise.
12389         * string/strcpy.c: Do not include <bp-checks.h>.
12390         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12392 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12394         * nscd/nscd-client.h (__nscd_drop_map_ref):
12395         Add __attribute__ ((unused)).
12396         * nis/nss-nisplus.h (niserr2nss): Likewise.
12398         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12399         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12401         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12402         Remove inline keyword.
12403         * include/rounding-mode.h (round_away): Likewise.
12404         * libio/wfileops.c (adjust_wide_data): Likewise.
12405         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12406         (__m128i_strloadu_tolower): Likewise.
12407         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12408         (__m128i_strloadu_tolower): Likewise.
12409         * time/mktime.c (ydhms_diff): Likewise.
12410         * locale/elem-hash.h (elem_hash): Likewise.
12411         * locale/setlocale.c (setdata): Likewise.
12412         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12413         (re_string_wchar_at): Likewise.
12414         (bitset_not, bitset_merge, bitset_mask): Likewise.
12415         [!(__GNUC__ > 3)] (inline): Remove macro.
12416         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12417         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12418         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12419         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12420         * string/memcmp.c (memcmp_bytes): Likewise.
12421         * locale/programs/locarchive.c (compute_hashval): Likewise.
12422         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12423         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12424         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12425         * nss/getent.c (print_rpc, print_protocols): Likewise.
12426         (print_passwd, print_group, print_aliases): Likewise.
12427         * nis/nss-nisplus.h (niserr2nss): Likewise.
12428         * nscd/connections.c (restart_p): Likewise.
12429         Change return type to bool.
12431 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12433         * Makeconfig (all-Depend-files): Add existing
12434         $(sorted-subdirs:=/Depend) files.
12435         (all-subdirs): Remove nss.
12436         * sysdeps/unix/inet/Subdirs: Add it here instead.
12437         * hesiod/Depend: New file.
12439         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12440         instead of calling alloca.
12442         * io/lseek.c (__lseek): Rename to __libc_lseek.
12443         Define __lseek as an alias.
12445         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12447 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12449         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12450         else clause and remove check for non-standard endianness.
12452 2013-02-04  David S. Miller  <davem@davemloft.net>
12454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12456 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12458         [BZ #13550]
12459         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12460         (__ubp_memchr): Remove prototype.
12461         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12462         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12463         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12464         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12465         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12466         Remove alias.
12467         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12468         (__ubp_memchr): Likewise.
12469         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12470         (__ubp_memchr): Likewise.
12471         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12472         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12473         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12474         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12475         CHECK_STRING.
12476         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12477         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12478         (__getcwd): Do not use CHECK_STRING.
12479         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12480         <bp-checks.h>.
12481         (__real_chown): Do not use CHECK_STRING.
12482         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12483         <bp-checks.h>.
12484         (fchownat): Do not use CHECK_STRING.
12485         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12486         CHECK_STRING.
12487         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12488         <bp-checks.h>.
12489         (__lchown): Do not use CHECK_STRING.
12490         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12491         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12492         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12493         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12495         include <bp-checks.h>.
12496         (truncate64): Do not use CHECK_STRING.
12497         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12498         <bp-checks.h>.
12499         (__real_chown): Do not use CHECK_STRING.
12500         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12501         <bp-checks.h>.
12502         (__lchown): Do not use CHECK_STRING.
12503         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12504         <bp-checks.h>.
12505         (__chown): Do not use CHECK_STRING.
12506         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12507         <bp-checks.h>.
12508         (truncate64): Do not use CHECK_STRING.
12509         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12510         Likewise.
12511         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12512         (__xmknod): Do not use CHECK_STRING.
12513         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12514         <bp-checks.h>.
12515         (__xmknodat): Do not use CHECK_STRING.
12516         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12517         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12519 2013-02-04  Andreas Schwab  <schwab@suse.de>
12521         [BZ #14142]
12522         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12523         * include/netdb.h: Likewise for h_errno.
12524         * elf/tst-stackguard1.c: Include <tls.h>.
12526 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12528         * elf/link.h (struct link_map): Extend the l_addr comment.
12529         * include/link.h (struct link_map): Likewise.
12531 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12533         [BZ #13550]
12534         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12535         (BOUNDED_1): Remove macro.
12536         * debug/backtrace.c: Don't include <bp-checks.h>.
12537         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12538         (__backtrace): Likewise.
12539         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12540         <bp-checks.h>.
12541         (__backtrace): Don't use BOUNDED_1.
12542         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12543         <bp-checks.h>.
12544         (__backtrace): Don't use BOUNDED_1.
12545         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12546         (__backtrace): Don't use BOUNDED_1.
12547         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12548         (shmat): Don't use BOUNDED_N.
12550 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12552         [BZ #13550]
12553         * sysdeps/generic/bp-start.h: Remove file.
12554         * csu/libc-start.c: Don't include <bp-start.h>.
12555         (LIBC_START_MAIN): Set up __environ directly instead of using
12556         INIT_ARGV_and_ENVIRON.
12557         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12558         <bp-start.h>.
12560         [BZ #13550]
12561         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12562         definitions.
12563         (CHECK_FCNTL): Likewise.
12564         (CHECK_N_PAGES): Likewise.
12566         [BZ #13550]
12567         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12568         definitions.
12569         (CHECK_SIGSET_NULL_OK): Likewise.
12570         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12571         <bp-checks.h>.
12572         (sigpending): Don't use CHECK_SIGSET.
12573         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12574         <bp-checks.h>.
12575         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12576         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12577         <bp-checks.h>.
12578         (do_sigsuspend): Don't use CHECK_SIGSET.
12579         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12580         use CHECK_SIGSET.
12581         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12582         (do_sigwait): Don't use CHECK_SIGSET.
12583         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12584         use CHECK_SIGSET.
12585         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12586         include <bp-checks.h>.
12587         (sigpending): Don't use CHECK_SIGSET.
12588         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12589         include <bp-checks.h>.
12590         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12591         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12592         <bp-checks.h>.
12593         (sigpending): Don't use CHECK_SIGSET.
12594         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12595         <bp-checks.h>.
12596         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12598         [BZ #13550]
12599         * sysdeps/generic/bp-semctl.h: Remove file.
12600         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12601         <bp-checks.h> and <bp-semctl.h>.
12602         (__old_semctl): Don't use CHECK_SEMCTL.
12603         (__new_semctl): Likewise.
12604         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12605         and <bp-semctl.h>.
12606         (__old_semctl): Don't use CHECK_SEMCTL.
12607         (__new_semctl): Likewise.
12608         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12609         <bp-checks.h> and <bp-semctl.h>.
12610         (__old_semctl): Don't use CHECK_SEMCTL.
12611         (__new_semctl): Likewise.
12612         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12613         <bp-checks.h> and <bp-semctl.h>.
12614         (semctl): Don't use CHECK_SEMCTL.
12616         [BZ #13550]
12617         * Makerules (elide-bp-thunks): Remove variable.
12618         (elide-routines.oS): Don't use $(elide-bp-thunks).
12619         (elide-routines.os): Likewise.
12620         (elide-routines.o): Likewise.
12621         (elide-routines.op): Likewise.
12622         (elide-routines.og): Likewise.
12623         (objects): Don't use $(bp-thunks).
12624         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12625         include.
12626         (common-generated): Do not add s-proto-bp.d.
12627         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12628         (int): Likewise.
12629         (typ): Likewise.
12630         Do not generate makefile rules for bounded-pointer thunks.
12631         * sysdeps/generic/bp-thunks.h: Remove file.
12632         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12633         * sysdeps/unix/s-proto-bp.S: Likewise.
12635         [BZ #15062]
12636         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12637         parts of result separately when argument is not close to line from
12638         -i to i and one part of argument is small.
12639         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12640         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12641         * math/libm-test.inc (cacos_test): Add more tests.
12642         (casin_test): Likewise.
12643         (casinh_test): Likewise.
12644         * sysdeps/i386/fpu/libm-test-ulps: Update.
12645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12647 2013-01-31  David S. Miller  <davem@davemloft.net>
12649         * po/de.po: Update from translation team.
12651 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
12653         * time/tzfile.c: Include stdint.h for SIZE_MAX.
12655 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
12657         * configure.in (_AC_PROG_CC_C89): New definition.
12658         * configure: Regenerate.
12660         * configure.in (AC_PROG_CPP): New definition.
12661         * configure: Regenerate.
12663 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12665         * debug/tst-backtrace.h: New file.
12666         * debug/tst-backtrace2.c: Include tst-backtrace.h.
12667         (ret): Remove variable.
12668         (x): Likewise.
12669         (FAIL): Remove macro.
12670         (NO_INLINE): Likewise.
12671         (fn1): Use match function instead of strstr.
12672         * debug/tst-backtrace3.c: Include tst-backtrace.h.
12673         (ret): Remove variable.
12674         (x): Likewise.
12675         (FAIL): Remove macro.
12676         (NO_INLINE): Likewise.
12677         (fn): Use match function instead of strstr.
12678         * debug/tst-backtrace4.c: Include tst-backtrace.h.
12679         (ret): Remove variable.
12680         (x): Likewise.
12681         (FAIL): Remove macro.
12682         (NO_INLINE): Likewise.
12683         (handle_signal): Use match function instead of strstr.
12684         * debug/tst-backtrace5.c: Include tst-backtrace.h.
12685         (ret): Remove variable.
12686         (x): Likewise.
12687         (FAIL): Remove macro.
12688         (NO_INLINE): Likewise.
12689         (handle_signal): Use match function instead of strstr.
12691 2013-01-23  Roland McGrath  <roland@hack.frob.com>
12693         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12695 2013-01-23  David S. Miller  <davem@davemloft.net>
12697         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12698         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12699         argument of CAS if possible.
12700         * sysdeps/sparc/sparc64/bits/atomic.h
12701         (__arch_compare_and_exchange_val_32_acq): Likewise.
12702         (__arch_compare_and_exchange_val_64_acq): Likewise.
12704 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
12706         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12707         * sysdeps/posix/ulimit.c: ... this.
12708         Include <limits.h>.
12709         * sysdeps/unix/bsd/ulimit.c: Remove file.
12711 2013-01-23  Adam Conrad  <adconrad@0c3.net>
12713         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12714         (LDFLAGS-tst-array5): Likewise.
12716 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12718         [BZ #15036]
12719         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12720         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12721         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12722         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12724 2013-01-21  David S. Miller  <davem@davemloft.net>
12726         * sysdeps/sparc/backtrace.c: New file.
12727         * sysdeps/sparc/sparc32/backtrace.h: New file.
12728         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12729         * sysdeps/sparc/sparc64/backtrace.h: New file.
12730         * sysdeps/sparc/sparc64/backtrace.c: Delete.
12731         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12732         -funwind-tables.
12734 2013-01-21  Andreas Schwab  <schwab@suse.de>
12736         [BZ #15020]
12737         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12738         closed its stdout.
12740 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
12742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12743         "mpa2.h".
12744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12746 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
12747             Mark Mitchell  <mark@codesourcery.com>
12748             Tom de Vries  <tom@codesourcery.com>
12749             Paul Pluzhnikov  <ppluzhnikov@google.com>
12751         * debug/tst-backtrace2.c: New file.
12752         * debug/tst-backtrace3.c: Likewise.
12753         * debug/tst-backtrace4.c: Likewise.
12754         * debug/tst-backtrace5.c: Likewise.
12755         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12756         (CFLAGS-tst-backtrace3.c): Likewise.
12757         (CFLAGS-tst-backtrace4.c): Likewise.
12758         (CFLAGS-tst-backtrace5.c): Likewise.
12759         (LDFLAGS-tst-backtrace2): Likewise.
12760         (LDFLAGS-tst-backtrace3): Likewise.
12761         (LDFLAGS-tst-backtrace4): Likewise.
12762         (LDFLAGS-tst-backtrace5): Likewise.
12763         (tests): Add new tests tst-backtrace2, tst-backtrace3,
12764         tst-backtrace4 and tst-backtrace5.
12766 2013-01-18  Anton Blanchard  <anton@samba.org>
12767             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12769         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12770         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12771         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12772         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12774         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12775         "+r" and remove output regs list as redundant.  Add explicit inline
12776         asm to specify register of return val to work around compiler codegen
12777         bug.  Remove (int) cast on return value.  Add return type parameter to
12778         use in macro so that this macro does not truncate return value for
12779         64-bit values.
12780         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12781         pass to INTERNAL_VSYSCALL_NCS.
12782         (INLINE_VSYSCALL): Add 'long int' as return type to
12783         INTERNAL_VSYSCALL_NCS macro invocation.
12784         (INTERNAL_VSYSCALL): Add 'long int' as return type to
12785         INTERNAL_VSYSCALL_NCS macro invocation.
12786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12788 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12790         [BZ #14496]
12791         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12792         Fix application of SIMD FP exception mask.
12794         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12795         mp_no from a power of two.
12796         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12797         __mpexp_twomm1.  Use __pow_mp.
12799         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12800         multiplication.
12802 2013-01-17  David S. Miller  <davem@davemloft.net>
12804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12806 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12808         [BZ #15023]
12809         * include/complex.h: Condition contents on [!_COMPLEX_H].
12810         (__kernel_casinhf): New prototype.
12811         (__kernel_casinh): Likewise.
12812         (__kernel_casinhl): Likewise.
12813         * math/Makefile (libm_calls): Add k_casinh.
12814         * math/k_casinh.c: New file.
12815         * math/k_casinhf.c: Likewise.
12816         * math/k_casinhl.c: Likewise.
12817         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12818         finite nonzero arguments.
12819         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12820         finite nonzero arguments.
12821         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12822         finite nonzero arguments.
12823         * math/s_casinh.c: Do not include <float.h>.
12824         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12825         * math/s_casinhf.c: Do not include <float.h>.
12826         (__casinhf): Move code for finite nonzero arguments to
12827         k_casinhf.c.
12828         * math/s_casinhl.c: Do not include <float.h>.
12829         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12830         redefine.
12831         (__casinhl): Move code for finite nonzero arguments to
12832         k_casinhl.c.
12833         * math/libm-test.inc (cacos_test): Add more tests.
12834         * sysdeps/i386/fpu/libm-test-ulps: Update.
12835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12837 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
12839         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12840         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12841         [!HAVE_MREMAP]: Remove [defined linux] case.
12842         * malloc/arena.c: Do not include <malloc-sysdep.h>.
12844 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12846         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12848 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
12850         * elf/elf.h (R_386_SIZE32): New relocation.
12851         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12852         R_386_SIZE32.
12853         (elf_machine_rela): Likewise.
12854         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12855         R_X86_64_SIZE64 and R_X86_64_SIZE32.
12857 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12859         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12860         (FP_FAST_FMA): Do not define.
12861         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12862         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12863         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12864         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12865         !_SOFT_FLOAT]: Likewise.
12866         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12867         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12868         value.
12869         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12870         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12871         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12872         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12873         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12874         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12875         file.
12877 2013-01-16  Andreas Schwab  <schwab@suse.de>
12879         [BZ #14327]
12880         * include/stdlib.h (__mktemp): Add declaration.
12881         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12882         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12884 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12886         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12887         definitions.
12888         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12889         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12890         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12891         definitions here.
12892         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12893         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12894         definitions.
12895         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12896         and ONE.
12897         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12898         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12899         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12900         definitions.
12901         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12902         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12903         definitions.
12904         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12906         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12908 2013-01-15  David S. Miller  <davem@davemloft.net>
12910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12911         trunc{,f} to libm-sysdep_routes.
12912         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12914         file.
12915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12917         file.
12918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12919         file.
12920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12922         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12923         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12924         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12925         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12926         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12927         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12930         nearbyint{,f} to libm-sysdep_routes.
12931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12933         New file.
12934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12935         file.
12936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12937         New file.
12938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12939         file.
12940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12942         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12943         file.
12944         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12945         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12946         file.
12947         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12948         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12949         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12951         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12952         libc_feholdexcept and libc_fesetenv.
12954 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
12956         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12958 2013-01-14  David S. Miller  <davem@davemloft.net>
12960         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12961         (SPARC_ASM_VIS2_IFUNC): Likewise.
12962         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12964         use of 'siam' instruction.
12965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12966         Likewise.
12967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12968         Likewise.
12969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12970         Likewise.
12971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12976         file.
12977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12978         file.
12979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12980         file.
12981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12982         file.
12983         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12988         new VIS2 routines.
12989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12992         Likewise.
12993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12996         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12998         routines to libm-sysdep_routines.
12999         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13002         fdim/fdimf to libm-sysdep_routines.
13003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13004         file.
13005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13007         file.
13008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13011         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13012         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13013         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13014         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13016 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13018         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13019         to optimize copies.
13021         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13026         local variable MPTWO.
13027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13028         Likewise.
13030 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13032         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13033         GLOB_NOESCAPE.
13035 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13037         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13039 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13041         * manual/pattern.texi (glob_t): Document gl_flags.
13042         (glob64_t): Likewise.
13044 2013-01-11  David S. Miller  <davem@davemloft.net>
13046         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13047         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13048         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13049         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13050         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13051         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13052         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13053         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13054         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13055         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13056         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13057         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13058         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13060         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13061         sparc V9 rather than using V8 code.
13062         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13063         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13065         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13066         Move to...
13067         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13068         Here.
13070 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13072         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13073         not in the main loop.
13074         * configure: Regenerated.
13076 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13078         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13079         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13080         to just #else.
13081         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13082         [!__GLIBC_HAVE_LONG_LONG] case.
13083         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13084         condition to just #else.
13085         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13086         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13087         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13088         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13089         unconditional.
13090         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13091         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13092         #elif condition to just #else.
13093         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13094         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13095         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13096         #elif condition to just #else.
13098 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13100         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13101         (EF_MIPS_ARCH_64): Fix value.
13102         (EF_MIPS_ARCH_32R2): New.
13103         (EF_MIPS_ARCH_64R2): New.
13105 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13107         * Makeconfig (+link-pie-before-libc): New.
13108         (+link-pie-after-libc): Likewise.
13109         (+link-pie-tests): Likewise.
13110         (+link-pie): Rewritten.
13111         (link-before-libc): Remove $(config-LDFLAGS).
13112         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13113         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13114         (config-LDFLAGS): Renamed to ...
13115         (rtld-LDFLAGS): This.
13116         (rtld-tests-LDFLAGS): New macro.
13117         (link-libc-rpath-link): Likewise.
13118         (link-libc-tests-rpath-link): Likewise.
13119         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13120         (link-libc): Prepand $(link-libc-rpath-link).
13121         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13122         (test-program-prefix): New macro.
13123         (test-via-rtld-prefix): Likewise.
13124         (test-program-cmd): Likewise.
13125         (host-test-program-cmd): Likewise.
13126         * Makefile ($(common-objpfx)testrun.sh): Replace
13127         $(run-program-prefix) with $(test-program-prefix).
13128         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13129         $(rtld-LDFLAGS).
13130         ($(common-objpfx)shlib.lds): Likewise.
13131         (build-module-helper): Likewise.
13132         ($(common-objpfx)format.lds): Likewise.
13133         * Rules (binaries-pie-tests): New.
13134         (binaries-pie-notests): Likewise.
13135         (binaries-pie): Rewritten.
13136         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13137         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13138         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13139         (make-test-out): Replace $(host-built-program-cmd) with
13140         $(host-test-program-cmd).
13141         * config.make.in (build-hardcoded-path-in-tests): New variable.
13142         * configure.in (--enable-hardcoded-path-in-tests): New configure
13143         option.
13144         (hardcoded_path_in_tests): New AC_SUBST.
13145         * configure: Regenerated.
13146         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13147         $(built-program-cmd) with $(test-program-cmd).
13148         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13149         (test_program_cmd): This.
13150         * elf/Makefile ($(objpfx)order.out): Run test with
13151         $(test-program-prefix).
13152         ($(objpfx)order2.out): Likewise.
13153         ($(objpfx)tst-initorder.out): Likewise.
13154         ($(objpfx)tst-initorder2.out): Likewise.
13155         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13156         $(test-program-cmd).
13157         ($(objpfx)tst-array1-static.out): Likewise.
13158         ($(objpfx)tst-array2.out): Likewise.
13159         ($(objpfx)tst-array3.out): Likewise.
13160         ($(objpfx)tst-array4.out): Likewise.
13161         ($(objpfx)tst-array5.out): Likewise.
13162         ($(objpfx)tst-array5-static.out): Likewise.
13163         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13164         $(test-program-cmd).
13165         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13166         $(run-program-prefix) with $(test-program-prefix).
13167         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13168         (test_program_prefix): This.
13169         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13170         $(run-program-prefix) with $(test-program-prefix).
13171         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13172         (test_program_prefix): This.
13173         * iconvdata/tst-tables.sh: Likewise.
13174         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13175         $(run-program-prefix) with $(test-program-prefix).
13176         ($(objpfx)tst-translit.out): Likewise.
13177         ($(objpfx)tst-gettext2.out): Likewise.
13178         ($(objpfx)tst-gettext4.out): Likewise.
13179         ($(objpfx)tst-gettext6.out): Likewise.
13180         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13181         (test_program_prefix): This.
13182         * intl/tst-gettext2.sh: Likewise.
13183         * intl/tst-gettext4.sh  Likewise.
13184         * intl/tst-gettext6.sh: Likewise.
13185         * intl/tst-translit.sh: Likewise.
13186         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13187         with $(test-program-cmd).
13188         * libio/Makefile ($(objpfx)test-freopen.out): Replace
13189         $(run-program-prefix) with $(test-program-prefix).
13190         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13191         (test_program_prefix): This.
13192         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13193         $(run-program-prefix) with $(test-program-prefix).
13194         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13195         (test_program_prefix): This.
13196         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13197         * posix/Makefile ($(objpfx)globtest.out): Replace
13198         $(run-via-rtld-prefix) and $(test-wrapper) with
13199         $(test-program-prefix) and $(test-via-rtld-prefix).
13200         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13201         $(test-program-prefix).
13202         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13203         $(host-test-program-cmd).
13204         (tst-spawn-ARGS): Likewise.
13205         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13206         $(test-program-prefix).
13207         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13208         (test_via_rtld_prefix): This.
13209         (test_wrapper): Renamed to ...
13210         (test_program_prefix): This.
13211         (run_program_prefix): Replaced by test_program_prefix.
13212         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13213         (test_program_prefix): This.
13214         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13215         with $(host-test-program-cmd).
13216         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13217         $(run-program-prefix) with $(test-program-prefix).
13218         ($(objpfx)tst-printf.out): Likewise.
13219         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13220         $(test-program-cmd).
13221         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13222         (test_program_prefix): This.
13223         * stdio-common/tst-unbputc.sh: Likewise.
13224         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13225         $(run-program-prefix) with $(test-program-prefix).
13226         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13227         (test_program_prefix): This.
13228         * string/Makefile ($(objpfx)tst-svc.out):  Replace
13229         $(built-program-cmd) with $(test-program-cmd).
13231 2013-01-11  Andreas Jaeger  <aj@suse.de>
13233         [BZ #15003]
13234         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13235         value. Sync with Linux 3.7.
13237 2013-01-10  David S. Miller  <davem@davemloft.net>
13239         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13240         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13241         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13243 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13245         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13246         never set.
13247         * configure: Regenerated.
13249 2013-01-10  David S. Miller  <davem@davemloft.net>
13251         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13252         sparc V9 rather than using V8 code.
13253         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13254         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13256 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13258         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13259         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13260         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13261         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13262         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13263         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13264         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13265         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13266         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13267         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13268         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13269         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13270         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13271         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13272         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13273         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13274         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13275         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13276         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13277         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13278         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13279         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13280         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13281         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13282         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13283         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13284         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13286 2013-01-10  David S. Miller  <davem@davemloft.net>
13288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13290 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13292         * posix/Makefile (tests-static): New variable.
13293         (tests): Add $(tests-static).
13294         (tst-exec-static-ARGS): New variable.
13295         (tst-spawn-static-ARGS): Likewise.
13296         * posix/tst-exec-static.c: New file.
13297         * posix/tst-spawn-static.c: Likewise.
13298         * posix/tst-exec.c: Support run directly.
13299         * posix/tst-spawn.c: Likewise.
13301 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
13303         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13304         long.
13305         * math/bits/mathcalls.h (llrint): Likewise.
13306         (llround): Likewise.
13307         * stdlib/stdlib.h (struct drand48_data): Likewise.
13308         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13309         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13310         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13311         Likewise.
13312         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13313         Likewise.
13314         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13315         (elf_greg_t): Likewise.
13316         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13317         (__jmp_buf): Likewise.
13318         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13319         definitions.
13320         (llrint): Likewise, for all definitions.
13321         (llrintl): Likewise.
13323         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13324         Remove [__GNUC__] condition.
13325         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13326         condition to just [__USE_ISOC99].
13327         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13329 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13331         [BZ #14200]
13332         * sysdeps/unix/sysv/linux/x86/bits/environments.h
13333         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13334         defined.
13335         (_POSIX_V6_ILP32_OFF32): Likewise.
13336         (_XBS5_ILP32_OFF32): Likewise.
13337         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13338         (__ILP32_OFFBIG_LDFLAGS): Likewise.
13340 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13342         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13344         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13345         doubles __mpexp_twomm1.  Adjust usage.
13346         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13347         Remove.
13349 2013-01-10  Andreas Schwab  <schwab@suse.de>
13351         [BZ #14964]
13352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13353         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13355 2013-01-09  David S. Miller  <davem@davemloft.net>
13357         [BZ #15003]
13358         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13359         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13360         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13361         TCP_FASTOPEN): Define.
13362         (tcp_repair_opt): New structure.
13363         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13364         enum values.
13365         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13366         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13367         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13368         (tcp_cookie_transactions): New structure.
13370 2013-01-09  Anton Blanchard  <anton@samba.org>
13372         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13373         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13374         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13375         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13377 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
13379         * include/features.h (__USE_ANSI): Remove.
13381 2013-01-09  Roland McGrath  <roland@hack.frob.com>
13383         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13385         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13387 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13389         * sysdeps/s390/fpu/libm-test-ulps: Update.
13391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13393         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13394         (__acr): Likewise.
13395         (__cpy): Likewise.
13396         (norm): Likewise.
13397         (denorm): Likewise.
13398         (__mp_dbl): Likewise.
13399         (__dbl_mp): Likewise.
13400         (add_magnitudes): Likewise.
13401         (sub_magnitudes): Likewise.
13402         (__add): Likewise.
13403         (__sub): Likewise.
13404         (__mul): Likewise.
13405         (__inv): Likewise.
13406         (__dvd): Likewise.
13407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13408         (__acr): Likewise.
13409         (__cpy): Likewise.
13410         (norm): Likewise.
13411         (denorm): Likewise.
13412         (__mp_dbl): Likewise.
13413         (__dbl_mp): Likewise.
13414         (add_magnitudes): Likewise.
13415         (sub_magnitudes): Likewise.
13416         (__add): Likewise.
13417         (__sub): Likewise.
13418         (__mul): Likewise.
13419         (__inv): Likewise.
13420         (__dvd): Likewise.
13421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13422         (__acr): Likewise.
13423         (__cpy): Likewise.
13424         (norm): Likewise.
13425         (denorm): Likewise.
13426         (__mp_dbl): Likewise.
13427         (__dbl_mp): Likewise.
13428         (add_magnitudes): Likewise.
13429         (sub_magnitudes): Likewise.
13430         (__add): Likewise.
13431         (__sub): Likewise.
13432         (__mul): Likewise.
13433         (__inv): Likewise.
13434         (__dvd): Likewise.
13436 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13438         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13439         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13440         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13441         2 && __USE_EXTERN_INLINES]: Likewise.
13443 2013-01-08  Andreas Jaeger  <aj@suse.de>
13445         [BZ# 14985]
13446         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13447         Remove.
13448         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13449         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13451 2013-01-07  Anton Blanchard  <anton@samba.org>
13453         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13454         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13455         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13456         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13457         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13458         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13459         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13460         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13462         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13463         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13464         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13465         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13466         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13467         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13468         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13469         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13471         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13472         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13473         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13474         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13475         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13476         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13477         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13478         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13479         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13480         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13482         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13483         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13485         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13486         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13487         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13488         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13489         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13490         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13491         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13492         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13493         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13494         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13495         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13497 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13499         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13500         (__MALLOC_PMT): Likewise.
13501         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13502         [__GNUC__], only on [_LIBC].
13503         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13504         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13505         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13506         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13507         forward declaration.
13508         (realloc_hook_ini): Likewise.
13509         (memalign_hook_ini): Likewise.
13510         (__libc_memalign): Do not use __MALLOC_PMT in variable
13511         declaration.
13512         (__libc_valloc): Likewise.
13513         (__libc_pvalloc): Likewise.
13514         (__libc_calloc): Likewise.
13515         (__posix_memalign): Likewise.
13517         [BZ #14996]
13518         * math/s_casinh.c: Include <float.h>.
13519         (__casinh): Do not do computation with squaring and square root
13520         for large arguments.
13521         * math/s_casinhf.c: Include <float.h>.
13522         (__casinhf): Do not do computation with squaring and square root
13523         for large arguments.
13524         * math/s_casinhl.c: Include <float.h>.
13525         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13526         (__casinhl): Do not do computation with squaring and square root
13527         for large arguments.
13528         * math/libm-test.inc (casin_test): Add more tests.
13529         (casinh_test): Likewise.
13530         * sysdeps/i386/fpu/libm-test-ulps: Update.
13531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13533 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13535         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13536         (__x86_64_raw_data_cache_size): Likewise.
13537         (__x86_64_data_cache_size_half): Likewise.
13538         (__x86_64_raw_data_cache_size_half): Likewise.
13539         (__x86_64_shared_cache_size): Likewise.
13540         (__x86_64_raw_shared_cache_size): Likewise.
13541         (__x86_64_shared_cache_size_half): Likewise.
13542         (__x86_64_raw_shared_cache_size_half): Likewise.
13543         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13544         to ...
13545         (__x86_data_cache_size): This.
13546         (__x86_64_raw_data_cache_size): Renamed to ...
13547         (__x86_raw_data_cache_size): This.
13548         (__x86_64_data_cache_size_half): Renamed to ...
13549         (__x86_data_cache_size_half): This.
13550         (__x86_64_raw_data_cache_size_half): Renamed to ...
13551         (__x86_raw_data_cache_size_half): This.
13552         (__x86_64_shared_cache_size): Renamed to ...
13553         (__x86_shared_cache_size): This.
13554         (__x86_64_raw_shared_cache_size): Renamed to ...
13555         (__x86_raw_shared_cache_size): This.
13556         (__x86_64_shared_cache_size_half): Renamed to ...
13557         (__x86_shared_cache_size_half): This.
13558         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13559         (__x86_raw_shared_cache_size_half): This.
13560         * sysdeps/x86_64/memcpy.S: Updated.
13561         * sysdeps/x86_64/memset.S: Likewise.
13562         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13563         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13564         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13566 2013-01-04  David S. Miller  <davem@davemloft.net>
13568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13570 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13572         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13573         1 to avoid redefinition warning.
13574         (__USE_GNU): Don't define.
13575         (init_signaling_nan): Protoize.
13577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13579 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13581         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13583         (__cpymn): Likewise.
13584         (norm): Remove commented code.
13585         (denorm): Likewise.
13586         (__mp_dbl): Likewise.
13587         (__inv): Likewise.
13588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13589         (__cpymn): Likewise.
13590         (norm): Remove commented code.
13591         (denorm): Likewise.
13592         (__mp_dbl): Likewise.
13593         (__inv): Likewise.
13595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13596         mp_no value for 1.0 and 2.0.
13597         (norm): Use RADIXI instead of radixi.d.
13598         (denorm): Likewise.
13599         (__mul): Use 0.0 instead of zero.d.
13600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13601         mp_no value for 1.0 and 2.0.
13602         (norm): Use RADIXI instead of radixi.d.
13603         (denorm): Likewise.
13604         (__mul): Use 0.0 instead of zero.d.
13606 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
13608         [BZ #14994]
13609         * math/s_casinh.c (__casinh): Reduce finite argument to first
13610         quadrant then set signs of results at the end.
13611         * math/s_casinhf.c (__casinhf): Likewise.
13612         * math/s_casinhl.c (__casinhl): Likewise.
13613         * math/libm-test.inc (casin_test): Add more tests.
13614         (casinh_test): Likewise.
13615         * sysdeps/i386/fpu/libm-test-ulps: Update.
13616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13618 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13620         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13622         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13624         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13625         declarations.
13626         (denorm): Likewise.
13627         (__mp_dbl): Likewise.
13628         (__inv): Likewise.
13630         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13631         and adjust the header comment.
13633         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13634         variable name from declaration.
13636 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
13638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13639         Initialize COMMON_CPUID_INDEX_7 element.
13640         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13641         (CPUID_RTM): Likewise.
13642         (HAS_RTM): Likewise.
13643         (COMMON_CPUID_INDEX_7): New enum.
13645 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
13647         [BZ #14981]
13648         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13649         size is zero, record memory as freed.
13651 2013-01-03  Andreas Jaeger  <aj@suse.de>
13653         * po/ia.po: Add new Interlingua translation.
13655 2012-01-03  Allan McRae  <allan@archlinux.org>
13657         * locale/programs/localedef.c: Fix description of '--posix' flag.
13659 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
13661         * NEWS: Update dates in second copyright notice.
13662         * README: Update copyright dates in example.
13663         * manual/libc.texinfo: Update copyright dates.
13664         * scripts/test-installation.pl: Update copyright date in --version
13665         output.
13667         * hurd/ctty-input.c: Fix copyright notice formatting.
13668         * hurd/ctty-output.c: Likewise.
13669         * hurd/dtable.c: Likewise.
13670         * hurd/hurd-raise.c: Likewise.
13671         * hurd/hurdprio.c: Likewise.
13672         * hurd/msgportdemux.c: Likewise.
13673         * misc/sys/file.h: Likewise.
13674         * misc/sys/ioctl.h: Likewise.
13675         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13676         * sysdeps/mach/hurd/chdir.c: Likewise.
13677         * sysdeps/mach/hurd/fchdir.c: Likewise.
13678         * sysdeps/mach/hurd/rename.c: Likewise.
13679         * sysdeps/mach/hurd/rmdir.c: Likewise.
13680         * sysdeps/mach/hurd/seekdir.c: Likewise.
13681         * sysdeps/mach/hurd/setsid.c: Likewise.
13682         * sysdeps/posix/wait3.c: Likewise.
13684         * All files with FSF copyright notices: Update copyright dates
13685         using scripts/update-copyrights.
13686         * intl/plural.c: Regenerated.
13687         * locale/programs/charmap-kw.h: Likewise.
13688         * locale/programs/locfile-kw.h: Likewise.
13690 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13692         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13693         four values.
13695         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13696         calculation loop and add branch prediction.
13698         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13699         check access beyond bounds of m1np.
13701         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13702         MPTWO.
13703         (__inv): Remove local variable MPTWO to use the global
13704         constant.
13705         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13706         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13707         variable MPTWO.
13708         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13709         MP3HALFS static const.
13711 2013-01-01  David S. Miller  <davem@davemloft.net>
13713         * po/ca.po: Update from translation team.
13715 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
13717         * scripts/update-copyrights: New file.
13718         * Makeconfig: Reformat copyright notice.
13719         * ctype/ctype.h: Likewise.
13720         * debug/swprintf_chk.c: Likewise.
13721         * elf/dl-cache.c: Likewise.
13722         * elf/dl-debug.c: Likewise.
13723         * elf/dl-object.c: Likewise.
13724         * grp/initgroups.c: Likewise.
13725         * hurd/Makefile: Likewise.
13726         * hurd/hurd/signal.h: Likewise.
13727         * hurd/hurdfault.c: Likewise.
13728         * hurd/hurdioctl.c: Likewise.
13729         * hurd/hurdlookup.c: Likewise.
13730         * hurd/intr-msg.c: Likewise.
13731         * iconv/gconv_open.c: Likewise.
13732         * libio/swprintf.c: Likewise.
13733         * locale/lc-ctype.c: Likewise.
13734         * locale/nl_langinfo.c: Likewise.
13735         * mach/Machrules: Likewise.
13736         * mach/Makefile: Likewise.
13737         * malloc/obstack.h: Likewise.
13738         * manual/Makefile: Likewise.
13739         * manual/tsort.awk: Likewise.
13740         * misc/bits/stab.def: Likewise.
13741         * nis/nis_print_group_entry.c: Likewise.
13742         * nis/nis_table.c: Likewise.
13743         * nis/nss_compat/compat-pwd.c: Likewise.
13744         * nis/nss_compat/compat-spwd.c: Likewise.
13745         * po/Makefile: Likewise.
13746         * posix/fnmatch.c: Likewise.
13747         * posix/regex.h: Likewise.
13748         * resolv/Makefile: Likewise.
13749         * resolv/nss_dns/dns-network.c: Likewise.
13750         * resolv/res_hconf.c: Likewise.
13751         * scripts/gen-sorted.awk: Likewise.
13752         * soft-fp/soft-fp.h: Likewise.
13753         * stdio-common/printf.h: Likewise.
13754         * stdlib/monetary.h: Likewise.
13755         * stdlib/random.c: Likewise.
13756         * stdlib/random_r.c: Likewise.
13757         * sysdeps/generic/Makefile: Likewise.
13758         * sysdeps/gnu/Makefile: Likewise.
13759         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13761         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13764         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13766         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13767         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13768         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13769         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13770         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13771         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13772         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13773         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13774         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13775         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13776         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13777         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13778         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13779         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13780         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13781         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13782         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13783         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13784         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13785         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13786         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13787         * sysdeps/mach/hurd/errnos.awk: Likewise.
13788         * sysdeps/mach/hurd/fork.c: Likewise.
13789         * sysdeps/mach/hurd/getcwd.c: Likewise.
13790         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13791         * sysdeps/mach/hurd/mmap.c: Likewise.
13792         * sysdeps/mach/hurd/utimes.c: Likewise.
13793         * sysdeps/mach/hurd/xmknod.c: Likewise.
13794         * sysdeps/posix/profil.c: Likewise.
13795         * sysdeps/posix/readdir_r.c: Likewise.
13796         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13797         * sysdeps/powerpc/bits/setjmp.h: Likewise.
13798         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13799         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13801         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13802         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13803         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13805         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13806         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13807         * sysdeps/pthread/lio_listio.c: Likewise.
13808         * sysdeps/sparc/dl-procinfo.h: Likewise.
13809         * sysdeps/unix/i386/sysdep.S: Likewise.
13810         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13811         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13812         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13813         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13815         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13816         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13817         * sysdeps/unix/sysv/linux/speed.c: Likewise.
13818         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13819         * sysdeps/wordsize-32/divdi3.c: Likewise.
13820         * time/sys/time.h: Likewise.
13821         * wcsmbs/Makefile: Likewise.
13823 2013-01-01  David S. Miller  <davem@davemloft.net>
13825         * po/fr.po: Update from translation team.
13827         * catgets/gencat.c: Update copyright year.
13828         * csu/version.c: Likewise.
13829         * debug/catchsegv.sh: Likewise.
13830         * debug/pcprofiledump.c: Likewise.
13831         * debug/xtrace.sh: Likewise.
13832         * elf/ldconfig.c: Likewise.
13833         * elf/ldd.bash.in: Likewise.
13834         * elf/pldd.c: Likewise.
13835         * elf/sotruss.ksh: Likewise.
13836         * elf/sprof.c: Likewise.
13837         * iconv/iconv_prog.c: Likewise.
13838         * iconv/iconvconfig.c: Likewise.
13839         * locale/programs/locale.c: Likewise.
13840         * locale/programs/localedef.c: Likewise.
13841         * login/programs/pt_chown.c: Likewise.
13842         * malloc/memusage.sh: Likewise.
13843         * malloc/memusagestat.c: Likewise.
13844         * malloc/mtrace.pl: Likewise.
13845         * nscd/nscd.c: Likewise.
13846         * nss/getent.c: Likewise.
13847         * nss/makedb.c: Likewise.
13848         * posix/getconf.c: Likewise.
13850 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13852         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13853         numbers.
13855 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
13857         * math/bits/mathcalls.h (modf): Use __nonnull.
13859 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13861         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13862         (split): Use macro CN instead of the bare value.
13863         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13864         could be used.
13865         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13866         instead of the bare value.
13867         (power1): Likewise.
13869 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13871         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13872         __ATAN_TWOM.
13873         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13875         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13876         their values.
13877         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13878         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13879         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13880         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13882 2012-12-28  Andreas Jaeger  <aj@suse.de>
13884         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
13885         values are from Linux 3.7.
13887         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13888         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
13890 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13892         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13893         TRUE case.
13895         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13896         (norm): Likewise.
13897         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13898         variables with preprocessor constants.
13899         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13900         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13901         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13903 2012-12-27  Bruno Haible  <bruno@clisp.org>
13905         [BZ #14317]
13906         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13907         only if needed.
13909 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13912         and use variable directly.
13913         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13915         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13916         MPONE.
13917         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13918         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13919         variable MPONE.
13920         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13921         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13922         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13923         include directive.  Remove local variable MPONE.
13924         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13925         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13926         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13928 2012-12-25  David S. Miller  <davem@davemloft.net>
13930         * version.h (RELEASE): Set to "development".
13931         (VERSION): Set to "2.17.90".
13932         * NEWS: Add 2.18 section.
13934 2012-12-21  David S. Miller  <davem@davemloft.net>
13936         * po/hr.po: Update from translation team.
13938 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13940         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13942 2012-12-19  Steve Ellcey  <sellcey@mips.com>
13944         * NEWS:  Mention new memcpy for MIPS.
13946 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13948         * manual/contrib.texi (Contributors): Spelling correction.
13950 2012-12-15  David S. Miller  <davem@davemloft.net>
13952         * po/ru.po: Update from translation team.
13954 2012-12-13  David S. Miller  <davem@davemloft.net>
13956         * NEWS: Mention IFUNC testsuite enhancements.
13958         * po/pl.po: Update from translation team.
13959         * po/bg.po: Likewise.
13961         * manual/contrib.texi (Contributors): Update entries for Hongjiu
13962         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
13964 2012-12-11  David S. Miller  <davem@davemloft.net>
13966         * po/sv.po: Update from translation team.
13968         * po/vi.po: Update from translation team.
13970         * po/cs.po: Update from translation team.
13972         * po/de.po: Update from translation team.
13973         * po/eo.po: Likewise.
13974         * po/nl.po: Likewise.
13976 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13978         [BZ #14246]
13979         * manual/argp.texi (Argp Helper Functions): Move node to follow
13980         Argp Parsing State.
13982         [BZ #14872]
13983         * manual/conf.texi (Limits on File System Capacity): Mention if
13984         terminating null is included in the max size.
13986 2012-12-10  Andreas Jaeger  <aj@suse.de>
13988         * po/cs.po: Update from translation team.
13990 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13992         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13993         void pointer and cast to uintptr_t.
13994         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13995         path.
13996         * sysdeps/s390/s390-64/memcpy.S: Likewise.
13997         * sysdeps/s390/s390-64/memset.S: Likewise.
13999 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14001         [BZ #14833]
14002         * menual/message.texi (Message Translation): Fix typos.
14003         (Helper programs for gettext): Likewise.
14005 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14007         [BZ #14898]
14008         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14009         Change to -1.
14011 2012-12-07  David S. Miller  <davem@davemloft.net>
14013         * po/libc.pot: Update.
14015 2012-12-07  Richard Henderson  <rth@redhat.com>
14017         [BZ #10114]
14018         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14019         normal/normal case to before the switch.
14020         (_FP_DIV): Likewise.
14022 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14023             Mike Frysinger  <vapier@gentoo.org>
14025         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14026         check for __NR_fadvise64_64.
14028 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14030         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14031         0, not just to plain "0" as a statement.
14032         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14033         with cw.
14035 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14037         * NEWS: Use sourceware.org in Bugzilla URL.
14039 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14042         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14044         * stdio-common/tst-put-error.c (do_test): Add newline to the
14045         padded test to ensure flush.
14047 2012-12-05  Jeff Law  <law@redhat.com>
14049         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14051 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14053         * README: Don't refer to ports add-on as distributed separately.
14054         Mention AArch64 in list of systems supported in the ports add-on.
14056         * LICENSES: Add more non-FSF copyright and license notices.
14058         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14059         ((unused)).
14061         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14063         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14064         10000 as width of padded output.
14066 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14068         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14070         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14071         variable LX with __attribute__ ((unused)).
14072         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14073         Likewise.
14074         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14075         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14076         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14077         with __attribute__ ((unused)).
14079 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14081         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14083 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14085         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14086         (CFLAGS-nldbl-acos.c): New variable.
14087         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14088         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14089         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14090         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14091         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14092         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14093         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14094         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14095         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14096         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14097         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14098         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14099         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14100         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14101         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14102         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14103         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14104         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14105         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14106         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14107         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14108         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14109         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14110         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14111         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14112         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14113         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14114         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14115         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14116         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14117         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14118         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14119         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14120         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14121         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14122         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14123         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14124         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14125         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14126         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14127         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14128         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14129         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14130         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14131         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14132         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14133         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14134         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14135         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14136         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14137         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14138         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14139         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14140         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14141         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14142         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14143         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14144         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14145         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14146         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14147         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14148         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14149         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14150         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14151         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14152         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14153         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14154         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14155         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14156         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14157         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14158         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14159         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14160         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14161         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14162         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14163         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14164         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14165         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14166         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14167         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14168         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14169         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14170         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14171         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14172         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14173         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14174         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14175         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14176         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14177         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14178         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14179         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14180         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14181         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14182         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14183         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14186         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14188         [BZ #14914]
14189         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14190         whole low double instead of just low 47 bits when splitting values
14191         into two parts.
14193 2012-12-03  Allan McRae  <allan@archlinux.org>
14195         * manual/stdio.texi (Predefined Printf Handlers): Remove
14196         @hsep and @vsep usage.
14198 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
14200         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14201         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14203 2012-12-03  Jeff Law  <law@redhat.com>
14205         * time/sys/time.h (settimeofday): Do not mark TV argument
14206         as __nonnull.
14208 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
14210         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14211         when currently writing and seek to current position when not.
14212         * libio/Makefile (tests): Remove bug-fclose1.
14213         * libio/bug-fclose1.c: Delete.
14215 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
14217         * manual/arith.texi (feenableexcept): Fix typo.
14218         (fedisableexcept): Likewise.
14220 2012-11-30  Roland McGrath  <roland@hack.frob.com>
14222         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14223         second, differently-typed declaration, rather than a cast.
14225 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14227         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14228         * include/rpc/svc.h: ... here.
14230 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
14232         [BZ #13013]
14233         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14234         depending n and resplen2 to catch cases where answer
14235         equals answerp2.
14237 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
14239         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14240         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14242 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
14244         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14246 2012-11-29  Roland McGrath  <roland@hack.frob.com>
14248         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14250 2012-11-28  Jeff Law  <law@redhat.com>
14252         [BZ #13761]
14253         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14254         dataset_temporary.  Track alloca usage into alloca_used.
14255         If dataset is large allocate and release it via malloc/free.
14257 2012-06-04  Florian Weimer  <fweimer@redhat.com>
14259         [BZ #14197]
14260         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14262 2012-11-28  David S. Miller  <davem@davemloft.net>
14264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14266 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14268         [BZ #14803]
14269         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14270         of pi/2 rounded to nearest to 64 bits.
14271         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14272         nearest to 64 bits.
14273         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14274         bits.
14276 2012-11-28  Jeff Law <law@redhat.com>
14277             Martin Osvald <mosvald@redhat.com>
14279         [BZ #14889]
14280         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14281         * sunrpc/svc.c: Include time.h.
14282         (__svc_accept_failed): New function.
14283         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14284         any reason other than EINTR, call __svc_accept_failed.
14285         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14286         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14288 2012-11-28  Andreas Schwab  <schwab@suse.de>
14290         * scripts/abilist.awk: Also handle indirect functions in .opd
14291         section.
14293 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14295         [BZ #13881]
14296         * sysdeps/x86/fpu/powl_helper.c: New file.
14297         * sysdeps/x86/fpu/Makefile: Likewise.
14298         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14299         (p3): New object.
14300         (__ieee754_powl): Use __powl_helper for finite arguments except
14301         integer exponents below 8.
14302         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14303         (p3): New object.
14304         (__ieee754_powl): Use __powl_helper for finite arguments except
14305         integer exponents below 8.
14306         * math/libm-test.inc (pow_test): Add more tests and enable some
14307         previously disabled tests.
14308         * sysdeps/i386/fpu/libm-test-ulps: Update.
14309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14311 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14312             Carlos O'Donell  <carlos_odonell@mentor.com>
14314         * nss/makedb.c (is_prime): Assert that input is odd and greater
14315         than 4.  Note that fact in a comment too.
14316         (next_prime): Add 4 to input.
14318 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14320         [BZ #11741]
14321         * libio/Makefile (tests): Add test case tst-fwrite-error.
14322         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14323         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14324         * libio/tst-fwrite-error.c: New test case.
14326 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
14328         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14329         before casting to void *.
14330         * include/libc-internal.h (__pointer_type): New macro.
14331         (__integer_if_pointer_type_sub): Likewise.
14332         (__integer_if_pointer_type): Likewise.
14333         (cast_to_integer): Likewise.
14334         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14335         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14336         before casting to atomic64_t.
14337         (atomic_exchange_acq): Likewise.
14338         (__arch_exchange_and_add_body): Likewise.
14339         (__arch_add_body): Likewise.
14340         (atomic_add_negative): Likewise.
14341         (atomic_add_zero): Likewise.
14343 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
14345         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14346         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14347         (add_fdes): Likewise.
14348         (linear_search_fdes): Likewise.
14349         (binary_search_unencoded_fdes): Likewise.
14351 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
14353         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14355 2012-11-24  Adam Conrad  <adconrad@0c3.net>
14357         * configure.in: Autodetect C++ header directories.
14358         * configure: Regenerated.
14360 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
14362         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14364 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
14366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14368 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
14370         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14371         LDBL_MANT_DIG == 106]: Disable some tests.
14372         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14373         Likewise.
14374         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14375         Likewise.
14377         [BZ #14871]
14378         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14379         input for small inputs.  Return +/- pi/2 for large inputs.
14380         * math/libm-test.inc (atan_test): Add more tests.
14382         * sysdeps/generic/unwind-dw2-fde-glibc.c
14383         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14384         __attribute__ ((unused)).
14386         [BZ #14645]
14387         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14388         x * y if x and y are nonzero and z is zero.
14390         [BZ #14811]
14391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14392         nonzero exponents with absolute value below 0x1p-117 to +/-
14393         0x1p-117.
14395         [BZ #14869]
14396         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14397         up arguments below 2**-450, not just those below 2**-500.
14398         * math/libm-test.inc (hypot_test): Add another test.
14400         [BZ #14868]
14401         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14402         Return a+b for ratio over 2**120, not 2**60.
14403         * math/libm-test.inc (hypot_test): Add another test.
14405         * math/libm-test.inc (clog_test): Use
14406         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14407         (clog10_test): Likewise.
14409         [BZ #6778]
14410         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14412 2012-11-22  Andreas Schwab  <schwab@suse.de>
14414         * sysdeps/i386/fpu/libm-test-ulps: Update.
14416 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14418         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14419         printf output with newline.
14421 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14423         [BZ #14865]
14424         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14425         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14426         -z nodlopen, -z initfirst and -z execstack support.
14427         * configure: Regenerated.
14429         * elf/elf.h (DF_1_NODIRECT): New macro.
14430         (DF_1_IGNMULDEF): Likewise.
14431         (DF_1_NOKSYMS): Likewise.
14432         (DF_1_NOHDR): Likewise.
14433         (DF_1_EDITED): Likewise.
14434         (DF_1_NORELOC): Likewise.
14435         (DF_1_SYMINTPOSE): Likewise.
14436         (DF_1_GLOBAUDIT): Likewise.
14437         (DF_1_SINGLETON): Likewise.
14438         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14439         DT_1_SUPPORTED_MASK bits.
14440         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14442 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14444         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14446 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14448         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14449         macro.
14451         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14452         (sendmmsg): Move declarations...
14453         * socket/sys/socket.h: ... here.
14454         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14455         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14456         include it from...
14457         * socket/recvmmsg.c: ... this new file.
14458         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14459         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14460         definition of __sendmmsg hidden.
14461         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14462         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14463         Move ENOSYS stub into and include it from...
14464         * socket/sendmmsg.c: ... this new file.
14465         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14466         (sysdep_routines): Move recvmmsg and sendmmsg...
14467         * socket/Makefile (routines): ... here.
14468         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14469         (GLIBC_PRIVATE): Add __sendmmsg.
14470         * include/sys/socket.h (__sendmmsg): Add declarations.
14471         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14472         sendmmsg.
14474 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14476         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14477         variable I1 with __attribute__ ((unused)).
14478         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14480 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14482         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14483         DUMMY variables with __attribute__ ((unused)).
14485         * bits/byteswap.h: Include <bits/types.h>.
14486         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14488 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14490         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14491         string_t.  Do not manually set errno.
14492         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14493         length with __strnlen.  Make sure to both set errno and return it on
14494         failure.
14496 2012-11-19  David S. Miller  <davem@davemloft.net>
14498         With help from Joseph Myers.
14499         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14500         very large arguments properly.
14501         * math/libm-test.inc (atan_test): New tests.
14502         (atan2_test): New tests.
14503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14506 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14508         [BZ #14856]
14509         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14510         Define to 3.
14512         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14513         [POSIX] (EADDRNOTAVAIL): Likewise.
14514         [POSIX] (EAFNOSUPPORT): Likewise.
14515         [POSIX] (EALREADY): Likewise.
14516         [POSIX] (ECONNABORTED): Likewise.
14517         [POSIX] (ECONNREFUSED): Likewise.
14518         [POSIX] (ECONNRESET): Likewise.
14519         [POSIX] (EDESTADDRREQ): Likewise.
14520         [POSIX] (EDQUOT): Likewise.
14521         [POSIX] (EHOSTUNREACH): Likewise.
14522         [POSIX] (EIDRM): Likewise.
14523         [POSIX] (EISCONN): Likewise.
14524         [POSIX] (ELOOP): Likewise.
14525         [POSIX] (EMULTIHOP): Likewise.
14526         [POSIX] (ENETDOWN): Likewise.
14527         [POSIX] (ENETUNREACH): Likewise.
14528         [POSIX] (ENOBUFS): Likewise.
14529         [POSIX] (ENODATA): Likewise.
14530         [POSIX] (ENOLINK): Likewise.
14531         [POSIX] (ENOMSG): Likewise.
14532         [POSIX] (ENOPROTOOPT): Likewise.
14533         [POSIX] (ENOSR): Likewise.
14534         [POSIX] (ENOSTR): Likewise.
14535         [POSIX] (ENOTCONN): Likewise.
14536         [POSIX] (ENOTSOCK): Likewise.
14537         [POSIX] (EOPNOTSUPP): Likewise.
14538         [POSIX] (EOVERFLOW): Likewise.
14539         [POSIX] (EPROTO): Likewise.
14540         [POSIX] (EPROTONOSUPPORT): Likewise.
14541         [POSIX] (EPROTOTYPE): Likewise.
14542         [POSIX] (ESTALE): Likewise.
14543         [POSIX] (ETIME): Likewise.
14544         [POSIX] (ETXTBSY): Likewise.
14545         [POSIX] (EWOULDBLOCK): Likewise.
14546         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14547         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14548         [POSIX] (SEEK_CUR): Likewise.
14549         [POSIX] (SEEK_END): Likewise.
14550         [POSIX || UNIX98] (mode_t): Do not require.
14551         [POSIX] (off_t): Likewise.
14552         [POSIX] (pid_t): Likewise.
14553         [POSIX] (sys/stat.h): Do not allow header.
14554         [POSIX] (unistd.h): Likewise.
14555         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14556         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14557         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14558         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14559         require.
14560         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14561         sigevent): Specify elements.
14562         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14563         entry.
14564         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14565         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14567         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14568         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14569         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14570         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14571         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14572         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14573         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14574         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14575         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14576         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14577         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14578         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14579         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14580         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14581         Likewise.
14582         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14583         Likewise.
14584         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14585         Likewise.
14586         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14587         Likewise.
14588         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14589         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14590         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14591         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14592         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14593         Specify lower bound on value.
14594         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14595         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14596         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14597         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14598         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14599         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14600         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14601         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14602         value.
14603         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14604         as optional.
14605         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14606         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14607         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14608         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14609         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14610         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14611         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14612         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14613         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14614         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14615         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14616         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14617         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14618         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14619         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14620         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14621         entry.
14622         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14623         optional.
14624         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14625         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14626         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14627         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14628         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14629         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14630         Likewise.
14631         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14632         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14633         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14634         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14635         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
14636         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14637         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14638         as optional.
14639         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14640         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14641         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14642         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14643         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14644         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14645         specify as optional.
14646         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14647         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14648         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14649         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14650         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14651         [XPG3] (NL_LANGMAX): Likewise.
14652         [POSIX || XPG3] (NL_MSGMAX): Likewise.
14653         [POSIX || XPG3] (NL_NMAX): Likewise.
14654         [POSIX || XPG3] (NL_SETMAX): Likewise.
14655         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14656         [XPG3] (NZERO): Likewise.
14657         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14658         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14659         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14660         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14661         (REG_ERANGE): Expect.
14662         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14663         optional-constant.
14664         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14665         Use (void) in prototype.
14666         [POSIX] (*_t): Allow.
14667         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14668         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14669         (WRDE_BADVAL): Expect.
14671         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14672         expect.
14673         [XPG3 || XPG4] (O_RSYNC): Likewise.
14674         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14675         Likewise.
14676         [XPG3 || XPG4] (pthread_sigmask): Likewise.
14677         [XPG3 || XPG4] (sigqueue): Likewise.
14678         [XPG3 || XPG4] (sigtimedwait): Likewise.
14679         [XPG3 || XPG4] (sigwaitinfo): Likewise.
14680         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14681         [XPG3 || XPG4] (vsnprintf): Likewise.
14682         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14683         Likewise.
14684         [XPG3 || XPG4] (blksize_t): Likewise.
14685         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14686         Likewise.
14687         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14688         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14689         [XPG3 || XPG4] (struct itimerspec): Likewise.
14690         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14691         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14692         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14693         [XPG3 || XPG4] (clockid_t): Likewise.
14694         [XPG3 || XPG4] (timer_t): Likewise.
14695         [XPG3 || XPG4] (clock_getres): Likewise.
14696         [XPG3 || XPG4] (clock_gettime): Likewise.
14697         [XPG3 || XPG4] (clock_settime): Likewise.
14698         [XPG3 || XPG4] (nanosleep): Likewise.
14699         [XPG3 || XPG4] (timer_create): Likewise.
14700         [XPG3 || XPG4] (timer_delete): Likewise.
14701         [XPG3 || XPG4] (timer_gettime): Likewise.
14702         [XPG3 || XPG4] (timer_getoverrun): Likewise.
14703         [XPG3 || XPG4] (timer_settime): Likewise.
14704         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14705         [XPG3 || XPG4] (getlogin_r): Likewise.
14706         [XPG3 || XPG4] (pread): Likewise.
14707         [XPG3 || XPG4] (pthread_atfork): Likewise.
14708         [XPG3 || XPG4] (pwrite): Likewise.
14710         [BZ #14835]
14711         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14712         <bits/siginfo.h>.
14714 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14716         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14717         finalizing MALLSTREAM.
14719         * sysdeps/mach/hurd/syncfs.c: New file.
14721 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14723         [BZ #14719]
14724         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14725         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14726         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14727         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14728         (_nss_dns_gethostbyname4_r): Likewise.
14729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14730         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14732 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
14734         [BZ #13763]
14735         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14737 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
14739         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14740         * elf/cache.c (print_entry): Print ",AArch64" for
14741         FLAG_AARCH64_LIB64
14743         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14744         * elf/cache.c (print_entry): Print ",hard-float" for
14745         FLAG_ARM_LIBHF.
14747 2012-11-18  David S. Miller  <davem@davemloft.net>
14749         With help from Joseph Myers.
14750         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14751         cutoff to 2**-13.
14752         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14753         cutoff to 2**-25.
14754         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14755         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14756         small.
14757         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14758         * math/libm-test.inc (y0_test): New tests.
14759         (y1_test): New tests.
14760         * sysdeps/i386/fpu/libm-test-ulps: Update.
14761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14764 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
14766         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14767         64-bit targets.
14768         * configure: Regenerated.
14770 2012-11-17  David S. Miller  <davem@davemloft.net>
14772         [BZ #14811]
14773         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14774         nonzero exponents with absolute value below 0x1p-128 to +/-
14775         0x1p-128.
14777 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
14779         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14781         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14783         * posix/getconf-speclist.c: New file.
14784         * posix/posix-envs.def: Likewise.
14785         * posix/confstr.c (START_ENV_GROUP): New macro.
14786         (END_ENV_GROUP): Likewise.
14787         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14788         (KNOWN_PRESENT_ENV_STRING): Likewise.
14789         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14790         (UNKNOWN_ENVIRONMENT): Likewise.
14791         (confstr): Include posix-envs.def instead of handling
14792         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14793         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14794         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14795         (END_ENV_GROUP): Likewise.
14796         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14797         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14798         (UNKNOWN_ENVIRONMENT): Likewise.
14799         (__sysconf): Include posix-envs.def instead of handling associated
14800         cases directly here.
14801         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14802         preprocessing getconf-speclist.c rather than running getconf or
14803         generating empty file.
14805 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
14807         * scripts/check-local-headers.sh: Ignore 'mach' headers.
14809 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
14811         [BZ #14672]
14812         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14814 2012-11-16  David S. Miller  <davem@davemloft.net>
14816         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14817         smaller than LDBL_EPSILON/2.0L, just return xm1.
14819 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
14821         * elf/tst-array1.c (init): Set constructor priority to 1000.
14822         (fini): Set destructor priority to 1000.
14823         * elf/tst-array2dep.c: Likewise.
14825 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14827         [BZ #11741]
14828         * libio/fileops.c (_IO_new_file_write): Correctly return error.
14829         (_IO_new_file_xsputn): Also return EOF if none of the input
14830         data was written when overflow failed.
14831         * libio/iopadn.c (_IO_padn): Likewise.
14832         * libio/iowpadn.c (_IO_wpadn): Likewise.
14833         * stdio-common/tst-put-error.c: Add copyright notice.
14834         (do_test): Add case for printing padded string.
14835         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14836         _IO_padn returned error.
14837         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14838         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14839         return EOF.
14841 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14843         * libio/libioP.h: Add comment note that the references to C++
14844         bits are now obsolete.
14846 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14848         * math/libm-test.inc (check_complex): Use asprintf.
14850 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
14852         * debug/pcprofiledump.c (print_version): Update copyright year.
14853         * malloc/memusagestat.c (print_version): Likewise.
14855 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
14857         [BZ #14831]
14858         * elf/Makefile (tests): Add tst-audit8.
14859         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14860         ($(objpfx)tst-audit8.out): New target.
14861         (tst-audit8-ENV): New variable.
14862         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14863         audit if l_reloc_result is NULL.
14864         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14865         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14866         * elf/tst-audit8.c: New file.
14868 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14870         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14871         * misc/Makefile (CFLAGS-select.c): Define.
14872         * posix/Makefile (CFLAGS-pause.c): Define.
14874 2012-11-13  David S. Miller  <davem@davemloft.net>
14876         * crypt/Makefile: Move test targets after toplevel Rules
14877         inclusion.  Grab any necessary sysdep routines when linking.
14878         * crypt/md5.c (md5_process_block): Remove define, we will always
14879         name it __md5_process_block.
14880         (md5_finish_ctx): Update md5_process_block call.
14881         (md5_stream): Likewise.
14882         (md5_process_bytes): Likewise.
14883         (md5_process_block): Rename to __md5_process_block and move to ...
14884         * crypt/md5-block.c: ... here.
14885         * crypt/sha256.c (sha256_process_block): Move to ...
14886         * crypt/sha256-block.c: ... here.
14887         * crypt/sha512.c (sha512_process_block): Move to ...
14888         * crypt/sha512-block.c: ... here.
14889         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14890         path.
14891         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14892         * sysdeps/sparc/sparc64/multiarch/Makefile
14893         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14894         crypt subdir.
14895         (localedef-aux): Add md5 crypto assembler when in locale subdir.
14896         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14897         multiarch changes.
14898         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14899         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14900         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14901         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14902         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14903         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14904         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14905         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14906         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14907         file.
14908         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14909         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14910         file.
14911         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14913 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
14915         * timezone/tzselect.ksh: Update from tzcode git revision
14916         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14917         * timezone/zdump.c: Likewise.
14918         * timezone/zic.c: Likewise.
14919         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14920         in TZVERSION setting, not $(PKGVERSION).
14921         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
14922         REPORT_BUGS_TO settings.
14924         [BZ #14838]
14925         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14926         macro.
14928 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14930         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14931         detection to immediately after _FP_ROUND().
14932         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14933         bits are 0.
14935 2012-11-11  David S. Miller  <davem@davemloft.net>
14937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14938         inttypes.h
14939         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14940         __close rather than their public counterparts.
14942 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
14944         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14945         file.
14946         [UNIX98] (sem_timedwait): Do not expect.
14947         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14948         [XPG4 || UNIX98] (sockatmark): Do not expect.
14949         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14950         (clock_getcpuclockid): Do not expect.
14951         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14952         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14953         Do not expect.
14954         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14955         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14956         [UNIX98] (vwscanf): Likewise.
14957         [UNIX98] (vswscanf): Likewise.
14959 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
14961         * timezone/version.h: Remove file.
14962         * timezone/README: Do not refer to version.h.
14963         * timezone/Makefile ($(objpfx)zic.o): New dependency on
14964         $(objpfx)version.h.
14965         ($(objpfx)zdump.o): Likewise.
14966         ($(objpfx)version.h): New target.
14968         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14969         2012i.
14970         * timezone/README: Don't mention modification to tzselect.ksh.
14971         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14972         work on unmodified tzselect.ksh.  Substitute version numbers in
14973         tzselect.ksh.
14975         * Makefile (format-me): Remove.
14976         (INSTALL): Adjust indentation.  Use commands directly instead of
14977         using $(format-me).
14979         * aclocal.m4 (ACX_PKGVERSION): New macro.
14980         (ACX_BUGURL): Likewise.
14981         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14982         (PKGVERSION): New AC_DEFINE_UNQUOTED.
14983         (REPORT_BUGS_TO): Likewise.
14984         * configure: Regenerated.
14985         * config.h.in (PKGVERSION): New macro.
14986         (REPORT_BUGS_TO): Likewise.
14987         * config.make.in (PKGVERSION): New variable.
14988         (PKGVERSION_TEXI): Likewise.
14989         (REPORT_BUGS_TO): Likewise.
14990         (REPORT_BUGS_TEXI): Likewise.
14991         * Makefile (format-me): Use -I$(common-objpfx)manual.
14992         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14993         ($(common-objpfx)manual/%): New target.
14994         (manual/%): Remove target.
14995         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14996         (print_version): Use PKGVERSION.
14997         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14998         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14999         and REPORT_BUGS_TO.
15000         ($(objpfx)xtrace): Likewise.
15001         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15002         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15003         (print_version): Use PKGVERSION.
15004         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15005         (do_version): Use PKGVERSION.
15006         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15007         REPORT_BUGS_TO.
15008         (common-ldd-rewrite): Likewise.
15009         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15010         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15011         (print_version): Use PKGVERSION.
15012         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15013         * elf/pldd.c (argp_program_bug_address): Remove variable.
15014         (more_help): New function.
15015         (argp): Use more_help.
15016         (print_version): Use PKGVERSION.
15017         * elf/sln.c (main): Use PKGVERSION.
15018         (usage): Use REPORT_BUGS_TO.
15019         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15020         (top level): Use PKGVERSION.
15021         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15022         (print_version): Use PKGVERSION.
15023         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15024         (print_version): Use PKGVERSION.
15025         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15026         (print_version): Use PKGVERSION.
15027         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15028         (print_version): Use PKGVERSION.
15029         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15030         (print_version): Use PKGVERSION.
15031         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15032         (print_version): Use PKGVERSION.
15033         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15034         and BUGURL.
15035         ($(objpfx)memusage): Likewise.
15036         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15037         (do_version): Use PKGVERSION.
15038         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15039         (print_version): Use PKGVERSION.
15040         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15041         ($PKGVERSION): New variable.
15042         ($REPORT_BUGS_TO): Likewise.
15043         (usage): Use $REPORT_BUGS_TO.
15044         (top level): Use $PKGVERSION.
15045         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15046         ($(objpfx)pkgvers.texi): New rule.
15047         ($(objpfx)stamp-pkgvers): Likewise.
15048         * manual/install.texi: Include pkgvers.texi.
15049         (--with-pkgversion): Document new configure option.
15050         (--with-bugurl): Likewise.
15051         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15052         than necessarily for this particular distribution.  Use
15053         REPORT_BUGS_TO for where to report bugs.
15054         * INSTALL: Regenerated.
15055         * manual/libc.texinfo: Include pkgvers.texi.
15056         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15057         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15058         (print_version): Use PKGVERSION.
15059         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15060         (print_version): Use PKGVERSION.
15061         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15062         (print_version): Use PKGVERSION.
15063         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15064         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15065         macro.
15066         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15067         (print_version): Use PKGVERSION.
15068         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15069         (print_version): Use PKGVERSION.
15070         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15071         and PKGVERSION.
15073         * timezone/checktab.awk: Update from tzcode 2012i.
15074         * timezone/ialloc.c: Likewise.
15075         * timezone/private.h: Likewise.
15076         * timezone/scheck.c: Likewise.
15077         * timezone/tzfile.h: Likewise.
15078         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15079         (TZVERSION): Hardcode tzcode version number.
15080         * timezone/zdump.c: Update from tzcode 2012i.
15081         * timezone/zic.c: Likewise.
15082         * timezone/version.h: New file.
15083         * timezone/README: Describe version.h.  Update upstream location.
15085         [BZ #14824]
15086         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15087         (mktemp): Enable declaration.
15088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15092         Likewise.
15093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15094         Likewise.
15095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15096         Likewise.
15097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15098         Likewise.
15099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15100         Likewise.
15101         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15102         Likewise.
15104         [BZ #14821]
15105         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15106         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15107         for copies of such integer values.
15108         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15109         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15111 2012-11-09  Andreas Jaeger  <aj@suse.de>
15113         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15114         definitions and declarations that are provided by
15115         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15117 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15119         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15120         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15121         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15122         definition.
15124 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15126         * elf/elf.h: Update comment before AArch64 relocations.
15128 2012-11-07  David S. Miller  <davem@davemloft.net>
15130         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15131         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15132         (__start_context): Declare.
15133         (__makecontext_ret): Delete.
15134         (__makecontext): Hook up __start_context instead of
15135         __makecontext_ret.
15136         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15137         (sysdep_routines): Add __start_context when in stdlib.
15139 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15141         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15142         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15143         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15144         hardcoded "nm".
15145         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15146         (READELF): New variable.  Use it instead of hardcoded "readelf".
15148 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15150         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15151         * sysdeps/x86/Makefile: Here.
15152         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15153         * sysdeps/x86/tst-xmmymm.sh: This.
15155 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15157         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15158         expectations.
15159         [UNIX98] (pthread_barrier_t): Do not expect.
15160         [UNIX98] (pthread_barrierattr_t): Likewise.
15161         [UNIX98] (pthread_spinlock_t): Likewise.
15162         [UNIX98] (pthread_barrier_destroy): Likewise.
15163         [UNIX98] (pthread_barrier_init): Likewise.
15164         [UNIX98] (pthread_barrier_wait): Likewise.
15165         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15166         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15167         [UNIX98] (pthread_barrierattr_init): Likewise.
15168         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15169         [UNIX98] (pthread_getcpuclockid): Likewise.
15170         [UNIX98] (pthread_mutex_timedlock): Likewise.
15171         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15172         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15173         [UNIX98] (pthread_sigmask): Likewise.
15174         [UNIX98] (pthread_spin_destroy): Likewise.
15175         [UNIX98] (pthread_spin_init): Likewise.
15176         [UNIX98] (pthread_spin_lock): Likewise.
15177         [UNIX98] (pthread_spin_trylock): Likewise.
15178         [UNIX98] (pthread_spin_unlock): Likewise.
15179         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15180         Do not expect.
15181         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15182         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15183         [XPG3 || XPG4] (pthread_cond_t): Likewise.
15184         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15185         [XPG3 || XPG4] (pthread_key_t): Likewise.
15186         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15187         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15188         [XPG3 || XPG4] (pthread_once_t): Likewise.
15189         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15190         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15191         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15192         [XPG3 || XPG4] (pthread_t): Likewise.
15194         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15195         not expect.
15196         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15198         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15199         Change function return type to int.
15201         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15202         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15203         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15204         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15205         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15206         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15207         [!POSIX] (posix_madvise): Likewise.
15208         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15209         && !UNIX98].
15210         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15211         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15212         (mode_t): Likewise.
15213         (posix_mem_offset): Likewise.
15214         (posix_typed_mem_get_info): Likewise.
15215         (posix_typed_mem_open): Likewise.
15217         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15218         Change condition to [XOPEN2K8].
15220         * conform/conformtest.pl: Preprocess allow-header data with -x c
15221         instead of from stdin.
15222         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15223         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15224         [C99-based standards] (cerfc): Likewise.
15225         [C99-based standards] (cexp2): Likewise.
15226         [C99-based standards] (cexpm1): Likewise.
15227         [C99-based standards] (clog10): Likewise.
15228         [C99-based standards] (clog1p): Likewise.
15229         [C99-based standards] (clog2): Likewise.
15230         [C99-based standards] (clgamma): Likewise.
15231         [C99-based standards] (ctgamma): Likewise.
15232         [C99-based standards] (cerff): Likewise.
15233         [C99-based standards] (cerfcf): Likewise.
15234         [C99-based standards] (cexp2f): Likewise.
15235         [C99-based standards] (cexpm1f): Likewise.
15236         [C99-based standards] (clog10f): Likewise.
15237         [C99-based standards] (clog1pf): Likewise.
15238         [C99-based standards] (clog2f): Likewise.
15239         [C99-based standards] (clgammaf): Likewise.
15240         [C99-based standards] (ctgammaf): Likewise.
15241         [C99-based standards] (cerfl): Likewise.
15242         [C99-based standards] (cerfcl): Likewise.
15243         [C99-based standards] (cexp2l): Likewise.
15244         [C99-based standards] (cexpm1l): Likewise.
15245         [C99-based standards] (clog10l): Likewise.
15246         [C99-based standards] (clog1pl): Likewise.
15247         [C99-based standards] (clog2l): Likewise.
15248         [C99-based standards] (clgammal): Likewise.
15249         [C99-based standards] (ctgammal): Likewise.
15250         * conform/data/inttypes.h-data [C99-based standards]: Include
15251         stdint.h-data.  Remove all expectations for stdint.h contents.
15252         [C99-based standards] (PRI*): Do not allow.
15253         [C99-based standards] (SCN*): Likewise.
15254         [C99-based standards] (*_t): Likewise.
15255         [C99-based-standards] (PRId8): Expect macro.
15256         [C99-based-standards] (PRIi8): Likewise.
15257         [C99-based-standards] (PRIo8): Likewise.
15258         [C99-based-standards] (PRIu8): Likewise.
15259         [C99-based-standards] (PRIx8): Likewise.
15260         [C99-based-standards] (PRIX8): Likewise.
15261         [C99-based-standards] (SCNd8): Likewise.
15262         [C99-based-standards] (SCNi8): Likewise.
15263         [C99-based-standards] (SCNo8): Likewise.
15264         [C99-based-standards] (SCNu8): Likewise.
15265         [C99-based-standards] (SCNx8): Likewise.
15266         [C99-based-standards] (PRIdLEAST8): Likewise.
15267         [C99-based-standards] (PRIiLEAST8): Likewise.
15268         [C99-based-standards] (PRIoLEAST8): Likewise.
15269         [C99-based-standards] (PRIuLEAST8): Likewise.
15270         [C99-based-standards] (PRIxLEAST8): Likewise.
15271         [C99-based-standards] (PRIXLEAST8): Likewise.
15272         [C99-based-standards] (SCNdLEAST8): Likewise.
15273         [C99-based-standards] (SCNiLEAST8): Likewise.
15274         [C99-based-standards] (SCNoLEAST8): Likewise.
15275         [C99-based-standards] (SCNuLEAST8): Likewise.
15276         [C99-based-standards] (SCNxLEAST8): Likewise.
15277         [C99-based-standards] (PRIdFAST8): Likewise.
15278         [C99-based-standards] (PRIiFAST8): Likewise.
15279         [C99-based-standards] (PRIoFAST8): Likewise.
15280         [C99-based-standards] (PRIuFAST8): Likewise.
15281         [C99-based-standards] (PRIxFAST8): Likewise.
15282         [C99-based-standards] (PRIXFAST8): Likewise.
15283         [C99-based-standards] (SCNdFAST8): Likewise.
15284         [C99-based-standards] (SCNiFAST8): Likewise.
15285         [C99-based-standards] (SCNoFAST8): Likewise.
15286         [C99-based-standards] (SCNuFAST8): Likewise.
15287         [C99-based-standards] (SCNxFAST8): Likewise.
15288         [C99-based-standards] (PRId16): Likewise.
15289         [C99-based-standards] (PRIi16): Likewise.
15290         [C99-based-standards] (PRIo16): Likewise.
15291         [C99-based-standards] (PRIu16): Likewise.
15292         [C99-based-standards] (PRIx16): Likewise.
15293         [C99-based-standards] (PRIX16): Likewise.
15294         [C99-based-standards] (SCNd16): Likewise.
15295         [C99-based-standards] (SCNi16): Likewise.
15296         [C99-based-standards] (SCNo16): Likewise.
15297         [C99-based-standards] (SCNu16): Likewise.
15298         [C99-based-standards] (SCNx16): Likewise.
15299         [C99-based-standards] (PRIdLEAST16): Likewise.
15300         [C99-based-standards] (PRIiLEAST16): Likewise.
15301         [C99-based-standards] (PRIoLEAST16): Likewise.
15302         [C99-based-standards] (PRIuLEAST16): Likewise.
15303         [C99-based-standards] (PRIxLEAST16): Likewise.
15304         [C99-based-standards] (PRIXLEAST16): Likewise.
15305         [C99-based-standards] (SCNdLEAST16): Likewise.
15306         [C99-based-standards] (SCNiLEAST16): Likewise.
15307         [C99-based-standards] (SCNoLEAST16): Likewise.
15308         [C99-based-standards] (SCNuLEAST16): Likewise.
15309         [C99-based-standards] (SCNxLEAST16): Likewise.
15310         [C99-based-standards] (PRIdFAST16): Likewise.
15311         [C99-based-standards] (PRIiFAST16): Likewise.
15312         [C99-based-standards] (PRIoFAST16): Likewise.
15313         [C99-based-standards] (PRIuFAST16): Likewise.
15314         [C99-based-standards] (PRIxFAST16): Likewise.
15315         [C99-based-standards] (PRIXFAST16): Likewise.
15316         [C99-based-standards] (SCNdFAST16): Likewise.
15317         [C99-based-standards] (SCNiFAST16): Likewise.
15318         [C99-based-standards] (SCNoFAST16): Likewise.
15319         [C99-based-standards] (SCNuFAST16): Likewise.
15320         [C99-based-standards] (SCNxFAST16): Likewise.
15321         [C99-based-standards] (PRId32): Likewise.
15322         [C99-based-standards] (PRIi32): Likewise.
15323         [C99-based-standards] (PRIo32): Likewise.
15324         [C99-based-standards] (PRIu32): Likewise.
15325         [C99-based-standards] (PRIx32): Likewise.
15326         [C99-based-standards] (PRIX32): Likewise.
15327         [C99-based-standards] (SCNd32): Likewise.
15328         [C99-based-standards] (SCNi32): Likewise.
15329         [C99-based-standards] (SCNo32): Likewise.
15330         [C99-based-standards] (SCNu32): Likewise.
15331         [C99-based-standards] (SCNx32): Likewise.
15332         [C99-based-standards] (PRIdLEAST32): Likewise.
15333         [C99-based-standards] (PRIiLEAST32): Likewise.
15334         [C99-based-standards] (PRIoLEAST32): Likewise.
15335         [C99-based-standards] (PRIuLEAST32): Likewise.
15336         [C99-based-standards] (PRIxLEAST32): Likewise.
15337         [C99-based-standards] (PRIXLEAST32): Likewise.
15338         [C99-based-standards] (SCNdLEAST32): Likewise.
15339         [C99-based-standards] (SCNiLEAST32): Likewise.
15340         [C99-based-standards] (SCNoLEAST32): Likewise.
15341         [C99-based-standards] (SCNuLEAST32): Likewise.
15342         [C99-based-standards] (SCNxLEAST32): Likewise.
15343         [C99-based-standards] (PRIdFAST32): Likewise.
15344         [C99-based-standards] (PRIiFAST32): Likewise.
15345         [C99-based-standards] (PRIoFAST32): Likewise.
15346         [C99-based-standards] (PRIuFAST32): Likewise.
15347         [C99-based-standards] (PRIxFAST32): Likewise.
15348         [C99-based-standards] (PRIXFAST32): Likewise.
15349         [C99-based-standards] (SCNdFAST32): Likewise.
15350         [C99-based-standards] (SCNiFAST32): Likewise.
15351         [C99-based-standards] (SCNoFAST32): Likewise.
15352         [C99-based-standards] (SCNuFAST32): Likewise.
15353         [C99-based-standards] (SCNxFAST32): Likewise.
15354         [C99-based-standards] (PRId64): Likewise.
15355         [C99-based-standards] (PRIi64): Likewise.
15356         [C99-based-standards] (PRIo64): Likewise.
15357         [C99-based-standards] (PRIu64): Likewise.
15358         [C99-based-standards] (PRIx64): Likewise.
15359         [C99-based-standards] (PRIX64): Likewise.
15360         [C99-based-standards] (SCNd64): Likewise.
15361         [C99-based-standards] (SCNi64): Likewise.
15362         [C99-based-standards] (SCNo64): Likewise.
15363         [C99-based-standards] (SCNu64): Likewise.
15364         [C99-based-standards] (SCNx64): Likewise.
15365         [C99-based-standards] (PRIdLEAST64): Likewise.
15366         [C99-based-standards] (PRIiLEAST64): Likewise.
15367         [C99-based-standards] (PRIoLEAST64): Likewise.
15368         [C99-based-standards] (PRIuLEAST64): Likewise.
15369         [C99-based-standards] (PRIxLEAST64): Likewise.
15370         [C99-based-standards] (PRIXLEAST64): Likewise.
15371         [C99-based-standards] (SCNdLEAST64): Likewise.
15372         [C99-based-standards] (SCNiLEAST64): Likewise.
15373         [C99-based-standards] (SCNoLEAST64): Likewise.
15374         [C99-based-standards] (SCNuLEAST64): Likewise.
15375         [C99-based-standards] (SCNxLEAST64): Likewise.
15376         [C99-based-standards] (PRIdFAST64): Likewise.
15377         [C99-based-standards] (PRIiFAST64): Likewise.
15378         [C99-based-standards] (PRIoFAST64): Likewise.
15379         [C99-based-standards] (PRIuFAST64): Likewise.
15380         [C99-based-standards] (PRIxFAST64): Likewise.
15381         [C99-based-standards] (PRIXFAST64): Likewise.
15382         [C99-based-standards] (SCNdFAST64): Likewise.
15383         [C99-based-standards] (SCNiFAST64): Likewise.
15384         [C99-based-standards] (SCNoFAST64): Likewise.
15385         [C99-based-standards] (SCNuFAST64): Likewise.
15386         [C99-based-standards] (SCNxFAST64): Likewise.
15387         [C99-based-standards] (PRIdMAX): Likewise.
15388         [C99-based-standards] (PRIiMAX): Likewise.
15389         [C99-based-standards] (PRIoMAX): Likewise.
15390         [C99-based-standards] (PRIuMAX): Likewise.
15391         [C99-based-standards] (PRIxMAX): Likewise.
15392         [C99-based-standards] (PRIXMAX): Likewise.
15393         [C99-based-standards] (SCNdMAX): Likewise.
15394         [C99-based-standards] (SCNiMAX): Likewise.
15395         [C99-based-standards] (SCNoMAX): Likewise.
15396         [C99-based-standards] (SCNuMAX): Likewise.
15397         [C99-based-standards] (SCNxMAX): Likewise.
15398         [C99-based-standards] (PRIdPTR): Likewise.
15399         [C99-based-standards] (PRIiPTR): Likewise.
15400         [C99-based-standards] (PRIoPTR): Likewise.
15401         [C99-based-standards] (PRIuPTR): Likewise.
15402         [C99-based-standards] (PRIxPTR): Likewise.
15403         [C99-based-standards] (PRIXPTR): Likewise.
15404         [C99-based-standards] (SCNdPTR): Likewise.
15405         [C99-based-standards] (SCNiPTR): Likewise.
15406         [C99-based-standards] (SCNoPTR): Likewise.
15407         [C99-based-standards] (SCNuPTR): Likewise.
15408         [C99-based-standards] (SCNxPTR): Likewise.
15409         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15410         allow.
15411         * conform/data/stdint.h-data: Update comments to clarify
15412         requirements.
15413         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15414         type.
15415         [C99-based standards] (INT8_MAX): Likewise.
15416         [C99-based standards] (INT16_MIN): Likewise.
15417         [C99-based standards] (INT16_MAX): Likewise.
15418         [C99-based standards] (INT32_MIN): Likewise.
15419         [C99-based standards] (INT32_MAX): Likewise.
15420         [C99-based standards] (INT64_MIN): Likewise.
15421         [C99-based standards] (INT64_MAX): Likewise.
15422         [C99-based standards] (UINT8_MAX): Likewise.
15423         [C99-based standards] (UINT16_MAX): Likewise.
15424         [C99-based standards] (UINT32_MAX): Likewise.
15425         [C99-based standards] (UINT64_MAX): Likewise.
15426         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15427         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15428         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15429         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15430         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15431         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15432         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15433         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15434         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15435         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15436         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15437         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15438         [C99-based standards] (INT_FAST8_MIN): Likewise.
15439         [C99-based standards] (INT_FAST8_MAX): Likewise.
15440         [C99-based standards] (INT_FAST16_MIN): Likewise.
15441         [C99-based standards] (INT_FAST16_MAX): Likewise.
15442         [C99-based standards] (INT_FAST32_MIN): Likewise.
15443         [C99-based standards] (INT_FAST32_MAX): Likewise.
15444         [C99-based standards] (INT_FAST64_MIN): Likewise.
15445         [C99-based standards] (INT_FAST64_MAX): Likewise.
15446         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15447         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15448         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15449         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15450         [C99-based standards] (INTPTR_MIN): Likewise.
15451         [C99-based standards] (INTPTR_MAX): Likewise.
15452         [C99-based standards] (UINTPTR_MAX): Likewise.
15453         [C99-based standards] (INTMAX_MIN): Likewise.
15454         [C99-based standards] (INTMAX_MAX): Likewise.
15455         [C99-based standards] (UINTMAX_MAX): Likewise.
15456         [C99-based standards] (PTRDIFF_MIN): Likewise.
15457         [C99-based standards] (PTRDIFF_MAX): Likewise.
15458         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15459         [C99-based standards] (SIZE_MAX): Likewise.
15460         [C99-based standards] (WCHAR_MAX): Likewise.
15461         [C99-based standards] (WINT_MAX): Likewise.
15462         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15463         constraint on value.
15464         [C99-based standards] (WCHAR_MIN): Likewise.
15465         [C99-based standards] (WINT_MIN): Likewise.
15466         [C99-based standards] (*_t): Allow.
15467         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15468         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15469         Include math.h-data and complex.h-data.  Remove all expectations
15470         of math.h and complex.h contents.
15471         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15472         at end of line.
15473         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15474         (struct tm): Expect tag.
15475         [C99-based-standards] (wcstof): Expect function.
15476         [C99-based-standards] (wcstold): Likewise.
15477         [C99-based-standards] (wcstoll): Likewise.
15478         [C99-based-standards] (wcstoull): Likewise.
15479         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15480         macro-int-constant.  Specify type.
15481         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15482         constraint on value.
15483         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15484         Specify type.
15485         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15486         Specify value.
15487         [ISO C standards]: Do not allow headers.
15488         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15489         wcs[abcdefghijklmnopqrstuvwxyz]*.
15490         [ISO C standards] (*_t): Do not allow.
15491         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15492         Expect function.
15493         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15494         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15495         Specify type.
15496         [ISO C standards]: Do not allow headers.
15497         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15498         is[abcdefghijklmnopqrstuvwxyz]*.
15499         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15500         to[abcdefghijklmnopqrstuvwxyz]*.
15501         [ISO C standards] (*_t): Do not allow.
15502         * conform/data/stdalign.h-data: New file.
15503         * conform/data/stdbool.h-data: Likewise.
15504         * conform/data/stdnoreturn.h-data: Likewise.
15506 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15508         [BZ #14815]
15509         * manual/filesys.texi (Directory Entries): Typo fix.
15510         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15512 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15514         * elf/elf.h (EM_AARCH64): New macro.
15515         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15516         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15517         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15518         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15519         (R_AARCH64_TLSDESC): Likewise.
15520         (NT_ARM_TLS): Likewise.
15521         (NT_ARM_HW_BREAK): Likewise.
15522         (NT_ARM_HW_WATCH): Likewise.
15524 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15526         [BZ #14811]
15527         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15528         (__ieee754_powl): Saturate nonzero exponents with absolute value
15529         below 0x1p-79 to +/- 0x1p-79.
15530         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15531         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15532         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15533         nonzero exponents with absolute value below 0x1p-32 to +/-
15534         0x1p-32.
15535         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15536         (__ieee754_powl): Saturate nonzero exponents with absolute value
15537         below 0x1p-79 to +/- 0x1p-79.
15538         * math/libm-test.inc (pow_test): Add more tests.
15540 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15542         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15543         _dl_s390_cap_flags with kernel. Increase string length.
15544         (_dl_s390_platforms): Add z196 and zEC12.
15546 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15548         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15549         Change XOPEN21K to XOPEN2K.
15551 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15553         * string/memmove.c: Use memcpy when possible.
15555 2012-11-06  Andreas Jaeger  <aj@suse.de>
15557         * po/eo.po: Update from translation team.
15559 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15561         [BZ #14793]
15562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15563         exponent and small x and y exponents, scale x or y up.  Increase
15564         by 2 the exponent used in scaling up.
15565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15567         * math/libm-test.inc (fma_test): Add more tests.
15568         (fma_test_towardzero): Likewise.
15569         (fma_test_downward): Likewise.
15570         (fma_test_upward): Likewise.
15572 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15574         [BZ #14805]
15575         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15576         fenv_t *.
15578         [BZ #14801]
15579         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15580         namespace for names of struct fields.
15581         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15582         fenv_t fields.
15583         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15584         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15586 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15588         [BZ #3665]
15589         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15591 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15593         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15594         PTR_DEMANGLE.
15596         [BZ #5246]
15597         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15598         PTR_DEMANGLE.
15600 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
15602         [BZ #14797]
15603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15604         definitely overflow as x * y not x * y + z.
15605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15607         * math/libm-test.inc (fma_test): Add more tests.
15608         (fma_test_towardzero): Likewise.
15609         (fma_test_downward): Likewise.
15610         (fma_test_upward): Likewise.
15612 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15614         [BZ #157]
15616         * include/stub-tag.h: Remove file.
15617         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15618         '#include' of it.
15619         * manual/maint.texi (Porting): Don't reference it.
15620         * Makerules ($(objpfx)stubs): Likewise.
15621         * dirent/closedir.c: Don't include <stub-tag.h>.
15622         * dirent/dirfd.c: Likewise.
15623         * dirent/fdopendir.c: Likewise.
15624         * dirent/getdents.c: Likewise.
15625         * dirent/getdents64.c: Likewise.
15626         * dirent/opendir.c: Likewise.
15627         * dirent/readdir.c: Likewise.
15628         * dirent/readdir64.c: Likewise.
15629         * dirent/readdir64_r.c: Likewise.
15630         * dirent/readdir_r.c: Likewise.
15631         * dirent/rewinddir.c: Likewise.
15632         * dirent/seekdir.c: Likewise.
15633         * dirent/telldir.c: Likewise.
15634         * gmon/profil.c: Likewise.
15635         * grp/setgroups.c: Likewise.
15636         * inet/if_index.c: Likewise.
15637         * io/access.c: Likewise.
15638         * io/chdir.c: Likewise.
15639         * io/chmod.c: Likewise.
15640         * io/chown.c: Likewise.
15641         * io/close.c: Likewise.
15642         * io/dup.c: Likewise.
15643         * io/dup2.c: Likewise.
15644         * io/dup3.c: Likewise.
15645         * io/euidaccess.c: Likewise.
15646         * io/faccessat.c: Likewise.
15647         * io/fchdir.c: Likewise.
15648         * io/fchmod.c: Likewise.
15649         * io/fchmodat.c: Likewise.
15650         * io/fchown.c: Likewise.
15651         * io/fchownat.c: Likewise.
15652         * io/fcntl.c: Likewise.
15653         * io/flock.c: Likewise.
15654         * io/fstatfs.c: Likewise.
15655         * io/fstatfs64.c: Likewise.
15656         * io/fstatvfs.c: Likewise.
15657         * io/fstatvfs64.c: Likewise.
15658         * io/futimens.c: Likewise.
15659         * io/fxstat.c: Likewise.
15660         * io/fxstat64.c: Likewise.
15661         * io/fxstatat.c: Likewise.
15662         * io/fxstatat64.c: Likewise.
15663         * io/getcwd.c: Likewise.
15664         * io/isatty.c: Likewise.
15665         * io/lchmod.c: Likewise.
15666         * io/lchown.c: Likewise.
15667         * io/link.c: Likewise.
15668         * io/linkat.c: Likewise.
15669         * io/lseek.c: Likewise.
15670         * io/lseek64.c: Likewise.
15671         * io/lxstat64.c: Likewise.
15672         * io/mkdir.c: Likewise.
15673         * io/mkdirat.c: Likewise.
15674         * io/mkfifo.c: Likewise.
15675         * io/mkfifoat.c: Likewise.
15676         * io/open.c: Likewise.
15677         * io/open64.c: Likewise.
15678         * io/openat.c: Likewise.
15679         * io/openat64.c: Likewise.
15680         * io/pipe.c: Likewise.
15681         * io/pipe2.c: Likewise.
15682         * io/poll.c: Likewise.
15683         * io/posix_fadvise.c: Likewise.
15684         * io/posix_fadvise64.c: Likewise.
15685         * io/posix_fallocate.c: Likewise.
15686         * io/posix_fallocate64.c: Likewise.
15687         * io/read.c: Likewise.
15688         * io/readlink.c: Likewise.
15689         * io/readlinkat.c: Likewise.
15690         * io/rmdir.c: Likewise.
15691         * io/sendfile.c: Likewise.
15692         * io/sendfile64.c: Likewise.
15693         * io/statfs.c: Likewise.
15694         * io/statfs64.c: Likewise.
15695         * io/statvfs.c: Likewise.
15696         * io/statvfs64.c: Likewise.
15697         * io/symlink.c: Likewise.
15698         * io/symlinkat.c: Likewise.
15699         * io/ttyname.c: Likewise.
15700         * io/ttyname_r.c: Likewise.
15701         * io/umask.c: Likewise.
15702         * io/unlink.c: Likewise.
15703         * io/unlinkat.c: Likewise.
15704         * io/utime.c: Likewise.
15705         * io/utimensat.c: Likewise.
15706         * io/write.c: Likewise.
15707         * io/xmknod.c: Likewise.
15708         * io/xmknodat.c: Likewise.
15709         * io/xstat.c: Likewise.
15710         * io/xstat64.c: Likewise.
15711         * login/getpt.c: Likewise.
15712         * login/grantpt.c: Likewise.
15713         * login/unlockpt.c: Likewise.
15714         * math/e_acoshl.c: Likewise.
15715         * math/e_acosl.c: Likewise.
15716         * math/e_asinl.c: Likewise.
15717         * math/e_atan2l.c: Likewise.
15718         * math/e_atanhl.c: Likewise.
15719         * math/e_coshl.c: Likewise.
15720         * math/e_expl.c: Likewise.
15721         * math/e_fmodl.c: Likewise.
15722         * math/e_gammal_r.c: Likewise.
15723         * math/e_hypotl.c: Likewise.
15724         * math/e_j0l.c: Likewise.
15725         * math/e_j1l.c: Likewise.
15726         * math/e_jnl.c: Likewise.
15727         * math/e_lgammal_r.c: Likewise.
15728         * math/e_log10l.c: Likewise.
15729         * math/e_log2l.c: Likewise.
15730         * math/e_logl.c: Likewise.
15731         * math/e_powl.c: Likewise.
15732         * math/e_rem_pio2l.c: Likewise.
15733         * math/e_sinhl.c: Likewise.
15734         * math/e_sqrtl.c: Likewise.
15735         * math/fclrexcpt.c: Likewise.
15736         * math/fedisblxcpt.c: Likewise.
15737         * math/feenablxcpt.c: Likewise.
15738         * math/fegetenv.c: Likewise.
15739         * math/fegetexcept.c: Likewise.
15740         * math/fegetround.c: Likewise.
15741         * math/feholdexcpt.c: Likewise.
15742         * math/fesetenv.c: Likewise.
15743         * math/fesetround.c: Likewise.
15744         * math/feupdateenv.c: Likewise.
15745         * math/fgetexcptflg.c: Likewise.
15746         * math/fraiseexcpt.c: Likewise.
15747         * math/fsetexcptflg.c: Likewise.
15748         * math/ftestexcept.c: Likewise.
15749         * math/k_cosl.c: Likewise.
15750         * math/k_rem_pio2l.c: Likewise.
15751         * math/k_sinl.c: Likewise.
15752         * math/k_tanl.c: Likewise.
15753         * math/s_asinhl.c: Likewise.
15754         * math/s_atanl.c: Likewise.
15755         * math/s_cbrtl.c: Likewise.
15756         * math/s_erfl.c: Likewise.
15757         * math/s_expm1l.c: Likewise.
15758         * math/s_log1pl.c: Likewise.
15759         * math/s_tanhl.c: Likewise.
15760         * misc/acct.c: Likewise.
15761         * misc/brk.c: Likewise.
15762         * misc/chflags.c: Likewise.
15763         * misc/chroot.c: Likewise.
15764         * misc/fchflags.c: Likewise.
15765         * misc/fgetxattr.c: Likewise.
15766         * misc/flistxattr.c: Likewise.
15767         * misc/fremovexattr.c: Likewise.
15768         * misc/fsetxattr.c: Likewise.
15769         * misc/fsync.c: Likewise.
15770         * misc/ftruncate.c: Likewise.
15771         * misc/futimes.c: Likewise.
15772         * misc/futimesat.c: Likewise.
15773         * misc/getdomain.c: Likewise.
15774         * misc/getdtsz.c: Likewise.
15775         * misc/gethostid.c: Likewise.
15776         * misc/gethostname.c: Likewise.
15777         * misc/getloadavg.c: Likewise.
15778         * misc/getpagesize.c: Likewise.
15779         * misc/getsysstats.c: Likewise.
15780         * misc/getxattr.c: Likewise.
15781         * misc/gtty.c: Likewise.
15782         * misc/ioctl.c: Likewise.
15783         * misc/lgetxattr.c: Likewise.
15784         * misc/listxattr.c: Likewise.
15785         * misc/llistxattr.c: Likewise.
15786         * misc/lremovexattr.c: Likewise.
15787         * misc/lsetxattr.c: Likewise.
15788         * misc/lutimes.c: Likewise.
15789         * misc/madvise.c: Likewise.
15790         * misc/mincore.c: Likewise.
15791         * misc/mlock.c: Likewise.
15792         * misc/mlockall.c: Likewise.
15793         * misc/mmap.c: Likewise.
15794         * misc/mprotect.c: Likewise.
15795         * misc/msync.c: Likewise.
15796         * misc/munlock.c: Likewise.
15797         * misc/munlockall.c: Likewise.
15798         * misc/munmap.c: Likewise.
15799         * misc/preadv.c: Likewise.
15800         * misc/preadv64.c: Likewise.
15801         * misc/ptrace.c: Likewise.
15802         * misc/pwritev.c: Likewise.
15803         * misc/pwritev64.c: Likewise.
15804         * misc/readv.c: Likewise.
15805         * misc/reboot.c: Likewise.
15806         * misc/remap_file_pages.c: Likewise.
15807         * misc/removexattr.c: Likewise.
15808         * misc/revoke.c: Likewise.
15809         * misc/select.c: Likewise.
15810         * misc/setdomain.c: Likewise.
15811         * misc/setegid.c: Likewise.
15812         * misc/seteuid.c: Likewise.
15813         * misc/sethostid.c: Likewise.
15814         * misc/sethostname.c: Likewise.
15815         * misc/setregid.c: Likewise.
15816         * misc/setreuid.c: Likewise.
15817         * misc/setxattr.c: Likewise.
15818         * misc/sstk.c: Likewise.
15819         * misc/stty.c: Likewise.
15820         * misc/swapoff.c: Likewise.
15821         * misc/swapon.c: Likewise.
15822         * misc/sync.c: Likewise.
15823         * misc/syncfs.c: Likewise.
15824         * misc/syscall.c: Likewise.
15825         * misc/truncate.c: Likewise.
15826         * misc/ualarm.c: Likewise.
15827         * misc/usleep.c: Likewise.
15828         * misc/ustat.c: Likewise.
15829         * misc/utimes.c: Likewise.
15830         * misc/vhangup.c: Likewise.
15831         * misc/writev.c: Likewise.
15832         * posix/_exit.c: Likewise.
15833         * posix/alarm.c: Likewise.
15834         * posix/execve.c: Likewise.
15835         * posix/fexecve.c: Likewise.
15836         * posix/fork.c: Likewise.
15837         * posix/fpathconf.c: Likewise.
15838         * posix/getaddrinfo.c: Likewise.
15839         * posix/getegid.c: Likewise.
15840         * posix/geteuid.c: Likewise.
15841         * posix/getgid.c: Likewise.
15842         * posix/getgroups.c: Likewise.
15843         * posix/getlogin.c: Likewise.
15844         * posix/getlogin_r.c: Likewise.
15845         * posix/getpgid.c: Likewise.
15846         * posix/getpid.c: Likewise.
15847         * posix/getppid.c: Likewise.
15848         * posix/getresgid.c: Likewise.
15849         * posix/getresuid.c: Likewise.
15850         * posix/getsid.c: Likewise.
15851         * posix/getuid.c: Likewise.
15852         * posix/glob64.c: Likewise.
15853         * posix/nanosleep.c: Likewise.
15854         * posix/pathconf.c: Likewise.
15855         * posix/pause.c: Likewise.
15856         * posix/posix_madvise.c: Likewise.
15857         * posix/pread.c: Likewise.
15858         * posix/pread64.c: Likewise.
15859         * posix/pwrite.c: Likewise.
15860         * posix/pwrite64.c: Likewise.
15861         * posix/sched_getaffinity.c: Likewise.
15862         * posix/sched_getp.c: Likewise.
15863         * posix/sched_gets.c: Likewise.
15864         * posix/sched_primax.c: Likewise.
15865         * posix/sched_primin.c: Likewise.
15866         * posix/sched_rr_gi.c: Likewise.
15867         * posix/sched_setaffinity.c: Likewise.
15868         * posix/sched_setp.c: Likewise.
15869         * posix/sched_sets.c: Likewise.
15870         * posix/sched_yield.c: Likewise.
15871         * posix/setgid.c: Likewise.
15872         * posix/setlogin.c: Likewise.
15873         * posix/setpgid.c: Likewise.
15874         * posix/setresgid.c: Likewise.
15875         * posix/setresuid.c: Likewise.
15876         * posix/setsid.c: Likewise.
15877         * posix/setuid.c: Likewise.
15878         * posix/sleep.c: Likewise.
15879         * posix/spawni.c: Likewise.
15880         * posix/sysconf.c: Likewise.
15881         * posix/times.c: Likewise.
15882         * posix/wait.c: Likewise.
15883         * posix/wait3.c: Likewise.
15884         * posix/wait4.c: Likewise.
15885         * posix/waitpid.c: Likewise.
15886         * resolv/gai_sigqueue.c: Likewise.
15887         * resource/getpriority.c: Likewise.
15888         * resource/getrlimit.c: Likewise.
15889         * resource/getrusage.c: Likewise.
15890         * resource/nice.c: Likewise.
15891         * resource/setpriority.c: Likewise.
15892         * resource/setrlimit.c: Likewise.
15893         * resource/ulimit.c: Likewise.
15894         * rt/aio_cancel.c: Likewise.
15895         * rt/aio_fsync.c: Likewise.
15896         * rt/aio_read.c: Likewise.
15897         * rt/aio_sigqueue.c: Likewise.
15898         * rt/aio_suspend.c: Likewise.
15899         * rt/aio_write.c: Likewise.
15900         * rt/clock_getres.c: Likewise.
15901         * rt/clock_gettime.c: Likewise.
15902         * rt/clock_nanosleep.c: Likewise.
15903         * rt/clock_settime.c: Likewise.
15904         * rt/lio_listio.c: Likewise.
15905         * rt/mq_close.c: Likewise.
15906         * rt/mq_getattr.c: Likewise.
15907         * rt/mq_notify.c: Likewise.
15908         * rt/mq_open.c: Likewise.
15909         * rt/mq_receive.c: Likewise.
15910         * rt/mq_send.c: Likewise.
15911         * rt/mq_setattr.c: Likewise.
15912         * rt/mq_timedreceive.c: Likewise.
15913         * rt/mq_timedsend.c: Likewise.
15914         * rt/mq_unlink.c: Likewise.
15915         * rt/shm_open.c: Likewise.
15916         * rt/shm_unlink.c: Likewise.
15917         * rt/timer_create.c: Likewise.
15918         * rt/timer_delete.c: Likewise.
15919         * rt/timer_getoverr.c: Likewise.
15920         * rt/timer_gettime.c: Likewise.
15921         * rt/timer_settime.c: Likewise.
15922         * setjmp/__longjmp.c: Likewise.
15923         * setjmp/setjmp.c: Likewise.
15924         * signal/kill.c: Likewise.
15925         * signal/killpg.c: Likewise.
15926         * signal/raise.c: Likewise.
15927         * signal/sigaction.c: Likewise.
15928         * signal/sigaltstack.c: Likewise.
15929         * signal/sigblock.c: Likewise.
15930         * signal/sigignore.c: Likewise.
15931         * signal/sigintr.c: Likewise.
15932         * signal/signal.c: Likewise.
15933         * signal/sigpause.c: Likewise.
15934         * signal/sigpending.c: Likewise.
15935         * signal/sigqueue.c: Likewise.
15936         * signal/sigreturn.c: Likewise.
15937         * signal/sigset.c: Likewise.
15938         * signal/sigsetmask.c: Likewise.
15939         * signal/sigstack.c: Likewise.
15940         * signal/sigsuspend.c: Likewise.
15941         * signal/sigtimedwait.c: Likewise.
15942         * signal/sigvec.c: Likewise.
15943         * signal/sigwait.c: Likewise.
15944         * signal/sigwaitinfo.c: Likewise.
15945         * signal/sysv_signal.c: Likewise.
15946         * socket/accept.c: Likewise.
15947         * socket/accept4.c: Likewise.
15948         * socket/bind.c: Likewise.
15949         * socket/connect.c: Likewise.
15950         * socket/getpeername.c: Likewise.
15951         * socket/getsockname.c: Likewise.
15952         * socket/getsockopt.c: Likewise.
15953         * socket/isfdtype.c: Likewise.
15954         * socket/listen.c: Likewise.
15955         * socket/recv.c: Likewise.
15956         * socket/recvfrom.c: Likewise.
15957         * socket/recvmsg.c: Likewise.
15958         * socket/send.c: Likewise.
15959         * socket/sendmsg.c: Likewise.
15960         * socket/sendto.c: Likewise.
15961         * socket/setsockopt.c: Likewise.
15962         * socket/shutdown.c: Likewise.
15963         * socket/sockatmark.c: Likewise.
15964         * socket/socket.c: Likewise.
15965         * socket/socketpair.c: Likewise.
15966         * stdio-common/ctermid.c: Likewise.
15967         * stdio-common/cuserid.c: Likewise.
15968         * stdio-common/remove.c: Likewise.
15969         * stdio-common/rename.c: Likewise.
15970         * stdio-common/renameat.c: Likewise.
15971         * stdio-common/tempname.c: Likewise.
15972         * stdlib/getcontext.c: Likewise.
15973         * stdlib/makecontext.c: Likewise.
15974         * stdlib/setcontext.c: Likewise.
15975         * stdlib/swapcontext.c: Likewise.
15976         * stdlib/system.c: Likewise.
15977         * streams/fattach.c: Likewise.
15978         * streams/fdetach.c: Likewise.
15979         * streams/getmsg.c: Likewise.
15980         * streams/getpmsg.c: Likewise.
15981         * streams/putmsg.c: Likewise.
15982         * streams/putpmsg.c: Likewise.
15983         * sysdeps/unix/bsd/getpt.c: Likewise.
15984         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15985         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15986         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15988         Likewise.
15989         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15990         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15991         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15992         * sysvipc/msgctl.c: Likewise.
15993         * sysvipc/msgget.c: Likewise.
15994         * sysvipc/msgrcv.c: Likewise.
15995         * sysvipc/msgsnd.c: Likewise.
15996         * sysvipc/semctl.c: Likewise.
15997         * sysvipc/semget.c: Likewise.
15998         * sysvipc/semop.c: Likewise.
15999         * sysvipc/semtimedop.c: Likewise.
16000         * sysvipc/shmat.c: Likewise.
16001         * sysvipc/shmctl.c: Likewise.
16002         * sysvipc/shmdt.c: Likewise.
16003         * sysvipc/shmget.c: Likewise.
16004         * termios/tcdrain.c: Likewise.
16005         * termios/tcflow.c: Likewise.
16006         * termios/tcflush.c: Likewise.
16007         * termios/tcgetattr.c: Likewise.
16008         * termios/tcgetpgrp.c: Likewise.
16009         * termios/tcsendbrk.c: Likewise.
16010         * termios/tcsetattr.c: Likewise.
16011         * termios/tcsetpgrp.c: Likewise.
16012         * time/adjtime.c: Likewise.
16013         * time/clock.c: Likewise.
16014         * time/getitimer.c: Likewise.
16015         * time/gettimeofday.c: Likewise.
16016         * time/setitimer.c: Likewise.
16017         * time/settimeofday.c: Likewise.
16018         * time/stime.c: Likewise.
16019         * time/time.c: Likewise.
16021 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16023         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16024         /usr/old/bin.
16026         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16027         instead of spaces.
16028         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16030 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16032         [BZ #14796]
16033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16034         FE_TONEAREST before applying Dekker multiplication and Knuth
16035         addition.  Clear inexact exceptions and check for exact zero
16036         results afterwards.
16037         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16038         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16039         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16040         * math/libm-test.inc (fma_test): Add more tests.
16041         (fma_test_towardzero): Likewise.
16042         (fma_test_downward): Likewise.
16043         (fma_test_upward): Likewise.
16044         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16045         function.
16046         (libc_fesetround): New macro.
16047         (libc_fesetroundf): Likewise.
16048         (libc_fesetroundl): Likewise.
16049         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16050         function.
16051         (libc_fesetround_387): Likewise.
16052         (libc_fesetroundf): New macro.
16053         (libc_fesetround): Likewise.
16054         (libc_fesetroundl): Likewise.
16055         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16056         function.
16057         (libc_fesetroundf): New macro.
16058         (libc_fesetround): Likewise.
16059         (libc_fesetroundl): Likewise.
16060         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16061         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16062         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16063         libm_hidden_ver.
16064         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16065         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16066         libm_hidden_def.
16067         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16068         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16069         libm_hidden_ver.
16070         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16071         libm_hidden_def.
16073         [BZ #3439]
16074         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16075         integer constant usable in #if and use that to give value to enum
16076         constant.
16077         (FE_DIVBYZERO): Likewise.
16078         (FE_UNDERFLOW): Likewise.
16079         (FE_OVERFLOW): Likewise.
16080         (FE_INVALID): Likewise.
16081         (FE_INVALID_SNAN): Likewise.
16082         (FE_INVALID_ISI): Likewise.
16083         (FE_INVALID_IDI): Likewise.
16084         (FE_INVALID_ZDZ): Likewise.
16085         (FE_INVALID_IMZ): Likewise.
16086         (FE_INVALID_COMPARE): Likewise.
16087         (FE_INVALID_SOFTWARE): Likewise.
16088         (FE_INVALID_SQRT): Likewise.
16089         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16090         (FE_TONEAREST): Likewise.
16091         (FE_TOWARDZERO): Likewise.
16092         (FE_UPWARD): Likewise.
16093         (FE_DOWNWARD): Likewise.
16094         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16095         (FE_DIVBYZERO): Likewise.
16096         (FE_OVERFLOW): Likewise.
16097         (FE_UNDERFLOW): Likewise.
16098         (FE_INEXACT): Likewise.
16099         (FE_TONEAREST): Likewise.
16100         (FE_DOWNWARD): Likewise.
16101         (FE_UPWARD): Likewise.
16102         (FE_TOWARDZERO): Likewise.
16103         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16104         (FE_UNDERFLOW): Likewise.
16105         (FE_OVERFLOW): Likewise.
16106         (FE_DIVBYZERO): Likewise.
16107         (FE_INVALID): Likewise.
16108         (FE_TONEAREST): Likewise.
16109         (FE_TOWARDZERO): Likewise.
16110         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16111         (FE_OVERFLOW): Likewise.
16112         (FE_UNDERFLOW): Likewise.
16113         (FE_DIVBYZERO): Likewise.
16114         (FE_INEXACT): Likewise.
16115         (FE_TONEAREST): Likewise.
16116         (FE_TOWARDZERO): Likewise.
16117         (FE_UPWARD): Likewise.
16118         (FE_DOWNWARD): Likewise.
16119         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16120         (FE_DIVBYZERO): Likewise.
16121         (FE_OVERFLOW): Likewise.
16122         (FE_UNDERFLOW): Likewise.
16123         (FE_INEXACT): Likewise.
16124         (FE_TONEAREST): Likewise.
16125         (FE_DOWNWARD): Likewise.
16126         (FE_UPWARD): Likewise.
16127         (FE_TOWARDZERO): Likewise.
16129 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16131         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16133 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16135         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16136         commands.  Quote $PWD.
16137         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16138         -x" by "export".
16139         (remove_newlines): Remove.
16141 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16143         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16144         * stdlib/stdlib.h (atof): Moved to ...
16145         * include/bits/stdlib-float.h: Here.  New file.
16146         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16147         * stdlib/bits/stdlib-float.h: New file.
16148         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16149         -mno-sse -mno-mmx.
16150         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16151         <xmmintrin.h>.
16153 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16155         * conform/conformtest.pl (@headers): Add fenv.h.
16156         * conform/data/fenv.h-data: New file.
16157         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16158         include of <math/fenv.h>.
16160         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16161         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16162         && !UNIX98].  Enables tests for XOPEN2K8.
16163         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16164         POSIX2008]: Likewise.
16166         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16167         (struct rusage): Do not expect type or its members.
16169         [BZ #3439]
16170         * math/math.h (FP_NAN): Define macro to integer constant usable in
16171         #if and use that to give value to enum constant.
16172         (FP_INFINITE): Likewise.
16173         (FP_ZERO): Likewise.
16174         (FP_SUBNORMAL): Likewise.
16175         (FP_NORMAL): Likewise.
16177 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
16179         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16180         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16181         arguments.
16183 2012-11-02  Roland McGrath  <roland@hack.frob.com>
16185         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16186         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16187         autoconf-time if not.
16188         * configure.in: Remove AC_PREREQ.
16190 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16192         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16193         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16194         of the internal implementation.
16196 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16198         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16199         except include of <misc/sys/syslog.h>.
16201 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16204         function returns with a NULL context exit with zero.
16206 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16208         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16210 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
16212         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16213         (run_program_cmd): This.
16214         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16215         (tst_langinfo): New variable.  Use it.
16217 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
16219         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16220         floating point opcodes.
16222 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16224         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16225         variable.
16227         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16229         * sysdeps/mach/hurd/powerpc: Remove directory.
16230         * sysdeps/mach/powerpc: Likewise.
16232 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16234         * scripts/check-local-headers.sh: Ignore c++ headers.
16236 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16238         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16239         __libc_cleanup_region_start argument.
16241 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
16243         [BZ #14784]
16244         [BZ #14785]
16245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16246         x * y using scaling, not as x * y + z.
16247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16248         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16249         * math/libm-test.inc (fma_test): Add more tests.
16250         (fma_test_towardzero): Likewise.
16251         (fma_test_downward): Likewise.
16252         (fma_test_upward): Likewise.
16254 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16256         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16258 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16260         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16261         New variable.
16263 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
16265         * rt/tst-shm.c (worker): Correct checking for mmap failure.
16267 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16270         Fix sort order.
16271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16272         Likewise.
16274 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16277         Fix the order of the list for glibc 2.17.
16278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16279         Likewise.
16281 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16285 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16287         [BZ #14610]
16288         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16289         for low part of x being zero before using __atanl (y).
16290         * math/libm-test.inc (atan2_test): Add another test.
16292         * manual/install.texi (Configuring and compiling): Document
16293         general use of test-wrapper and test-wrapper-env.
16294         * INSTALL: Regenerated.
16296         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16297         (__fma): Do not extract and scale down low bits on after-rounding
16298         systems when result rounded to normal precision would have normal
16299         exponent.
16300         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16301         (__fmal): Do not extract and scale down low bits on after-rounding
16302         systems when result rounded to normal precision would have normal
16303         exponent.
16304         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16305         (__fmal): Do not extract and scale down low bits on after-rounding
16306         systems when result rounded to normal precision would have normal
16307         exponent.
16308         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16309         macro.
16310         (fma_test): Add more tests.
16311         (fma_test_towardzero): Likewise.
16312         (fma_test_downward): Likewise.
16313         (fma_test_upward): Likewise.
16315 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
16317         * sysdeps/i386/tininess.h: Renamed to ...
16318         * sysdeps/x86/tininess.h: This.
16319         * sysdeps/x86_64/tininess.h: Removed.
16321 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16323         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16324         input.  Use $(build-program-cmd).
16325         ($(objpfx)tst-array1-static.out): Likewise.
16326         ($(objpfx)tst-array2.out): Likewise.
16327         ($(objpfx)tst-array3.out): Likewise.
16328         ($(objpfx)tst-array4.out): Likewise.
16329         ($(objpfx)tst-array5.out): Likewise.
16330         ($(objpfx)tst-array5-static.out): Likewise.
16332 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
16334         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16335         if defined.
16337         * nss/nsswitch.h (nss_interface_function): Provide new
16338         macro for use with NSS functions.
16339         * grp/initgroups.c: Use new macro.
16340         * nss/getXXbyYY.c: Likewise.
16341         * nss/getXXbyYY_r.c: Likewise.
16342         * nss/getXXent.c: Likewise.
16343         * nss/getXXent_r.c: Likewise.
16344         * sysdeps/posix/getaddrinfo.c: Likewise.
16346 2012-10-30  Andreas Jaeger  <aj@suse.de>
16348         * po/ru.po: Update Russion translation from translation project.
16350 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16352         [BZ #14152]
16353         [BZ #14783]
16354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16355         result and shift together with sticky bit instead of replicating
16356         round-to-nearest rounding.
16357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16358         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16359         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
16360         missing underflow exceptions.
16361         (fma_test_towardzero): Add more tests.
16362         (fma_test_downward): Likewise.
16363         (fma_test_upward): Likewise.
16365         [BZ #14047]
16366         * sysdeps/generic/tininess.h: New file.
16367         * sysdeps/i386/tininess.h: Likewise.
16368         * sysdeps/sh/tininess.h: Likewise.
16369         * sysdeps/x86_64/tininess.h: Likewise.
16370         * stdlib/tst-strtod-underflow.c: Likewise.
16371         * stdlib/tst-tininess.c: Likewise.
16372         * stdlib/strtod_l.c: Include <tininess.h>.
16373         (round_and_return): Do not set errno for exact underflow cases.
16374         Force an underflow exception when setting errno for underflow.
16375         Determine underflow based on rounding to normal precision if
16376         TININESS_AFTER_ROUNDING.
16377         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16378         ERANGE for exact underflow cases.
16379         * stdlib/Makefile (tests): Add tst-tininess and
16380         tst-strtod-underflow.
16381         ($(objpfx)tst-tininess): Use $(link-libm).
16382         ($(objpfx)tst-strtod-underflow): Likewise.
16384 2012-10-30  Andreas Jaeger  <aj@suse.de>
16386         [BZ#14767]
16387         * elf/Makefile (tests): Remove conditional for have-initfini-array
16388         since this is now always required and the variable does not exist
16389         anymore.
16390         (tests-static): Likewise.
16391         (modules-names): Likewise.
16393         * po/eo.po: Add Esperanto translation from translation project.
16395         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16396         merged with constructor/destructor.
16397         (init_array): Likewise.
16398         * elf/tst-array2dep.c (fini_array): Likewise.
16399         (init_array): Likewise.
16401 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16403         * manual/message.texi: Delete @cartouche tags.
16405 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16407         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16408         EOPNOTSUPP.
16409         * sysdeps/mach/hurd/fsync.c: Likewise.
16411         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16412         [_POSIX_REALTIME_SIGNALS]: Change condition to
16413         [_POSIX_REALTIME_SIGNALS > 0].
16415 2012-10-27  Andreas Jaeger  <aj@suse.de>
16417         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16418         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16420         [__WORDSIZE != 64]: Likewise.
16422 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16424         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16425         *  iconvdata/tst-tables.sh: Likewise.
16427 2012-10-25  David S. Miller  <davem@davemloft.net>
16429         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16430         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16431         of strtoull.
16433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16434         ifunc-impl-list.c
16435         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16436         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16437         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16438         file.
16440 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16442         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16443         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16444         __getdirentries.
16446 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16447             Jim Blandy  <jimb@codesourcery.com>
16449         * scripts/cross-test-ssh.sh: New file.
16450         * manual/install.texi (Configuring and compiling): Document use of
16451         cross-test-ssh.sh.
16452         * INSTALL: Regenerated.
16454 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16456         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16457         EOPNOTSUPP.
16459 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16461         * Makeconfig (run-program-prefix): Fix comment.
16463 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16464             Jim Blandy  <jimb@codesourcery.com>
16466         * Makeconfig (test-wrapper): New variable,
16467         (test-wrapper-env): Likewise.
16468         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16469         (run-built-tests): Define to yes.
16470         (run-program-prefix): Use $(test-wrapper).
16471         (built-program-cmd): Likewise.
16472         * Rules (make-test-out): Use $(test-wrapper-env) and
16473         $(host-built-program-cmd).
16474         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16475         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16476         tst-pathopt.sh.
16477         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16478         $(test-wrapper-env) to tst-rtld-load-self.sh.
16479         ($(objpfx)order2.out): Use $(test-wrapper).
16480         ($(objpfx)tst-initorder.out): Likewise.
16481         ($(objpfx)tst-initorder2.out): Likewise.
16482         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16483         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16484         (test_wrapper_env): New variable.  Use it to run ld.so.
16485         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16486         Use it to run ld.so.
16487         (test_wrapper_env): Likewise.
16488         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16489         $(test-wrapper) to run-iconv-test.sh.
16490         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16491         (ICONV): Use $test_wrapper.
16492         * posix/Makefile ($(objpfx)globtest.out): Pass
16493         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16494         globtest.sh, not $(run-program-prefix).
16495         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16496         (test_wrapper): Likewise.
16497         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16498         set together with run_via_rtld_prefix.
16499         (run_program_prefix): Define in terms of test_wrapper and
16500         run_via_rtld_prefix.
16502 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16504         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16505         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16506         Targets removed.
16508         [BZ #14743]
16509         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16510         Declare __clock_getres, __clock_gettime, __clock_settime,
16511         __clock_nanosleep, and __clock_getcpuclockid.
16512         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16513         Remove librt_hidden_def (clock_gettime).
16514         * sysdeps/unix/clock_gettime.c: Likewise.
16515         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16517         * rt/clock_getres.c: Define __clock_getres as an alias.
16518         * sysdeps/posix/clock_getres.c: Likewise.
16519         * rt/clock_settime.c: Define __clock_settime as an alias.
16520         * sysdeps/unix/clock_settime.c: Likewise.
16521         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16522         * sysdeps/unix/clock_nanosleep.c: Likewise.
16523         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16524         * rt/clock-compat.c: New file.
16525         * rt/Makefile (librt-routines): Add clock-compat and move
16526         $(clock-routines) to ...
16527         (routines): ... here, new variable.
16528         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16529         Don't add get_clockfreq here.
16530         * rt/Versions (libc: GLIBC_2.17): New version set.
16531         Add clock_* symbols here.
16532         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16533         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16534         (GLIBC_2.17): Add clock_* symbols.
16535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16537         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16539         Likewise.
16540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16541         Likewise.
16542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16546         * NEWS: Mention the move.
16548         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16549         Use __open, __read, __close rather than their public counterparts.
16550         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16551         (__get_clockfreq_via_cpuinfo): Likewise.
16552         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16553         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16555         * config.h.in (HAVE_IFUNC): New #undef.
16556         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16557         was successful.
16558         * configure: Regenerated.
16560 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16562         * configure.in: Move READELF check to start of file.
16563         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16564         libc_cv_asm_gnu_indirect_function in the process.
16565         * configure: Regenerated.
16567 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16569         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16570         send the output to /dev/null.
16571         (libc_cv_cc_with_libunwind): Likewise.
16572         (libc_cv_as_noexecstack): Likewise.
16573         * configure: Regenerate.
16575 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16577         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16579         * posix/globtest.sh (TMPDIR): Do not set.
16580         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16581         (testout): Likewise.
16583 2012-10-24  Andreas Jaeger  <aj@suse.de>
16585         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16586         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16587         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16588         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16589         posix_fadvise64, posix_fallocate64.
16591         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16592         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16593         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16594         Likewise.
16595         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16596         Likewise.
16597         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16600         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16601         <bits/fcntl-linux.h>.
16602         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16604         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16605         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16606         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16607         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16608         [__WORDSIZE != 64]: Likewise.
16610 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16612         * Makeconfig (run-built-tests): New variable.
16613         * Rules [$(cross-compiling) = yes]: Change condition to
16614         [$(run-built-tests) = no].
16615         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16616         to [$(run-built-tests) = yes].
16617         * elf/Makefile [$(cross-compiling) = no]: Likewise
16618         * grp/Makefile [$(cross-compiling) = no]: Likewise.
16619         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16620         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16621         * intl/Makefile [$(cross-compiling) = no]: Likewise.
16622         * io/Makefile [$(cross-compiling) = no]: Likewise.
16623         * libio/Makefile [$(cross-compiling) = no]: Likewise.
16624         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16625         * misc/Makefile [$(cross-compiling) = no]: Likewise.
16626         * posix/Makefile [$(cross-compiling) = no]: Likewise.
16627         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16628         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16629         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16630         * string/Makefile [$(cross-compiling) = no]: Likewise.
16632         * posix/Makefile ($(objpfx)globtest.out): Pass
16633         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16634         $(rtld-installed-name).
16635         * posix/globtest.sh (elf_objpfx): Remove variable.
16636         (rtld_installed_name): Likewise.
16637         (library_path): Likewise.
16638         (run_program_prefix): New variable.  Use for running globtest
16639         binary.
16641 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
16642             Joseph Myers  <joseph@codesourcery.com>
16644         * Makeconfig (host-built-program-cmd): New variable.
16645         * elf/Makefile (tst-stackguard1-ARGS): Use
16646         $(host-built-program-cmd).
16647         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16648         (tst-spawn-ARGS): Likewise.
16649         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16651 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16652             Jim Blandy  <jimb@codesourcery.com>
16654         * Makeconfig (run-via-rtld-prefix): New variable.
16655         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16656         (built-program-cmd): Likewise.
16658 2012-10-22  Andreas Jaeger  <aj@suse.de>
16660         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16661         __O_RSYNC if it exists, otherwise to O_SYNC.
16663 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
16664             Joseph Myers  <joseph@codesourcery.com>
16666         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16667         /dev/null.
16668         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16669         from /dev/null
16670         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16671         /dev/null.
16673 2012-10-22  Andreas Jaeger  <aj@suse.de>
16675         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16676         Define always.
16677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16680         bits/fcntl-linux.h.
16682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16683         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16685         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16686         to __O_LARGEFILE.
16687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16688         to __O_LARGEFILE.
16690 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
16691             Joseph Myers  <joseph@codesourcery.com>
16693         * config.make.in (NM): New variable.
16695 2012-10-21  Andreas Jaeger  <aj@suse.de>
16697         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16698         definitions and declarations that are provided by
16699         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16701 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16703         [BZ #14683]
16704         * elf/Makefile (tests-static): Add tst-leaks1-static.
16705         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16706         ($(objpfx)tst-leaks1-static): New rule.
16707         ($(objpfx)tst-leaks1-static-mem): Likewise.
16708         (tst-leaks1-static-ENV): New macro.
16709         * elf/dl-open.c (dl_open_worker): Check the main application
16710         only if SHARED is defined.
16711         * elf/tst-leaks1-static.c: New file.
16713 2012-10-20  Andreas Jaeger  <aj@suse.de>
16715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16716         generic values for Linux.
16717         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16718         and declarations that are provided by <bits/fcntl-linux.h> and
16719         include <bits/fcntl-linux.h>.
16720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16721         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16723 2012-10-20  Roland McGrath  <roland@hack.frob.com>
16725         * io/fcntl.h: Move include of <bits/types.h> to the top and
16726         include it unconditionally.
16728 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16730         * wcsmbs/Makefile (tests-ifunc): New variable.
16731         (tests): Add $(tests-ifunc).
16732         * wcsmbs/test-wcschr-ifunc.c: New file.
16733         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16734         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16735         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16736         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16737         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16739         * string/Makefile (tests-ifunc): New variable.
16740         (tests): Add $(tests-ifunc).
16741         * string/test-memccpy.c (TEST_NAME): New macro.
16742         * string/test-memchr.c (TEST_NAME): Likewise.
16743         * string/test-memcmp.c (TEST_NAME): Likewise.
16744         * string/test-memcpy.c (TEST_NAME): Likewise.
16745         * string/test-memmem.c (TEST_NAME): Likewise.
16746         * string/test-memmove.c (TEST_NAME): Likewise.
16747         * string/test-memset.c (TEST_NAME): Likewise.
16748         * string/test-rawmemchr.c (TEST_NAME): Likewise.
16749         * string/test-stpcpy.c (TEST_NAME): Likewise.
16750         * string/test-stpncpy.c (TEST_NAME): Likewise.
16751         * string/test-strcasecmp.c (TEST_NAME): Likewise.
16752         * string/test-strcasestr.c (TEST_NAME): Likewise.
16753         * string/test-strcat.c (TEST_NAME): Likewise.
16754         * string/test-strchr.c (TEST_NAME): Likewise.
16755         * string/test-strcmp.c(TEST_NAME): Likewise.
16756         * string/test-strcpy.c (TEST_NAME): Likewise.
16757         * string/test-strcspn.c (TEST_NAME): Likewise.
16758         * string/test-strlen.c (TEST_NAME): Likewise.
16759         * string/test-strncasecmp.c (TEST_NAME): Likewise.
16760         * string/test-strncmp.c (TEST_NAME): Likewise.
16761         * string/test-strncpy.c (TEST_NAME): Likewise.
16762         * string/test-strnlen.c (TEST_NAME): Likewise.
16763         * string/test-strpbrk.c (TEST_NAME): Likewise.
16764         * string/test-strrchr.c (TEST_NAME): Likewise.
16765         * string/test-strspn.c (TEST_NAME): Likewise.
16766         * string/test-strstr.c (TEST_NAME): Likewise.
16767         * string/test-bcopy-ifunc.c: New file.
16768         * string/test-bzero-ifunc.c: Likewise.
16769         * string/test-memccpy-ifunc.c: Likewise.
16770         * string/test-memchr-ifunc.c: Likewise.
16771         * string/test-memcmp-ifunc.c: Likewise.
16772         * string/test-memcpy-ifunc.c: Likewise.
16773         * string/test-memmem-ifunc.c: Likewise.
16774         * string/test-memmove-ifunc.c: Likewise.
16775         * string/test-mempcpy-ifunc.c: Likewise.
16776         * string/test-memset-ifunc.c: Likewise.
16777         * string/test-rawmemchr-ifunc.c: Likewise.
16778         * string/test-stpcpy-ifunc.c: Likewise.
16779         * string/test-stpncpy-ifunc.c: Likewise.
16780         * string/test-strcasecmp-ifunc.c: Likewise.
16781         * string/test-strcasestr-ifunc.c: Likewise.
16782         * string/test-strcat-ifunc.c: Likewise.
16783         * string/test-strchr-ifunc.c: Likewise.
16784         * string/test-strchrnul-ifunc.c: Likewise.
16785         * string/test-strcmp-ifunc.c: Likewise.
16786         * string/test-strcpy-ifunc.c: Likewise.
16787         * string/test-strcspn-ifunc.c: Likewise.
16788         * string/test-strlen-ifunc.c: Likewise.
16789         * string/test-strncasecmp-ifunc.c: Likewise.
16790         * string/test-strncat-ifunc.c: Likewise.
16791         * string/test-strncmp-ifunc.c: Likewise.
16792         * string/test-strncpy-ifunc.c: Likewise.
16793         * string/test-strnlen-ifunc.c: Likewise.
16794         * string/test-strpbrk-ifunc.c: Likewise.
16795         * string/test-strrchr-ifunc.c: Likewise.
16796         * string/test-strspn-ifunc.c: Likewise.
16797         * string/test-strstr-ifunc.c: Likewise.
16799         * debug/Makefile (tests-ifunc): New variable.
16800         (tests): Add $(tests-ifunc).
16801         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16802         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16803         * debug/test-stpcpy_chk-ifunc.c: New file.
16804         * debug/test-strcpy_chk-ifunc.c: Likewise.
16806 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16808         [BZ #13601]
16809         * elf/dl-load.c (open_verify): Retry read if the entire ELF
16810         header is not read in.
16812 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
16814         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
16815         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
16816         directly.  Pass built executable to script as
16817         $(built-program-cmd).
16818         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
16819         $testprogram without using LD_LIBRARY_PATH and $ldso.
16821         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16822         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16823         $(rtld-installed-name).
16824         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16825         (rtld_installed_name): Likewise.
16826         (library_path): Likewise.
16827         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
16828         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16829         $(run-program-prefix) to tst-tables.sh.
16830         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
16831         it to run tst-table-from and tst-table-to.
16832         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16833         Pass it to tst-table.sh.
16834         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16835         $(run-program-prefix) to tst-gettext.sh.
16836         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16837         tst-translit.sh.
16838         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16839         tst-gettext2.sh.
16840         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
16841         to run tst-gettext.
16842         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
16843         to run tst-gettext2.
16844         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
16845         to run tst-translit.
16846         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16847         $(run-program-prefix) to tst-mtrace.sh.
16848         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
16849         to run tst-mtrace.
16850         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16851         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16852         $(rtld-installed-name).
16853         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16854         (rtld_installed_name): Likewise.
16855         (run_program_prefix): New variable.  Use it to run wordexp-test.
16857         * Makeconfig (ARCH): Remove all definitions.
16858         (machine): Likewise.
16859         [ARCH]: Remove conditional code.
16860         [!objdir]: Give error.
16861         [!objdir] (objpfx): Remove.
16862         [!objdir] (common-objpfx): Likewise.
16863         [!objdir] (common-objdir): Likewise.
16864         * configure.in (config_makefile): Remove.  Hardcode Makefile in
16865         AC_CONFIG_FILES call.
16866         * configure: Regenerated.
16868         [BZ #13888]
16869         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16870         or TMPDIR.
16871         (testout): Likewise.
16873         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16874         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16875         $(rtld-installed-name).
16876         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16877         (rtld_installed_name): Likwise.
16878         (runit): Remove function.
16879         (run_getconf): New variable,  Use it for running getconf binary.
16881 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
16883         [BZ #14716]
16884         * string/test-memmem.c (check_result): New function.
16885         (do_one_test): Use it.
16886         (check1): New function.
16887         (test_main): Use it.
16889 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
16891         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16893 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
16895         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16896         (_G_LSEEK64): Likewise.
16897         (_G_MMAP64): Likewise.
16898         (_G_FSTAT64): Likewise.
16899         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16900         (_G_LSEEK64): Likewise.
16901         (_G_MMAP64): Likewise.
16902         (_G_FSTAT64): Likewise.
16903         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16904         unconditional.  Call __mmap64 directly.
16905         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16906         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
16907         __lseek64 directly.
16908         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16909         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
16910         __mmap64 directly.
16911         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16912         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16913         __lseek64 directly.
16914         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16915         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16916         __lseek64 directly.
16917         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16918         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
16919         __lseek64 directly.
16920         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16921         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
16922         __fxstat64 directly.
16923         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16924         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16925         unconditional.
16926         (freopen64) [!_G_OPEN64]: Remove conditional code.
16927         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16928         unconditional.
16929         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16930         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16931         unconditional.
16932         (ftello64) [!_G_LSEEK64]: Remove conditional code.
16933         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16934         unconditional.
16935         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16936         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16937         unconditional.
16938         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16939         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16940         unconditional.
16941         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16942         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16943         unconditional.
16944         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16945         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16946         unconditional.
16947         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16949 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16951         [BZ #12140]
16952         * manual/memory.texi (Malloc Tunable Parameters): Add note
16953         about free list pointers overwriting some perturb bytes.
16954         Wording suggested by Roland McGrath.
16956 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
16958         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16959         (lgamma_test): Likewise.
16960         (tgamma_test): Likewise.
16962 2012-10-16  Florian Weimer  <fweimer@redhat.com>
16964         [BZ #14700]
16965         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16966         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16968 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
16970         * NEWS: Mention BZ #14716.
16971         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16972         when removing AVAILABLE1_USES_J macro.
16974 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
16976         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16977         (__bswap_64): __uint64_t for unsigned 64-bit int.
16979 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
16981         * include/string.h (memmem): Declare libc hidden alias.
16982         * string/memmem.c (memmem): Define libc hidden alias.
16983         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16984         __read, __close instead of open, read, close.
16986 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
16988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16989         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16990         global and hidden.
16991         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16992         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16993         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16994         Likewise.
16995         (__rawmemchr_sse2): Likewise.
16996         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16997         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16998         (__strchr_sse2): Likewise.
16999         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17000         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17001         (__strcasecmp_sse2): Likewise.
17002         (__strncasecmp_sse2): Likewise.
17003         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17004         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17005         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17006         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17007         (__strrchr_sse2): Likewise.
17008         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17009         ifunc-impl-list.c.
17010         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17011         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17012         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17013         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17014         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17015         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17016         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17017         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17018         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17019         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17020         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17021         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17022         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17023         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17024         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17025         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17026         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17027         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17028         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17029         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17030         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17031         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17032         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17033         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17034         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17035         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17036         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17037         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17038         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17039         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17041         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17042         global and hidden.
17043         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17044         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17045         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17046         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17047         Likewise.
17048         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17049         Likewise.
17050         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17051         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17052         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17053         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17054         ifunc-impl-list.c.
17055         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17056         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17057         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17058         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17059         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17060         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17061         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17062         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17063         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17064         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17065         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17066         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17067         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17068         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17069         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17070         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17071         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17072         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17073         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17074         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17075         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17076         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17077         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17078         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17079         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17080         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17081         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17082         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17083         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17084         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17085         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17086         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17087         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17088         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17089         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17090         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17091         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17092         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17093         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17094         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17095         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17097         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17098         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17099         * include/ifunc-impl-list.h: New file.
17100         * misc/ifunc-impl-list.c: Likewise.
17101         * misc/Makefile (routines): Add ifunc-impl-list.
17102         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17103         * string/test-string.h: Include <ifunc-impl-list.h>.
17104         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17105         impl_array): New variables.
17106         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17107         are defined.
17108         (test_init): Call __libc_ifunc_impl_list to initialize
17109         func_list if TEST_IFUNC and TEST_NAME are defined.
17111         * string/Makefile (strop-tests): Add bcopy and bzero.
17112         * string/test-bcopy.c: New file.
17113         * string/test-bzero.c: Likewise.
17114         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17115         defined.
17116         * string/test-memset.c: Support bzero test if TEST_BZERO is
17117         defined.
17118         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17119         __libc_memmove.
17120         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17121         __libc_memset.
17122         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17123         of memset.
17125 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17127         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17128         * configure: Regenerated.
17130         * Makeconfig (+link-static-before-libc): Don't include
17131         $(link-static-libc).
17133         * libio/libio.h (_IO_pos_t): Remove.
17135 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17137         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17138         McGrath.
17140 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17142         * crypt/crypt-entry.c: Include fips-private.h.
17143         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17144         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17145         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17146         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17148 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17150         * crypt/crypt-private.h: Include stdbool.h.
17151         (_ufc_setup_salt_r): Return bool.
17152         * crypt/crypt-entry.c: Include errno.h.
17153         (__crypt_r): Return NULL with EINVAL for bad salt.
17154         * crypt/crypt_util.c (bad_for_salt): New.
17155         (_ufc_setup_salt_r): Check that salt is long enough and within
17156         the specified alphabet.
17157         * crypt/badsalttest.c: New file.
17158         * crypt/Makefile (tests): Add it.
17159         ($(objpfx)badsalttest): New.
17161 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17163         * NEWS: Add entry for BZ #14602.
17165 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17167         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17168         type-generic.
17169         * math/libm-test.inc: Update comment listing what functions and
17170         macros are tested.
17171         (isgreater_test): New function.
17172         (isgreaterequal_test): Likewise.
17173         (isless_test): Likewise.
17174         (islessequal_test): Likewise.
17175         (islessgreater_test): Likewise.
17176         (isunordered_test): Likewise.
17177         (main): Call the new functions.
17179 2012-10-09  Roland McGrath  <roland@hack.frob.com>
17181         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17182         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17183         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17184         * sysdeps/i386/configure: Regenerated.
17185         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17186         * sysdeps/mach/configure: Regenerated.
17187         * sysdeps/mach/hurd/configure: Regenerated.
17188         * sysdeps/powerpc/configure: Regenerated.
17189         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17190         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17191         * sysdeps/s390/s390-32/configure: Regenerated.
17192         * sysdeps/s390/s390-64/configure: Regenerated.
17193         * sysdeps/sh/configure: Regenerated.
17194         * sysdeps/sparc/configure: Regenerated.
17195         * sysdeps/unix/sysv/linux/configure: Regenerated.
17196         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17197         * sysdeps/x86_64/configure: Regenerated.
17199         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17200         defined.  Don't check if MAP is NULL.
17202 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17204         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17205         (_G_stat64): Likewise.
17206         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17207         (_G_stat64): Likewise.
17208         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17209         instead of struct _G_stat64.
17210         * libio/fileops.c (mmap_remap_check): Likewise.
17211         (decide_maybe_mmap): Likewise.
17212         (_IO_new_file_seekoff): Likewise.
17213         (_IO_file_stat): Likewise.
17214         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17215         _G_off64_t.
17216         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17217         instead of struct _G_stat64.
17218         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17220 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
17222         [BZ #14602]
17223         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17224         Replace with ...
17225         (CHECK_EOL): New macro.
17226         (two_way_short_needle): Check beginning of haystack for EOL.  Use
17227         CHECK_EOL.
17228         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17229         Replace with CHECK_EOL.
17230         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17231         Replace with CHECK_EOL.
17233 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
17235         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17236         type-generic.
17237         * math/libm-test.inc: Update comment listing what functions and
17238         macros are tested.
17239         (finite_test): New function.
17240         (isinf_test): Likewise.
17241         (isnan_test): Likewise.
17242         (fpclassify_test): Test subnormal input.
17243         (isfinite_test): Likewise.
17244         (isnormal_test): Likewise.
17245         (main): Call the new functions.
17247 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
17249         [BZ #14660]
17250         * Makerules (%.dynsym): Force C locale when running
17251         $(OBJDUMP) --dynamic-syms.
17253 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
17255         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17256         <stdint.h>.
17258 2012-10-06  David S. Miller  <davem@davemloft.net>
17260         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17261         upper 32-bits of the length value in %o2 since we use branch-on-register
17262         tests which consider the entire 64-bit register.
17264 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
17266         * string/test-strstr.c (check2): Add a test for page boundary.
17268 2012-10-05  David S. Miller  <davem@davemloft.net>
17270         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17271         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17272         file.
17273         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17274         sysdep_routines.
17275         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17276         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17277         and bzero when HWCAP_SPARC_CRYPTO is present.
17279 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
17281         [BZ #14602]
17282         * string/test-strstr.c (check2): New function.
17283         (test_main): Call check2.
17285         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17286         and bug-strchr1.
17287         * string/bug-strcasestr1.c (do_test): Moved to ...
17288         * string/test-strcasestr.c (check1): Here.  New function.
17289         (do_one_test): Break out result checking code into ...
17290         (check_result): This.  New function.
17291         (do_one_test): Call check_result.
17292         (test_main): Call check1.
17293         * string/bug-strchr1.c (do_test): Moved to ...
17294         * string/test-strchr.c (check1): Here.  New function.
17295         (do_one_test): Break out result checking code into ...
17296         (check_result): This.  New function.
17297         (do_one_test): Call check_result.
17298         (test_main): Call check1.
17299         * string/bug-strstr1.c (main): Moved to ...
17300         * string/test-strstr.c (check1): Here.  New function.
17301         (do_one_test): Break out result checking code into ...
17302         (check_result): This.  New function.
17303         (do_one_test): Call check_result.
17304         (test_main): Call check1.
17305         * string/bug-strcasestr1.c: Removed.
17306         * string/bug-strchr1.c: Likewise.
17307         * string/bug-strstr1.c: Likewise.
17309         * elf/Makefile (dl-routines): Add hwcaps.
17310         * elf/dl-support.c (_dl_important_hwcaps): Removed.
17311         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17312         (_dl_important_hwcaps): Moved to ...
17313         * elf/dl-hwcaps.c: Here.  New file.
17314         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17316         [BZ #14557]
17317         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17318         if IS_IN_rtld isn't defined.
17320         * elf/dl-support.c (_dl_sysinfo_map): New.
17321         Include "get-dynamic-info.h" and "setup-vdso.h".
17322         (_dl_non_dynamic_init): Call setup_vdso.
17323         * elf/dynamic-link.h: Don't include <assert.h>.
17324         (elf_get_dynamic_info): Moved to ...
17325         * elf/get-dynamic-info.h: Here.  New file.
17326         * elf/dynamic-link.h: Include "get-dynamic-info.h".
17327         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17328         * elf/setup-vdso.h: Here.  New file.
17329         * elf/rtld.c: Include "setup-vdso.h".
17330         (dl_main): Call setup_vdso.
17332 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
17334         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17335         creal in comment listing functions tested.  List finite, isinf,
17336         isnan, isless, islessequal, isgreater, isgreaterequal,
17337         islessgreater, isunordered, lgamma_r and pow10 as functions and
17338         macros not tested.  Mention which functions not tested are aliases
17339         for other functions.  Fix typo.  Note that signs of NaNs are not
17340         tested.
17342         * scripts/config.guess: Update from config.git.
17343         * scripts/config.sub: Likewise.
17345 2012-10-04  Roland McGrath  <roland@hack.frob.com>
17347         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17348         * misc/madvise.c (madvise): Renamed to __madvise.
17349         Make madvise a weak alias.
17350         * include/sys/mman.h: Declare __madvise.
17351         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17352         * sysdeps/unix/syscalls.list
17353         (madvise): Make __madvise the strong name, and madvise a weak alias.
17354         * sysdeps/unix/sysv/linux/syscalls.list
17355         (madvise, mmap): Remove redundant entries.
17356         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17357         * malloc/malloc.c (mtrim): Likewise.
17358         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17360 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17362         * sysdeps/mach/hurd/dl-cache.c: File removed.
17363         * config.h.in (USE_LDCONFIG): New #undef.
17364         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17365         * configure: Regenerated.
17366         * elf/Makefile (dl-routines): Add dl-cache only under
17367         [$(use-ldconfig) = yes].
17368         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17369         cache on [USE_LDCONFIG].
17370         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17371         [USE_LDCONFIG].
17372         * elf/rtld.c (dl_main): Likewise.
17374 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
17376         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17377         _SC_LEVEL4_CACHE_LINESIZE.
17379 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17381         * sysdeps/unix/bsd/confstr.h: File removed.
17383 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
17385         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17386         sys/sdt-config.h.
17388 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17390         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17391         Make 'mapoff' field ElfW(Off) rather than off_t.
17393 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17395         * nscd/Makefile: Remove nscd-cflags and all its users.
17396         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17397         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17399         [BZ #10631]
17400         * malloc.c (malloc_printerr): Clarify error message.
17402 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17404         [BZ #14648]
17405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17406         Set bit_FMA_Usable if FMA is supported.
17407         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17408         macro.
17409         (bit_FMA4_Usable): Updated.
17410         (index_FMA_Usable): New macro.
17411         (CPUID_FMA): Likewise
17412         (HAS_FMA): Defined with bit_FMA_Usable.
17414 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17416         * bits/types.h (__swblk_t): Type removed.
17417         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17418         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17420         (__SWBLK_T_TYPE): Likewise.
17421         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17422         (__SWBLK_T_TYPE): Likewise.
17423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17424         (__SWBLK_T_TYPE): Likewise.
17425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17426         (__SWBLK_T_TYPE): Likewise.
17428 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17429             Honza Horak <hhorak@redhat.com>
17431         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17432         (xdr_mapname): Use YPMAXMAP as maxsize.
17433         (xdr_peername): Use YPMAXPEER as maxsize.
17434         (xdr_keydat): Use YPAXRECORD as maxsize.
17435         (xdr_valdat): Use YPMAXRECORD as maxsize.
17437 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17439         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17441         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17442         * csu/init-first.c: ... here.
17443         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17444         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17445         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17446         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17447         * sysdeps/i386/init-first.c: File removed.
17448         * sysdeps/sh/init-first.c: File removed.
17450 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17452         [BZ #14645]
17453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17454         if x * y might underflow to zero and z is zero.
17455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17456         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17457         * math/libm-test.inc (min_subnorm_value): New variable.
17458         (fma_test): Add more tests.
17459         (fma_test_towardzero): Likewise.
17460         (fma_test_downward): Likewise
17461         (fma_test_upward): Likewise.
17462         (initialize): Set min_subnorm_value.
17464 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17466         [BZ #14638]
17467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17468         0 + 0.
17469         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17470         mode for addition resulting in exact zero.
17471         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17472         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17473         exact 0 + 0.
17474         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17476         * math/libm-test.inc (fma_test): Add more tests.
17477         (fma_test_towardzero): New function.
17478         (fma_test_downward): Likewise.
17479         (fma_test_upward): Likewise.
17480         (main): Call the new functions.
17482 2012-09-28  David S. Miller  <davem@davemloft.net>
17484         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17486 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17488         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17489         instead of SIGALRM.
17491         * sysdeps/gnu/_G_config.h: Moved to ...
17492         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17493         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17494         * sysdeps/generic/_G_config.h: ... here.
17496         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17498         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17500         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17501         Conditionalize target on [libnss_test1.so-version].
17503         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17505         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17506         (elfobjdir): Move out of conditionals.
17508         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17509         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17510         (__nss_lookup_function): Conditionalize label remove_from_tree on
17511         [!DO_STATIC_NSS || SHARED], matching its only use.
17513 2012-09-28  David S. Miller  <davem@davemloft.net>
17515         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17516         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17517         file.
17518         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17519         sysdep_routines.
17520         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17521         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17522         when HWCAP_SPARC_CRYPTO is present.
17524 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17526         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17528 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17530         [BZ #6530]
17531         * stdio-common/vfprintf.c (process_string_arg): Revert
17532         2000-07-22 change.
17534 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17536         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17537         for testcase.
17538         * stdio-common/tst-sprintf.c: Include <locale.h>
17539         (main): Test sprintf's handling of incomplete multibyte
17540         characters.
17542 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17544         * elf/dl-runtime.c (VERSYMIDX): Removed.
17545         * elf/dl-version.c (VERSYMIDX): Likewise.
17546         * elf/do-rel.h (VERSYMIDX): Likewise.
17547         (VALIDX): Likewise.
17548         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17549         * elf/rtld.c (VALIDX): Likewise.
17550         (ADDRIDX): Likewise.
17551         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17552         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17553         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17554         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17555         (VALIDX): Likewise.
17556         (ADDRIDX): Likewise.
17558 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17560         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17562 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17564         [BZ #11438]
17565         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17566         to global scope.
17567         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17568         addresses are in the same scope as 192.0.2/24.
17569         * posix/gai.conf: Document new scope table defaults.
17571 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17573         [BZ #5298]
17574         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17575         for ftell.  Compute offsets from write pointers instead.
17576         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17578 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17580         [BZ #14543]
17581         * libio/Makefile (tests): New test case tst-fseek.
17582         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17583         combination works in wide mode.
17584         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17585         state when the external buffer state changes.
17587 2012-09-27  David S. Miller  <davem@davemloft.net>
17589         [BZ #14376]
17590         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17591         pass reloc->r_addend in as the 'high' argument to
17592         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17596 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17598         * rt/tst-aio2.c: Include <pthread.h>.
17599         * rt/tst-aio3.c: Likewise.
17601 2012-09-27  Steve Ellcey  <sellcey@mips.com>
17603         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17605 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
17607         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17608         contents on [SHARED].
17610 2012-09-26  Marek Polacek  <polacek@redhat.com>
17612         [BZ #14530]
17613         [BZ #13741]
17614         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17615         for C++ and GCC <4.3 as well as for non GCC compilers.
17617 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17621 2012-09-25  Roland McGrath  <roland@hack.frob.com>
17623         * Makefile.in (all, install): Declare with .PHONY.
17624         Reported by Michael Hope <michael.hope@linaro.org>.
17626 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17628         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17629         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17630         system header.
17631         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17632         Likewise.
17633         (sydep_routines): Add the new and the internal functions.
17634         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17635         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17637         (GLIBC_2.17): Add the new function.
17638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17639         (GLIBC_2.17): Likewise.
17640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17641         (GLIBC_2.17): Likewise.
17642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17643         (GLIBC_2.17): Likewise.
17644         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17646 2012-09-25  Alan Modra  <amodra@gmail.com>
17648         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17649         Add release barrier before setting once_control to say
17650         initialisation is done.  Add hints on lwarx.  Use macro in
17651         place of isync.
17652         (clear_once_control): Add release barrier.
17654 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17656         [BZ #13629]
17657         * math/s_clog.c (__clog): Handle more values close to |z| = 1
17658         specially.
17659         * math/s_clog10.c (__clog10): Likewise.
17660         * math/s_clog10f.c (__clog10f): Likewise.
17661         * math/s_clog10l.c (__clog10l): Likewise.
17662         * math/s_clogf.c (__clogf): Likewise.
17663         * math/s_clogl.c (__clogl): Likewise.
17664         * math/Makefile (libm-calls): Add x2y2m1.
17665         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17666         (__x2y2m1): Likewise.
17667         (__x2y2m1l): Likewise.
17668         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17669         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17670         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17671         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17672         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17673         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17674         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17675         * sysdeps/i386/fpu/libm-test-ulps: Update.
17676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17678         [BZ #14621]
17679         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17680         int as type of variable DEPTH.
17681         (glob): Use size_t instead of int as type of variables NEWCOUNT
17682         and OLD_PATHC.
17684 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17686         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17687         Add s_sincosf-sse2.
17688         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17689         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17690         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17691         macros for using routine as __sincosf_ia32.
17692         Use macro for function declaration and weak_alias.
17693         * sysdeps/i386/fpu/libm-test-ulps: Update.
17695         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17698         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17699         subnormal argument.
17700         * math/s_cexpf.c (__cexpf): Likewise.
17701         * math/s_csinf.c (__csinf): Likewise.
17702         * math/s_csinhf.c (__csinhf): Likewise.
17703         * math/s_ctanf.c (__ctanf): Likewise.
17704         * math/s_ctanhf.c (__ctanhf): Likewise.
17705         * math/s_ccosh.c (__ccoshf): Likewise.
17706         * math/s_cexp.c (__cexpl): Likewise.
17707         * math/s_csin.c (__csin): Likewise.
17708         * math/s_csinh.c (__csinh): Likewise.
17709         * math/s_ctan.c (__ctan): Likewise.
17710         * math/s_ctanh.c (ctanh): Likewise.
17711         * math/s_ccoshl.c (__ccoshl): Likewise.
17712         * math/s_cexpl.c (__cexpl): Likewise.
17713         * math/s_csinl.c (__csinl): Likewise.
17714         * math/s_csinhl.c (__csinhl): Likewise.
17715         * math/s_ctanl.c (__ctanl): Likewise.
17716         * math/s_ctanhl.c (__ctanhl): Likewise.
17718 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17720         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17721         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17722         (_IO_off_t): Define to __off_t, not _G_off_t.
17723         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17724         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17725         (_IO_wint_t): Define to wint_t, not _G_wint_t.
17726         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17727         type of __dummy and __dummy2 fields.
17728         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17729         (_G_ssize_t): Likewise.
17730         (_G_off_t): Likewise.
17731         (_G_pid_t): Likewise.
17732         (_G_uid_t): Likewise.
17733         (_G_wchar_t): Likewise.
17734         (_G_wint_t): Likewise.
17735         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17736         (_G_ssize_t): Likewise.
17737         (_G_off_t): Likewise.
17738         (_G_pid_t): Likewise.
17739         (_G_uid_t): Likewise.
17740         (_G_wchar_t): Likewise.
17741         (_G_wint_t): Likewise.
17742         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17743         (_G_ssize_t): Likewise.
17744         (_G_off_t): Likewise.
17745         (_G_pid_t): Likewise.
17746         (_G_uid_t): Likewise.
17747         (_G_wchar_t): Likewise.
17748         (_G_wint_t): Likewise.
17750 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17752         * malloc/arena.c: Include malloc-sysdep.h.
17753         (shrink_heap): Use check_may_shrink_heap to decide if madvise
17754         is sufficient to shrink the heap or an unmap is needed.
17755         * sysdeps/generic/malloc-sysdep.h: New file.  Define
17756         new function check_may_shrink_heap.
17757         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
17758         new function check_may_shrink_heap.
17760 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17762         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17763         comments.
17765 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
17767         * catgets/test-gencat.sh: Add "set -e".
17768         * elf/tst-pathopt.sh: Likewise.
17769         * grp/tst_fgetgrent.sh: Likewise.
17770         * iconvdata/run-iconv-test.sh: Likewise.
17771         * intl/tst-gettext.sh: Likewise.
17772         * intl/tst-gettext2.sh: Likewise.
17773         * intl/tst-gettext4.sh: Likewise.
17774         * intl/tst-gettext6.sh: Likewise.
17775         * intl/tst-translit.sh: Likewise.
17776         * io/ftwtest-sh: Likewise.
17777         * libio/test-freopen.sh: Likewise.
17778         * malloc/tst-mtrace.sh: Likewise.
17779         * posix/globtest.sh: Likewise.
17780         * posix/tst-getconf.sh: Likewise.
17781         * posix/wordexp-tst.sh: Likewise.
17782         * stdio-common/tst-printf.sh: Likewise.
17783         * stdio-common/tst-unbputc.sh: Likewise.
17784         * stdlib/tst-fmtmsg.sh: Likewise.
17785         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17786         * catgets/Makefile: Do not specify -e option when running
17787         testsuite shell scripts.
17788         * elf/Makefile: Likewise.
17789         * grp/Makefile: Likewise.
17790         * iconvdata/Makefile: Likewise.
17791         * intl/Makefile: Likewise.
17792         * io/Makefile: Likewise.
17793         * libio/Makefile: Likewise.
17794         * malloc/Makefile: Likewise.
17795         * posix/Makefile: Likewise.
17796         * stdio-common/Makefile: Likewise.
17797         * stdlib/Makefile: Likewise.
17798         * sysdeps/x86_64/Makefile: Likewise.
17800         * io/ftwtest-sh: Add copyright header.
17801         * posix/globtest.sh: Likewise.
17802         * posix/tst-getconf.sh: Likewise.
17803         * posix/wordexp-tst.sh: Likewise.
17804         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17806 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
17808         [BZ #13679]
17809         * Makeconfig (+link): Defined as $(+link-static) if
17810         $(build-shared) isn't yes.
17811         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17812         isn't yes.
17813         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17815         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17817         [BZ #14562]
17818         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17819         new chunk size with MALLOC_ALIGN_MASK.
17821 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
17823         [BZ #5044]
17824         * stdio-common/printf_fphex.c: Include <stdbool.h> and
17825         <rounding-mode.h>.
17826         (__printf_fphex): Determine rounding using get_rounding_mode and
17827         round_away.
17828         * stdio-common/tst-printf-round.c (struct hex_test): New
17829         structure.
17830         (hex_tests): New variable.
17831         (test_hex_in_one_mode): New function.
17832         (do_test): Also run tests for hex float output.
17834 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
17836         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17837         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17838         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17839         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17840         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17841         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17842         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17843         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17845 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
17847         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17848         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17849         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17850         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17852 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
17854         [BZ #14579]
17855         * elf/rtld.c (dl_main): Limit the check for self loading to normal
17856         mode only.
17857         * elf/tst-rtld-load-self.sh: New test.
17858         * elf/Makefile: Run it.
17860 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
17862         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17863         (tst-writev-ENV): Remove.
17864         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17866 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
17868         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17870 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
17872         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17873         unconditional.
17874         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17875         Likewise.
17876         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17877         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17878         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17879         Likewise.
17881 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
17883         [BZ #14587]
17884         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17885         * config.make.in (have-cpp-asm-debuginfo): Removed.
17886         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17887         * configure: Regenerated.
17889 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
17891         [BZ #5044]
17892         * stdio-common/printf_fp.c: Include <stdbool.h> and
17893         <rounding-mode.h>.
17894         (___printf_fp): Determine rounding using get_rounding_mode and
17895         round_away.
17896         * stdio-common/tst-printf-round.c: New file.
17897         * stdio-common/Makefile (tests): Add tst-printf-round.
17898         (link-libm): New variable.
17899         ($(objpfx)tst-printf-round): Depend in $(link-libm).
17901 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
17903         [BZ #14576]
17904         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17905         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17906         Likewise.
17907         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17908         Likewise.
17910 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
17912         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17913         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17914         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17915         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17917 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
17919         [BZ #14518]
17920         * include/rounding-mode.h: New file.
17921         * sysdeps/generic/get-rounding-mode.h: Likewise.
17922         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17923         * stdlib/strtod_l.c: Include <rounding-mode.h>.
17924         (MAX_VALUE): New macro.
17925         (MIN_VALUE): Likewise.
17926         (overflow_value): New function.
17927         (underflow_value): Likewise.
17928         (round_and_return): Use overflow_value and underflow_value to
17929         determine return values in overflow and underflow cases.  Use
17930         round_away to determine rounding depending on rounding mode.
17931         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17932         determine return values in overflow and underflow cases.
17933         * stdlib/tst-strtod-round.c: Include <fenv.h>.
17934         (struct test_results): New structure.
17935         (struct test): Use struct test_results to store expected results
17936         for all rounding modes.
17937         (TEST): Include expected results for all rounding modes.
17938         (test_in_one_mode): New function.
17939         (do_test): Use test_in_one_mode to compute and check results.
17940         Check results for all rounding modes.
17941         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17942         $(link-libm).
17944 2012-12-09  Allan McRae  <allan@archlinux.org>
17946         * sysdeps/i386/fpu/libm-test-ulps: Update
17948 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
17950         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17951         (_G_int32_t): Likewise.
17952         (_G_uint16_t): Likewise.
17953         (_G_uint32_t): Likewise.
17954         (_G_HAVE_BOOL): Likewise.
17955         (_G_HAVE_ATEXIT): Likewise.
17956         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17957         (_G_HAVE_IO_FILE_OPEN): Likewise.
17958         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17959         (_G_int32_t): Likewise.
17960         (_G_uint16_t): Likewise.
17961         (_G_uint32_t): Likewise.
17962         (_G_HAVE_BOOL): Likewise.
17963         (_G_HAVE_ATEXIT): Likewise.
17964         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17965         (_G_HAVE_IO_FILE_OPEN): Likewise.
17966         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17967         (_G_int32_t): Likewise.
17968         (_G_uint16_t): Likewise.
17969         (_G_uint32_t): Likewise.
17970         (_G_HAVE_BOOL): Likewise.
17971         (_G_HAVE_ATEXIT): Likewise.
17972         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17973         (_G_HAVE_IO_FILE_OPEN): Likewise.
17975 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
17977         * csu/libc-tls.c: Update copyright years.
17979 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
17981         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17982         [!_G_USING_THUNKS]: Remove conditional code.
17983         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17984         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17986         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17987         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17988         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17989         (_G_VTABLE_LABEL_PREFIX): Likewise.
17990         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17991         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17992         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17993         (_G_VTABLE_LABEL_PREFIX): Likewise.
17994         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17995         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17996         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17997         (_G_VTABLE_LABEL_PREFIX): Likewise.
17998         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18000 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18002         * libio/Makefile: Include ../Makeconfig before tests.
18003         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18004         only if $(build-shared) is yes.
18006         * iconv/gconv_db.c: Update copyright years.
18008 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18010         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18011         unwind info if defined PIC. Fix special cases description.
18012         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18014         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18015         DP_HI_MASK entry.
18016         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18018 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18020         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18022         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18023         is NULL.
18025         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18026         (LDLIBS-tst-chk4): This.
18027         (LDFLAGS-tst-chk5): Renamed to ...
18028         (LDLIBS-tst-chk5): This.
18029         (LDFLAGS-tst-chk6): Renamed to ...
18030         (LDLIBS-tst-chk6): This.
18031         (LDFLAGS-tst-lfschk4): Renamed to ...
18032         (LDLIBS-tst-lfschk4): This.
18033         (LDFLAGS-tst-lfschk5): Renamed to ...
18034         (LDLIBS-tst-lfschk5): This.
18035         (LDFLAGS-tst-lfschk6): Renamed to ...
18036         (LDLIBS-tst-lfschk6): This.
18038         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18039         on $(common-objpfx)soversions.mk.
18041 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18043         [BZ #10014]
18044         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18045         example host name.
18047 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18049         * malloc/arena.c (arena_get_retry): New function that gets
18050         another arena for the caller to try its request on.
18051         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18052         current arena cannot fulfill the request.
18053         (__libc_memalign): Likewise.
18054         (__libc_memalign): Likewise.
18055         (__libc_pvalloc): Likewise.
18056         (__libc_calloc): Likewise.
18058 2012-09-05  John Tobey  <john.tobey@gmail.com>
18060         [BZ #13542]
18061         * manual/arith.texi (Operations on Complex): Fix description
18062         of carg branch cut.
18064 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18066         [BZ #10014]
18067         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18068         host name.
18070         [BZ #10038]
18071         * manual/memory.texi (Memory): Make order of menu items match
18072         order of sections.
18074 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18076         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18077         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18078         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18080 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18082         * csu/libc-tls.c (static_dtv): Renamed to ...
18083         (_dl_static_dtv): This.  Make it global.
18084         (_dl_initial_dtv): Removed.
18085         (__libc_setup_tls): Updated.
18086         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18087         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18088         DL_INITIAL_DTV.
18090 2012-09-06  Petr Machata  <pmachata@redhat.com>
18092         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18093         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18094         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18095         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18097 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18099         [BZ #14545]
18100         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18101         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18102         freeing dtv[-1].
18104 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18106         [BZ #14544]
18107         * Makeconfig (link-static-before-libc): Replace $(+prector)
18108         with $(+prectorT).
18109         (link-static-after-libc): Replace $(+postctor) with
18110         $(+postctorT).
18111         (link-bounded): Replace $(+prector)/$(+postctor) with
18112         $(+prectorT)/$(+postctorT).
18113         (+prectorT): New macro.
18114         (+postctorT): Likewise.
18116 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18118         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18119         (round_str): Handle values above the maximum for IBM long double
18120         as inexact.
18121         * stdlib/tst-strtod-round.c (tests): Regenerated.
18123 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18125         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18126         assembler flag.
18127         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18128         zarch_nohighgprs around the zarch optimized routines.
18129         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18130         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18131         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18132         for zarch.
18134 2012-09-05  David S. Miller  <davem@davemloft.net>
18136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18138         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18139         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18140         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18141         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18142         entries.
18144 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18146         * malloc/arena.c: Fold copyright years.
18147         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18149 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18151         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18153 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18155         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18157 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18159         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18160         change internal state upon failure.
18162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18164         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18165         * malloc/memusage.c (mmap): Likewise.
18166         (mmap64, mremap): Likewise.  Adjust name in comment.
18168 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18170         * libio/fileops.c: Fix typos in comments.
18171         * libio/oldfileops.c: Likewise.
18172         * libio/wfileops.c: Likewise.
18174 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18176         [BZ #1349]
18177         * malloc/Makefile (tests): Add tst-malloc-usable test case.
18178         (tst-malloc-usable-ENV): Set environment for test case.
18179         * malloc/hooks.c (malloc_check_get_size): New function to get
18180         requested size.
18181         * malloc/malloc.c (musable): Use malloc_check_get_size.
18182         * malloc/tst-malloc-usable.c: New test case.
18184 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18186         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18188 2012-09-05  Allan McRae  <allan@archlinux.org>
18190         [BZ #13966]
18191         * configure.in (CXX_SYSINCLUDES): Use compiler output to
18192         determine header location.
18193         * configure: Regenerated.
18195 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18197         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18198         float format.
18199         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18200         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18201         format.
18202         (test): Regenerate.
18204 2012-09-04  David S. Miller  <davem@davemloft.net>
18206         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18207         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18208         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18210 2012-09-04  Florian Weimer  <fweimer@redhat.com>
18212         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18213         failures.
18215         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18217 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
18219         [BZ #9914]
18220         * libio/iogetdelim.c: Include <limits.h>.
18221         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18222         + len + 1 would overflow.
18224 2012-09-03  Andreas Jaeger  <aj@suse.de>
18226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18227         * sysdeps/i386/fpu/libm-test-ulps: Update.
18229 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18231         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18232         Add s_sinf-sse2, s_conf-sse2.
18234         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18235         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18236         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18237         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18239         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18240         for using routine as __sinf_ia32.
18241         Use macro for function declaration and weak_alias.
18242         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18243         for using routine as __cosf_ia32.
18244         Use macro for function declaration and weak_alias.
18246         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18247         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18249         * sysdeps/x86_64/fpu/s_sinf.S: New file.
18250         * sysdeps/x86_64/fpu/s_cosf.S: New file.
18251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18253         * math/libm-test.inc (cos_test): Add more test cases.
18254         (sin_test): Likewise.
18255         (sincos_test): Likewise.
18257 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18259         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18260         (IFUNC_RESOLVE): Make pointers to the specialized implementations
18261         hidden.
18262         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18264 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
18266         [BZ #14538]
18267         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18268         first element of the GOT.
18269         (elf_machine_load_address): Return the difference between
18270         the runtime address of _DYNAMIC and elf_machine_dynamic ().
18272 2012-09-01  Allan McRae  <allan@archlinux.org>
18274         [BZ #13412]
18275         * configure.in (AWK): Require gawk version 3.0 or later.
18276         * configure: Regenerated.
18278 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
18280         * sysdeps/unix/sysv/linux/kernel-features.h
18281         (__ASSUME_POSIX_CPU_TIMERS): Remove.
18282         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18283         [__NR_clock_getres]: Make code unconditional.
18284         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18285         (clock_getcpuclockid): Remove code left unreachable by removal of
18286         conditionals.
18287         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18288         code unconditional.
18289         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18290         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18291         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18292         Make code unconditional.
18293         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18294         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18295         * sysdeps/unix/sysv/linux/clock_settime.c
18296         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18297         conditional code.
18298         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18299         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18301 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
18303         [BZ #14476]
18304         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18305         scripts/test-installation.pl.
18307         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18308         and $ld_so_version if it is set.
18310 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18312         [BZ #14516]
18313         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18314         failure if reading from procfs failed.
18315         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18317 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18319         * sysdeps/unix/sysv/linux/kernel-features.h
18320         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18321         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18322         Remove conditional code.
18323         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18324         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18325         Remove conditional code.
18326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18327         * sysdeps/unix/sysv/linux/i386/fxstat.c
18328         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18329         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18330         * sysdeps/unix/sysv/linux/i386/fxstatat.c
18331         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18333         * sysdeps/unix/sysv/linux/i386/lxstat.c
18334         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18335         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18336         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18337         Remove conditional code.
18338         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18339         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18340         Remove conditional code.
18341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18342         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18343         <kernel-features.h>.
18344         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18345         Remove.
18346         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18347         Remove conditional code.
18348         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18349         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18350         Remove conditional.
18352 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
18354         [BZ #5400]
18355         * NEWS: Add fixed bug number.
18357 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18359         [BZ #14519]
18360         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18361         underflowing exponent in case of negative sign.
18362         * stdlib/tst-strtod-round-data: Add more tests.
18363         * stdlib/tst-strtod-round.c (tests): Regenerated.
18365         [BZ #3479]
18366         * stdlib/strtod_l.c (NDIG): Remove.
18367         (HEXNDIG): Likewise.
18368         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18369         smallest representable value.
18370         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18371         lie within an exact representation of 1/2 ulp of the result.
18372         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18373         unconditionally.
18374         (TENS_P9_IDX): Define unconditionally.
18375         (TENS_P9_SIZE): Likewise.
18376         (TENS_P10_IDX): Likewise.
18377         (TENS_P10_SIZE): Likewise.
18378         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18379         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18380         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18381         entries for 10^2^13 and 10^2^14.
18382         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18383         (TENS_P13_IDX): Define.
18384         (TENS_P13_SIZE): Likewise.
18385         (TENS_P14_IDX): Likewise.
18386         (TENS_P14_SIZE): Likewise.
18387         (_fpioconst_pow10): Change array size to
18388         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18389         unconditional.
18390         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18391         1024]: Add entries for 10^2^13 and 10^2^14.
18392         [LAST_POW10 > _LAST_POW10]: Remove #error.
18393         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18394         (_fpioconst_pow10): Change array size to
18395         FPIOCONST_POW10_ARRAY_SIZE.
18396         * stdlib/gen-fpioconst.c: New file.
18397         * stdlib/gen-tst-strtod-round.c: Likewise.
18398         * stdlib/tst-strtod-round-data: Likewise.
18399         * stdlib/tst-strtod-round.c: Likewise.
18400         * stdlib/Makefile (tests): Add tst-strtod-round.
18402         [BZ #14459]
18403         * stdlib/strtod_l.c: Include <stdint.h>.
18404         (NDEBUG): Do not define.
18405         (round_and_return): Change EXPONENT parameter to type intmax_t.
18406         Rearrange calculations to avoid internal overflow possibilities.
18407         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18408         Rearrange calculations to avoid internal overflow possibilities.
18409         Assert that number fits inside MPNSIZE limbs.
18410         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18411         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18412         calculations and add assertions to avoid internal overflow
18413         possibilities.  Add casts to avoid signed/unsigned operations.
18414         * stdlib/tst-strtod-overflow.c: New file.
18415         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18417 2012-08-25  Marek Polacek  <polacek@redhat.com>
18419         * time/time.h: Fix some typos in comments.
18421 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18423         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18424         * posix/tst-rfc3484-2.c: Likewise.
18425         * posix/tst-rfc3484-3.c: Likewise.
18427 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18429         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18430         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18432 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18434         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18435         #include of fxstatat64.c.
18437 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18439         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18440         * shadow/getspent_r.c: Likewise.
18441         * shadow/getspnam.c: Likewise.
18442         * shadow/getspnam_r.c: Likewise.
18443         * gshadow/getsgent.c: Likewise.
18444         * gshadow/getsgent_r.c: Likewise.
18445         * gshadow/getsgnam.c: Likewise.
18446         * gshadow/getsgnam_r.c: Likewise.
18447         * inet/getnetbyad.c: Likewise.
18448         * inet/getnetbyad_r.c: Likewise.
18449         * inet/getnetbynm.c: Likewise.
18450         * inet/getnetbynm_r.c: Likewise.
18451         * inet/getnetent.c: Likewise.
18452         * inet/getnetent_r.c: Likewise.
18453         * inet/getproto.c: Likewise.
18454         * inet/getproto_r.c: Likewise.
18455         * inet/getprtent.c: Likewise.
18456         * inet/getprtent_r.c: Likewise.
18457         * inet/getprtname.c: Likewise.
18458         * inet/getprtname_r.c: Likewise.
18459         * inet/getrpcbyname.c: Likewise.
18460         * inet/getrpcbyname_r.c: Likewise.
18461         * inet/getrpcbynumber.c: Likewise.
18462         * inet/getrpcbynumber_r.c: Likewise.
18463         * inet/getrpcent.c: Likewise.
18464         * inet/getrpcent_r.c: Likewise.
18465         * inet/getaliasent.c: Likewise.
18466         * inet/getaliasent_r.c: Likewise.
18467         * inet/getaliasname.c: Likewise.
18468         * inet/getaliasname_r.c: Likewise.
18469         * nscd/getgrgid_r.c: Likewise.
18470         * nscd/getgrnam_r.c: Likewise.
18471         * nscd/gethstbyad_r.c: Likewise.
18472         * nscd/gethstbynm3_r.c: Likewise.
18473         * nscd/getpwnam_r.c: Likewise.
18474         * nscd/getpwuid_r.c: Likewise.
18475         * nscd/getsrvbynm_r.c: Likewise.
18476         * nscd/getsrvbypt_r.c: Likewise.
18477         * nscd/gai.c: Likewise.
18479         * configure.in (build_nscd): New substituted variable, set
18480         by --disable-build-nscd and defaults to $use_nscd.
18481         * configure: Regenerated.
18482         * config.make.in (build-nscd): New substituted variable.
18483         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18484         Change conditional to require [$(build-nscd) = yes] as well.
18485         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18487         [BZ# 13696]
18488         * configure.in (use_nscd): New substituted variable, set by
18489         --disable-nscd.  If enabled, define USE_NSCD.
18490         * configure: Regenerated.
18491         * config.h.in: Add USE_NSCD.
18492         * config.make.in (use-nscd): New substituted variable.
18493         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18494         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18495         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18496         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18497         (CFLAGS-getgrnam_r.c): Likewise.
18498         (CFLAGS-initgroups.c): Likewise.
18499         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18500         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18501         Variables removed.
18502         * inet/getnetgrent_r.c
18503         (nscd_setnetgrent): New function, broken out of ...
18504         (setnetgrent): ... here.  Call it.
18505         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18506         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18507         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18508         * nscd/Makefile (routines, aux): Move definitions after include of
18509         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18510         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18511         Conditionalize on [USE_NSCD].
18512         (is_nscd, nscd_init_cb): Likewise.
18513         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18514         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18515         * nss/nss_db/db-init.c: Likewise.
18516         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18517         [USE_NSCD].
18518         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18519         (make_request): Use it.
18520         (cache_valid_p): New function.
18521         (__check_pf): Use it.
18522         * NEWS: Add item for --disable-nscd.
18524 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18526         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18527         to support sed >= 4.2.1-20-ga9bf076.
18528         * configure: Regenerated.
18530 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18532         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18533         Conditionalize whole body on [IREL].
18535 2012-08-22  Jeff Law <law@redhat.com>
18537         [BZ #14505]
18538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18539         if the family is PF_UNSPEC.
18541 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18543         * Makerules (lib-version): Rename from V.
18544         (install-lib-nosubdir): Change V to lib-version.
18546 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18548         [BZ #14252]
18549         * powerpc32/power6/wcschr.c: New file.
18550         * powerpc32/power6/wcscpy.c: New file.
18551         * powerpc32/power6/wcsrchr.c: New file.
18552         * powerpc64/power6/wcschr.c: New file.
18553         * powerpc64/power6/wcscpy.c: New file.
18554         * powerpc64/power6/wcsrchr.c: New file.
18556 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18558         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18559         (two_way_short_needle): Use it.
18560         * string/strstr.c (AVAILABLE1_USES_J): Define.
18561         * string/strcasestr.c: Likewise.
18563         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18564         array references.
18565         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18567         [BZ #11607]
18568         * NEWS: Add an entry.
18569         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18570         define their defaults.
18571         (two_way_short_needle): Detect end-of-string on-the-fly.
18572         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18573         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18574         * string/bug-strcasestr1.c: New test.
18575         * string/Makefile: Run it.
18577 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18579         [BZ #11607]
18580         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18581         the first character.
18583 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18585         * csu/elf-init.c (__libc_csu_irel): Function removed.
18586         * csu/libc-start.c (apply_irel): New function.
18587         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18589 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
18591         * sysdeps/unix/sysv/linux/kernel-features.h
18592         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18593         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18594         <kernel-features.h>.
18595         [__NR_fadvise64_64]: Make code unconditional.
18596         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18597         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18598         !__NR_fadvise64_64)]: Likewise.
18599         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18600         !__NR_fadvise64_64))]: Likewise.
18601         [__NR_fadvise64]: Make code unconditional.
18602         [!__NR_fadvise64]: Remove conditional code.
18603         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18604         <kernel-features.h>.
18605         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18606         unconditional.
18607         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18608         conditional code.
18609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18610         not include <kernel-features.h>.
18611         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18612         unconditional.
18613         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18614         conditional code.
18615         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18616         include <kernel-features.h>.
18617         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18618         unconditional.
18619         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18620         conditional code.
18622 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18624         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18625         slight instruction rearrangements per scrollpipe analysis.
18626         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18628 2012-08-20  Roland McGrath  <roland@hack.frob.com>
18630         * manual/syslog.texi (syslog; vsyslog, closelog):
18631         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18632         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18634         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18635         DSOCAPS to match condition on defining it.
18637 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
18639         * sysdeps/unix/sysv/linux/kernel-features.h
18640         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18642         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18643         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18645         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18646         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18648         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18649         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18651         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18652         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18654         * sysdeps/unix/sysv/linux/kernel-features.h
18655         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18656         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18657         unconditional.
18658         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18659         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18660         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18661         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18662         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18663         Make code unconditional.
18664         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18665         (__mmap64) [!__NR_mmap2]: Likewise.
18666         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18667         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18668         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18669         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18670         [__NR_mmap2]: Make code unconditional.
18671         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18672         (__mmap64) [!__NR_mmap2]: Likewise.
18674 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18676         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18678 2012-08-18  Andreas Jaeger  <aj@suse.de>
18680         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18682 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18684         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18685         * include/unistd.h (__have_sock_cloexec): Likewise.
18686         (__have_pipe2): Likewise.
18687         (__have_dup3): Likewise.
18689 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18691         [BZ #9685]
18692         * include/unistd.h (__have_pipe2): Change define into an extern int.
18693         (__have_dup3): Likewise.
18694         * socket/have_sock_cloexec.c: Include fcntl.h.
18695         (__have_pipe2): New variable.
18696         (__have_dup3): Likewise.
18698 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
18700         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18702 2012-08-17  Marek Polacek  <polacek@redhat.com>
18704         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18705         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18707 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18709         * configure.in: Add AC_SUBST for sysheaders.
18710         * configure: Regenerated.
18711         * config.make.in (sysheaders): New substituted variable.
18713         * sysdeps/unix/mkfifo.c: Moved ...
18714         * sysdeps/posix/mkfifo.c: ... here.
18715         * sysdeps/unix/mkfifoat.c: Moved ...
18716         * sysdeps/posix/mkfifoat.c: ... here.
18718         * sysdeps/unix/utime.c: Moved ...
18719         * sysdeps/posix/utime.c: ... here.
18721         * sysdeps/unix/time.c: Moved ...
18722         * sysdeps/posix/time.c: ... here.
18723         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18724         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18726         * sysdeps/unix/nice.c: Moved ...
18727         * sysdeps/posix/nice.c: ... here.
18729         * sysdeps/unix/alarm.c: Moved ...
18730         * sysdeps/posix/alarm.c: ... here.
18732         * intl/Makefile ($(codeset_mo)): Depend on the input file.
18734 2012-08-17  Jeff Law <law@redhat.com>
18736         * intl/Makefile (codeset_mo): New variable.
18737         ($(codeset_mo)): New target.
18738         (tst-codeset.out): Depend on that.  Remove explicit rule.
18739         (tst-gettext3.out, tst-gettext5.out): Likewise.
18740         (LOCPATH-ENV, tst-codeset-ENV): New variables.
18741         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18742         * intl/tst-codeset.sh: Remove.
18743         * intl/tst-gettext3.sh: Likewise.
18744         * intl/tst-gettext5.sh: Likewise.
18746 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18748         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
18749         * sysdeps/unix/syscalls.list: ... here.
18751         * sysdeps/posix/getaddrinfo.c
18752         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18753         (gaiconf_init, gaiconf_reload): Use them.
18754         [!_STATBUF_ST_NSEC]
18755         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18756         Define using time_t rather than struct timespec.
18758         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18759         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18760         Macros removed.
18761         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18762         [!NO_THREADS].
18763         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18764         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18765         Likewise.
18767         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18768         __libc_cleanup_push argument.
18770         * bits/param.h: New file.
18771         * misc/sys/param.h: New file.
18772         * include/sys/param.h: New file.
18773         * misc/Makefile (headers): Add bits/param.h.
18774         * sysdeps/generic/sys/param.h: File removed.
18775         * sysdeps/unix/sysv/linux/bits/param.h: New file.
18776         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18777         * sysdeps/mach/hurd/bits/param.h: New file.
18778         * sysdeps/mach/hurd/sys/param.h: File removed.
18780         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18781         last change.
18783         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18784         [_IO_MTSAFE_IO].
18785         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18786         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18787         New macros.
18789         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18790         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18791         rather than -D_IO_MTSAFE_IO conditionally.
18792         * stdio-common/Makefile (CPPFLAGS): Likewise.
18793         * wcsmbs/Makefile (CPPFLAGS): Likewise.
18794         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18795         Use $(libio-mtsafe).
18796         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18797         of -D_IO_MTSAFE_IO.
18798         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18799         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18800         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18801         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18802         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18803         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18804         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18805         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18806         (CFLAGS-fread_u_chk.c): Likewise.
18807         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18808         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18809         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18810         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18811         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18812         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18813         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18814         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18815         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18817         * libio/Makefile: Test [$(libc-reentrant) = yes]
18818         instead of [$(filter %REENTRANT, $(defines)) nonempty].
18820         * Makeconfig
18821         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18822         * sysdeps/pthread/configure: File removed.
18823         * sysdeps/pthread/Makeconfig: New file.
18824         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18825         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18827 2012-08-16  Gary Benson  <gbenson@redhat.com>
18829         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18830         unmapping the first object in a namespace.
18832 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18834         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18835         (__internal_setnetgrent): ... this.  Add internal_function to
18836         definition.  Add libc_hidden_def.
18837         (setnetgrent): Update caller.
18838         (internal_endnetgrent): Renamed to ...
18839         (__internal_endnetgrent): ... this.  Add internal_function to
18840         definition.  Add libc_hidden_def.
18841         (endnetgrent): Update caller.
18842         (internal_getnetgrent_r): Renamed to ...
18843         (__internal_getnetgrent_r): ... this.  Add internal_function to
18844         definition.  Add libc_hidden_def.
18845         (__getnetgrent_r): Update caller.
18846         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
18848 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18850         * stdlib/longlong.h: Update from GCC.
18852 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18854         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18855         on _QL, which is set by umul_ppmm but never used.
18856         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18857         variables, which are set by GMP macros but never used.
18858         * stdio-common/_itowa.c (_itowa): Likewise.
18859         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18860         * stdlib/mod_1.c (mpn_mod_1): Likewise.
18862 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
18864         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18865         struct La_sh_regs is not constant.
18866         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18867         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18868         and struct La_sparc64_regs are not constant.
18870 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18872         * sysdeps/unix/sysv/linux/kernel-features.h
18873         (__ASSUME_POSIX_TIMERS): Remove.
18874         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18875         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18876         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18877         Make code unconditional.
18878         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18879         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18880         Make code unconditional.
18881         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18882         * sysdeps/unix/sysv/linux/clock_nanosleep.c
18883         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18884         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18885         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18886         Make code unconditional.
18887         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18888         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18889         (__libc_missing_posix_timers): Remove.
18891 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18893         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18894         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18896         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18898         * elf/dl-sym.c: Include <stdlib.h>.
18900         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18901         constants, which avoids warnings in 32-bit builds.
18903         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18904         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18906         * misc/lseek.c: File moved to ...
18907         * io/lseek.c: ... here.
18909         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18911         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18912         shifting LEN more than 31 bits at once.
18914 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18916         [BZ #14195]
18917         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18918         segmentation fault for a case of two empty input strings.
18919         * string/test-strncasecmp.c (check1): Renamed to...
18920         (bz12205): ...this.
18921         (bz14195): Add new testcase for two empty input strings and N > 0.
18922         (test_main): Call new testcase, adapt for renamed function.
18924 2012-08-15  Andreas Jaeger  <aj@suse.de>
18926         [BZ #14090]
18927         * crypt/md5test2.c: New test, based on test supplied by Serge
18928         Belyshev <belyshev@depni.sinp.msu.ru>.
18929         * crypt/Makefile (xtests): Add md5test-giant..
18930         * crypt/Makefile ($(objpfx)md5test-giant): Add.
18932 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
18934         [BZ #14090]
18935         * crypt/md5.c (md5_process_block): Don't assume the buffer
18936         length is less than 2**32.
18937         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18938         length is less than 2**64.
18940 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18942         * string/str-two-way.h: Include <sys/param.h>.
18943         (MAX): Macro removed.
18945         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18946         Move #define and #undef of memmove to just before and after
18947         including <string.h>.
18949         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18950         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18951         and after including <string.h>.  Move declarations of
18952         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18953         to before #include "string/memmove.c".
18955         * include/dirent.h: Declare __getdirentries.
18957         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18958         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18960 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
18962         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18963         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18964         * sysdeps/i386/configure: Regenerated.
18965         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18966         STABS_CURRENT_FILE, and STABS_FUN.
18967         (END): Remove call to STABS_FUN_END.
18968         (STABS_CURRENT_FILE1): Delete.
18969         (STABS_CURRENT_FILE): Likewise.
18970         (STABS_FUN): Likewise.
18971         (STABS_FUN_END): Likewise.
18972         (STABS_FUN2): Likewise.
18973         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18974         * sysdeps/x86_64/configure: Regenerated.
18976 2012-08-14  Roland McGrath  <roland@hack.frob.com>
18978         * elf/dl-open.c: Include <atomic.h>.
18979         * elf/dl-lookup.c: Likewise.
18981 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
18983         * sysdeps/unix/sysv/linux/kernel-features.h
18984         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18985         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18986         unconditionally.
18987         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18988         unconditionally.
18989         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18990         condition on __ASSUME_CLONE_THREAD_FLAGS.
18992 2012-08-14  Andreas Jaeger  <aj@suse.de>
18994         * sysdeps/i386/fpu/libm-test-ulps: Update.
18996 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
18998         * include/atomic.h (atomic_exchange_and_add): Split into ...
18999         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19000         New atomic macros.
19002 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19006 2012-08-13  Jeff Law <law@redhat.com>
19008         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19009         null byte in the output string.
19011 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19013         * sysdeps/unix/sysv/linux/kernel-features.h
19014         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19015         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19016         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19017         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19018         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19019         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19020         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19022 2012-08-09  Jeff Law <law@redhat.com>
19024         [BZ #13939]
19025         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19026         When avoid_arena is set, don't retry in the that arena.  Pick the
19027         next one, whatever it might be.
19028         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19029         (arena_lock): Pass in new parameter to arena_get2.
19030         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19031         arena_get2.
19032         (__libc_malloc): Unify retrying after main arena failure with
19033         __libc_memalign version.
19034         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19036 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19038         [BZ #14166]
19039         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19040         to __redirect_strstr.
19041         (__strstr_sse42): Use typeof __redirect_strstr.
19042         (__strstr_ia32): Likewise.
19043         (__libc_strstr): New prototype.
19044         (strstr): Renamed to ...
19045         (__libc_strstr): This.
19046         (strstr): New strong alias of __libc_strstr.
19047         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19048         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19049         __redirect_time.
19050         Include <time.h>.
19051         (__libc_time): New prototype.
19052         (time_ifunc): Replace time with __libc_time.
19053         (time): New strong alias and hidden definition of __libc_time.
19054         (__GI_time): Remove strong alias.
19055         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19056         Include <stddef.h>.
19057         (memmove): Redefined to __redirect_memmove.
19058         (__memmove_sse2): Use typeof __redirect_memmove.
19059         (__memmove_ssse3): Likewise.
19060         (__memmove_ssse3_back): Likewise.
19061         (__libc_memmove): New prototype.
19062         (memmove): Renamed to ...
19063         (__libc_memmove): This.
19064         (memmove): New strong alias of __libc_memmove.
19066 2012-08-08  Mark Salter  <msalter@redhat.com>
19068         * elf/elf.h
19069         (R_MN10300_TLS_GD): Define.
19070         (R_MN10300_TLS_LD): Likewise.
19071         (R_MN10300_TLS_LDO): Likewise.
19072         (R_MN10300_TLS_GOTIE): Likewise.
19073         (R_MN10300_TLS_IE): Likewise.
19074         (R_MN10300_TLS_LE): Likewise.
19075         (R_MN10300_TLS_DTPMOD): Likewise.
19076         (R_MN10300_TLS_DTPOFF): Likewise.
19077         (R_MN10300_TLS_TPOFF): Likewise.
19078         (R_MN10300_SYM_DIFF): Likewise.
19079         (R_MN10300_ALIGN): Likewise.
19080         (R_MN10300_NUM): Update.
19082 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19084         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19085         Remove.
19087 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19089         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19091         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19092         sysdeps/unix -> sysdeps/posix move.
19093         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19095 2012-08-07      Allan McRae     <allan@archlinux.org>
19097         [BZ #14303]
19098         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19099         (SUNOS_CPP): Likewise.
19100         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19101         not found.
19102         (open_input): Call CPP using execvp.
19104 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19106         * sysdeps/unix/sysv/linux/kernel-features.h
19107         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19108         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19109         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19110         (__ASSUME_WAITID_SYSCALL): Likewise.
19111         * sysdeps/unix/sysv/linux/dl-execstack.c
19112         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19113         code unconditional.
19114         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19115         conditional code.
19116         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19117         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19118         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19119         code.
19120         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19121         unconditional.
19122         [__ASSUME_WAITID_SYSCALL]: Likewise.
19123         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19125 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19127         * sysdeps/unix/closedir.c: Renamed to ...
19128         * sysdeps/posix/closedir.c: ... here.
19129         * sysdeps/unix/dirfd.c: Renamed to ...
19130         * sysdeps/posix/dirfd.c: ... here.
19131         * sysdeps/unix/dirstream.h: Renamed to ...
19132         * sysdeps/posix/dirstream.h: ... here.
19133         * sysdeps/unix/fdopendir.c: Renamed to ...
19134         * sysdeps/posix/fdopendir.c: ... here.
19135         * sysdeps/unix/opendir.c: Renamed to ...
19136         * sysdeps/posix/opendir.c: ... here.
19137         * sysdeps/unix/readdir.c: Renamed to ...
19138         * sysdeps/posix/readdir.c: ... here.
19139         * sysdeps/unix/readdir_r.c: Renamed to ...
19140         * sysdeps/posix/readdir_r.c: ... here.
19141         * sysdeps/unix/rewinddir.c: Renamed to ...
19142         * sysdeps/posix/rewinddir.c: ... here.
19143         * sysdeps/unix/seekdir.c: Renamed to ...
19144         * sysdeps/posix/seekdir.c: ... here.
19145         * sysdeps/unix/telldir.c: Renamed to ...
19146         * sysdeps/posix/telldir.c: ... here.
19147         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19148         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19149         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19150         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19152         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19153         * bits/fcntl.h: ... here.
19155         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19156         not 0.
19157         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19158         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19159         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19160         (struct flock): Move l_start, l_len to the beginning.
19161         Use __pid_t for l_pid.
19162         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19163         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19164         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19165         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19166         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19167         [__USE_LARGEFILE64] (struct flock64): New type.
19168         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19170         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19171         * bits/dirent.h: ... here.
19173         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19174         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19176 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19178         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19179         Change from 2.6.0 to 2.6.16.
19180         * sysdeps/unix/sysv/linux/configure: Regenerated.
19181         * sysdeps/unix/sysv/linux/kernel-features.h
19182         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19183         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19184         version.
19185         (__ASSUME_UTIMES): Likewise.
19186         (__ASSUME_CLONE_STOPPED): Remove.
19187         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19188         architectures, not kernel version.
19189         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19190         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19191         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19192         (__ASSUME_WAITID_SYSCALL): Likewise.
19193         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19194         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19195         * README: State 2.6.16 as minimum Linux kernel version.  Do not
19196         refer to older versions.
19198 2012-08-06  Roland McGrath  <roland@hack.frob.com>
19200         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19201         Define alphasort64 as an alias.
19202         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19203         Define versionsort64 as an alias.
19204         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19205         Define scandir64 as an alias.
19206         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19207         Define scandirat64 as an alias.
19208         * dirent/alphasort64.c (alphasort64):
19209         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19210         * dirent/versionsort64.c: Likewise.
19211         * dirent/scandir64.c: Likewise.
19212         * dirent/scandirat64.c: Likewise.
19213         * sysdeps/wordsize-64/alphasort.c: File removed.
19214         * sysdeps/wordsize-64/alphasort64.c: File removed.
19215         * sysdeps/wordsize-64/scandir.c: File removed.
19216         * sysdeps/wordsize-64/scandir64.c: File removed.
19217         * sysdeps/wordsize-64/scandirat.c: File removed.
19218         * sysdeps/wordsize-64/scandirat64.c: File removed.
19219         * sysdeps/wordsize-64/versionsort.c: File removed.
19220         * sysdeps/wordsize-64/versionsort64.c: File removed.
19221         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19222         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19223         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19224         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19225         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19226         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19227         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19228         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19230         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19231         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19232         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19233         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19234         [defined __arch64__ || defined __sparcv9]
19235         (__INO_T_MATCHES_INO64_T): New macro.
19236         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19237         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19238         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19239         * sysdeps/unix/sysv/linux/bits/dirent.h
19240         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19241         (_DIRENT_MATCHES_DIRENT64): New macro.
19243         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19244         Define lockf64 as an alias.
19245         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19246         Define fseeko64 as an alias.
19247         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19248         Define ftello64 as an alias.
19249         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19250         Define _IO_fgetpos64 and fgetpos64 as aliases.
19251         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19252         Define _IO_fsetpos64 and fsetpos64 as aliases.
19253         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19254         Conditionalize body on this.
19255         * libio/fseeko64.c: Likewise.
19256         * libio/ftello64.c: Likewise.
19257         * libio/iofgetpos64.c: Likewise.
19258         * libio/iofsetpos64.c: Likewise.
19259         * sysdeps/wordsize-64/lockf.c: File removed.
19260         * sysdeps/wordsize-64/lockf64.c: File removed.
19261         * sysdeps/wordsize-64/fseeko.c: File removed.
19262         * sysdeps/wordsize-64/fseeko64.c: File removed.
19263         * sysdeps/wordsize-64/ftello.c: File removed.
19264         * sysdeps/wordsize-64/ftello64.c: File removed.
19265         * sysdeps/wordsize-64/iofgetpos.c: File removed.
19266         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19267         * sysdeps/wordsize-64/iofsetpos.c: File removed.
19268         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19269         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19270         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19271         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19272         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19273         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19274         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19275         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19276         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19277         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19278         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19280         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19281         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19282         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19284         [defined __arch64__ || defined __sparcv9]
19285         (__OFF_T_MATCHES_OFF64_T): New macro.
19286         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19287         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19289         (__OFF_T_MATCHES_OFF64_T): New macro.
19291 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19293         * stdlib/secure-getenv.c (__secure_getenv): Replace
19294         GLIBC_2_16 with GLIBC_2_17.
19296 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19299         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19301 2012-08-03  David S. Miller  <davem@davemloft.net>
19303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19305 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19307         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19308         Remove.
19309         (__ASSUME_CORRECT_SI_PID): Likewise.
19310         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19311         (__ASSUME_TMPFS_NAME): Likewise.
19312         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19313         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19314         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19315         (HAVE_AUX_SECURE): Make definition unconditional.
19316         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19317         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19319 2012-08-03  Roland McGrath  <roland@hack.frob.com>
19321         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19322         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19323         * sysdeps/mach/hurd/eloop-threshold.h: New file.
19324         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19325         __eloop_threshold instead of SYMLOOP_MAX.
19327         * sysdeps/generic/eloop-threshold.h: New file.
19328         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19329         of MAXSYMLINKS.
19330         * elf/chroot_canon.c (chroot_canon): Likewise.
19332 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19334         [BZ #13717]
19335         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19336         Change to 2.6.0 everywhere.
19337         * sysdeps/unix/sysv/linux/configure: Regenerated.
19338         * sysdeps/unix/sysv/linux/kernel-features.h
19339         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19340         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19341         kernel versions.
19342         (__ASSUME_POSIX_TIMERS): Define unconditionally.
19343         (__ASSUME_FUTEX_REQUEUE): Remove.
19344         (__ASSUME_STATFS64): Define unconditionally.
19345         (__ASSUME_AT_SECURE): Likewise.
19346         (__ASSUME_CORRECT_SI_PID): Likewise.
19347         (__ASSUME_TGKILL): Define without depending on kernel version for
19348         i386.
19349         (__ASSUME_UTIMES): Likewise.
19350         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19351         kernel version.
19352         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19353         (__ASSUME_TMPFS_NAME): Likewise.
19354         * README: Update reference to Linux kernel versions.
19356 2012-08-02  Marek Polacek  <polacek@redhat.com>
19358         [BZ# 14150]
19359         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
19360         libc_cv_asm_type_prefix with %.
19361         * configure: Regenerated.
19362         * include/libc-symbols.h: Remove comment about
19363         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19364         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19365         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19366         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19367         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19368         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19369         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19370         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19371         * elf/tst-unique2mod1.c: Likewise.
19372         * elf/tst-unique1mod2.c: Likewise.
19373         * elf/tst-unique1mod1.c: Likewise.
19374         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19375         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19376         Replace ASM_TYPE_DIRECTIVE with .type.
19377         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19378         * sysdeps/i386/sysdep.h: Likewise.
19379         * sysdeps/x86_64/sysdep.h: Likewise.
19380         * sysdeps/sh/sysdep.h: Likewise.
19381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19382         Do not define ASM_TYPE_DIRECTIVE.
19383         * sysdeps/powerpc/sysdep.h: Likewise.
19384         * sysdeps/powerpc/powerpc32/sysdep.h:
19385         Replace ASM_TYPE_DIRECTIVE with .type.
19386         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19387         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19388         * sysdeps/i386/fpu/e_powf.S: Likewise.
19389         * sysdeps/i386/fpu/e_expl.S: Likewise.
19390         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19391         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19392         * sysdeps/i386/fpu/e_pow.S: Likewise.
19393         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19394         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19395         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19396         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19397         * sysdeps/i386/fpu/e_log2.S: Likewise.
19398         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19399         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19400         * sysdeps/i386/fpu/e_powl.S: Likewise.
19401         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19402         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19403         * sysdeps/i386/fpu/e_logl.S: Likewise.
19404         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19405         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19406         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19407         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19408         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19409         * sysdeps/i386/fpu/e_log.S: Likewise.
19410         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19411         * sysdeps/i386/fpu/e_logf.S: Likewise.
19412         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19413         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19414         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19415         * sysdeps/i386/fpu/e_log10.S: Likewise.
19416         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19417         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19418         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19419         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19420         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19421         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19422         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19423         * sysdeps/i386/i686/strtok.S: Likewise.
19424         * sysdeps/i386/i386-mcount.S: Likewise.
19425         * sysdeps/i386/strtok.S: Likewise.
19426         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19427         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19428         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19429         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19430         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19431         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19432         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19433         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19434         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19435         * sysdeps/x86_64/_mcount.S: Likewise.
19436         * sysdeps/x86_64/strtok.S: Likewise.
19437         * sysdeps/sh/_mcount.S: Likewise.
19439 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19441         * libio/iofopen.c: Include <fcntl.h>.
19442         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19443         (_IO_fopen64, fopen64): Define as aliases.
19444         * libio/iofopen64.c: Include <fcntl.h>.
19445         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19446         Conditionalize body on this.
19447         * sysdeps/wordsize-64/iofopen.c: File removed.
19448         * sysdeps/wordsize-64/iofopen64.c: File removed.
19450 2012-08-01  Marek Polacek  <polacek@redhat.com>
19452         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19453         Use dlfcn directly instead of a variable.
19454         (binfmt-subdir): Do not define.
19455         (dlfcn): Likewise.
19457 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19459         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19460         Remove all definitions.
19461         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19462         <kernel-features.h>.
19463         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19464         (miss_F_GETOWN_EX): Remove all definitions.
19465         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19466         macro definition.
19467         [!__ASSUME_FCNTL64]: Remove conditional code.
19468         [__ASSUME_FCNTL64]: Make code unconditional.
19469         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19470         <kernel-features.h>.
19471         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19472         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19473         (lockf64) [__NR_fcntl64]: Make code unconditional.
19474         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19476         * sysdeps/unix/sysv/linux/kernel-features.h
19477         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19478         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19479         Make code unconditional.
19480         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19481         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19483         [__NR_vfork]: Make code unconditional.
19484         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19485         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19487         [__NR_vfork]: Make code unconditional.
19488         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19489         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19491 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19493         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19494         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19496         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19497         Define mkstemp64 as an alias.
19498         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19499         Define mkstemps64 as an alias.
19500         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19501         Define mkostemp64 as an alias.
19502         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19503         Define mkostemps64 as an alias.
19504         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19505         Conditionalize body on this.
19506         * misc/mkostemp64.c: Likewise.
19507         * misc/mkostemps64.c: Likewise.
19508         * misc/mkstemps64.c: Likewise.
19509         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19510         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19511         * sysdeps/wordsize-64/mkostemp.c: File removed.
19512         * sysdeps/wordsize-64/mkstemp.c: File removed.
19513         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19514         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19515         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19516         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19518         [BZ #14138]
19519         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19520         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19521         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19522         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19524         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19525         compat_symbol macros from <shlib-compat.h> rather than the underlying
19526         default_symbol_version and symbol_version macros, so that DEFAULT
19527         lines in shlib-versions are respected.
19528         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19530 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19532         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19533         Declare with warn_unused_result.
19534         (setgid, setregid, setegid, setresgid): Likewise.
19535         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19536         Likewise.
19537         * WUR-REPORT: Remove set*id functions.
19539 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19541         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19543 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19545         [BZ #10191]
19546         * include/sys/socket.h (__libc_accept, __libc_accept4):
19547         Add attribute_hidden.
19548         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19550         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19551         use of PTR_MANGLE.
19552         * inet/getnetgrent_r.c (setup): Likewise.
19554         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19556 2012-07-31  David S. Miller  <davem@davemloft.net>
19558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19560 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19562         [BZ #13629]
19563         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19564         value between 1.0 and 2.0 and smaller part has absolute value less
19565         than 1.0.
19566         * math/s_clog10.c (__clog10): Likewise.
19567         * math/s_clog10f.c (__clog10f): Likewise.
19568         * math/s_clog10l.c (__clog10l): Likewise.
19569         * math/s_clogf.c (__clogf): Likewise.
19570         * math/s_clogl.c (__clogl): Likewise.
19571         * math/libm-test.inc (clog_test): Add more tests.
19572         (clog10_test): Likewise.
19573         * sysdeps/i386/fpu/libm-test-ulps: Update.
19574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19576 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19578         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19579         Exit with zero in case no suitable GID is found, and write a
19580         message to standard error.
19582 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19584         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19585         rather than to 1.
19586         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19587         (MAXPATHLEN): Removed.
19588         (NOGROUP, NODEV): New macros.
19589         (setbit, clrbit, isset, isclr): New macros.
19590         (howmany, roundup, powerof2): New macros.
19591         (DEV_BSIZE): New macro.
19593         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19594         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19596         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19597         definition on [!__NO_LONG_DOUBLE_MATH].
19599         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19600         PTR_MANGLE and PTR_DEMANGLE.
19602         * socket/accept4.c (accept4): Rename to __libc_accept4.
19603         Define accept4 as a weak alias.
19605         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19606         on [_DIRENT_HAVE_D_TYPE].
19607         * io/ftw.c (ftw_dir): Likewise.
19609         * io/xmknod.c (__xmknod): Don't check PATH for being null.
19611         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19613         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19614         Use the BSD numbers rather than the arbitrary ones we had.
19615         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19616         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19617         (SIGXCPU, SIGXFSZ): New macros.
19618         (_NSIG): Now 32.
19620         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19621         initializer on [_LIBC_REENTRANT].
19623         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19624         definitions inside [_POSIX_MAPPED_FILES].
19626         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19628         * dirent/opendir.c: Include <fcntl.h>.
19630         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19631         (__libc_getspecific): Likewise.
19632         (__libc_key_create): Likewise.
19634         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19635         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19636         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19637         (tmpfile64): Define as alias.
19638         * sysdeps/wordsize-64/tmpfile.c: File removed.
19639         * sysdeps/wordsize-64/tmpfile64.c: File removed.
19640         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19641         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19643         * stdio-common/vfscanf.c: Include <stdbool.h>.
19644         * nss/makedb.c: Likewise.
19645         * stdio-common/_i18n_number.h: Likewise.
19646         * argp/argp-help.c: Likewise.
19647         * posix/wordexp.c: Likewise.
19648         * sysdeps/posix/spawni.c: Likewise.
19649         * nss/nss_files/files-initgroups.c: Likewise.
19650         * stdio-common/reg-modifier.c: Include <stdlib.h>.
19651         * nss/nss_files/files-initgroups.c: Likewise.
19652         * nss/nss_db/db-netgrp.c: Likewise.
19653         * nss/nss_db/db-initgroups.c: Likewise.
19654         * io/fchmodat.c: Include <sys/stat.h>.
19656         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19657         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19659         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19660         [HAVE_MMAP].
19662         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19663         Add multiple inclusion protection.
19665 2012-07-27  David S. Miller  <davem@davemloft.net>
19667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19669 2012-07-27  Gary Benson  <gbenson@redhat.com>
19671         [BZ #14298]
19672         * elf/rtld.c: Include <stap-probe.h>.
19673         (dl_main): Added static probes "init_start" and "init_complete".
19674         * elf/dl-load.c: Include <stap-probe.h>.
19675         (lose): Take new parameter "nsid".
19676         Added static probe "map_failed".
19677         (_dl_map_object_from_fd): Pass namespace id to lose.
19678         Added static probe "map_start".
19679         (open_verify): Pass namespace id to lose.
19680         * elf/dl-open.c: Include <stap-probe.h>.
19681         (dl_open_worker) Added static probes "map_complete", "reloc_start"
19682         and "reloc_complete".
19683         * elf/dl-close.c: Include <stap-probe.h>.
19684         (_dl_close_worker): Added static probes "unmap_start" and
19685         "unmap_complete".
19686         * elf/rtld-debugger-interface.txt: New file documenting the above.
19688 2012-07-26  Roland McGrath  <roland@hack.frob.com>
19690         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19691         rather than a string variable.
19692         * sunrpc/rpc_main.c (h_output): Likewise.
19693         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19695 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
19697         * inet/check_native.c: New file.
19699 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
19701         [BZ #13629]
19702         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19703         if larger part has absolute value 1.0.
19704         * math/s_clog10.c (__clog10): Likewise.
19705         * math/s_clog10f.c (__clog10f): Likewise.
19706         * math/s_clog10l.c (__clog10l): Likewise.
19707         * math/s_clogf.c (__clogf): Likewise.
19708         * math/s_clogl.c (__clogl): Likewise.
19709         * math/libm-test.inc (clog_test): Add more tests.
19710         (clog10_test): Likewise.
19711         * sysdeps/i386/fpu/libm-test-ulps: Update.
19712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19714         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19715         (pltexit): Likewise.
19716         (La_regs): Likewise.
19717         (La_retval): Likewise.
19718         (int_retval): Likewise.
19719         Update #error for removed macros to refer only to definitions in
19720         tst-audit.h.
19721         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19722         macro.
19723         (pltexit): Likewise.
19724         (La_regs): Likewise.
19725         (La_retval): Likewise.
19726         (int_retval): Likewise.
19727         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19728         macro.
19729         (pltexit): Likewise.
19730         (La_regs): Likewise.
19731         (La_retval): Likewise.
19732         (int_retval): Likewise.
19733         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19734         macro.
19735         (pltexit): Likewise.
19736         (La_regs): Likewise.
19737         (La_retval): Likewise.
19738         (int_retval): Likewise.
19739         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19740         macro.
19741         (pltexit): Likewise.
19742         (La_regs): Likewise.
19743         (La_retval): Likewise.
19744         (int_retval): Likewise.
19745         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19746         macro.
19747         (pltexit): Likewise.
19748         (La_regs): Likewise.
19749         (La_retval): Likewise.
19750         (int_retval): Likewise.
19751         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19752         macro.
19753         (pltexit): Likewise.
19754         (La_regs): Likewise.
19755         (La_retval): Likewise.
19756         (int_retval): Likewise.
19757         * sysdeps/generic/tst-audit.h: Update comment to refer only to
19758         macro definitions in tst-audit.h.
19759         * sysdeps/i386/tst-audit.h: New file.
19760         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19761         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19762         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19763         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19764         * sysdeps/sh/tst-audit.h: Likewise.
19765         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19766         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19767         * sysdeps/x86_64/tst-audit.h: Likewise.
19769 2012-07-26  Andreas Jaeger  <aj@suse.de>
19771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19772         ptrace.
19774         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19775         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19776         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19777         PTRACE_O_MASK.
19778         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19779         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19780         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19782         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19783         value.
19785         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19786         _sigsys.
19787         (si_call_addr, si_syscall, si_arch): Define new macro.
19788         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19789         _sigsys.
19790         (si_call_addr, si_syscall, si_arch): Define new marcro.
19791         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19792         _sigsys.
19793         (si_call_addr, si_syscall, si_arch): Define new macro.
19794         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19795         _sigsys.
19796         (si_call_addr, si_syscall, si_arch): Define new macro.
19798 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19800         [BZ #13717]
19801         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19802         Change to 2.4.21 where previously 2.4.1.
19803         * sysdeps/unix/sysv/linux/configure: Regenerated.
19804         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19805         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19806         Linux kernel version.
19807         (__ASSUME_STD_AUXV): Remove.
19808         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19809         kernel version.
19810         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19811         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19812         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19813         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19814         (__ASSUME_NETLINK_SUPPORT): Likewise.
19815         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19816         (__no_netlink_support): Remove conditional definition.
19817         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19818         Remove.
19819         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19820         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19821         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19822         (if_nameindex_ioctl): Remove.
19823         (if_nameindex_netlink): Do not handle __no_netlink_support.
19824         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19825         code.
19826         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19827         Remove conditional code.
19828         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19829         code.
19830         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19831         unconditional.
19832         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19833         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19834         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19835         Remove.
19836         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19837         [!__ASSUME_STD_AUXV]: Remove conditional code.
19838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19839         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19840         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19842         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19843         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19844         code.
19845         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19847         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19848         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19849         conditional code.
19850         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19852         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19853         code.
19854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19855         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19856         conditional code.
19857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19858         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19859         code unconditional.
19860         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19861         conditional code.
19862         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19863         unconditional.
19864         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19865         conditional code.
19866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19867         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19868         unconditional.
19869         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19870         conditional code.
19871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19872         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19873         code unconditional.
19874         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19875         conditional code.
19876         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19877         unconditional.
19878         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19879         conditional code.
19880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19881         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19882         code unconditional.
19883         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19884         conditional code.
19885         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19886         unconditional.
19887         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19888         conditional code.
19890 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
19892         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19893         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19894         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19895         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19896         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19897         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19898         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19899         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19900         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19901         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19902         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19903         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19904         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19905         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19906         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19907         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19908         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19909         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19910         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19912         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19913         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19914         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19916 2012-07-25  Florian Weimer  <fweimer@redhat.com>
19918         * Versions.def: Add GLIBC_2.17.
19919         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19920         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19921         Introduce __libc_secure_getenv.
19922         * stdlib/Versions (2.17): Add secure_getenv
19923         (GLIBC_PRIVATE): Add __libc_secure_getenv.
19924         * stdlib/secure-getenv.c: Rename __secure_getenv to
19925         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
19926         symbol __secure_getenv for GLIBC_2.0.
19927         * stdlib/tst-secure-getenv.c: New.
19928         * stdlib/Makefile (tests): Add testcase.
19929         * manual/startup.texi (Environment Access): Document
19930         secure_getenv.
19931         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19932         __libc_secure_getenv.
19933         * inet/ruserpass.c (ruserpass): Likewise.
19934         * malloc/mtrace.c (mtrace): Likewise.
19935         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19936         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19937         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19938         * sysdeps/posix/tempname.c: Likewise.  Evaluate
19939         HAVE_SECURE_GETENV.
19940         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19941         __secure_getenv to __libc_secure_getenv.
19942         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19944         Likewise.
19945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19946         Likewise.
19947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19949         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19955 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19957         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19958         (struct La_i86_retval): Likewise.
19959         (struct La_x86_64_regs): Likewise.
19960         (struct La_x86_64_retval): Likewise.
19961         (struct La_x32_regs): Likewise.
19962         (struct La_x32_retval): Likewise.
19963         (struct La_ppc32_regs): Likewise.
19964         (struct La_ppc32_retval): Likewise.
19965         (struct La_ppc64_regs): Likewise.
19966         (struct La_ppc64_retval): Likewise.
19967         (struct La_sh_regs): Likewise.
19968         (struct La_sh_retval): Likewise.
19969         (struct La_s390_32_regs): Likewise.
19970         (struct La_s390_32_retval): Likewise.
19971         (struct La_s390_64_regs): Likewise.
19972         (struct La_s390_64_retval): Likewise.
19973         (struct La_sparc32_regs): Likewise.
19974         (struct La_sparc32_retval): Likewise.
19975         (struct La_sparc64_regs): Likewise.
19976         (struct La_sparc64_retval): Likewise.
19977         (struct audit_ifaces): Remove architecture-specific pltenter and
19978         pltexit members.
19979         * sysdeps/i386/ldsodefs.h: New file.
19980         * sysdeps/powerpc/ldsodefs.h: Likewise.
19981         * sysdeps/s390/ldsodefs.h: Likewise.
19982         * sysdeps/sh/ldsodefs.h: Likewise.
19983         * sysdeps/sparc/ldsodefs.h: Likewise.
19984         * sysdeps/x86_64/ldsodefs.h: Likewise.
19986 2012-07-25  Marek Polacek  <polacek@redhat.com>
19988         [BZ #6808]
19989         * math/libm-test.inc (yn_test): Add another test.
19990         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19991         to ERANGE when the result is +-Inf.
19992         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19993         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19994         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19995         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19997 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
19999         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20000         equal to 0.
20001         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20002         clock_t.
20003         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20005 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20007         * configure.in <sysdeps resolving>: Correct printing
20008         Implies_before.
20009         * configure: Regenerate.
20011 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20013         * math/w_ilogb.c: Include <limits.h>.
20014         * math/w_ilogbl.c: Likewise.
20016 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20018         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20019         va_copy.  Document allowing for unavailable va_copy only as
20020         pre-C99 compatibility.
20021         * manual/string.texi (Copying and Concatenation): Use va_copy
20022         instead of __va_copy in concat example.
20024 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20026         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20027         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20028         it if not null.
20030         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20031         with O_NOLINK passed to __file_name_lookup.
20033         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20034         with O_NOLINK passed to __file_name_lookup.
20036         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20037         negative N or less than NGIDS.
20039         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20040         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20041         enough.  Use memcpy instead of strncpy.
20043 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20045         * elf/Makefile (check-data): Remove.
20046         (localplt.data): New vpath directive.
20047         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20048         instead of $(check-data).
20049         * scripts/data/localplt-generic.data: Move to ...
20050         * sysdeps/generic/localplt.data: ... here.
20051         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20052         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20053         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20055         ... here.
20056         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20058         ... here.
20059         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20061         ... here.
20062         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20064         ... here.
20065         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20067         ... here.
20068         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20070         ... here.
20072 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20074         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20075         PPC32 and PPC64 files.
20076         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20077         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20079 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20081         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20082         __makecontext_ret to ...
20083         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20084         ... here and call exit if uc_link is NULL.  New file.
20085         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20086         __makecontext_ret.S.
20087         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20088         __makecontext_ret to ...
20089         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20090         ... here and call exit if uc_link is NULL.  New file.
20091         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20092         __makecontext_ret.S.
20094 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20096         * elf/elf.h (R_390_IRELATIVE): New definition.
20097         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20098         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20099         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20100         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20101         (elf_machine_lazy_rel): Likewise.
20102         * sysdeps/s390/dl-irel.h: New file.
20103         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20104         * sysdeps/s390/s390-64/memset.S: New asm code.
20105         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20106         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20107         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20108         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20109         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20110         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20111         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20112         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20113         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20114         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20115         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20116         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20117         * sysdeps/s390/s390-32/memset.S: New asm code.
20118         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20120 2012-07-17  Marek Polacek  <polacek@redhat.com>
20122         [BZ #14349]
20123         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20124         * sysdeps/s390/s390-64/configure.in: Likewise.
20125         * sysdeps/sparc/configure.in: Likewise.
20126         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20127         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20128         * sysdeps/i386/configure.in: Likewise.
20129         * sysdeps/x86_64/configure.in: Likewise.
20130         * sysdeps/sh/configure.in: Likewise.
20131         * sysdeps/s390/s390-32/configure: Regenerated.
20132         * sysdeps/s390/s390-64/configure: Likewise.
20133         * sysdeps/x86_64/configure: Likewise.
20134         * sysdeps/sh/configure: Likewise.
20135         * sysdeps/powerpc/powerpc64/configure: Likewise.
20136         * sysdeps/powerpc/powerpc32/configure: Likewise.
20137         * sysdeps/sparc/configure: Likwise.
20138         * sysdeps/i386/configure: Likewise.
20140         * elf/dl-open.c: Comment fixes.
20142 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20144         * Makefile [CXX] (check-data): Remove.
20145         [CXX] (c++-types.data): New vpath directive.
20146         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20147         vpath.  Do not allow for C++ type data being missing.
20148         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20149         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20150         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20151         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20152         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20153         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20154         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20156         ... here.
20157         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20159         ... here.
20160         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20162         ... here.
20163         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20165         ... here.
20166         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20168         ... here.
20169         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20171         ... here.
20172         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20174         ... here.
20175         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20178         * elf/tls-macros.h (TLS_LE): Move architecture-specific
20179         definitions to architecture-specific files.
20180         (TLS_IE): Likewise.
20181         (TLS_LD): Likewise.
20182         (TLS_GD): Likewise.
20183         * sysdeps/i386/tls-macros.h: New file.
20184         * sysdeps/powerpc/tls-macros.h: Likewise.
20185         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20186         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20187         * sysdeps/sh/tls-macros.h: Likewise.
20188         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20189         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20190         * sysdeps/x86_64/tls-macros.h: Likewise.
20192 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20194         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20195         zero value for regular exit case.
20197         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20198         (__start_context): Preserve zero value for regular exit case.
20200 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20201             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20203         * manual/setjmp.texi (setcontext): Clarify normal process
20204         termination when uc_link is the null pointer.
20205         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20206         exit call.
20208 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
20210         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20211         preprocessor.  Test for each exception mask separately.
20213 2012-07-16  Andreas Jaeger  <aj@suse.de>
20215         * po/ru.po: Update from translation team.
20217 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
20219         * conform/data/string.h-data (NULL): Use macro-constant.  Require
20220         equal to 0.
20221         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20222         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20223         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20224         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20225         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20227 2012-07-13  Andreas Jaeger  <aj@suse.de>
20229         * po/fr.po: Update from translation team.
20231 2012-07-12  Marek Polacek  <polacek@redhat.com>
20233         [BZ #14173]
20234         * math/libm-test.inc (yn_test): Add test for BZ #14173.
20235         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20236         loop condition.
20238 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
20240         [BZ #13717]
20241         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20242         Change to 2.4.1 where previously 2.4.0.
20243         * sysdeps/unix/sysv/linux/configure: Regenerated.
20244         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20245         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20246         version.
20247         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20248         (__ASSUME_AT_CLKTCK): Remove.
20249         (__ASSUME_AT_PAGESIZE): Likewise.
20250         (__ASSUME_AT_XID): Likewise.
20251         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20252         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20253         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20254         unconditionally.
20255         (HAVE_AUX_PAGESIZE): Likewise.
20256         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20257         [__ASSUME_AT_CLKTCK]: Make code unconditional.
20258         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20260 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
20262         [BZ #14307]
20263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20264         the temporary buffer used to invoke __gethostbyname2_r,
20265         __gethostbyaddr_r and gethostbyname4_r to make room for struct
20266         host_data / struct gaih_addrtuple.
20267         * resolv/nss_dns/dns-host.c (global scope): Move definition of
20268         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20269         header file nss/nsswitch.h.
20270         * nss/nsswitch.h (global scope): Add definition of implementation
20271         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20272         resolv/nss_dns/dns-host.c).
20274 2012-07-11  Andreas Jaeger  <aj@suse.de>
20276         * po/fr.po: Update from translation team.
20278         * po/sv.po: Update from translation team
20279         * po/fr.po: Another update from translation team.
20281 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20283         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20284         for subnormals or multiply small sinh result by itself.
20285         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20288 2012-07-11  David S. Miller  <davem@davemloft.net>
20290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20292 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
20294         [BZ #14347]
20295         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20296         (INTERNAL_MARK): Shift it here.
20298 2012-07-10  Marek Polacek  <polacek@redhat.com>
20300         [BZ #14151]
20301         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
20302         libc_cv_asm_global_directive with .globl.
20303         * configure: Regenerated.
20304         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20305         with .globl.
20306         * sysdeps/i386/configure: Regenerated.
20307         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20308         with .globl.
20309         * sysdeps/x86_64/configure: Regenerated.
20310         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20311         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20312         * elf/tst-unique2mod2.c: Likewise.
20313         * elf/tst-unique2mod1.c: Likewise.
20314         * elf/tst-unique1mod2.c: Likewise.
20315         * elf/tst-unique1mod1.c: Likewise.
20316         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20317         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20318         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20319         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20320         * sysdeps/mach/sysdep.h: Likewise.
20321         * sysdeps/i386/sysdep.h: Likewise.
20322         * sysdeps/i386/i386-mcount.S: Likewise.
20323         * sysdeps/x86_64/_mcount.S: Likewise.
20324         * sysdeps/x86_64/sysdep.h: Likewise.
20325         * sysdeps/sh/_mcount.S: Likewise.
20326         * sysdeps/sh/sysdep.h: Likewise.
20327         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20328         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20329         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20330         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20331         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20332         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20333         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20334         * locale/localeinfo.h: Likewise.
20335         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20336         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20338 2012-07-09  Roland McGrath  <roland@hack.frob.com>
20340         [BZ #14336]
20341         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20342         system".
20343         * manual/message.texi (The Uniforum approach): Likewise.
20344         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20345         (glibc iconv Implementation): Likewise.
20347 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
20349         [BZ #14337]
20350         * math/s_clog.c (__clog): Avoid scaling a value down where that
20351         could result in underflow.
20352         * math/s_clog10.c (__clog10): Likewise.
20353         * math/s_clog10f.c (__clog10f): Likewise.
20354         * math/s_clog10l.c (__clog10l): Likewise.
20355         * math/s_clogf.c (__clogf): Likewise.
20356         * math/s_clogl.c (__clogl): Likewise.
20357         * math/libm-test.inc (clog_test): Add more tests.
20358         (clog10_test): Likewise.
20359         * sysdeps/i386/fpu/libm-test-ulps: Update.
20360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20362 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
20364         [BZ #14283]
20365         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20366         by 7 not 8 to examine high bit of fractional part.
20368         [BZ #14042]
20369         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20370         for call to __mcount_internal.
20371         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20372         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20373         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20375 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
20377         [BZ #14154]
20378         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20379         approximation for values within 0x1p-13f of an odd multiple of
20380         pi/4.
20381         * math/libm-test.inc (tan_test): Do not allow spurious underflow
20382         exception.  Add more tests.
20383         * sysdeps/i386/fpu/libm-test-ulps: Update.
20385         [BZ #6778]
20386         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20387         inputs and return -1 for them.  Do not check for +Inf in case not
20388         reachable for +Inf.
20389         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20390         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20391         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20392         and return -1 for them.  Do not check for +Inf in case not
20393         reachable for +Inf.
20394         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20395         define.
20396         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20397         and return -1 for them.  Do not check for +Inf in case not
20398         reachable for +Inf.
20399         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20400         spurious underflow.
20401         * sysdeps/i386/fpu/libm-test-ulps: Update.
20402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20404 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20406         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20408 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20410         [BZ #14157]
20411         [BZ #14331]
20412         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20413         could result in spurious underflow.  Scale down values above
20414         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20415         * math/s_csqrtf.c (__csqrtf): Likewise.
20416         * math/s_csqrtl.c (__csqrtl): Likewise.
20417         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20418         spurious underflow.
20419         * sysdeps/i386/fpu/libm-test-ulps: Update.
20420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20422 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20424         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20425         xopen-msg.sed.
20426         * catgets/xopen-msg.awk: New file.
20427         * catgets/xopen-msg.sed: Removed.
20429         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20430         po2text.sed.
20431         * intl/po2test.awk: New file.
20432         * intl/po2test.sed: Removed.
20434 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20436         [BZ #14328]
20437         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20438         or multiply small sinh result by itself.
20439         * math/s_ctanf.c (__ctanf): Likewise.
20440         * math/s_ctanh.c (__ctanh): Likewise.
20441         * math/s_ctanhf.c (__ctanhf): Likewise.
20442         * math/s_ctanhl.c (__ctanhl): Likewise.
20443         * math/s_ctanl.c (__ctanl): Likewise.
20444         * math/libm-test.inc (ctan_test_tonearest): New function.
20445         (ctan_test_towardzero): Likewise.
20446         (ctan_test_downward): Likewise.
20447         (ctan_test_upward): Likewise.
20448         (ctanh_test_tonearest): Likewise.
20449         (ctanh_test_towardzero): Likewise.
20450         (ctanh_test_downward): Likewise.
20451         (ctanh_test_upward): Likewise.
20452         (main): Call these new functions.
20453         * sysdeps/i386/fpu/libm-test-ulps: Update.
20454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20456 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20458         * .gitignore: Delete /ports entry.
20460 2012-07-03  Andreas Jaeger  <aj@suse.de>
20462         * po/bg.po: Update from translation team.
20463         * po/cs.po: Likewise.
20464         * po/de.po: Likewise.
20465         * po/hr.po: Likewise.
20466         * po/nl.pl: Likewise.
20467         * po/pl.po: Likewise.
20468         * po/vi.po: Likewise.
20470 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20472         * Makeconfig [!+link] (+link-before-libc): New variable.
20473         [!+link] (+link-after-libc): Likewise.
20474         [!+link] (+link-tests): Likewise.
20475         [!+link] (+link): Define in terms of $(+link-before-libc) and
20476         $(+link-after-libc).
20477         [!+link-static] (+link-static-before-libc): New variable.
20478         [!+link-static] (+link-static-after-libc): Likewise.
20479         [!+link-static] (+link-static-tests): Likewise.
20480         [!+link-static] (+link-static): Define in terms of
20481         $(+link-static-before-libc) and $(+link-static-after-libc).
20482         [build-shared] (link-libc-before-gnulib): New variable.
20483         [build-shared] (link-libc-tests): Likewise.
20484         [build-shared] (link-libc): Define in terms of
20485         $(link-libc-before-gnulib).
20486         [!build-shared] (link-libc-tests): New variable.
20487         (link-libc-static-tests): New variable.
20488         [!gnulib] (gnulib-arch): New variable.
20489         [!gnulib] (gnulib-tests): Likewise.
20490         [!gnulib] (static-gnulib-arch): Likewise.
20491         [!gnulib] (static-gnulib-tests): Likewise.
20492         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20493         Define with "=" instead of ":=".
20494         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20495         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20496         * Rules (binaries-all-notests): New variable.
20497         (binaries-all-tests): Likewise.
20498         (binaries-static-notests): Likewise.
20499         (binaries-static-tests): Likewise.
20500         (binaries-all): Define using $(binaries-all-notests) and
20501         $(binaries-all-tests).
20502         (binaries-static): Define using $(binaries-static-notests) and
20503         $(binaries-static-tests).
20504         (binaries-shared-tests): New variable.
20505         (binaries-shared-notests): Likewise.
20506         (binaries-shared): Remove variable.
20507         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20508         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20509         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20510         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20511         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20512         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20513         * elf/Makefile (sln-modules): New variable.
20514         (extra-objs): Add $(sln-modules:=.o).
20515         (ldconfig-modules): Add static-stubs.
20516         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20517         * elf/static-stubs.c: New file.
20519         [BZ #14283]
20520         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20521         by 7 not 8 to examine high bit of fractional part.  Use volatile
20522         variables when splitting into final array of floats if
20523         __FLT_EVAL_METHOD__ != 0.
20524         * math/libm-test.inc (cos_test): Add another test.
20525         (sin_test): Likewise.
20526         * sysdeps/i386/fpu/libm-test-ulps: Update.
20528         [BZ #14273]
20529         * math/libm-test.inc (cosh_test): Add more tests.
20531         * version.h (RELEASE): Set to "development".
20532         (VERSION): Set to "2.16.90".
20534 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20536         * NEWS: Update copyright. Remove last-updated date.
20537         Mention math library bug fixes and timezone data changes.
20538         * README: Mention GNU/Hurd, x32, and HPPA support status.
20540 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20542         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20544 2012-06-27  Andreas Jaeger  <aj@suse.de>
20546         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20548 2012-06-25  Andreas Jaeger  <aj@suse.de>
20550         * sysdeps/s390/fpu/libm-test-ulps: Update.
20552 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20553             Thomas Schwinge  <thomas@codesourcery.com>
20555         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20556         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20558         fanotify_mark.
20560 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20562         * sysdeps/mach/start.c: Remove file.
20563         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20564         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20565         * sysdeps/sh/init-first.c: Likewise.
20567         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20568         registers for frame unwinding purposes, add CFI directives.
20569         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20570         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20571         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20572         Likewise.
20574         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20575         __fortify_fail returning.
20576         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20578         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20579         sysdeps/sh/____longjmp_chk.S.
20580         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20581         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20582         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20583         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20585         * sysdeps/sh/abort-instr.h: New file.
20586         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20587         process in case exit returns.
20589         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20590         initialize the GOT register before use.
20592         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20593         calculation of ARGC > 4.
20595         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20596         meaningful names to some local labels.
20598 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20599             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20601         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20602         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20603         (__arch_compare_and_exchange_val_16_acq): Likewise.
20604         (__arch_compare_and_exchange_val_32_acq): Likewise.
20605         (atomic_exchange_and_add): Fix gUSA sequence.
20606         (atomic_add): Likewise.
20607         (atomic_add_negative): Likewise.
20608         (atomic_add_zero): Likewise.
20609         (atomic_bit_test_set): Likewise.
20611 2012-06-22  Andreas Schwab  <schwab@redhat.com>
20613         [BZ #13579]
20614         * include/link.h (struct link_map): Add l_free_initfini.
20615         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20616         l_initfini.
20617         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20618         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20619         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20620         set.
20622 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
20624         * configure.in: Use AC_LANG_SOURCE.
20625         * configure: Regenerate.
20627 2012-06-22  Roland McGrath  <roland@hack.frob.com>
20629         * configure.in (libc_cv_localstatedir): New substituted variable.
20630         * configure: Regenerated.
20631         * config.make.in (localstatedir): New variable, substituted from
20632         libc_cv_localstatedir.
20633         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20634         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20635         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20636         * sysdeps/gnu/configure: Regenerated.
20638 2012-06-21  Jeff Law  <law@redhat.com>
20640         [BZ #14277]
20641         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20642         free.  Simplify list management for _LIBC case.
20644 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20646         [BZ #14273]
20647         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20648         Clear sign bit of 64-bit integer value before comparing against
20649         overflow value.
20651         * sysdeps/mach/configure: Regenerated.
20653 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
20655         [BZ #14278]
20656         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20658 2012-06-21  Jeff Law  <law@redhat.com>
20660         [BZ #13882]
20661         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
20662         uint16_t for elements in the "seen" array to avoid char overflows.
20663         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20664         * elf/dl-open.c (dl_open_worker): Likewise.
20666 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
20668         * scripts/list-sources.sh: Scan PORTS for translations.
20669         * po/libc.pot: Regenerated.
20671 2012-06-21  Andreas Jaeger  <aj@suse.de>
20673         [BZ #12194]
20674         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20675         warning.
20676         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20677         * bits/byteswap-16.h (__bswap_16): Likewise.
20678         * bits/byteswap.h (__bswap_constant_16): Likewise.
20680 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
20682         [BZ #14117]
20683         * sysdeps/i386/fpu_control.h: Removed.
20684         * sysdeps/x86_64/fpu_control.h: Moved to ...
20685         * sysdeps/x86/fpu_control.h: Here.
20687         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20688         (_FPU_SETCW): Likewise.
20690 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
20692         [BZ #14117]
20693         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20694         * sysdeps/x86/fpu/bits/mathinline.h: This.
20695         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20697         [BZ #14050]
20698         [BZ #14117]
20699         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20700         functions if __x86_64__ is defined.
20702 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
20704         * string/endian.h: Add !__ASSEMBLER__ condition for including
20705         conversion interfaces.
20707 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
20709         [BZ #14241]
20710         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20711         of ABS(x) in calculating zero to negative powers other than odd
20712         integers.
20713         * math/libm-test.inc (pow_test): Add more tests.
20715 2012-06-15  Andreas Jaeger  <aj@suse.de>
20717         * manual/contrib.texi (Contributors): Update entry of Liubov
20718         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20719         Machado Filho.
20721 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
20723         * string/string.h: Add __wur to GNU version of strerror_r.
20725 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
20727         [BZ #14229]
20728         * string/Makefile (tests): Add tst-strtok_r.
20729         * string/tst-strtok_r.c: New file.
20730         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20731         RAX_LP/RDX_LP on SAVE_PTR.
20733 2012-06-14  Roland McGrath  <roland@hack.frob.com>
20735         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20737 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
20739         * libm_test.inc (csqrt_test): Allow more spurious underflow
20740         exceptions.
20741         (j0_test): Likewise.
20742         (j1_test): Likewise.
20743         (y0_test): Likewise.
20744         (y1_test): Likewise.
20746 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
20748         * po/Makefile (libc.pot): Use UTF-8 charset.
20750 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
20752         [BZ #14210]
20753         Suppress sign-conversion warning from FD_SET.
20754         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20755         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20756         not unsigned long int.
20757         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20759 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
20761         [BZ #14050]
20762         [BZ #14117]
20763         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20764         __extern_always_inline instead of __extern_inline.
20765         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20766         (__signbit): Likewise.
20767         (__signbitl): Support C++ namespace.
20768         (lrintf): New inline function.
20769         (lrint): Likewise.
20770         (llrintf): Likewise.
20771         (llrint): Likewise.
20772         (fmaxf): Likewise.
20773         (fmax): Likewise.
20774         (fminf): Likewise.
20775         (fmin): Likewise.
20776         (rint): Likewise.
20777         (rintf): Likewise.
20778         (ceil): Likewise.
20779         (ceilf): Likewise.
20780         (floor): Likewise.
20781         (floorf): Likewise.
20782         (nearbyint): Likewise.
20783         (nearbyintf): Likewise.
20785 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
20787         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20788         non-default versions.
20790 2012-06-11  Roland McGrath  <roland@hack.frob.com>
20792         [BZ #14218]
20793         * manual/argp.texi (Argp): Reword argp_parse description slightly.
20795 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
20797         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20798         (FE_UPWARD, FE_DOWNWARD): Don't define.
20799         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20800         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20802         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20803         reading it.
20804         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20805         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20807 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20809         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20810         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20811         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20812         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20814 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20816         [BZ #14117]
20817         * sysdeps/i386/fpu/bits/fenv.h: Removed.
20818         * sysdeps/i386/fpu/Implies: New file.
20819         * sysdeps/x86_64/fpu/Implies: Likewise.
20820         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20821         * sysdeps/x86/fpu/bits/fenv.h: This.
20823         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20824         __SSE_MATH__.
20826 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20828         [BZ #14134]
20829         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20830         character 0xffff that matches the last element of the
20831         conversion table.
20833 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20835         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20836         fmodl commit.
20838 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20840         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20841         values higher than 25.6283.
20843 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20845         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20846         subnormal exponent extraction and add some __builtin_expect.
20847         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20848         Fix for subnormal mantissa calculation.
20850 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
20852         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20853         cpu2 is -1 and errno is not ENOSYS.
20855 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
20857         [BZ #14117]
20858         * sysdeps/i386/i486/bits/string.h: Renamed to ...
20859         * sysdeps/x86/bits/string.h: This.
20860         * sysdeps/x86_64/bits/string.h: Removed.
20862         * sysdeps/i386/i486/bits/string.h: Define inline functions only
20863         if not compiling for x86-64, but compiling for >= i486.
20865         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20866         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20868         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20869         New macro from Linux kernel 3.4.0.
20870         (FP_XSTATE_MAGIC2): Likewise.
20871         (FP_XSTATE_MAGIC2_SIZE): Likewise.
20872         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20873         (struct _fpx_sw_bytes): New struct.
20874         (struct _xsave_hdr): Likewise.
20875         (struct _ymmh_state): Likewise.
20876         (struct _xstate): Likewise.
20878         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20879         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20880         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20881         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20882         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20883         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20885         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20886         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20887         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20888         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20889         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20890         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20892 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20894         [BZ #13743]
20895         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20896         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20897         (sysdep_headers): Include sys/platform/ppc.h.
20898         * sysdeps/powerpc/test-gettimebase.c: Test for
20899         __ppc_get_timebase() to catch future ISA opcode/insn changes.
20900         * manual/Makefile (appendices): Include platform.texi.
20901         * manual/contrib.texi (Contributors): Update @node pointers.
20902         * manual/maint.texi (Maintenance): Likewise.
20903         (Platform): New node.
20904         * manual/platform.texi: New file.  Document the new features.
20906 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20907             Jakub Jelinek  <jakub@redhat.com>
20909         [BZ #14188]
20910         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20911         where __builtin_expect is unavailable.
20913 2012-06-03  David S. Miller  <davem@davemloft.net>
20915         * stdlib/longlong.h: Updated from GCC.
20917 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
20919         [BZ #14042]
20920         * sysdeps/powerpc/powerpc32/mcount.c: New file.
20921         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20922         __mcount_internal.
20923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20924         (GLIBC_2.16): Likewise.
20926 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20928         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20930 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20933         (default-abi): New variable.
20934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20935         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20936         variable.
20937         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20938         Likewise.
20939         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20940         Likewise.
20941         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20942         Likewise.
20944         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20945         definition.  Document in comment.
20947 2012-06-01  David S. Miller  <davem@davemloft.net>
20949         * stdlib/longlong.h: Updated from GCC.
20951 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20953         [BZ #14117]
20954         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20955         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20956         sys/debugreg.h sys/io.h here.
20957         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20958         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20959         sys/io.h.
20960         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20961         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20962         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20963         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20964         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20965         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20967         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20968         Define only if __x86_64__ is defined.
20970 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20972         [BZ #14048]
20973         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20974         Use int64_t for variable i.
20975         * math/libm-test.inc (fmod_test): Add more tests.
20977         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20978         z computation is not scheduled after fetestexcept.
20979         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20980         Use math_force_eval instead of asm to ensure calculation scheduled
20981         before exception test.
20982         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20983         Ensure a1 + u.d computation is not scheduled after fetestexcept.
20985 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
20987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20988         computation is not scheduled after fetestexcept.
20990 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20992         [BZ #14117]
20993         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20994         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20996 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20998         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20999         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21001 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21003         [BZ #14117]
21004         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21005         <bits/wordsize.h>.
21006         (__WCHAR_MIN): Support __WORDSIZE == 64.
21007         (__WCHAR_MAX): Likewise.
21009         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21010         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21012         [BZ #14183]
21013         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21014         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21016         [BZ #14117]
21017         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21018         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21020         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21021         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21023         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21024         Defined to 1 if __x86_64__ isn't defined.
21025         (_STAT_VER_LINUX_OLD): New.
21026         (st_atime): Remove duplicate.
21027         (st_mtime): Likewise.
21028         (st_ctime): Likewise.
21030 2012-05-31  David S. Miller  <davem@davemloft.net>
21032         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21033         entries.
21035 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21037         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21038         gen-libm-test.pl.
21040         [BZ #14132]
21041         * elf/dl-reloc.c: Include <_itoa.h>.
21042         (_dl_reloc_bad_type): Remove use of INTUSE.
21043         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21044         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21045         * stdio-common/psiginfo.c (psiginfo): Likewise.
21046         * stdio-common/psignal.c (psignal): Likewise.
21047         * string/strsignal.c (strsignal): Likewise.
21048         * include/signal.h (_sys_siglist): Declare hidden proto.
21049         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21050         INTVARDEF with libc_hidden_data_def.
21051         * stdio-common/itoa-udigits.c: Likewise.
21052         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21053         (_itoa_lower_digits_internal): Remove declaration.
21054         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21055         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21056         (_sys_sigabbrev_internal): Remove aliases.
21057         (_sys_siglist): Define hidden alias.
21059 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21062         bits/sysctl.h.
21064 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21066         [BZ #14117]
21067         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21068         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21070         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21071         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21072         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21073         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21074         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21075         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21077         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21078         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21079         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21081         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21082         with __addr.
21083         (insw): Likewise.
21084         (insl): Likewise.
21085         (outsb): Likewise.
21086         (outsw): Likewise.
21087         (outsl): Likewise.
21089         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21090         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21091         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21093         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21094         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21095         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21096         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21097         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21098         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21100         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21101         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21103         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21104         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21106         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21107         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21108         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21110         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21111         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21112         to ...
21113         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21115         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21116         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21117         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21119         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21120         for x86-64.
21121         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21123 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21125         * math/math.h (M_El): Use two more decimal places.
21126         (M_LOG2El): Likewise.
21127         (M_LOG10El): Likewise.
21128         (M_LN2l): Likewise.
21129         (M_LN10l): Likewise.
21130         (M_PIl): Likewise.
21131         (M_PI_2l): Likewise.
21132         (M_PI_4l): Likewise.
21133         (M_1_PIl): Likewise.
21134         (M_2_PIl): Likewise.
21135         (M_2_SQRTPIl): Likewise.
21136         (M_SQRT2l): Likewise.
21137         (M_SQRT1_2l): Likewise.
21139 2012-05-31  David S. Miller  <davem@davemloft.net>
21141         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21142         values between float registers.
21143         * sysdeps/sparc/sparc64/memset.S: Likewise.
21144         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21146 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21148         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21149         -D_FORTIFY_SOURCE=1.
21150         (CPPFLAGS-tst-longjmp_chk.c): Define.
21151         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21152         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21153         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21154         CFLAGS-tst-wchar-h.c.
21156 2012-05-31  Marek Polacek  <polacek@redhat.com>
21158         [BZ #14132]
21159         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21160         __endmntent_internal): Remove declaration.
21161         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21162         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21163         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21165 2012-05-30  David S. Miller  <davem@davemloft.net>
21167         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21168         (___Q_simulate_exceptions): Use real FP ops rather than writing
21169         into the %fsr.
21170         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21171         Likewise.
21173 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21175         [BZ #14117]
21176         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21177         * sysdeps/x86/bits/xtitypes.h: This.
21179         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21180         * sysdeps/x86/bits/wordsize.h: This.
21182         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21183         * sysdeps/x86/bits/huge_vall.h: This.
21185         * sysdeps/i386/bits/select.h: Removed.
21186         * sysdeps/x86_64/bits/select.h: Renamed to ...
21187         * sysdeps/x86/bits/select.h: This.
21189         * sysdeps/i386/bits/setjmp.h: Removed.
21190         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21191         * sysdeps/x86/bits/setjmp.h: This.
21193         * sysdeps/i386/bits/mathdef.h: Removed.
21194         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21195         * sysdeps/x86/bits/mathdef.h: This.
21197 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
21199         [BZ #14132]
21200         * include/sys/socket.h (__connect_internal)
21201         (__libc_sa_len_internal): Remove declaration.
21202         (__connect, __libc_sa_len): Declare hidden_proto.
21203         (SA_LEN): Remove use of INTUSE.
21204         * socket/connect.c: Add libc_hidden_def.
21205         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21206         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21207         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21208         alias.
21209         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21210         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21211         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21212         of adding _internal alias.
21214 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21216         [BZ #14117]
21217         * sysdeps/i386/bits/link.h: Removed.
21218         * sysdeps/i386/bits/linkmap.h: Likewise.
21219         * sysdeps/x86_64/bits/link.h: Renamed to ...
21220         * sysdeps/x86/bits/link.h: This.
21221         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21222         * sysdeps/x86/bits/linkmap.h: This.
21224         * sysdeps/i386/bits/endian.h: Removed.
21225         * sysdeps/x86_64/bits/endian.h: Renamed to ...
21226         * sysdeps/x86/bits/endian.h: This.
21228         * sysdeps/i386/bits/byteswap.h: Removed.
21229         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21230         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21231         * sysdeps/x86/bits/byteswap.h: This.
21232         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21233         * sysdeps/x86/bits/byteswap-16.h: This.
21234         * sysdeps/i386/Implies: Add x86.
21235         * sysdeps/x86_64/Implies: Likewise.
21237 2012-05-30  David S. Miller  <davem@davemloft.net>
21239         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21240         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21241         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21242         (FP_TRAPPING_EXCEPTIONS): Define.
21243         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21244         (FP_TRAPPING_EXCEPTIONS): Define.
21245         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21246         subnormals only when inexact has been signalled or underflow
21247         exceptions are enabled.
21248         (_FP_PACK_CANONICAL): Likewise.
21250 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21252         [BZ #14183]
21253         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21254         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21256 2012-05-30  Richard Henderson  <rth@twiddle.net>
21258         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21259         with #ifndef NOT_IN_libc.
21261         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
21262         marked to avoid plt entry.
21264 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21266         [BZ #14112]
21267         * Makeconfig (default-abi): New macro.
21268         (abi-includes): Likewise.
21269         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
21270         $(abi-$(default-abi)-lib-soname) for soname if defined.
21271         ($(common-objpfx)gnu/lib-names.stmp): Generate from
21272         abi-variants.
21273         * Makefile (installed-stubs): Likewise.
21274         * include/stubs-biarch.h: Removed.
21275         * scripts/lib-names.awk: Only handle one library at a time.
21276         * scripts/soversions.awk: Remove WORDSIZE support.
21277         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21278         entries.
21279         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21280         Removed.
21281         (syscall-list-default-condition): Likewise.
21282         (syscall-list-default-condition): Likewise.
21283         (syscall-list-includes): Likewise.
21284         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21285         syscall-list-* with abi-*.  Handle undefined abi-variants.
21286         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21287         * sysdeps/unix/sysv/linux/i386/Implies: New file.
21288         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21289         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21290         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21291         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21292         Removed.
21293         (syscall-list-32-options): Likewise.
21294         (syscall-list-32-condition): Likewise.
21295         (syscall-list-64-options): Likewise.
21296         (syscall-list-64-condition): Likewise.
21297         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21298         macro.
21299         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21300         Renamed to ...
21301         (abi-*): This.
21302         (abi-64-ld-soname): New macro.
21303         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21304         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21305         Renamed to ...
21306         (abi-*): This.
21307         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21308         * sysdeps/x86_64/x32/shlib-versions: Likewise.
21310 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
21312         * sysdeps/unix/sysv/linux/kernel-features.h
21313         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21314         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21315         include <kernel-features.h>.
21316         [!__NR_ftruncate64]: Remove conditional code.
21317         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21318         [__NR_ftruncate64]: Make code unconditional.
21319         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21320         * sysdeps/unix/sysv/linux/truncate64.c: Do not
21321         include <kernel-features.h>.
21322         [!__NR_ftruncate64]: Remove conditional code.
21323         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21324         [__NR_ftruncate64]: Make code unconditional.
21325         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21327         include <kernel-features.h>.
21328         [!__NR_ftruncate64]: Remove conditional code.
21329         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21330         [__NR_ftruncate64]: Make code unconditional.
21331         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21333         include <kernel-features.h>.
21334         [!__NR_ftruncate64]: Remove conditional code.
21335         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21336         [__NR_ftruncate64]: Make code unconditional.
21337         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21339         * configure.in (libc_cv_fpie): Weaken to a compile test using
21340         LIBC_TRY_CC_OPTION.
21341         * configure: Regenerated.
21343 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21349         Refreshed.
21350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21356         Refreshed.
21358 2012-05-27  David S. Miller  <davem@davemloft.net>
21360         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21361         (___Q_zero): New.
21362         (__Q_simulate_exceptions): Return void.  Change to simulate
21363         exceptions by writing into the %fsr.
21364         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21365         (__Qp_handle_exceptions): Likewise.
21366         (numbers): Delete.
21367         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21368         __Qp_handle_exceptions.
21369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21370         __Qp_handle_exceptions.
21371         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21372         as unused and give dummy FP_RND_NEAREST initializer.
21373         (FP_INHIBIT_RESULTS): Define.
21374         (___Q_simulate_exceptions): Update declaration.
21375         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21376         formatting.
21377         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21378         as unused and give dummy FP_RND_NEAREST initializer.
21379         (__Qp_handle_exceptions): Update declaration.
21380         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21381         formatting.
21383 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
21385         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21386         the temporary FPU control word.
21387         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21388         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21389         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21390         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21391         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21392         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21393         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21394         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21395         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21396         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21397         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21399 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21401         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21402         fields.
21404 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21406         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21407         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21408         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21409         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21410         Likewise.
21411         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21412         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21413         Likewise.
21415 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21417         * po/h.po: Update from translation team.
21419 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21421         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21423         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21424         handling of denormals.
21425         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21426         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21427         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21428         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21429         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21431         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21432         Likewise.
21434 2012-05-26  Marek Polacek  <polacek@redhat.com>
21436         [BZ #14152]
21437         * math/libm-test.inc (fma_test): Don't always expect underflow
21438         exception.
21440 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21442         [BZ #12416]
21443         * elf/tst-execstack.c: Include stackinfo.h.
21444         (do_test): Adjust test case to ensure that pthread_getattr_np
21445         behaviour remains the same after marking stack executable.
21447 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21449         * sysdeps/unix/sysv/linux/kernel-features.h
21450         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21451         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21452         kernel-features.h.
21453         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21454         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21455         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21456         kernel-features.h.
21457         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21458         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21460 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21462         * configure.in: Define the default includes to being none.
21463         * configure: Regenerated.
21465 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21467         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21468         * sysdeps/x86_64/setjmp.S: Likewise.
21469         * sysdeps/i386/bsd-setjmp.S: Likewise.
21470         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21471         * sysdeps/i386/setjmp.S: Likewise.
21472         * sysdeps/i386/__longjmp.S: Likewise.
21473         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21474         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21476         * include/stap-probe.h: New file.
21477         * configure.in: Handle --enable-systemtap.
21478         * configure: Regenerated.
21479         * config.h.in (USE_STAP_PROBE): New #undef.
21480         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21481         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21482         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21484 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21486         [BZ #13717]
21487         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21488         to 2.4.0 where earlier.
21489         * sysdeps/unix/sysv/linux/configure: Regenerated.
21490         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21491         <kernel-features.h>.
21492         [__ASSUME_32BITUIDS]: Make code unconditional.
21493         [!__ASSUME_32BITUIDS]: Remove conditional code.
21494         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21495         <kernel-features.h>.
21496         [__ASSUME_32BITUIDS]: Make code unconditional.
21497         [!__ASSUME_32BITUIDS]: Remove conditional code.
21498         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21499         [__ASSUME_32BITUIDS]: Make code unconditional.
21500         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21501         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21502         <kernel-features.h>.
21503         [__ASSUME_32BITUIDS]: Make code unconditional.
21504         [!__ASSUME_32BITUIDS]: Remove conditional code.
21505         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21506         <kernel-features.h>.
21507         [__ASSUME_32BITUIDS]: Make code unconditional.
21508         [!__ASSUME_32BITUIDS]: Remove conditional code.
21509         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21510         <kernel-features.h>.
21511         [__ASSUME_32BITUIDS]: Make code unconditional.
21512         [!__ASSUME_32BITUIDS]: Remove conditional code.
21513         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21514         <kernel-features.h>.
21515         [__ASSUME_32BITUIDS]: Make code unconditional.
21516         [!__ASSUME_32BITUIDS]: Remove conditional code.
21517         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21518         <kernel-features.h>.
21519         [__ASSUME_32BITUIDS]: Make code unconditional.
21520         [!__ASSUME_32BITUIDS]: Remove conditional code.
21521         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21522         <kernel-features.h>.
21523         [__ASSUME_32BITUIDS]: Make code unconditional.
21524         [!__ASSUME_32BITUIDS]: Remove conditional code.
21525         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21526         <kernel-features.h>.
21527         [__ASSUME_32BITUIDS]: Make code unconditional.
21528         [!__ASSUME_32BITUIDS]: Remove conditional code.
21529         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21530         <kernel-features.h>.
21531         [__ASSUME_32BITUIDS]: Make code unconditional.
21532         [!__ASSUME_32BITUIDS]: Remove conditional code.
21533         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21534         <kernel-features.h>.
21535         [__ASSUME_32BITUIDS]: Make code unconditional.
21536         [!__ASSUME_32BITUIDS]: Remove conditional code.
21537         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21538         <kernel-features.h>.
21539         [__ASSUME_32BITUIDS]: Make code unconditional.
21540         [!__ASSUME_32BITUIDS]: Remove conditional code.
21541         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21542         <kernel-features.h>.
21543         [__NR_setresgid] (__setresgid): Do not declare.
21544         [__ASSUME_32BITUIDS]: Make code unconditional.
21545         [!__ASSUME_32BITUIDS]: Remove conditional code.
21546         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21547         <kernel-features.h>.
21548         [__NR_setresuid] (__setresuid): Do not declare.
21549         [__ASSUME_32BITUIDS]: Make code unconditional.
21550         [!__ASSUME_32BITUIDS]: Remove conditional code.
21551         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.c: Do not include
21572         <kernel-features.h>.
21573         [__ASSUME_32BITUIDS]: Make code unconditional.
21574         [!__ASSUME_32BITUIDS]: Remove conditional code.
21575         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21576         <kernel-features.h>.
21577         [__ASSUME_32BITUIDS]: Make code unconditional.
21578         [!__ASSUME_32BITUIDS]: Remove conditional code.
21579         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21580         <kernel-features.h>.
21581         [__ASSUME_32BITUIDS]: Make code unconditional.
21582         [!__ASSUME_32BITUIDS]: Remove conditional code.
21583         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21584         <kernel-features.h>.
21585         [__ASSUME_32BITUIDS]: Make code unconditional.
21586         [!__ASSUME_32BITUIDS]: Remove conditional code.
21587         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21588         <kernel-features.h>.
21589         [__ASSUME_32BITUIDS]: Make code unconditional.
21590         [!__ASSUME_32BITUIDS]: Remove conditional code.
21591         * sysdeps/unix/sysv/linux/kernel-features.h
21592         (__ASSUME_SETRESUID_SYSCALL): Remove.
21593         (__ASSUME_SETRESGID_SYSCALL): Likewise.
21594         (__ASSUME_32BITUIDS): Likewise.
21595         (__ASSUME_LDT_WORKS): Likewise.
21596         (__ASSUME_O_DIRECTORY): Likewise.
21597         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21598         architecture but not kernel version.
21599         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21600         (__ASSUME_MMAP2_SYSCALL): Likewise.
21601         (__ASSUME_STAT64_SYSCALL): Likewise.
21602         (__ASSUME_IPC64): Likewise.
21603         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21604         <kernel-features.h>.
21605         [__ASSUME_32BITUIDS]: Make code unconditional.
21606         [!__ASSUME_32BITUIDS]: Remove conditional code.
21607         * sysdeps/unix/sysv/linux/opendir.c: Do not include
21608         <kernel-features.h>.
21609         [__ASSUME_O_DIRECTORY]: Make code unconditional.
21610         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21611         132096]: Remove conditional code.
21612         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21613         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
21622         <kernel-features.h>.
21623         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21624         unconditional.
21625         (__setresgid): Do not declare.
21626         [__ASSUME_32BITUIDS]: Make code unconditional.
21627         [!__ASSUME_32BITUIDS]: Remove conditional code.
21628         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21629         <kernel-features.h>.
21630         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21631         unconditional.
21632         (__setresuid): Do not declare.
21633         [__ASSUME_32BITUIDS]: Make code unconditional.
21634         [!__ASSUME_32BITUIDS]: Remove conditional code.
21635         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21636         <kernel-features.h>.
21637         [__ASSUME_32BITUIDS]: Make code unconditional.
21638         [!__ASSUME_32BITUIDS]: Remove conditional code.
21639         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21640         <kernel-features.h>.
21641         [__ASSUME_32BITUIDS]: Make code unconditional.
21642         [!__ASSUME_32BITUIDS]: Remove conditional code.
21644 2012-05-25  Richard Henderson  <rth@twiddle.net>
21646         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21647         dl_hwcap to ifunc resolver.
21648         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21649         elf_ifunc_invoke.
21650         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21651         dl_hwcap to ifunc resolver.
21652         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21654 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21656         [BZ #14153]
21657         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21658         for |x| <= 2**-26, not 2**-57.
21659         * math/libm-test.inc (acos_test): Do not allow spurious underflow
21660         exception.
21662 2012-05-24  Jeff Law  <law@redhat.com>
21664         * stdio-common/Makefile (tests): Add bug25.
21665         * stdio-common/bug25.c: New test.
21667 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21669         [BZ #13576]
21670         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21671         multiple of MALLOC_ALIGNMENT in size.
21672         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21674 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21676         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21677         Require >= 256.
21678         (FILENAME_MAX): Use macro-int-constant.
21679         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
21680         (_IOFBF): Use macro-int-constant.
21681         (_IOLBF): Likewise.
21682         (_IONBF): Likewise.
21683         (SEEK_CUR): Likewise.
21684         (SEEK_END): Likewise.
21685         (SEEK_SET): Likewise.
21686         (TMP_MAX): Likewise.
21687         (EOF): Use macro-int-constant.  Require < 0.
21688         (NULL): Use macro-constant.  Require == 0.
21689         (stdin): Require type to be FILE *.
21690         (stdout): Likewise.
21691         (stderr): Likewise.
21692         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21693         macro-int-constant.
21694         (EXIT_SUCCESS): Likewise.
21695         (NULL): Use macro-constant.  Require == 0.
21696         (RAND_MAX): Use macro-int-constant.
21697         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21698         [C99-based standards] (strtof): Require function.
21699         [C99-based standards] (strtold): Likewise.
21700         [C99-based standards] (strtoll): Likewise.
21701         [C99-based standards] (strtoull): Likewise.
21702         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21703         [ISO || ISO99 || ISO11] (limits.h): Likewise.
21704         [ISO || ISO99 || ISO11] (math.h): Likewise.
21705         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21706         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21707         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21709 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
21711         [BZ #14132]
21712         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21713         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21714         * intl/dgettext.c (DCGETTEXT): Likewise.
21715         * intl/gettext.c (DCGETTEXT): Likewise.
21716         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21717         * posix/regex_internal.h (gettext): Likewise.
21718         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21719         Remove declaration.
21720         * include/argz.h (__argz_count_internal)
21721         (__argz_stringify_internal): Remove declaration.
21722         (__argz_count, __argz_stringify): Declare hidden proto.
21723         * intl/dcgettext.c: Remove use of INTDEF.
21724         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21725         * string/argz-stringify.c: Likewise.
21726         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21727         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21728         Declare hidden proto.
21729         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21730         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21731         Declare hidden proto.
21732         * include/stdio.h (__asprintf_internal): Don't declare.
21733         (__asprintf): Don't define as macro.  Declare hidden proto.
21734         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21735         (__fsetlocking): Declare hidden proto.
21736         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21737         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21738         hidden proto.
21739         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21740         (_IO_setlinebuf): Remove use of INTUSE.
21741         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21742         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21743         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21744         Remove declaration.
21745         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21746         (_IO_do_flush): Remove use of INTUSE.
21747         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21748         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21749         (_IO_adjust_column, _IO_least_wmarker)
21750         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21751         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21752         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21753         (_IO_default_doallocate, _IO_wdefault_doallocate)
21754         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21755         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21756         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21757         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21758         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21759         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21760         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21761         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21762         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21763         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21764         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21765         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21766         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21767         proto.
21768         (_IO_flush_all_internal, _IO_adjust_column_internal)
21769         (_IO_default_uflow_internal, _IO_default_finish_internal)
21770         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21771         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21772         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21773         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21774         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21775         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21776         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21777         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21778         (_IO_file_close_internal, _IO_file_close_it_internal)
21779         (_IO_file_underflow_internal, _IO_file_overflow_internal)
21780         (_IO_file_init_internal, _IO_file_attach_internal)
21781         (_IO_file_fopen_internal, _IO_file_read_internal)
21782         (_IO_file_sync_internal, _IO_file_seek_internal)
21783         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21784         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21785         (_IO_str_underflow_internal, _IO_str_overflow_internal)
21786         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21787         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21788         (_IO_list_all_internal, _IO_link_in_internal)
21789         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21790         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21791         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21792         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21793         (_IO_do_write_internal, _IO_padn_internal)
21794         (_IO_getline_info_internal, _IO_getline_internal)
21795         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21796         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21797         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21798         (_IO_vfscanf_internal, _IO_vfprintf_internal)
21799         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21800         (_IO_init_internal, _IO_un_link_internal): Don't declare.
21801         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21802         with libc_hidden_ver, remove use of INTUSE.
21803         * libio/genops.c: Likewise.
21804         * libio/freopen.c: Likewise.
21805         * libio/freopen64.c: Likewise.
21806         * libio/iofclose.c: Likewise.
21807         * libio/iofdopen.c: Likewise.
21808         * libio/iofflush.c: Likewise.
21809         * libio/iofflush_u.c: Likewise.
21810         * libio/iofgets.c: Likewise.
21811         * libio/iofgets_u.c: Likewise.
21812         * libio/iofopen.c: Likewise.
21813         * libio/iofopncook.c: Likewise.
21814         * libio/iofread.c: Likewise.
21815         * libio/iofread_u.c: Likewise.
21816         * libio/ioftell.c: Likewise.
21817         * libio/iofwrite.c: Likewise.
21818         * libio/iogetline.c: Likewise.
21819         * libio/iogets.c: Likewise.
21820         * libio/iogetwline.c: Likewise.
21821         * libio/iopadn.c: Likewise.
21822         * libio/iopopen.c: Likewise.
21823         * libio/ioseekoff.c: Likewise.
21824         * libio/ioseekpos.c: Likewise.
21825         * libio/iosetbuffer.c: Likewise.
21826         * libio/iosetvbuf.c: Likewise.
21827         * libio/ioungetc.c: Likewise.
21828         * libio/ioungetwc.c: Likewise.
21829         * libio/iovdprintf.c: Likewise.
21830         * libio/iovsprintf.c: Likewise.
21831         * libio/iovsscanf.c: Likewise.
21832         * libio/memstream.c: Likewise.
21833         * libio/obprintf.c: Likewise.
21834         * libio/oldfileops.c: Likewise.
21835         * libio/oldiofclose.c: Likewise.
21836         * libio/oldiofdopen.c: Likewise.
21837         * libio/oldiofopen.c: Likewise.
21838         * libio/oldiopopen.c: Likewise.
21839         * libio/oldstdfiles.c: Likewise.
21840         * libio/putc.c: Likewise.
21841         * libio/setbuf.c: Likewise.
21842         * libio/setlinebuf.c: Likewise.
21843         * libio/stdfiles.c: Likewise.
21844         * libio/strops.c: Likewise.
21845         * libio/vasprintf.c: Likewise.
21846         * libio/vscanf.c: Likewise.
21847         * libio/vsnprintf.c: Likewise.
21848         * libio/vswprintf.c: Likewise.
21849         * libio/wfiledoalloc.c: Likewise.
21850         * libio/wfileops.c: Likewise.
21851         * libio/wgenops.c: Likewise.
21852         * libio/wmemstream.c: Likewise.
21853         * libio/wstrops.c: Likewise.
21854         * libio/__fpurge.c: Likewise.
21855         * libio/__fsetlocking.c: Likewise.
21856         * assert/assert.c: Likewise.
21857         * debug/fgets_chk.c: Likewise.
21858         * debug/fgets_u_chk.c: Likewise.
21859         * debug/fread_chk.c: Likewise.
21860         * debug/fread_u_chk.c: Likewise.
21861         * debug/gets_chk.c: Likewise.
21862         * debug/obprintf_chk.c: Likewise.
21863         * debug/vasprintf_chk.c: Likewise.
21864         * debug/vdprintf_chk.c: Likewise.
21865         * debug/vsnprintf_chk.c: Likewise.
21866         * debug/vsprintf_chk.c: Likewise.
21867         * malloc/mtrace.c: Likewise.
21868         * misc/error.c: Likewise.
21869         * misc/syslog.c: Likewise.
21870         * stdio-common/asprintf.c: Likewise.
21871         * stdio-common/fxprintf.c: Likewise.
21872         * stdio-common/getw.c: Likewise.
21873         * stdio-common/isoc99_fscanf.c: Likewise.
21874         * stdio-common/isoc99_scanf.c: Likewise.
21875         * stdio-common/isoc99_vfscanf.c: Likewise.
21876         * stdio-common/isoc99_vscanf.c: Likewise.
21877         * stdio-common/isoc99_vsscanf.c: Likewise.
21878         * stdio-common/printf-prs.c: Likewise.
21879         * stdio-common/printf_fp.c: Likewise.
21880         * stdio-common/printf_fphex.c: Likewise.
21881         * stdio-common/printf_size.c: Likewise.
21882         * stdio-common/putw.c: Likewise.
21883         * stdio-common/scanf.c: Likewise.
21884         * stdio-common/sprintf.c: Likewise.
21885         * stdio-common/tmpfile.c: Likewise.
21886         * stdio-common/vfprintf.c: Likewise.
21887         * stdio-common/vfscanf.c: Likewise.
21888         * stdlib/strfmon_l.c: Likewise.
21889         * sunrpc/openchild.c: Likewise.
21890         * sunrpc/xdr_stdio.c: Likewise.
21891         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21892         * sysdeps/mach/hurd/tmpfile.c: Likewise.
21894 2012-05-24  Roland McGrath  <roland@hack.frob.com>
21896         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21898         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21899         in the third column, to generate for the shared library an IFUNC
21900         that uses _dl_vdso_vsym.
21901         * Makerules (COMPILE.c, compile-stdin.c): New variables.
21902         * Makeconfig (object-suffixes-noshared): New variable.
21904         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21905         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21906         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21907         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21909         [BZ #14132]
21910         * include/sys/time.h (__gettimeofday): Remove macro.
21911         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21912         * time/gettimeofday.c (__gettimeofday): Remove #undef.
21913         Remove INTDEF.
21914         (__gettimeofday): Add libc_hidden_def.
21915         (gettimeofday): Add libc_hidden_weak.
21916         * sysdeps/mach/gettimeofday.c: Likewise.
21917         * sysdeps/posix/gettimeofday.c: Likewise.
21918         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21919         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21920         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21921         (__gettimeofday_internal): Remove strong_alias.
21922         (__gettimeofday): Add libc_hidden_def.
21923         (gettimeofday): Add libc_hidden_weak.
21924         * sysdeps/unix/syscalls.list (gettimeofday):
21925         Remove __gettimeofday_internal alias.
21927 2012-05-24  Daniel Jacobowitz  <drow@false.org>
21928             H.J. Lu  <hongjiu.lu@intel.com>
21930         [BZ #12495]
21931         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21932         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21933         (largebin_index_32_big): New.
21934         (largebin_index): Use it for 16-byte alignment.
21935         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
21936         correction with front_misalign.
21938 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21942         Likewise.
21943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21944         Likewise.
21945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21946         Likewise.
21947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21948         Likewise.
21949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21950         Likewise.
21951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21952         Likewise.
21953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21954         Likewise.
21955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21956         Likewise.
21957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21958         Likewise.
21959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21960         Likewise.
21961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21962         Likewise.
21963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21964         Likewise.
21966         * scripts/data/c++-types-x32-linux-gnu.data: New file.
21967         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21969 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21971         [BZ #10846]
21972         [BZ #14036]
21973         * math/libm-test.inc (exp_test): Add test from bug 14036.
21974         (pow_test): Add test from bug 10846.
21976         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21977         and other flags.
21978         (special_function): Do not include flags in test name.
21979         (parse_args): Likewise.
21980         * sysdeps/i386/fpu/libm-test-ulps: Update.
21981         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21982         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21983         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21986         * math/gen-libm-test.pl (%beautify): Add entries for underflow
21987         exceptions.
21988         * math/libm-test.inc ("Philosophy"): Update comment about
21989         exception testing.
21990         (UNDERFLOW_EXCEPTION): New macro.
21991         (UNDERFLOW_EXCEPTION_OK): Likewise.
21992         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21993         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21994         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21995         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21996         (INVALID_EXCEPTION_OK): Update value.
21997         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21998         (OVERFLOW_EXCEPTION_OK): Likewise.
21999         (IGNORE_ZERO_INF_SIGN): Likewise.
22000         (test_exceptions): Handle underflow exceptions.
22001         (acos_test): Update for underflow exception expectations.
22002         (cexp_test): Likewise.
22003         (clog_test): Likewise.
22004         (clog10_test): Likewise.
22005         (csqrt_test): Likewise.
22006         (ctan_test): Likewise.
22007         (ctanh_test): Likewise.
22008         (exp_test): Likewise.
22009         (exp10_test): Likewise.
22010         (exp2_test): Likewise.
22011         (expm1_test): Likewise.
22012         (fma_test): Likewise.
22013         (j0_test): Likewise.
22014         (jn_test): Likewise.
22015         (nexttoward_test): Likewise.
22016         (pow_test): Likewise.
22017         (scalbn_test): Likewise.
22018         (scalbln_test): Likewise.
22019         (tan_test): Likewise.
22020         (y1_test): Likewise.
22021         * sysdeps/i386/fpu/libm-test-ulps: Update.
22022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22024 2012-05-23  David S. Miller  <davem@davemloft.net>
22026         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22027         (__libc_sigaction): Remove unused local variables.
22029 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22031         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22033 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22035         mktime: avoid signed integer overflow
22036         * time/mktime.c (__mktime_internal): Do not mishandle the case
22037         where diff == INT_MIN.
22039         mktime: simplify computation of average
22040         * time/mktime.c (ranged_convert): Use new time_t_avg function
22041         instead of rolling our own (probably-slower) code.
22043         mktime: do not assume signed right shift propagates sign bit
22044         * time/mktime.c (isdst_differ): New static function.
22045         (__mktime_internal): No need to normalize tm_isdst now.
22046         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22047         tm_isdst values.
22049         mktime: merge another wrapv change from gnulib
22050         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22051         from some compilers.
22053         mktime: remove incorrect attempt at unusual arithmetics
22054         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22055         The code didn't really work on such machines anyway.
22056         (TYPE_MINIMUM): Assume two's complement.
22057         (twos_complement_arithmetic): Verify that long_int and time_t
22058         are two's complement (or unsigned, in the latter case).
22060         mktime: check signed shifts on long_int and time_t, too
22061         * time/mktime.c (SHR): Check that shifts work as desired
22062         on the types long_int and time_t too, as SHR is used on
22063         such types.
22065         mktime: do not assume 'long' is wide enough
22066         * time/mktime.c (verify): Move decl up.
22067         (long_int): New type.
22068         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22069         to remove assumption in the code that 'long' is wide enough to
22070         store year values.  This assumption is not true on x32 and on
22071         some non-glibc platforms.
22073         mktime: merge wrapv change from gnulib
22074         * time/mktime.c (WRAPV): New macro.
22075         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22076         (guess_time_tm, __mktime_internal): Do not assume that signed
22077         integer overflow wraps around; modern compilers generate code
22078         where this assumption is no longer valid.
22080 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22082         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22083         Replace "jmp L(pseudo_end)" with "ret".
22084         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22085         Likewise.
22087 2012-05-23  Andreas Jaeger  <aj@suse.de>
22089         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22090         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22092 2012-05-23  Andreas Jaeger  <aj@suse.de>
22093             Maximilian Attems  <max@stro.at>
22095         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22096         New macros.
22098 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22100         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22101         code so that pseudo_end is just ret and the stack pointer is
22102         correct also for static library in error case.
22104 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22106         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22107         move to syscalls.list.
22108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22113         * manual/install.texi (Running make install): Do not mention Linux
22114         kernel version for which pt_chown is not needed.
22115         (Linux): Do not mention problems with nscd with 2.0 kernels.
22116         * INSTALL: Regenerated.
22118 2012-05-23  Andreas Jaeger  <aj@suse.de>
22120         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22121         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22122         macro.
22123         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22125         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22126         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22127         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22128         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22129         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22130         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22131         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22132         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22133         * sysdeps/unix/sysv/linux/bits/in.h
22134         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22136 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22138         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22139         (PREPARE_VERSION): Just use assert instead, it will be elided
22140         under [NDEBUG] anyway.
22142 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22144         * sysdeps/unix/sysv/linux/Makefile: Include
22145         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22146         (sysdep_routines): Remove sysctl.
22147         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22148         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22149         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22150         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22151         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22153 2012-05-22  Andreas Jaeger  <aj@suse.de>
22155         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22156         that pseudo_end is just ret and the stack pointer is correct also
22157         for static library in error case.
22159 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22161         [BZ #14122]
22162         * nss/nsswitch.c (defconfig_entries): New variable.
22163         (__nss_database_lookup): Don't leak defconfig entries.
22164         (nss_parse_service_list): Don't leak on error paths.
22165         (free_database_entries): New function.
22166         (free_defconfig): New function.
22167         (free_mem): Move common code to free_database_entries.
22169 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22171         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22172         Add arch_prctl.
22173         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22175         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22176         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22178         New macro.
22179         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22180         (INTERNAL_SYSCALL_TYPES): Likewise.
22181         (LOAD_ARGS_TYPES_[1-6]): Likewise.
22182         (LOAD_REGS_TYPES_[1-6]): Likewise.
22183         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22184         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22186 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22188         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22189         copysignl for GLIBC_2_0.
22190         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22191         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22193         logbl for GLIBC_2_0.
22194         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22195         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22197 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22199         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22200         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22202         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22203         Use "neg %eax".
22205         * time/mktime.c: Update copyright years.
22207 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22209         mktime: merge comment-quoting-style change from gnulib
22210         * time/mktime.c: Quote 'like this' in comments.
22211         The GNU coding standards suggest that we no longer quote `like this',
22212         as "`" and "'" are typically rendered asymmetrically nowadays.
22213         The typical gnulib style is to quote 'like this' when quoting
22214         code, and "like this" when quoting English.
22216         * time/mktime.c (compile-command): Add "-I.".
22218         mktime: merge mktime-internal.h change from gnulib
22219         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22221         mktime: merge time_r change from gnulib
22222         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22224         mktime: merge DEBUG change from gnulib
22225         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22226         case system <time.h> has a #define.
22228         mktime: merge <sys/types.h> change from gnulib
22229         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22230         since <time.t> is now guaranteed to define time_t.
22232         mktime: merge HAVE_CONFIG_H change from gnulib
22233         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22235 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22238         Use "neg %eax".
22240         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22241         __rlim_t cast.
22242         (struct rusage): Use anonymous union to pad each field to
22243         __syscall_slong_t.
22245 2012-05-21  David S. Miller  <davem@davemloft.net>
22247         * Makefules (o-iterator): Remove .s cases.
22248         (compile-command.s): Delete.
22249         (COMPILE.s): Delete.
22250         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22252 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
22254         * configure.in (libc_cv_predef_stack_protector): Only consider
22255         "foobar" and "__stack_chk_fail" lines in libc_undefs.
22256         * configure: Regenerated.
22258 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22261         New macro.  Use R*LP on int and pointer.
22262         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22263         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22264         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22265         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22267         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22268         [__WORDSIZE_TIME64_COMPAT32] instead of
22269         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22270         (struct utmp): Likewise.
22271         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22272         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22273         Renamed to ...
22274         (__WORDSIZE_TIME64_COMPAT32): This.
22275         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22276         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22277         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22278         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22279         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22280         (__WORDSIZE_TIME64_COMPAT32): New macro.
22282 2012-05-21  Andreas Jaeger  <aj@suse.de>
22284         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22285         only if [SHARED]. Add prototype for __wcschr_ia32.
22287 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22289         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22290         of %rbp unmolested in the jmp_buf while mangling the low bits.
22291         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22292         unmolested high bits of %rbp while demangling the low bits.
22293         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22295 2012-05-21  Andreas Jaeger  <aj@suse.de>
22297         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22298         * sunrpc/svc_simple.c: Use it for registerrpc.
22299         * sunrpc/xcrypt.c: Use it for passwd2des.
22301         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22303 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22305         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22306         Don't define if [__SYSCALL_WORDSIZE != 32].
22307         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22308         New macro.
22310 2012-05-21  Bruno Haible  <bruno@clisp.org>
22311             Andreas Jaeger  <aj@suse.de>
22313         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22314         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22315         inptr and inend for must_buffer_ch.
22316         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22317         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22318         * stdio-common/Makefile (tests): Remove bug15.
22319         (bug15-ENV): Remove macro.
22320         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22321         anymore.
22323 2012-05-19  Andreas Jaeger  <aj@suse.de>
22324             Roland McGrath  <roland@hack.frob.com>
22326         * manual/contrib.texi: Completely rewritten. It contains now an
22327         alphabetical list of contributors and their contributions.
22329 2012-05-21  Richard Henderson  <rth@twiddle.net>
22331         * misc/getauxval.c (__getauxval): Use unsigned long int.
22332         * misc/sys/auxv.h: Include <sys/cdefs.h>.
22333         (getauxval): Use unsigned long int.
22335 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22337         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22339 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22341         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22342         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22343         __alignof__ (long double).
22345 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22349 2012-05-20  Richard Henderson  <rth@twiddle.net>
22351         * misc/getauxval.c: New file.
22352         * misc/sys/auxv.h: New file.
22353         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22354         (routines): Add getauxval.
22355         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22356         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22357         * elf/dl-sysdep.c (_dl_auxv): Remove.
22358         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22359         * elf/dl-support.c (_dl_auxv): New variable.
22360         (_dl_aux_init): Initialize it.
22361         * manual/startup.texi (Auxiliary Vector): New node.
22362         * sysdeps/generic/bits/hwcap.h: New file.
22363         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22364         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
22365         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22366         * sysdeps/sparc/sysdep.h: ... here.  Include it.
22367         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22368         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22370         Update.
22371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22374         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22380 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22384 2012-05-19  David S. Miller  <davem@davemloft.net>
22386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22388 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22390         [BZ #14123]
22391         * math/s_ccosh.c: Include <float.h>
22392         (__ccosh): Avoid internal overflow calculating sinh and cosh
22393         values before multiplying by sin and cos values.
22394         * math/s_ccoshf.c: Likewise.
22395         * math/s_ccoshl.c: Likewise.
22396         * math/s_csin.c: Likewise.
22397         * math/s_csinf.c: Likewise.
22398         * math/s_csinl.c: Likewise.
22399         * math/s_csinh.c: Likewise.
22400         * math/s_csinhf.c: Likewise.
22401         * math/s_csinhl.c: Likewise.
22402         * math/libm-test.inc (ccos_test): Add more tests.
22403         (ccosh_test): Likewise.
22404         (csin_test): Likewise.
22405         (csinh_test): Likewise.
22406         * sysdeps/i386/fpu/libm-test-ulps: Update.
22407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22409 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22411         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22412         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22414         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22416 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22418         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22419         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22420         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22421         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22422         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22423         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22424         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22425         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22426         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22427         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22428         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22429         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22430         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22431         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22432         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22433         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22434         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22435         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22436         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22437         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22438         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22439         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22440         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22441         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22442         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22443         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22444         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22445         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22446         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22447         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22448         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22450 2012-05-18  Andreas Jaeger  <aj@suse.de>
22452         * csu/.gitignore: Delete.
22454 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22456         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22457         (timex): Use __syscall_slong_t.
22459 2012-05-18  Andreas Jaeger  <aj@suse.de>
22460             Carlos O'Donell  <carlos_odonell@mentor.com>
22462         * manual/install.texi (Configuring and compiling): Update
22463         description about files modified in the source directory.
22464         * INSTALL: Regenerated.
22466 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22468         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22469         value.  Use "or" to set return value to -1.
22470         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22471         negate return value.
22473 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22475         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22476         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22477         failure if the compiler has Graphite support disabled.
22478         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22479         Likewise.
22480         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22481         CFLAGS-memmove.c): Likewise.
22482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22483         Likewise.
22485 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22487         * sysdeps/x86_64/x32/_itoa.h: New file.
22489         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22490         getdents system call only if kernel and user dirents have the
22491         same d_ino and d_off.
22493         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22494         LLONG_MAX != LONG_MAX.
22495         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22496         (_fitoa_word): Likewise.
22498         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22499         years.
22500         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22501         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22502         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22504         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22505         include <bits/wordsize.h>.  Check __x86_64__ instead of
22506         __WORDSIZE.
22507         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22508         if __x86_64__ is defined.  Use anonymous union on fpstate.
22510         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22511         anonymous union.
22513 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22515         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22516         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22517         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22518         Refer to _rtld_local_ro instead of _rtld_global_ro.
22519         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22520         Likewise.
22521         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22522         Likewise.
22523         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22524         Likewise.
22525         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22526         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22527         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22529         * sysdeps/powerpc/powerpc32/dl-machine.c
22530         (__elf_machine_runtime_setup) [PROF]: Don't reference
22531         _dl_prof_resolve.
22533 2012-05-18  Andreas Jaeger  <aj@suse.de>
22535         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22536         function only available for GCCs before 3.4 since GCC 3.4
22537         introduced a builtin.
22538         (lrint): Likewise.
22539         (llrintf): Likewise.
22540         (llrint): Likewise.
22541         (fmaxf): Likewise.
22542         (fmax): Likewise.
22543         (fminf): Likewise.
22544         (fmin): Likewise.
22545         (rint): Likewise.
22546         (rintf): Likewise.
22547         (nearbyint): Likewise.
22548         (nearbyintf): Likewise.
22549         (ceil): Likewise.
22550         (ceilf): Likewise.
22551         (floor): Likewise.
22552         (floorf): Likewise.
22554 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22556         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22557         on both fields and cast pointer to __syscall_ulong_t.
22559         * bits/types.h (__fsword_t): New type.
22560         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22561         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22562         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22563         (__FSWORD_T_TYPE): Likewise.
22564         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22565         (__FSWORD_T_TYPE): Likewise.
22566         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22567         (__FSWORD_T_TYPE): Likewise.
22568         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22569         (__FSWORD_T_TYPE): Likewise.
22570         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22571         __SWORD_TYPE with __fsword_t.
22572         (statfs64): Likewise.
22574 2012-05-17  David S. Miller  <davem@davemloft.net>
22576         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22578 2012-05-17  Andreas Jaeger  <aj@suse.de>
22580         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22581         warning.
22583 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22585         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22587 2012-05-17  Andreas Jaeger  <aj@suse.de>
22589         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22590         when it is used.
22592 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22594         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22596 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22598         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22599         * sysdeps/x86_64/tst-mallocalign1.c: New file.
22601 2012-05-17  Andreas Jaeger  <aj@suse.de>
22602             Carlos O'Donell  <carlos_odonell@mentor.com>
22604         [BZ #14059]
22605         * sysdeps/x86_64/multiarch/init-arch.h
22606         (bit_YMM_Usable): Rename to...
22607         (bit_AVX_Usable): ... this.
22608         (bit_FMA4_Usable): New macro.
22609         (bit_XMM_state): New macro.
22610         (bit_YMM_state): New macro.
22611         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22612         [__ASSEMBLER__] (index_AVX_Usable): ... this.
22613         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22614         (CPUID_OSXSAVE): New macro.
22615         (CPUID_AVX): New macro.
22616         (CPUID_FMA4): New macro.
22617         (index_YMM_Usable): Rename to...
22618         (index_AVX_Usable): ... this.
22619         (HAS_AVX): Use HAS_ARCH_FEATURE.
22620         (HAS_FMA4): Likewise.
22621         (HAS_YMM_USABLE): Remove.
22622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22623         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22624         are present.
22625         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22626         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22627         * sysdeps/x86_64/multiarch/Makefile: Likewise.
22628         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22629         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22631 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22633         * math/libm-test.c: Support platforms without multiple rounding modes.
22634         * math/bug-nextafter.c: Support platforms without FP exceptions.
22635         * math/bug-nexttoward.c: Likewise.
22636         * math/test-fenv.c: Likewise.
22637         * math/test-misc.c: Likewise.
22638         * stdlib/bug-getcontext.c: Likewise.
22640 2012-05-17  Andreas Jaeger  <aj@suse.de>
22642         * manual/examples/search.c (critter_cmp): Change signature to
22643         avoid warnings.
22644         * manual/string.texi (Collation Functions): Likewise.
22646 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22648         * bits/types.h: Fold copyright years.
22649         * bits/typesizes.h: Likewise.
22650         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22651         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22652         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22654         * time/time.h: Likewise.
22656 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
22658         [BZ #208]
22659         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22660         in instead of returning them.  Return void.
22661         (__libc_mallinfo): Accumulate over all arenas.
22662         (__malloc_stats): Adjust for change in int_mallinfo interface.
22664 2012-05-16  Roland McGrath  <roland@hack.frob.com>
22666         [BZ #10375]
22667         * configure.in (NM): Add AC_CHECK_TOOL for it.
22668         (libc_extra_cflags): New substituted variable.
22669         Check for -fstack-protector being used implicitly.
22670         * configure: Regenerated.
22671         * config.make.in (config-extra-cflags): New variable,
22672         gets @libc_extra_cflags@.
22673         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22675         [BZ #10375]
22676         * configure.in: Check for _FORTIFY_SOURCE being predefined.
22677         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22678         * configure: Regenerated.
22679         * config.make.in (CPPUNDEFS): New substituted variable.
22680         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22681         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22682         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22684 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22686         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22687         (mq_attr): Use __syscall_slong_t.
22689 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22691         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22692         Check __x86_64__ instead of __WORDSIZE.
22693         (_STAT_VER_LINUX): Likewise.
22694         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
22695         __syscall_ulong_t and __syscall_slong_t.
22696         (stat64): Likewise.
22698 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22700         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22702 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22704         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22706 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22708         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22709         __syscall_ulong_t.
22711         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22712         include <bits/wordsize.h>.  Check __x86_64__ instead of
22713         __WORDSIZE.
22714         (greg_t): Use "__extension__ long long int" if __x86_64__ is
22715         defined.
22716         (mcontext_t): Replace "unsigned long" with "unsigned long long".
22718         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22719         include <bits/wordsize.h>.  Check __x86_64__ instead of
22720         __WORDSIZE.
22721         (user_regs_struct): Use "__extension__ unsigned long long"
22722         instead of "unsigned long" if __x86_64__ is defined.
22723         (user): Likewise.  Pad after pointer field if __ILP32__ is
22724         defined.
22726 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
22728         * configure.in (makeinfo): Require version 4.5 or later.  Allow
22729         versions 5 to 9.
22730         * configure: Regenerated.
22731         * manual/install.texi (texinfo): Increase version requirement to
22732         4.5 or later.
22733         * INSTALL: Regenerated.
22735         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22737 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22739         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22741         * sysdeps/x86_64/x32/ffs.c: New file.
22743         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22744         __syscall_ulong_t.
22745         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22746         defined.  Use __syscall_ulong_t.
22747         (shminfo): Use __syscall_ulong_t.
22748         (shm_info): Likewise.
22750         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22751         __syscall_ulong_t.
22753         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22754         <bits/wordsize.h>.
22755         (msgqnum_t): Use __syscall_ulong_t.
22756         (msglen_t): Likewise.
22757         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
22758         __syscall_ulong_t.
22760         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22761         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22763         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22765         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22766         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22768         * sysvipc/sys/msg.h (msgbuf): Replace long int with
22769         __syscall_slong_t.
22771         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22772         include <bits/wordsize.h>.  Check __x86_64__ instead of
22773         __WORDSIZE.
22775         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22776         "unsigned long long int" if __x86_64__ is defined.
22777         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22779         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22780         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22781         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22783         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22784         <stdint.h>.
22785         (GET_PC): Cast to uintptr_t first.
22786         (GET_FRAME): Likewise.
22787         (GET_STACK): Likewise.
22789         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22790         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22791         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22792         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22793         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22794         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22795         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22796         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22797         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22798         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22799         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22800         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22801         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22802         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22803         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22804         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22805         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22806         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22807         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22808         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22809         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22810         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22811         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22812         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22813         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22814         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22815         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22816         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22817         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22819 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
22821         * Makerules (+depfiles): Also collect depfiles from .oS in
22822         $(extra-objs).
22823         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22824         .oS, $(libnldbl-routines)).
22826         * Makerules (native-compile-mkdep-flags): Define.
22827         * sunrpc/Makefile (extra-objs): Add $(addprefix
22828         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22829         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22830         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
22831         calling $(make-target-directory).
22833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22835         * bits/types.h (__snseconds_t): Removed.
22836         * time/time.h (struct timespec): Replace __snseconds_t with
22837         __syscall_slong_t.
22838         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22839         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22840         Likewise.
22841         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22842         (__SNSECONDS_T_TYPE): Likewise.
22843         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22844         (__SNSECONDS_T_TYPE): Likewise.
22845         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22846         (__SNSECONDS_T_TYPE): Likewise.
22848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22850         * sysdeps/mach/hurd/bits/typesizes.h
22851         (__SYSCALL_SLONG_TYPE): New macro.
22852         (__SYSCALL_ULONG_TYPE): Likewise.
22854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22856         * bits/types.h (__syscall_slong_t): New type.
22857         (__syscall_ulong_t): Likewise.
22859         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22860         (__SYSCALL_ULONG_TYPE): Likewise.
22861         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22862         (__SYSCALL_SLONG_TYPE): Likewise.
22863         (__SYSCALL_ULONG_TYPE): Likewise.
22864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22865         (__SYSCALL_SLONG_TYPE): Likewise.
22866         (__SYSCALL_ULONG_TYPE): Likewise.
22867         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22868         (__SYSCALL_SLONG_TYPE): Likewise.
22869         (__SYSCALL_ULONG_TYPE): Likewise.
22871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22873         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22874         Add sigaltstack-offsets.sym.
22875         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22876         <sigaltstack-offsets.h>.
22877         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
22878         longjmp_msg pointer.
22879         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
22880         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22881         signal stack.
22882         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22884 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22886         * elf/stackguard-macros.h: Remove file.
22887         * sysdeps/generic/stackguard-macros.h: New file.
22888         * sysdeps/i386/stackguard-macros.h: Likewise.
22889         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22890         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22891         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22892         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22893         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22894         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22895         * sysdeps/x86_64/stackguard-macros.h: Likewise.
22896         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22897         <elf/stackguard-macros.h>.
22899         [BZ #14109]
22900         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22901         __aligned__ in attribute.
22902         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22903         (gregset_t): Likewise.
22905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22907         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22908         * sysdeps/x86_64/64/Implies-after: Here.  New file.
22909         * sysdeps/x86_64/x32/Implies-after: New file.
22911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22913         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22914         and access return value for _dl_profile_fixup.  Use R10_LP to
22915         load frame size.
22917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22919         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22923         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22924         * sysdeps/x86_64/x32/sysdep.h: New file.
22926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22928         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22929         * sysdeps/x86_64/setjmp.S: Likewise.
22931 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22933         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22934         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22935         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22936         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22937         remove unused global constant.
22939 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
22941         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22942         include of <not-cancel.h>.
22944 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22946         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22948 2012-05-15  Jeff Law  <law@redhat.com>
22949             Andreas Jaeger  <aj@suse.de>
22951         [BZ #13594]
22952         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22953         out from...
22954         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22955         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22956         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22957         code changing __hst_map_handle.map.
22959 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22961         * configure.in (sysnames): Look for Implies-before and Implies-after
22962         files.
22963         * configure: Regenerated.
22965 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22967         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22968         8-byte data alignment with LP_SIZE alignment.
22970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22972         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22973         into R10_LP.
22975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22977         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22981         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22982         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22983         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22984         Likewise.
22985         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22989         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22990         (stackinfo_sub_sp): Likewise.
22992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22994         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22995         RAX_LP.
22997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22999         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23000         into R*_LP.
23002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23004         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23005         sizes into R*_LP.
23007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23009         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23013         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23014         into R11_LP and load __x86_64_shared_cache_size_half into
23015         R8_LP.
23017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23019         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23020         R8_LP.
23022 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23024         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23025         logb for POWER7.
23026         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23027         logbf for POWER7.
23028         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23029         logbl for POWER7.
23030         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23031         powerpc32/power7/fpu/s_logb.c via #include.
23032         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23033         powerpc32/power7/fpu/s_logbf.c via #include.
23034         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23035         powerpc32/power7/fpu/s_logbl.c via #include.
23037 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23039         * README.libm: Remove file.
23041 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23043         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23044         count for x32.  Use R*_LP and omit operand-size suffix.
23046 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23048         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23049         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23050         * sysdeps/x86_64/x32/shlib-versions: New file.
23052 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23054         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23055         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23056         Use _dl_fatal_printf instead.
23058 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23060         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23061         set if not set by the user.  Do not allow for being unset.
23062         * sysdeps/unix/sysv/linux/configure: Regenerated.
23064 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23066         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23067         the `q' suffix from lea and replace .quad with ASM_ADDR.
23069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23071         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23072         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23073         instead of $17.
23074         (PTR_DEMANGLE): Likewise.
23076 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23078         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23079         (LP_OP): Likewise.
23080         (ASM_ADDR): Likewise.
23081         (RAX_LP): Likewise.
23082         (RBP_LP): Likewise.
23083         (RBX_LP): Likewise.
23084         (RCX_LP): Likewise.
23085         (RDI_LP): Likewise.
23086         (RSI_LP): Likewise.
23087         (RSP_LP): Likewise.
23088         (R8_LP): Likewise.
23089         (R9_LP): Likewise.
23090         (R10_LP): Likewise.
23091         (R10_LP): Likewise.
23092         (R11_LP): Likewise.
23093         (R12_LP): Likewise.
23094         (R13_LP): Likewise.
23095         (R14_LP): Likewise.
23096         (R15_LP): Likewise.
23098 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23100         * sysdeps/x86_64/x32/dl-machine.h: New file.
23102 2012-05-14  Andreas Jaeger  <aj@suse.de>
23104         * manual/Makefile (subdir): Remove export of subdir.
23105         (all): Remove target.
23106         (.PHONY): Remove all from list.
23107         (mkinstalldirs): Remove.
23108         (.PHONY): Remove installdirs from list.
23109         ($(inst_infodir)/libc.info): Use make-target-directory.
23110         (installdirs): Remove.
23111         (subdir_%): Remove.
23112         (glibc-targets): Remove.
23113         (lib): Remove.
23114         (stubs): Remove.
23115         ($(objpfx)stubs ../po/manual.pot): Remove.
23116         ($(objpfx)stamp%): Remove.
23117         (make-target-directory): Remove.
23118         (subdir_install): Remove.
23119         (routines): Remove.
23120         (aux): Remove.
23121         (sources): Remove.
23122         (objects): Remove.
23123         (headers): Remove.
23125         [BZ #13750]
23126         * manual/.gitignore: Remove, it's not needed anymore.
23127         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23128         all files in it.
23129         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23130         directory.
23131         (texis): Renamed to $(objpfx)texis.
23132         (texis-path): New, contains path to generated files.
23133         (chapters.%): Use texis-path for complete path, add extra argument
23134         libc-texinfo.sh.
23135         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23136         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23137         (summary,texi, stamp-summary): Use complete path of
23138         files. Generate files in build dir.
23139         (dir-add.texi): Build in build dir.
23140         (libm-err.texi,stamp-libm-err): Likewise.
23141         (version.texi, stamp-version): Likewise.
23142         (.%c.texi): Likewise.
23143         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23144         (mostlyclean): Remove target.
23145         (realclean): Remove target.
23146         (generated): Add new variable with contents from mostlyclean and
23147         realclean, remove entries duplicated in common-mostlyclean, add
23148         stamp-libm-err and stamp-version.
23149         (generated-dirs): Add libc directory.
23150         ($(inst_infodir)/libc.info): Install files from build dir.
23152         * manual/install.texi (Configuring and compiling): Adjust since
23153         the info files are not part of the tar ball anymore.
23155 2012-05-14  Andreas Jaeger  <aj@suse.de>
23157         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23158         variable.
23160 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23162         [BZ #13717]
23163         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23164         to 2.2.0 where earlier.
23165         * sysdeps/unix/sysv/linux/configure: Regenerated.
23166         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23167         Remove conditional code.
23168         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23169         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23170         Remove conditional code.
23171         [!__NR_lchown]: Likewise.
23172         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23173         [__NR_lchown]: Likewise.
23174         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23175         comment referencing __ASSUME_LCHOWN_SYSCALL.
23176         * sysdeps/unix/sysv/linux/i386/sigaction.c
23177         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23178         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23179         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23180         Remove conditional code.
23181         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23182         (__protocol_available): Remove #if 0 code.
23183         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23184         conditional code.
23185         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23186         * sysdeps/unix/sysv/linux/kernel-features.h
23187         (__ASSUME_GETCWD_SYSCALL): Don't define.
23188         (__ASSUME_REALTIME_SIGNALS): Likewise.
23189         (__ASSUME_PREAD_SYSCALL): Likewise.
23190         (__ASSUME_PWRITE_SYSCALL): Likewise.
23191         (__ASSUME_POLL_SYSCALL): Likewise.
23192         (__ASSUME_LCHOWN_SYSCALL): Likewise.
23193         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23194         non-SPARC.
23195         (__ASSUME_SIOCGIFNAME): Don't define.
23196         (__ASSUME_MSG_NOSIGNAL): Likewise.
23197         (__ASSUME_SENDFILE): Define unconditionally.
23198         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23199         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23200         conditional code.
23201         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23202         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23203         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23204         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23205         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23206         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23207         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23209         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23210         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23212         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23213         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23215         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23216         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23218         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23219         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23221         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23222         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23224         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23225         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23227         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23228         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23230         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23231         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23232         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23233         Remove conditional code.
23234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23235         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23236         Remove conditional code.
23237         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23238         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23239         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23240         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23241         Remove conditional code.
23242         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23243         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23244         Remove conditional code.
23245         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23246         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23247         Remove conditional code.
23248         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23249         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23250         Remove conditional code.
23251         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23252         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23253         Remove conditional code.
23254         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23255         * sysdeps/unix/sysv/linux/sh/pwrite64.c
23256         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23257         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23258         * sysdeps/unix/sysv/linux/sigaction.c
23259         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23260         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23261         * sysdeps/unix/sysv/linux/sigpending.c
23262         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23263         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23264         * sysdeps/unix/sysv/linux/sigprocmask.c
23265         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23266         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23267         * sysdeps/unix/sysv/linux/sigsuspend.c
23268         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23269         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23270         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23271         (__libc_missing_rt_sigs): Remove.
23272         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23273         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23274         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23275         Remove conditional code.
23276         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23277         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23278         return 1.
23279         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23280         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23281         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23282         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23284 2012-05-14  Andreas Jaeger  <aj@suse.de>
23286         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23287         it's not used in glibc.
23288         (__coshm1): Likewise.
23289         (__acosh1p): Likewise.
23290         (__sgn): Likewise.
23292         * manual/string.texi (Copying and Concatenation): Add missing
23293         variable in concat example.
23294         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23296 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23298         [BZ #14103]
23299         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23300         __builtin_clzl with __builtin_clzll.
23302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23304         [BZ #14104]
23305         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23306         libc_freeres_ptr.
23308 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23310         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23311         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23312         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23313         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23315 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
23317         * NEWS: Update ia64 info.
23319 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
23321         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23322         used as bcopy.
23324 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
23326         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23327         * sysdeps/unix/syscalls.list (dup3): Likewise.
23328         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23329         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23331 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23333         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23334         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23336 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23338         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23339         thread pointer.
23340         (TLS_IE): Use mov/add instead of movq/addq to load thread
23341         pointer.
23342         (TLS_GD_PREFIX): New.
23343         (TLS_GD): Use it.
23345 2012-05-11  David S. Miller  <davem@davemloft.net>
23347         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23348         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23349         (_FPU_SETCW): Likewise.
23351 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23353         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23354         is 32-byte aligned.
23356 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
23358         [BZ #11837]
23359         * iconvdata/gb18030.c: Update tables.
23360         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
23361         characters specially.
23362         (BODY for TO_LOOP): Add encoding of missing ranges.
23364 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
23366         [BZ #13673]
23367         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23368         * sysdeps/mach/hurd/dup3.c: Likewise.
23369         * sysdeps/mach/hurd/readlinkat.c: Likewise.
23370         * sysdeps/powerpc/memmove.c:: Likewise.
23372 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23374         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23375         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23377 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23379         * elf/elf.h (R_X86_64_RELATIVE64): New.
23380         (R_X86_64_NUM): Updated.
23381         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23382         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
23383         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23384         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23385         tst-quad1pie tst-quad2pie
23386         (modules-names): Add tst-quadmod1 tst-quadmod2.
23387         ($(objpfx)tst-quad1): New dependency.
23388         ($(objpfx)tst-quad2): Likewise.
23389         ($(objpfx)tst-quad1pie): Likewise.
23390         ($(objpfx)tst-quad2pie): Likewise.
23391         * sysdeps/x86_64/tst-quad1.c: New file.
23392         * sysdeps/x86_64/tst-quad1pie.c: New file.
23393         * sysdeps/x86_64/tst-quad2.c: Likewise.
23394         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23395         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23396         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23397         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23398         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23402         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23403         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23404         * streams/stropts.h (t_scalar_t): Define type.
23406         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23407         (_PATH_PRESERVE): Set to "/var/lib".
23408         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23410         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23411         instead of int.
23413         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23414         if __dir_mkfile succeeded.
23416         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23417         checking for _hurd_dtablesize.  Unlock it right after having
23418         finished _hurd_dtable allocation.
23420 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23422         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23423         * sysdeps/mach/hurd/configure: Regenerated.
23424         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23425         special-casing to...
23426         * sysdeps/gnu/configure.in: ... this new file.
23427         * sysdeps/unix/sysv/linux/configure: Regenerated.
23428         * sysdeps/gnu/configure: New generated file.
23430         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23431         for Linux: use nsec instead of usec, as well as:
23432         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23433         members of type struct timespec.
23434         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23435         New macros.
23436         (struct stat64): Likewise.
23437         (_STATBUF_ST_NSEC): New macro.
23438         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23440         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23441         __strtoul_internal rather than strtoul.
23443 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23445         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23446         and reject them.
23448 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23450         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23451         which preserves existing values.
23452         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23454 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23456         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23457         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23458         greater than FD_SETSIZE.
23460 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23462         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23463         allocated, call __vm_protect to finish enabling the existing space, and
23464         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23465         allocate the remainder.
23467 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23469         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23470         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23472 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23474         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23475         sysdeps/mach/hurd/readlink.c.
23477         * posix/tst-sysconf.c (posix_options): Only use
23478         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23479         _POSIX_SYNCHRONIZED_IO when they are defined
23480         * sysdeps/mach/hurd/bits/posix_opt.h:
23481         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23482         (_XOPEN_REALTIME): Undefine macro.
23483         (_XOPEN_REALTIME_THREADS): Undefine macro.
23484         (_XOPEN_SHM): Undefine macro.
23485         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23486         macro to -1.
23487         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23488         macro to -1.
23489         (_POSIX_ASYNC_IO): Undefine macro.
23490         (_POSIX_PRIORITIZED_IO): Undefine macro.
23491         (_POSIX_SPIN_LOCKS): Define macro to -1.
23493         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23494         SA_NODEFER, SA_RESETHAND.
23495         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23496         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23497         F_DUPFD_CLOEXEC.
23499 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23501         * elf/Makefile (pldd-modules): Define unconditionally.
23503 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23505         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23509         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23510         Return ENOENT when name is empty.
23511         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23513 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23515         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23517         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23519 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23521         Fix mlock in all cases except non-readable pages.
23522         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23523         instead of VM_PROT_ALL as parameter to __vm_wire function.
23525         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23526         (__mkdir): When path is `/', just fail with EEXIST.
23527         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23529 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23531         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23532         <sys/uio.h> (for writev).
23533         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23534         and <sys/param.h> (for MIN).
23536 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23538         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23539         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23540         if interrupted.
23542 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23544         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23545         Depend on against $(link-rpcuserlibs).
23547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23549         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23550         (__libc_stack_end): Do not use attribute_relro.
23551         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23552         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23553         to libthread-provided value.
23554         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23555         attribute_relro.
23557 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23559         [BZ #3748]
23560         * bits/libc-lock.h (__libc_once_get): New macro.
23561         * sysdeps/mach/bits/libc-lock.h: Likewise.
23562         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23563         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23564         instead of using implementation details.
23566         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23567         * libio/freopen.c: Likewise.
23568         * libio/freopen64.c: Likewise.
23569         * misc/syslog.c: Likewise.
23570         * nscd/connections.c: Likewise.
23571         * nscd/netgroupcache.c: Likewise.
23572         * sysdeps/posix/getcwd.c: Likewise.
23574 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23576         * math/w_ilogbf.c: Add #include <limits.h>.
23578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23580         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23581         path instead of returning without unlocking.
23583         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23584         immediate-write ioctls.
23585         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23587 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23589         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23590         __builtin_frame_address instead of making assumptions about the
23591         location of the return address relative to DATA.  Force early load of
23592         the return address.
23593         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23594         __builtin_frame_address.
23596         dup3 for GNU Hurd.
23597         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23598         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
23599         implement dup3 and do some further code clean-ups.
23600         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23601         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23605         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23607         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23608         HURD_CRITICAL_END around holding _hurd_dtable_lock.
23609         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23610         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23611         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23612         d->port.lock.
23614         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23615         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
23616         when handler == SIG_ERR, not when handler != SIG_ERR.
23618 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23620         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23621         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23622         definitions.
23624         accept4 for GNU Hurd.
23625         * include/sys/socket.h (__libc_accept4): New prototype.
23626         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
23627         to implement __libc_accept4.
23628         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23629         __libc_accept4.
23630         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23632         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23633         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23634         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23635         signal-defines.sym.
23637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23639         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23641 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23643         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23644         assertion on O_CLOEXEC flag.
23645         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23646         * hurd/intern-fd.c: Likewise.
23647         * hurd/port2fd.c: Likewise.
23649 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23651         [BZ #3906]
23652         * bits/in.h (IPV6_PKTINFO): Define new macro.
23653         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23655 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23657         [BZ #13954]
23658         [BZ #13955]
23659         [BZ #13956]
23660         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23661         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23662         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23663         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23664         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23665         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23666         * math/libm-test.inc (logb_test) : Additional logb tests.
23668 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
23669             Andreas Jaeger  <aj@suse.de>
23671         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23672         * configure: Regenerated.
23673         * config.h.in (LINK_OBSOLETE_RPC): New macro.
23674         * config.make.in (link-obsolete-rpc): New substituted variable.
23675         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23676         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23677         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23678         (shared-only-routines): Don't set it under [link-obsolete-rpc],
23679         so that libc.a contains the symbols.
23680         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23681         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23682         * sunrpc/auth_none.c: Likewise.
23683         * sunrpc/auth_unix.c: Likewise.
23684         * sunrpc/authdes_prot.c: Likewise.
23685         * sunrpc/authuxprot.c: Likewise.
23686         * sunrpc/clnt_gen.c: Likewise.
23687         * sunrpc/clnt_perr.c: Likewise.
23688         * sunrpc/clnt_raw.c: Likewise.
23689         * sunrpc/clnt_simp.c: Likewise.
23690         * sunrpc/clnt_tcp.c: Likewise.
23691         * sunrpc/clnt_udp.c: Likewise.
23692         * sunrpc/clnt_unix.c: Likewise.
23693         * sunrpc/des_crypt.c: Likewise.
23694         * sunrpc/des_soft.c: Likewise.
23695         * sunrpc/get_myaddr.c: Likewise.
23696         * sunrpc/key_call.c: Likewise.
23697         * sunrpc/key_prot.c: Likewise.
23698         * sunrpc/netname.c: Likewise.
23699         * sunrpc/pm_getmaps.c: Likewise.
23700         * sunrpc/pm_getport.c: Likewise.
23701         * sunrpc/pmap_clnt.c: Likewise.
23702         * sunrpc/pmap_prot.c: Likewise.
23703         * sunrpc/pmap_prot2.c: Likewise.
23704         * sunrpc/pmap_rmt.c: Likewise.
23705         * sunrpc/publickey.c: Likewise.
23706         * sunrpc/rpc_cmsg.c: Likewise.
23707         * sunrpc/rpc_common.c: Likewise.
23708         * sunrpc/rpc_dtable.c: Likewise.
23709         * sunrpc/rpc_prot.c: Likewise.
23710         * sunrpc/rpc_thread.c: Likewise.
23711         * sunrpc/rtime.c: Likewise.
23712         * sunrpc/svc.c: Likewise.
23713         * sunrpc/svc_auth.c: Likewise.
23714         * sunrpc/svc_raw.c: Likewise.
23715         * sunrpc/svc_run.c: Likewise.
23716         * sunrpc/svc_tcp.c: Likewise.
23717         * sunrpc/svc_udp.c: Likewise.
23718         * sunrpc/svc_unix.c: Likewise.
23719         * sunrpc/svcauth_des.c: Likewise.
23720         * sunrpc/xcrypt.c: Likewise.
23721         * sunrpc/xdr.c: Likewise.
23722         * sunrpc/xdr_array.c: Likewise.
23723         * sunrpc/xdr_float.c: Likewise.
23724         * sunrpc/xdr_intXX_t.c: Likewise.
23725         * sunrpc/xdr_mem.c: Likewise.
23726         * sunrpc/xdr_rec.c: Likewise.
23727         * sunrpc/xdr_ref.c: Likewise.
23728         * sunrpc/xdr_sizeof.c: Likewise.
23729         * sunrpc/xdr_stdio.c: Likewise.
23731 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23733         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23734         change.  Update copyright years.
23736 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23738         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23740 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
23741             Joseph Myers  <joseph@codesourcery.com>
23742             Paul Pluzhnikov  <ppluzhnikov@google.com>
23744         [BZ #14012]
23745         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23746         requiring rpcgen.
23747         [cross-compiling] (extra-libs): Likewise.
23748         [cross-compiling] (extra-libs-others): Likewise.
23749         [cross-compiling] (librpcsvc-routines): Likewise.
23750         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23751         [cross-compiling] (omit-deps): Likewise.
23752         (sunrpc-CPPFLAGS): New variable.
23753         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23754         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23755         (cross-rpcgen-objs): New variable.
23756         (extra-objs): Append $(cross-rpcgen-objs).
23757         ($(cross-rpcgen-objs)): New rule.
23758         ($(objpfx)cross-rpcgen): Likewise.
23759         (rpcgen-cmd): Define to use $(built-program-file).  Expand
23760         comment.
23761         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23762         ($(objpfx)x%.stmp): Likewise.
23763         * sunrpc/proto.h [IS_IN_build] (_): Define.
23764         [IS_IN_build] (_libc_intl_domainname): Likewise.
23766 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23768         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23769         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23770         and R_X86_64_TPOFF64.
23772 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23774         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23775         sysdeps/unix/sysv/syscalls.list.
23776         (stime): Likewise.
23777         (utime): Likewise.
23778         * sysdeps/unix/sysv/syscalls.list: Remove file.
23780 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
23782         [BZ #3440]
23783         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23784         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23785         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23786         (__LC_IDENTIFICATION): Make these macros useful in #if
23787         expressions, as required by C99.
23789 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
23791         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23792         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
23793         after this.
23795 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
23797         * stdlib/longlong.h: Updated from GCC.
23799 2012-05-09  Andreas Jaeger  <aj@suse.de>
23801         * nscd/nscd.c (run_modes): Make named enum, reorder so that
23802         default is first entry.
23803         (run_mode): Set type.
23804         (main): Remove informal message about syslog.
23805         (options): Fix typo.
23807         [BZ #14053]
23808         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23809         to asm.
23810         (lrint): Likewise.
23811         (llrintf): Likewise.
23812         (llrint): Likewise.
23813         (rint): Likewise.
23814         (rintf): Likewise.
23815         (nearbyint): Likewise.
23816         (nearbyintf): Likewise.
23818 2012-05-09  Andreas Jaeger  <aj@suse.de>
23819             Pedro Alves  <palves@redhat.com>
23821         * nscd/nscd.c (run_mode): Use enum.
23822         (main): Cleanup coding style issue.
23824 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
23825             Andreas Jaeger  <aj@suse.de>
23827         * nscd/nscd.c (go_background): Replaced with...
23828         (run_mode): ... this.
23829         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23830         (options): Add -F --foreground.
23831         (main): Implement it.
23832         (parse_opt): Parse it.
23834 2012-05-09  Andreas Jaeger  <aj@suse.de>
23836         [BZ #14083]
23837         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23838         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23839         -Wconversion warning.
23840         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23841         Likewise.
23843 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
23845         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
23846         == 0.
23847         (LC_ALL): Use macro-int-constant.
23848         (LC_COLLATE): Likewise.
23849         (LC_CTYPE): Likewise.
23850         (LC_MESSAGES): Likewise.
23851         (LC_MONETARY): Likewise.
23852         (LC_NUMERIC): Likewise.
23853         (LC_TIME): Likewise.
23854         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23855         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23856         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23857         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23858         Specify type.
23859         [C99-based standards] (float_t): Expect type.
23860         [C99-based standards] (double_t): Expect type.
23861         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
23862         type.
23863         [C99-based standards] (HUGE_VALL): Likewise.
23864         [C99-based standards] (INFINITY): Likewise.
23865         [C99-based standards] (NAN): Likewise.
23866         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23867         [C99-based standards] (FP_NAN): Likewise.
23868         [C99-based standards] (FP_NORMAL): Likewise.
23869         [C99-based standards] (FP_SUBNORMAL): Likewise.
23870         [C99-based standards] (FP_ZERO): Likewise.
23871         [C99-based standards] (FP_FAST_FMA): Use
23872         optional-macro-int-constant.  Specify type.  Require == 1.
23873         [C99-based standards] (FP_FAST_FMAF): Likewise.
23874         [C99-based standards] (FP_FAST_FMAL): Likewise.
23875         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23876         [C99-based standards] (FP_ILOGBNAN): Likewise.
23877         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23878         Specify type.
23879         [C99-based standards] (MATH_ERREXCEPT): Likewise.
23880         [C99-based standards] (math_errhandling): Specify type.
23881         [ISO99 || ISO11] (signgam): Do not allow.
23882         [non-C99-based standards] (copysignf): Do not allow.
23883         [non-C99-based standards] (exp2f): Likewise.
23884         [non-C99-based standards] (log2f): Likewise.
23885         [non-C99-based standards] (modff): Allow.
23886         [non-C99-based standards] (erff): Do not allow.
23887         [non-C99-based standards] (erfcf): Likewise.
23888         [non-C99-based standards] (gammaf): Likewise.
23889         [non-C99-based standards] (hypotf): Likewise.
23890         [non-C99-based standards] (j0f): Likewise.
23891         [non-C99-based standards] (j1f): Likewise.
23892         [non-C99-based standards] (jnf): Likewise.
23893         [non-C99-based standards] (lgammaf): Likewise.
23894         [non-C99-based standards] (tgammaf): Likewise.
23895         [non-C99-based standards] (y0f): Likewise.
23896         [non-C99-based standards] (y1f): Likewise.
23897         [non-C99-based standards] (ynf): Likewise.
23898         [non-C99-based standards] (isnanf): Likewise.
23899         [non-C99-based standards] (acoshf): Likewise.
23900         [non-C99-based standards] (asinhf): Likewise.
23901         [non-C99-based standards] (atanhf): Likewise.
23902         [non-C99-based standards] (cbrtf): Likewise.
23903         [non-C99-based standards] (expm1f): Likewise.
23904         [non-C99-based standards] (ilogbf): Likewise.
23905         [non-C99-based standards] (log1pf): Likewise.
23906         [non-C99-based standards] (logbf): Likewise.
23907         [non-C99-based standards] (nextafterf): Likewise.
23908         [non-C99-based standards] (remainderf): Likewise.
23909         [non-C99-based standards] (rintf): Likewise.
23910         [non-C99-based standards] (scalbf): Likewise.
23911         [non-C99-based standards] (copysignl): Likewise.
23912         [non-C99-based standards] (exp2l): Likewise.
23913         [non-C99-based standards] (log2l): Likewise.
23914         [non-C99-based standards] (modfl): Allow.
23915         [non-C99-based standards] (erfl): Do not allow.
23916         [non-C99-based standards] (erfcl): Likewise.
23917         [non-C99-based standards] (gammal): Likewise.
23918         [non-C99-based standards] (hypotl): Likewise.
23919         [non-C99-based standards] (j0l): Likewise.
23920         [non-C99-based standards] (j1l): Likewise.
23921         [non-C99-based standards] (jnl): Likewise.
23922         [non-C99-based standards] (lgammal): Likewise.
23923         [non-C99-based standards] (tgammal): Likewise.
23924         [non-C99-based standards] (y0l): Likewise.
23925         [non-C99-based standards] (y1l): Likewise.
23926         [non-C99-based standards] (ynl): Likewise.
23927         [non-C99-based standards] (isnanl): Likewise.
23928         [non-C99-based standards] (acoshl): Likewise.
23929         [non-C99-based standards] (asinhl): Likewise.
23930         [non-C99-based standards] (atanhl): Likewise.
23931         [non-C99-based standards] (cbrtl): Likewise.
23932         [non-C99-based standards] (expm1l): Likewise.
23933         [non-C99-based standards] (ilogbl): Likewise.
23934         [non-C99-based standards] (log1pl): Likewise.
23935         [non-C99-based standards] (logbl): Likewise.
23936         [non-C99-based standards] (nextafterl): Likewise.
23937         [non-C99-based standards] (remainderl): Likewise.
23938         [non-C99-based standards] (rintl): Likewise.
23939         [non-C99-based standards] (scalbl): Likewise.
23940         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23941         [non-C99-based standards] (FP_*): Do not allow.
23942         [C99-based standards] (FP_*): Change to
23943         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23944         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23945         allow.
23946         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23947         (SIG_ERR): Likewise.
23948         [X/Open-based standards] (SIG_HOLD): Likewise.
23949         (SIG_IGN): Likewise.
23950         (SIGABRT): Use macro-int-constant.  Specify type.  Require
23951         positive value.
23952         (SIGFPE): Likewise.
23953         (SIGILL): Likewise.
23954         (SIGINT): Likewise.
23955         (SIGSEGV): Likewise.
23956         (SIGTER): Likewise.
23957         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23958         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23959         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23960         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23961         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23962         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23963         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23964         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23965         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23966         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23967         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23968         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23969         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23970         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23971         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23972         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23973         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23974         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23975         [X/Open-based standards] (SIGTRAP): Likewise.
23976         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23977         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23978         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23979         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23980         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23981         allow.
23983 2012-05-08  Ian Wienand  <ianw@vmware.com>
23985         [BZ #14080]
23986         * time/tzset.c (__tzset_parse_tz): Update default rules for
23987         daylight time changes in the Energy Policy Act of 2005.
23989 2012-05-09  Andreas Jaeger  <aj@suse.de>
23991         [BZ #13983]
23992         * elf/ldconfig.c (parse_conf): Change string to make clear that
23993         ldconfig only issued a warning if ld.so.conf does not exist.
23995 2012-05-08  David S. Miller  <davem@davemloft.net>
23997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23998         movxtod instead of popping the value on the stack.
24000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24002 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24004         * config.h.in: Add HAVE_ARM_PCS_VFP.
24006 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24008         [BZ #13979]
24009         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24010         checking but the checks are disabled for any reason.
24012 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24014         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24015         and ELF64_R_TYPE with ELFW(R_TYPE).
24017 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24019         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24020         (ulimit): Likewise.
24022         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24023         (settimeofday): Likewise.
24025 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24027         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24028         a struct th_u2 inside the union, and move tu_block/tu_code into
24029         a new th_u3 union of tu_block/tu_code inside of that.  Move
24030         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24031         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24032         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24033         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24034         (th_stuff): Change to th_u1.tu_stuff.
24035         (th_data): Define.
24036         (th_msg): Change to th_u1.th_u2.tu_data.
24038 2012-05-07  David S. Miller  <davem@davemloft.net>
24040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24042         [BZ #14074]
24043         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24044         (SETUP_PIC_REG): Use it.
24045         (SETUP_PIC_REG_LEAF): Use it.
24047 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24049         [BZ #13885]
24050         [BZ #13923]
24051         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24052         USE_AS_EXPM1L.
24053         (EXPL_FINITE): Likewise.
24054         (FLDLOG): Likewise.
24055         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24056         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24057         e_expl.S.
24058         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24059         USE_AS_EXPM1L.
24060         (EXPL_FINITE): Likewise.
24061         (FLDLOG): Likewise.
24062         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24063         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24064         e_expl.S.
24065         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24066         test of -max_value argument for long double.
24067         * sysdeps/i386/fpu/libm-test-ulps: Update.
24068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24070 2012-05-06  David S. Miller  <davem@davemloft.net>
24072         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24073         quad soft-float symbols whose references which are compiler
24074         generated.
24075         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24077 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24079         [BZ #13884]
24080         [BZ #13914]
24081         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24082         USE_AS_EXP10L.
24083         (EXPL_FINITE): Likewise.
24084         (FLDLOG): Likewise.
24085         (c0): Likewise.
24086         (c1): Likewise.
24087         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24088         Adjust comments for base varying.
24089         (__expl_finite): Change alias to EXPL_FINITE.
24090         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24091         e_expl.S.
24092         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24093         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24094         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24095         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24096         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24097         USE_AS_EXP10L.
24098         (EXPL_FINITE): Likewise.
24099         (FLDLOG): Likewise.
24100         (c0): Likewise.
24101         (c1): Likewise.
24102         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24103         Adjust comments for base varying.
24104         (__expl_finite): Change alias to EXPL_FINITE.
24105         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24106         tests for bugs.
24107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24109         [BZ #14064]
24110         * math/libm-test.inc (check_float_internal): Correct ulp
24111         calculation for subnormal expected results.
24113 2012-05-06  Andreas Jaeger  <aj@suse.de>
24115         * Makeconfig (+math-flags): New, set to -frounding-math.
24116         (+cflags): Add +math-flags so that all of glibc gets compiled with
24117         it.
24119         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24121 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24123         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24124         Disable one test.
24126         [BZ #13787]
24127         [BZ #13922]
24128         [BZ #14036]
24129         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24130         (__ieee754_expl): Allow for and saturate large arguments.
24131         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24132         (u_threshold): Likewise.
24133         (__exp): Call __ieee754_exp before checking for overflow and
24134         underflow.
24135         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24136         (u_threshold): Likewise.
24137         (__expf): Call __ieee754_expf before checking for overflow and
24138         underflow.
24139         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24140         (u_threshold): Likewise.
24141         (__expl): Call __ieee754_expl before checking for overflow and
24142         underflow.
24143         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24144         (__ieee754_expl): Allow for and saturate large arguments.
24145         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24146         missing overflow exception on overflow.
24147         (expm1_test): Do not allow missing overflow exception on overflow.
24149         * sysdeps/i386/fpu/e_expl.c: Move to ...
24150         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24151         rather than using inline asm.
24152         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24153         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24154         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24156         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24157         (nice): Likewise.
24158         (poll): Likewise.
24159         (signal): Likewise.
24160         (time): Likewise.
24161         (times): Likewise.
24163 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24165         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24166         sysdeps/unix/common/syscalls.list.
24167         (fchmod): Likewise.
24168         (fchown): Likewise.
24169         (ftruncate): Likewise.
24170         (getrusage): Likewise.
24171         (gettimeofday): Likewise.
24172         (setpgid): Likewise.
24173         (setregid): Likewise.
24174         (setreuid): Likewise.
24175         (sigaction): Likewise.
24176         (truncate): Likewise.
24177         (vhangup): Likewise.
24178         * sysdeps/unix/common/syscalls.list: Remove file.
24179         * sysdeps/unix/bsd/Implies: Don't include unix/common.
24180         * sysdeps/unix/sysv/linux/Implies: Likewise.
24182 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
24184         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24186         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24187         Moved to ...
24188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24189         Here.
24190         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24191         to ...
24192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24193         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24194         to ...
24195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24196         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24197         to ...
24198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24199         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24200         to ...
24201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24202         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24203         to ...
24204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24205         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24206         to ...
24207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24208         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24209         to ...
24210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24211         Here.
24212         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24213         to ...
24214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24215         Here.
24216         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24217         to ...
24218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24219         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24220         Moved to ...
24221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24222         Here.
24223         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24224         to ...
24225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24227 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24229         * sysdeps/unix/common/bits/dirent.h: Remove file.
24230         * sysdeps/unix/common/bits/fcntl.h: Likewise.
24232         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24233         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24234         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24235         * sysdeps/unix/bsd/isatty.c: Likewise.
24236         * sysdeps/unix/bsd/tcdrain.c: Likewise.
24237         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24238         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24240 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24242         [BZ #13563]
24243         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24244         long double comparison inaccuracies.
24245         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24248 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
24250         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24251         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24253 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24255         [BZ #14049]
24256         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24257         nonzero digits before rounding a hex value.
24258         * stdlib/tst-strtod.c (tests): Add another test.
24260 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24262         * sysdeps/s390/fpu/libm-test-ulps: Update.
24264 2012-05-03  Andreas Jaeger  <aj@suse.de>
24266         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24267         does not get optimized out.
24268         (malloc_opt_barrier): New.
24270 2012-05-03  Andreas Jaeger  <aj@suse.de>
24271             Roland McGrath  <roland@hack.frob.com>
24273         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24274         intermediate file deletion.
24275         (generated): Add .symlist files.
24277 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
24279         [BZ #13775]
24280         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24281         Redirect under this condition.
24282         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24283         [__USE_GNU] (__dprintf_chk): Not under this condition.
24284         [__USE_GNU] (__vdprintf_chk): Likewise.
24285         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24286         under this condition.
24287         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24288         [__USE_XOPEN2K8] (dprintf): Define under this condition.
24289         [__USE_XOPEN2K8] (vdprintf): Likewise.
24290         [__USE_GNU] (__dprintf_chk): Not under this condition.
24291         [__USE_GNU] (__vdprintf_chk): Likewise.
24292         [__USE_GNU] (dprintf): Likewise.
24293         [__USE_GNU] (vdprintf): Likewise.
24295 2012-05-03  Roland McGrath  <roland@hack.frob.com>
24297         * elf/Makefile (common-generated): Set this instead of generated for
24298         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
24299         $(all-built-dso)-derived lists.
24301 2012-05-03  Andreas Jaeger  <aj@suse.de>
24303         * sysdeps/i386/fpu/libm-test-ulps: Update.
24305         * FAQ: Removed.
24306         * FAQ.in: Likewise.
24307         * scripts/gen-FAQ.pl: Likewise.
24308         * manual/install.texi (Installation): Point to online location of
24309         FAQ.
24310         * Makefile (files-for-dist): Remove FAQ.
24311         (FAQ): Remove.
24313 2012-05-02  Allan McRae  <allan@archlinux.org>
24315         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24316         (LDFLAGS-reldepmod5.so): Likewise.
24317         (LDFLAGS-reldep6mod1.so): Likewise.
24318         (LDFLAGS-reldep6mod4.so): Likewise.
24319         (LDFLAGS-reldep8mod3.so): Likewise.
24320         (LDFLAGS-unload4mod1.so): Likewise.
24321         (LDFLAGS-unload4mod2.so): Likewise.
24322         (LDFLAGS-tst-initorder): Likewise.
24323         (LDFLAGS-tst-initordera2.so): Likewise.
24324         (LDFLAGS-tst-initordera3.so): Likewise.
24325         (LDFLAGS-tst-initordera4.so): Likewise.
24326         (LDFLAGS-tst-initorderb2.so): Likewise.
24327         (LDFLAGS-noload): Likewise.
24328         (LDFLAGS-next): Likewise.
24329         (LDFLAGS-order2mod1.so): Likewise.
24330         (LDFLAGS-order2mod2.so): Likewise.
24331         (LDFLAGS-tst-initorder2): Likewise.
24332         (LDFLAGS-tst-initorder2a.so): Likewise.
24333         (LDFLAGS-tst-initorder2b.so): Likewise.
24334         (LDFLAGS-tst-initorder2c.so): Likewise.
24335         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24337 2012-05-02  David S. Miller  <davem@davemloft.net>
24339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24341 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24343         [BZ #14055]
24344         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24346 2012-05-02  Andreas Jaeger  <aj@suse.de>
24348         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24349         since we manipulate rounding mode.
24350         (CPPFLAGS-test-idouble.c): Likewise.
24351         (CPPFLAGS-test-ifloat.c): Likewise.
24352         (CFLAGS-test-ldouble.c): Likewise.
24353         (CFLAGS-test-double.c): Likewise.
24354         (CFLAGS-test-float.c): Likewise.
24355         (CFLAGS-test-misc.c): Likewise.
24356         (CFLAGS-test-test-fenv.c): Likewise.
24358 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24360         [BZ #2550]
24361         [BZ #2570]
24362         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24363         comparisons to determine direction to adjust input.
24365 2012-05-01  Roland McGrath  <roland@hack.frob.com>
24367         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24368         output to the target.
24370         * scripts/localplt.awk: New file.
24371         * elf/Makefile ($(objpfx)check-localplt): Target removed.
24372         (check-localplt-CFLAGS): Variable removed.
24373         ($(all-built-dso:=.jmprel)): New static pattern rule.
24374         (generated): Add those targets.
24375         (localplt-built-dso): New variable.
24376         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24378         * elf/check-localplt.c: File removed.
24380         * scripts/check-execstack.awk: New file.
24381         * elf/Makefile ($(objpfx)check-execstack): Target removed.
24382         (check-execstack-CFLAGS): Variable removed.
24383         ($(objpfx)check-execstack.h): Target removed.
24384         ($(objpfx)execstack-default): New target.
24385         (generated): Add that instead of check-execstack.h.
24386         ($(all-built-dso:=.phdr)): New static pattern rule.
24387         (generated): Add those targets.
24388         * elf/check-execstack.c: File removed.
24390         * scripts/check-textrel.awk: New file.
24391         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24392         (check-textrel-CFLAGS): Variable removed.
24393         (all-built-dso): Use := to define.o
24394         ($(all-built-dso:=.dyn)): New static pattern rule.
24395         (generated): Add those targets.
24396         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24397         * config.make.in (READELF): New substituted variable.
24398         * elf/check-textrel.c: File removed.
24400 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24402         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24403         allow.
24404         * conform/data/ctype.h-data [C99-based standards] (isblank):
24405         Expect function.
24406         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24407         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24408         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24409         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24410         Specify type.  Require positive value.
24411         (EILSEQ): Likewise.
24412         (ERANGE): Likewise.
24413         [ISO || POSIX] (EILSEQ): Do not expect.
24414         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24415         Specify type.  Require positive value.
24416         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24417         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24418         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24419         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24420         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24421         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24422         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24423         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24424         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24425         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24426         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24427         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24428         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24429         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24430         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24431         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24432         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24433         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24434         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24435         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24436         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24437         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24438         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24439         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24440         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24441         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24442         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24443         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24444         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24445         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24446         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24447         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24448         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24449         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24450         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24451         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24452         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24453         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24454         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24455         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24456         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24457         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24458         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24459         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24460         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24461         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24462         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24463         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24464         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24465         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24466         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24467         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24468         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24469         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24470         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24471         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24472         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24473         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24474         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24475         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24476         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24477         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24478         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24479         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24480         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24481         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24482         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24483         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24484         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24485         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24486         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24487         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24488         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24489         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24490         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24491         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24492         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24493         Require >= 2.
24494         (FLT_ROUNDS): Expect as macro, not constant.
24495         (FLT_MANT_DIG): Use macro-int-constant.
24496         (DBL_MANT_DIG): Likewise.
24497         (LDBL_MANT_DIG): Likewise.
24498         (FLT_DIG): Likewise.
24499         (DBL_DIG): Likewise.
24500         (LDBL_DIG): Likewise.
24501         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24502         (DBL_MIN_EXP): Likewise.
24503         (LDBL_MIN_EXP): Likewise.
24504         (FLT_MAX_EXP): Use macro-int-constant.
24505         (DBL_MAX_EXP): Likewise.
24506         (LDBL_MAX_EXP): Likewise.
24507         (FLT_MAX_10_EXP): Likewise.
24508         (DBL_MAX_10_EXP): Likewise.
24509         (LDBL_MAX_10_EXP): Likewise.
24510         (FLT_MAX): Use macro-constant.
24511         (DBL_MAX): Likewise.
24512         (LDBL_MAX): Likewise.
24513         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24514         (DBL_EPSILON): Likewise.
24515         (LDBL_EPSILON): Likewise.
24516         (FLT_MIN): Likewise.
24517         (DBL_MIN): Likewise.
24518         (LDBL_MIN): Likewise.
24519         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24520         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24521         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24522         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24523         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24524         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24525         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24526         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24527         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24528         [ISO11] (FLT_TRUE_MIN): Likewise.
24529         [ISO11] (LDBL_TRUE_MIN): Likewise.
24530         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24531         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24532         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24533         (SCHAR_MAX): Likewise.
24534         (UCHAR_MAX): Likewise.
24535         (CHAR_MIN): Likewise.
24536         (CHAR_MAX): Likewise.
24537         (MB_LEN_MAX): Use macro-int-constant.
24538         (SHRT_MIN): Use macro-int-constant.  Specify type.
24539         (SHRT_MAX): Likewise.
24540         (USHRT_MAX): Likewise.
24541         (INT_MAX): Likewise.
24542         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24543         bound negative.
24544         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24545         bound with "U".
24546         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24547         bound with "L".
24548         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24549         bound negative.  Suffix upper bound with "L".
24550         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24551         bound with "UL".
24552         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24553         Specify type.
24554         [C99-based standards] (LLONG_MAX): Likewise.
24555         [C99-based standards] (ULLONG_MAX): Likewise.
24556         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24557         == 0.
24558         [ISO11] (max_align_t): Require type.
24559         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24561         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24562         from $CFLAGS, without defining away __attribute__ calls.
24563         (checknamespace): Use $CFLAGS_namespace.
24565         * conform/conformtest.pl (@keywords): Only include C99 keywords
24566         for standards based on C99 or C11.
24568         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24569         Disable tests.
24570         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24571         UNIX98]: Likewise.
24573         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24574         usability of symbols in #if.
24576         * conform/conformtest.pl: If macro or constant types start
24577         "promoted:", expect the symbol to be of the following type
24578         promoted by the integer promotions.
24580         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24581         in one place.  Also handle "macro-constant".
24583         * conform/conformtest.pl: Only accept expected macro values with
24584         "==".  Parse all "macro" lines in one place.
24585         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24587         * conform/conformtest.pl: Handle braced types on "constant" lines
24588         instead of handling "typed-constant".
24589         * conform/data/signal.h-data: Use "constant" instead of
24590         "typed-constant".
24592         * conform/conformtest.pl: Handle "optional-" at start of lines in
24593         one place rather than duplicating several cases.  Handle each
24594         format of "macro" line with initial "optional-".
24596         * conform/conformtest.pl: Only accept expected constant or
24597         optional-constant values with "==".  Parse all "constant" lines in
24598         one place.  Parse all "optional-constant" lines in one place.
24599         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24600         * conform/data/fmtmsg.h-data: Likewise.
24601         * conform/data/netinet/in.h-data: Likewise.
24602         * conform/data/tar.h-data: Likewise.
24603         * conform/data/limits.h-data: Use "==" form on "constant" and
24604         "optional-constant" lines.
24606         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24607         Use -std=c99 for XOPEN2K.
24608         (@knownproblems): Remove.
24609         (newtoken): Don't check %isknown.
24611         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24612         Do not expect macro.
24613         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24614         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24615         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24616         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24617         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24618         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24619         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24620         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24621         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24622         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24623         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24624         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24625         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24626         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24627         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24628         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24629         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24630         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24631         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24632         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24633         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24634         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24635         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24636         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24637         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24638         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24639         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24640         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24641         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24642         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24643         [XPG3] (acosh): Likewise.
24644         [XPG3] (asinh): Likewise.
24645         [XPG3] (atanh): Likewise.
24646         [XPG3] (cbrt): Likewise.
24647         [XPG3] (expm1): Likewise.
24648         [XPG3] (ilogb): Likewise.
24649         [XPG3] (log1p): Likewise.
24650         [XPG3] (logb): Likewise.
24651         [XPG3] (nextafter): Likewise.
24652         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24653         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24654         [XPG3] (remainder): Likewise.
24655         [XPG3] (rint): Likewise.
24656         [XPG3 || XPG4 || UNIX98] (round): Likewise.
24657         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24658         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24659         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24660         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24661         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24662         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24663         [UNIX98 || XOPEN2K] (scalb): Expect.
24664         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24665         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24666         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24667         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24668         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24669         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24670         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24671         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24672         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24673         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24674         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24675         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24676         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24677         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24678         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24679         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24680         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24681         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24682         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24683         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24684         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24685         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24686         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24687         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24688         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24689         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24690         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24691         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24692         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24693         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24694         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24695         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24696         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24697         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24698         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24699         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24700         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24701         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24702         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24703         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24704         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24705         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24706         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24707         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24708         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24709         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24710         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24711         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24712         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24713         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24714         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24715         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24716         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24717         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24718         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24719         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24720         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24721         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24722         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24723         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24724         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24725         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24726         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24727         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24728         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24729         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24730         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24731         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24732         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24733         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24734         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24735         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24736         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24737         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24738         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24739         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24740         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24741         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24742         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24743         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24744         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24745         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24746         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24747         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24748         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24749         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24750         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24751         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24752         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24753         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24754         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24755         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24756         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24757         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24758         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24759         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24760         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24761         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24762         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24763         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24764         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24765         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24766         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24767         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24768         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24769         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24770         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24771         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24772         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24773         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24774         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24775         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24776         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24777         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24778         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24779         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24780         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24781         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24782         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24783         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24784         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24785         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24786         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24787         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24788         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24789         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24790         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24791         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24792         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24793         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24794         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24795         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24796         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24797         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24798         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24799         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24800         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24802         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24803         _XOPEN_SOURCE_EXTENDED for XPG4.
24805         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24807         * Makeconfig (localtime): Remove variable.
24808         (inst_localtime-file): Likewise.
24810 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24813         Update.
24814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24815         Update.
24816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24817         Update.
24818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24819         Update.
24820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24821         Update.
24822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24823         Update.
24824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24825         Update.
24826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24827         Update.
24828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24829         Update.
24831 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24833         [BZ #2550]
24834         [BZ #2570]
24835         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24836         comparisons to determine direction to adjust input.
24837         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24838         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24839         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24840         Likewise.
24841         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24842         Likewise.
24843         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24844         Likewise.
24845         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24846         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24847         Likewise.
24848         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24849         Likewise.
24850         * math/libm-test.inc (nexttoward_test): Add more tests.
24852 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24854         [BZ #14040]
24855         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24856         in version GLIBC_2.1, not GLIBC_2.0.
24857         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24858         Likewise.
24860 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
24862         [BZ #13942]
24863         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24864         (1 - x) * (1 + x).
24865         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24866         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24867         * math/libm-test.inc (acos_test): Add more tests.
24868         (asin_test): Likewise.
24869         * sysdeps/i386/fpu/libm-test-ulps: Update.
24870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24872         [BZ #14034]
24873         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24874         of square root.
24875         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24876         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24877         * math/libm-test.inc (acos_test_tonearest): New function.
24878         (acos_test_towardzero): Likewise.
24879         (acos_test_downward): Likewise.
24880         (acos_test_upward): Likewise.
24881         (asin_test_tonearest): Likewise.
24882         (asin_test_towardzero): Likewise.
24883         (asin_test_downward): Likewise.
24884         (asin_test_upward): Likewise.
24885         (main): Call the new functions.
24886         * sysdeps/i386/fpu/libm-test-ulps: Update.
24887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24889         [BZ #13884]
24890         [BZ #13924]
24891         * math/e_exp10.c: Include <float.h>.
24892         (__ieee754_exp10): Handle underflow here rather than multiplying
24893         large negative argument by M_LN10.
24894         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24895         of __ieee754_expf.
24896         * math/e_exp10l.c: Include <float.h>.
24897         (__ieee754_exp10l): Handle underflow here rather than multiplying
24898         large negative argument by M_LN10l.
24899         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
24900         spurious overflow exception on underflow.
24902 2012-04-29  Marek Polacek  <polacek@redhat.com>
24904         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24905         (__fortify_function): New macro.
24906         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24907         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24908         __extern_always_inline.
24909         * libio/bits/stdio2.h: Likewise.
24910         * libio/bits/stdio.h: Likewise.
24911         * string/string.h: Likewise.
24912         * string/bits/string3.h: Likewise.
24913         * include/stdio.h: Likewise.
24914         * stdlib/bits/stdlib.h: Likewise.
24915         * stdlib/stdlib.h: Likewise.
24916         * rt/bits/mqueue2.h: Likewise.
24917         * rt/mqueue.h: Likewise.
24918         * posix/bits/unistd.h: Likewise.
24919         * posix/unistd.h: Likewise.
24920         * io/bits/poll2.h: Likewise.
24921         * io/bits/fcntl2.h: Likewise.
24922         * io/fcntl.h: Likewise.
24923         * io/sys/poll.h: Likewise.
24924         * misc/bits/syslog.h: Likewise.
24925         * misc/bits/syslog-ldbl.h: Likewise.
24926         * misc/sys/syslog.h: Likewise.
24927         * socket/bits/socket2.h: Likewise.
24928         * socket/sys/socket.h: Likewise.
24929         * debug/tst-chk1.c: Likewise.
24930         * wcsmbs/bits/wchar2.h: Likewise.
24931         * wcsmbs/bits/wchar-ldbl.h: Likewise.
24932         * wcsmbs/wchar.h: Likewise.
24934 2012-04-29  Andreas Jaeger  <aj@suse.de>
24936         * Makerules (tests): Remove enable-check-abi protection.
24937         (check-abi-warn): Remove.
24938         (check-abi-%): Remove check-abi-warn usage.
24940         * configure.in: Remove check-abi configure option.
24941         * configure: Regenerated.
24942         * config.make.in (enable-check-abi): Remove.
24944 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
24946         [BZ #14033]
24947         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24948         double functions to double *_finite functions.
24950         [BZ #13941]
24951         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24952         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24953         LDBL_MIN_EXP.
24954         * stdio-common/Makefile (tests): Add tst-sprintf3.
24955         * stdio-common/tst-sprintf3.c: New file.
24957         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24958         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24960 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24962         * conform/conformtest.pl: Remove duplicate typed-constant
24963         handling.
24965 2012-04-28  David S. Miller  <davem@davemloft.net>
24967         * Makerules (%.abilist): Add vpath on sysdep_dirs.
24968         (check-abi-%): Remove AWK script prerequisite and explicit
24969         abilist directory.
24970         (check-abi): Rewrite to just diff the symlist with the abilist.
24971         (config-tls, config-abi-config): Delete, no longer used.
24972         (update-abi-%): Remove AWK script and explicit abilist directory.
24973         (update-abi): Rewrite to simply compare and conditionally copy the
24974         symlist and the sysdep abilist file.  Remove update-abi-config
24975         checks.
24976         * abilist/ld.abilist: Remove.
24977         * abilist/libBrokenLocale.abilist: Remove.
24978         * abilist/libanl.abilist: Remove.
24979         * abilist/libcrypt.abilist: Remove.
24980         * abilist/libdl.abilist: Remove.
24981         * abilist/librt.abilist: Remove.
24982         * abilist/libthread_db.abilist: Remove.
24983         * abilist/libutil.abilist: Remove.
24984         * scripts/extract-abilist.awk: Remove.
24985         * scripts/merge-abilist.awk: Remove.
24986         * sysdeps/generic/libcidn.abilist: New file.
24987         * sysdeps/generic/libnss_compat.abilist: New file.
24988         * sysdeps/generic/libnss_db.abilist: New file.
24989         * sysdeps/generic/libnss_dns.abilist: New file.
24990         * sysdeps/generic/libnss_files.abilist: New file.
24991         * sysdeps/generic/libnss_hesiod.abilist: New file.
24992         * sysdeps/generic/libnss_nis.abilist: New file.
24993         * sysdeps/generic/libnss_nisplus.abilist: New file.
24994         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24995         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24996         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24997         file.
24998         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24999         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25000         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25001         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25002         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25003         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25004         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25005         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25006         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25007         file.
25008         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25009         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25010         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25011         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25012         file.
25013         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25014         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25015         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25016         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25017         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25018         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25019         file.
25020         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25021         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25022         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25023         file.
25024         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25026         New file.
25027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25028         New file.
25029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25030         New file.
25031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25032         New file.
25033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25034         New file.
25035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25036         New file.
25037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25038         New file.
25039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25040         New file.
25041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25042         New file.
25043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25044         New file.
25045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25046         New file.
25047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25048         New file.
25049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25050         New file.
25051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25052         file.
25053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25054         New file.
25055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25056         New file.
25057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25058         file.
25059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25060         New file.
25061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25062         New file.
25063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25064         file.
25065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25066         New file.
25067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25068         New file.
25069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25070         New file.
25071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25072         New file.
25073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25074         New file.
25075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25076         New file.
25077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25079         file.
25080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25081         New file.
25082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25083         file.
25084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25085         file.
25086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25087         file.
25088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25089         file.
25090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25091         file.
25092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25093         New file.
25094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25095         file.
25096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25097         file.
25098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25099         New file.
25100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25101         file.
25102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25104         file.
25105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25106         New file.
25107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25108         file.
25109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25110         file.
25111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25112         file.
25113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25114         file.
25115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25116         file.
25117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25118         New file.
25119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25120         file.
25121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25122         file.
25123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25124         New file.
25125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25126         file.
25127         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25128         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25129         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25130         file.
25131         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25132         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25133         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25134         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25135         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25136         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25137         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25138         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25139         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25140         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25143         file.
25144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25145         New file.
25146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25147         file.
25148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25149         file.
25150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25151         file.
25152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25153         file.
25154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25155         file.
25156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25157         New file.
25158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25159         New file.
25160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25161         file.
25162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25163         New file.
25164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25165         file.
25166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25168         file.
25169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25170         New file.
25171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25172         file.
25173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25174         file.
25175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25176         file.
25177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25178         file.
25179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25180         file.
25181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25182         New file.
25183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25184         New file.
25185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25186         file.
25187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25188         New file.
25189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25190         file.
25192 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25194         * conform/conformtest.pl: Fix typo in handling typed-constant from
25195         allow-header.
25197 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25199         * README: Cut down references to pre-2.6 Linux kernels and
25200         Linuxthreads.  Update lists of configurations in libc and ports
25201         and sort alphabetically.  Say "or newer" with Linux kernel version
25202         requirements.
25204         * config.h.in [IS_IN_build]: Allow compiling without optimization.
25206 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25208         [BZ #887]
25209         * math/libm-test.inc (logb_test_downward): New test to expose
25210         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25211         rounding mode.
25213 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25215         [BZ #14027]
25216         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25217         to be done.
25218         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25219         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25221 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
25223         * sysdeps/unix/i386/brk.S: Remove file.
25224         * sysdeps/unix/i386/dl-brk.S: Likewise.
25225         * sysdeps/unix/i386/pipe.S: Likewise.
25226         * sysdeps/unix/i386/sigreturn.S: Likewise.
25227         * sysdeps/unix/i386/syscall.S: Likewise.
25228         * sysdeps/unix/i386/vfork.S: Likewise.
25229         * sysdeps/unix/i386/wait.S: Likewise.
25231         * sysdeps/unix/common/tcsendbrk.c: Move to ...
25232         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25234         * configure.in (arm*-none*): Do not allow without
25235         --enable-hacker-mode.
25236         (netbsd*): Remove case setting base_os.
25237         (386bsd*): Likewise.
25238         (freebsd*): Likewise.
25239         (bsdi*): Likewise.
25240         (osf*): Likewise.
25241         (sunos*): Likewise.
25242         (ultrix*): Likewise.
25243         (newsos*): Likewise.
25244         (dynix*): Likewise.
25245         (*bsd*): Likewise.
25246         (sysv*): Likewise.
25247         (isc*): Likewise.
25248         (esix*): Likewise.
25249         (sco*): Likewise.
25250         (minix*): Likewise.
25251         (irix4*): Likewise.
25252         (irix6*): Likewise.
25253         (solaris[2-9]*): Likewise.
25254         (none): Likewise.
25255         * configure: Regenerated.
25257 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25259         [BZ #11521]
25260         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25261         overflow or cancellation in calculating denominator.
25262         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25263         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25264         down expression to avoid unexpected rounding in newer GCCs.
25265         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25267 2012-04-26  David S. Miller  <davem@davemloft.net>
25269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25270         long-double compat symbols.
25271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25285 2012-04-25  David S. Miller  <davem@davemloft.net>
25287         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25288         HWCAP_* values only after the memory barriers have been defined.
25289         (atomic_full_barrier): Define.
25290         (atomic_read_barrier): Define.
25291         (atomic_write_barrier): Define.
25293 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25295         * shlib-versions: Add libgcc_s version information.
25296         * sysdeps/generic/libgcc_s.h: Remove.
25297         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25298         libgcc_s.h.
25299         * sysdeps/gnu/unwind-resume.c: Likewise.
25300         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25302 2012-04-25  David S. Miller  <davem@davemloft.net>
25304         * sysdeps/unix/sparc/brk.S: Delete.
25305         * sysdeps/unix/sparc/dl-brk.S: Delete.
25306         * sysdeps/unix/sparc/pipe.S: Delete.
25307         * sysdeps/unix/sparc/sysdep.S: Delete.
25308         * sysdeps/unix/sparc/sysdep.h: Delete.
25309         * sysdeps/unix/sparc/vfork.S: Delete.
25310         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25311         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25312         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25313         ret_ERRVAL, r0, r1, MOVE): Define.
25314         (JUMPTARGET): Remove.
25315         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25316         sysdeps/unix/sparc/sysdep.h
25317         (ENTRY, END): Remove.
25318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25320 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
25322         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25323         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25324         -DIS_IN_build.
25326         * timezone/README: Update upstream location and email address for
25327         tzcode and tzdata.
25328         * timezone/zdump.c: Update from tzcode 2012b.
25329         * timezone/zic.c: Likewise.
25331         * configure.in (libc_cv_as_needed): Remove test.
25332         * configure: Regenerated.
25333         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25334         conditional definition.
25335         [$(have-as-needed) != yes] (no-as-needed): Likewise.
25336         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25337         * config.make.in (have-as-needed): Remove variable.
25339 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25340             Paul Pluzhnikov  <ppluzhnikov@google.com>
25342         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25343         strings correctly.
25345 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
25347         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25348         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25349         * sysdeps/sh/strlen.S: Likewise.
25351 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25353         * sysdeps/unix/fork.S: Remove file.
25354         * sysdeps/unix/i386/fork.S: Likewise.
25355         * sysdeps/unix/sparc/fork.S: Likewise.
25357         * sysdeps/unix/system.c: Remove file.
25358         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25360         * sysdeps/unix/getegid.S: Remove file.
25361         * sysdeps/unix/geteuid.S: Likewise.
25363 2012-04-24  Roland McGrath  <roland@hack.frob.com>
25365         * scripts/check-localplt.awk: New file.
25366         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25367         of diff.
25368         * scripts/data/localplt-generic.data: Add a comment.
25370         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25371         NODE when __dir_mkfile failed.
25372         * sysdeps/mach/hurd/symlinkat.c: Likewise.
25373         Reported by Ludovic Courtès <ludo@gnu.org>.
25375 2012-04-24  Andreas Jaeger  <aj@suse.de>
25377         * Makerules (common-clean): Also remove gen-as-const-headers
25378         files.
25380 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25382         * Makerules (native-compile): Do not change working directory for
25383         build.  Use $(OUTPUT_OPTION) in command.
25384         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25386 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25388         [BZ #13886]
25389         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25390         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25391         * math/libm-test.inc (floor_test): Add more tests.
25392         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25394 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25396         * sysdeps/unix/getdents.c: Remove file.
25397         * sysdeps/unix/sysv/getdents.c: Likewise.
25398         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25400         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25401         sysdeps/unix/mman/syscalls.list.
25402         (mmap): Likewise.
25403         (mprotect): Likewise.
25404         (msync): Likewise.
25405         (munmap): Likewise.
25406         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25407         * sysdeps/unix/mman/syscalls.list: Remove.
25408         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25410         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25411         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25412         * configure: Regenerated.
25413         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25414         $(libgcc_s_suffix).
25415         * config.make.in (libgcc_s_suffix): Remove variable.
25417 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25419         * sysdeps/unix/sysv/gethostname.c: Move to ...
25420         * sysdeps/posix/gethostname.c: ... here.
25422         * sysdeps/unix/execve.S: Remove file.
25424         * sysdeps/unix/_exit.S: Remove file.
25426 2012-04-23  Andreas Jaeger  <aj@suse.de>
25428         [BZ #13739]
25429         * manual/Makefile: Remove make dist support, there's no
25430         need for a stand-alone documentation tar ball.
25431         (TEXI2DVI): Define always, it's not in Makeconfig.
25432         (dist): Removed.
25433         (tar-it): Removed.
25434         (edition): Removed.
25435         (glibc-doc-$(edition).tar): Removed
25436         (%.Z): Removed.
25437         (%.gz): Removed.
25438         (%.uu): Removed.
25439         (ETAGS): Remove, it's in Makeconfig.
25440         (move-if-change): Remove, it's in Makeconfig.
25442 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25444         [BZ #13970]
25445         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25446         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25447         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25448         (strtod_l, strtof_l, strtold_l): Remove __wur.
25449         It is not necessarily an error to ignore strtol's return value.
25450         One can reliably look at the stored endptr to decide whether
25451         the number had valid syntax.
25453 2012-04-21  Andreas Jaeger  <aj@suse.de>
25455         [BZ #13739]
25456         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25458 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25460         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25461         * sysdeps/unix/sysv/Versions: Remove file.
25463 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25465         [BZ #13927]
25466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25468 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25470         [BZ #7064]
25471         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25472         version from __vm86.
25474 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25476         * sysdeps/unix/common/lxstat.c: Remove file.
25477         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25479         * sysdeps/unix/sysv/Makefile: Remove file.
25481         * sysdeps/unix/sysv/direct.h: Remove file.
25483         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25484         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25485         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25486         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25487         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25488         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25489         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25491         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25493         * sysdeps/unix/xmknod.c: Remove file.
25494         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25496         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25498         * sysdeps/unix/sysv/i386/time.S: Remove file.
25500         * sysdeps/unix/fxstat.c: Remove file.
25501         * sysdeps/unix/xstat.c: Likewise.
25502         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25504         * sysdeps/unix/sysv/sigaction.c: Remove file.
25506         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25507         (sysdep_headers): Remove variable.
25508         [termio.h not in sysdep_headers] (generated): Likewise.
25509         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25510         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25511         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25512         * sysdeps/unix/sysv/tcflow.c: Likewise.
25513         * sysdeps/unix/sysv/tcflush.c: Likewise.
25514         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25515         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25516         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25517         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25518         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25520         * sysdeps/unix/siglist.c: Remove file.
25522         * sysdeps/unix/getppid.S: Remove file.
25524         * sysdeps/unix/mkdir.c: Remove file.
25525         * sysdeps/unix/rmdir.c: Likewise.
25527 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25529         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25530         ERR_MAX value.
25531         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25532         errlist-compat value.
25534 2012-04-18  David S. Miller  <davem@davemloft.net>
25536         * sysdeps/generic/memcopy.h (reg_char): Delete.
25537         * debug/strcat_chk.c: Use char, not reg_char.
25538         * debug/strcpy_chk.c: Likewise.
25539         * debug/strncat_chk.c: Likewise.
25540         * debug/strncpy_chk.c: Likewise.
25541         * string/memchr.c: Likewise.
25542         * string/memrchr.c: Likewise.
25543         * string/rawmemchr.c: Likewise.
25544         * string/strcat.c: Likewise.
25545         * string/strchr.c: Likewise.
25546         * string/strchrnul.c: Likewise.
25547         * string/strcmp.c: Likewise.
25548         * string/strcpy.c: Likewise.
25549         * string/strncat.c: Likewise.
25550         * string/strncmp.c: Likewise.
25551         * string/strncpy.c: Likewise.
25553 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25555         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25556         __builtin_memcopy is called when src and dest ranges are known to not
25557         overlap.
25559 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25561         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25562         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25563         fwd_align_merge macro call.
25564         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25565         bwd_align_merge macro call.
25566         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25568 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25570         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25571         bwd_align_merge macros.
25572         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25573         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25574         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25576 2012-04-18  David S. Miller  <davem@davemloft.net>
25578         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25580 2012-04-18  Andreas Jaeger  <aj@suse.de>
25582         [BZ# 6794]
25583         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25584         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25585         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25587         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25588         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25589         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25591         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25592         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25593         Adjust for changed ldbl-128 files.
25595         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25596         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25597         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25599 2012-04-17  David S. Miller  <davem@davemloft.net>
25601         * sysdeps/sparc/sparc32/memcopy.h: Delete.
25603 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
25605         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25606         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25607         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25608         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25609         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25610         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25612 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25614         [BZ #6794]
25615         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25616         * math/libm-test.inc: Add ilogb errno and exception tests.
25617         * math/w_ilogb.c: New file: ilogb wrapper.
25618         * math/w_ilogbf.c: New file: ilogbf wrapper.
25619         * math/w_ilogbl.c: New file: ilogbl wrapper.
25620         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25621         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25622         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25623         exception being thrown with 0.0 as argument.
25624         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25625         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25626         exception being thrown with 0.0 as argument.
25627         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25628         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25629         exception being thrown with 0.0 as argument.
25630         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25631         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25632         exception being thrown with 0.0 as argument.
25633         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25634         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25635         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25636         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25637         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25638         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25639         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25640         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25641         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25643 2012-04-17  Petr Baudis  <pasky@ucw.cz>
25645         * include/sys/uio.h: Change __vector to __iovec to avoid clash
25646         with altivec.
25648 2012-04-16  Marek Polacek  <polacek@redhat.com>
25650         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25652 2012-04-16  Marek Polacek  <polacek@redhat.com>
25654         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25655         operands of fdivp instruction.
25657 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25659         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25660         * elf/tst-auditmod3b.c: Likewise.
25661         * elf/tst-auditmod4b.c: Likewise.
25662         * elf/tst-auditmod5b.c: Likewise.
25663         * elf/tst-auditmod6b.c: Likewise.
25664         * elf/tst-auditmod6c.c: Likewise.
25665         * elf/tst-auditmod7b.c: Likewise.
25666         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25667         * sysdeps/x86_64/preconfigure.in: Likewise.
25668         * sysdeps/x86_64/preconfigure: Regenerated.
25670 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25672         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25673         __ILP32__.
25675 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
25677         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25678         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25680 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
25682         [BZ #13973]
25683         * locale/iso-639.def: Fix gl language name. Spotted by
25684         Yaron Shahrabani.
25686 2012-04-12  Roland McGrath  <roland@hack.frob.com>
25688         [BZ #2074]
25689         * libio/libio.h (__io_write_fn): Update comment.
25691 2012-04-12  Petr Baudis  <pasky@ucw.cz>
25693         [BZ #2074]
25694         * stdio.texi (Hook Functions): The user provided writer function
25695         is not allowed to return -1.
25697 2012-04-11  David S. Miller  <davem@davemloft.net>
25699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25701 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
25703         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25704         Add a leading slash to rtkaio.
25706 2012-04-11  Jim Meyering  <meyering@redhat.com>
25708         [BZ #11959]
25709         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25710         It is not necessarily an error to ignore fwrite's return
25711         value.  One can reliably use ferror to test for errors after
25712         the fact.
25714 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25716         * bits/types.h (__snseconds_t): New type.
25717         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25719         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25720         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25721         (__SNSECONDS_T_TYPE): Likewise.
25722         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25723         (__SNSECONDS_T_TYPE): Likewise.
25724         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25725         (__SNSECONDS_T_TYPE): Likewise.
25727 2012-04-10  Andreas Jaeger  <aj@suse.de>
25729         [BZ #2636]
25730         * manual/time.texi (Processor Time): Return type of times is
25731         elapsed real time since an arbitrary point in the past.
25732         (CPU Time): Move CLK_TCK from here...
25733         (Processor Time): ...to here.  Correct description.
25734         * manual/conf.texi (Constants for Sysconf): Correct description of
25735         _SC_CLK_TCK.
25737 2012-04-10  David S. Miller  <davem@davemloft.net>
25739         [BZ #13967]
25740         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25741         where the is a gap between DT_REL(A) and DT_JMPREL.
25743 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25745         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25746         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25747         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25749 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25751         * elf/dl-support.c (_dl_inhibit_cache): New variable.
25752         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25753         (dl_main): Handle --inhibit-cache.
25754         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25755         _dl_inhibit_cache.
25756         * elf/dl-load.c (_dl_map_object): Use it.
25757         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25759 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25761         [BZ #13872]
25762         * sysdeps/i386/fpu/e_powl.S (p78): New object.
25763         (__ieee754_powl): Saturate large exponents rather than testing for
25764         overflow of y*log2(x).
25765         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25766         * math/libm-test.inc (pow_test): Do not permit spurious overflow
25767         exceptions.
25769         [BZ #11521]
25770         * math/s_ctan.c: Include <float.h>.
25771         (__ctan): Avoid internal overflow or cancellation in calculating
25772         denominator.
25773         * math/s_ctanf.c: Likewise.
25774         * math/s_ctanl.c: Likewise.
25775         * math/s_ctanh.c: Likewise.
25776         * math/s_ctanhf.c: Likewise.
25777         * math/s_ctanhl.c: Likewise.
25778         * math/libm-test.inc (ctan_test): Add more tests.
25779         (ctanh_test): Likewise.
25780         * sysdeps/i386/fpu/libm-test-ulps: Update.
25781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25783 2012-04-09  Andreas Jaeger  <aj@suse.de>
25785         [BZ #6894]
25786         * manual/filesys.texi (Directory Entries): Mention that d_namlen
25787         is an optional BSD extension.
25789         [BZ #10254]
25790         * manual/stdio.texi (Opening Streams): Document additional fopen
25791         parameters.
25793 2012-04-09  Roland McGrath  <roland@hack.frob.com>
25795         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25796         %eax without telling the compiler.
25798 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
25800         [BZ # 13963]
25801         * manual/install.texi: Use sourceware.org.
25803 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25805         [BZ #13873]
25806         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25807         (__ieee754_pow): Generate overflow and underflow using huge*huge
25808         and tiny*tiny rather than just returning constant infinity or zero
25809         for large exponents.
25810         * math/libm-test.inc (pow_test): Require overflow exceptions for
25811         applicable cases of large exponents.
25813         [BZ #706]
25814         * sysdeps/i386/fpu/e_pow.S (p10): New object.
25815         (__ieee754_pow): Use iterative multiplication algorithm only for
25816         integer exponents with absolute value below 1024.  Check for odd
25817         integer exponents when using algorithm for real exponents.
25818         * math/libm-test.inc (pow_test): Add more tests.
25819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25821 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
25823         [BZ #13705]
25824         * math/libm-test.inc (exp_test): Do not allow overflow exception
25825         on underflow test.
25827 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
25829         [BZ #13705]
25830         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25831         instead of __kernel_standard_f.
25833 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
25835         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25836         * sysdeps/x86_64/memset_chk.S: Likewise.
25838 2012-04-08  Andreas Jaeger  <aj@suse.de>
25840         [BZ #10153]
25841         * manual/startup.texi (Environment Access): Describe return value
25842         for putenv and setenv.
25844         [BZ #6895]
25845         * manual/filesys.texi (Directory Entries): Add description for
25846         DT_LNK.
25848         [BZ #6890]
25849         * manual/filesys.texi (Directory Entries): Clarify that it's file
25850         system not operating system in the description of DT_UNKNOWN.
25852         [BZ #6578]
25853         * manual/syslog.texi (closelog): Fix reference, it's openlog.
25855 2012-04-08  Stephen Compall  <s11@member.fsf.org>
25857         [BZ #6649]
25858         * manual/llio.texi (Opening and Closing Files): Add cross
25859         reference to explain mode argument.
25861 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
25863         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25864         * sysdeps/x86_64/memset_chk.S: Likewise.
25866 2012-04-07  David S. Miller  <davem@davemloft.net>
25868         * elf/elf.h (R_SPARC_WDISP10): Define.
25869         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25870         R_SPARC_SIZE32.
25871         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25872         R_SPARC_SIZE64 and R_SPARC_H34.
25874 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
25876         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25877         conditions and remove no longer applicable assertion.
25879 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25881         * bits/byteswap.h: Include <features.h>.
25882         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25883         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25885 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25887         * bits/byteswap.h (__bswap_16): Removed.
25888         Include <bits/byteswap-16.h> to get __bswap_16.
25889         * sysdeps/i386/bits/byteswap.h: Likewise.
25890         * sysdeps/s390/bits/byteswap.h: Likewise.
25891         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25892         * bits/byteswap-16.h: New file.
25893         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25894         * sysdeps/s390/bits/byteswap-16.h: Likewise.
25895         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25896         * string/Makefile (headers): Add bits/byteswap-16.h.
25898 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25900         [BZ #13895]
25901         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25902         extra indirection.
25903         * nss/Makefile (tests-static, tests): Add tst-nss-static.
25904         * nss/tst-nss-static.c: New.
25906 2012-04-06  Robert Millan  <rmh@gnu.org>
25908         [BZ #6486]
25909         * manual/llio.texi (File Position Primitive): lseek
25910         refers to WHENCE when it really means OFFSET.
25912 2012-04-06  Andreas Jaeger  <aj@suse.de>
25914         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25915         strncmp declarations.
25917         * abilist/libc.abilist: Add __poll and __ppoll.
25919 2012-04-05  David S. Miller  <davem@davemloft.net>
25921         * scripts/check-local-headers.sh: Accept a host triplet in the
25922         path matched by the exclude regexp.
25924         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25925         definition.
25926         * sysdeps/powerpc/powerpc32/dl-machine.h
25927         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25928         * sysdeps/s390/s390-32/dl-machine.h
25929         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25930         * sysdeps/sparc/sparc32/dl-machine.h
25931         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25932         * sysdeps/sparc/sparc64/dl-machine.h
25933         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25935         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25936         lazy binding.
25937         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25938         undefined symbol errors.
25940         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25941         DT_NEEDED entries.
25943 2012-04-05  Michael Matz  <matz@suse.de>
25945         [BZ #13592]
25946         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25948 2012-04-05  Andreas Jaeger  <aj@suse.de>
25950         [BZ #13908]
25951         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25952         comment.
25954 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25956         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25957         which ROUND is no valid rounding mode.
25959 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25961         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25962         read again.
25963         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25965 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25967         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25968         an exception using FPU order intentionally.
25970 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25972         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25973         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25974         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25975         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25977 2012-04-05  Simon Josefsson  <simon@josefsson.org>
25979         [BZ #12340]
25980         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25981         EINVAL when BUFLEN is too smal.
25983 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25985         [BZ #13553]
25986         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25987         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25989 2012-04-03  Andreas Jaeger  <aj@suse.de>
25991         [BZ #13938]
25992         * manual/setjmp.texi (System V contexts): Fix sentence.
25994         [BZ #13926]
25995         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25996         New macro for this case.
25997         [!__GNUC__] (__bswap_64): New inline function for this case.
25998         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25999         * bits/byteswap.h: Likewise.
26000         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26001         ull, guard with __GLIBC_HAVE_LONG_LONG.
26003         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26004         __GLIBC_HAVE_LONG_LONG.
26006         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26007         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26009 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26011         [BZ #13691]
26012         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26013         inptr and inend, rather than using last_ch.
26015 2012-04-02  David S. Miller  <davem@davemloft.net>
26017         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26018         * stdio-common/printf-parse.h (read_int): Change return type to
26019         'int', return -1 on INT_MAX overflow.
26020         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26021         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26022         overflows INT_MAX.  Check for overflow of in-format-string precision
26023         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26024         SIZE_MAX not INT_MAX for integer overflow test.
26025         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26026         skip the construct in the format string but do not record anything.
26027         * stdio-common/bug22.c: Adjust to test both width/prevision
26028         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26029         explicitly for proper errno values.
26031 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26033         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26034         CHAR_MAX.
26035         * string/test-strcmp.c [! WIDE]: Likewise.
26036         * time/tst-mktime2.c: Likewise for INT_MAX.
26037         * string/test-string.h: #include <sys/param.h> for MIN.
26039         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26040         * sysdeps/i386/init-first.c (init): Likewise.
26041         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26042         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26043         * sysdeps/sh/init-first.c (init): Likewise.
26045 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26047         * po/ru.po: Update from translation team.
26048         * po/vi.po: Likewise.
26050 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26052         * resolv/nss_dns/dns-host.c: Merge copyright years.
26054 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26056         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26057         Optimize memcpy with prefetch if
26058         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26059         src, dst pointers have unequal 16 byte alignments.
26061 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26063         [BZ #13928]
26064         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26065         from a CNAME entry and return the minimum ttl for the query.
26066         (gaih_getanswer_slice): Likewise.
26068 2012-03-30  Jeff Law  <law@redhat.com>
26070         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26071         due to long keys.
26072         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26073         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26075         * resolv/nss_dns/dns-host.c: Update copyright year.
26077 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26079         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26080         requests to save a system call.  Fix check that all bytes are sent.
26082         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26083         comments for sendmmsg.
26085 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26087         [BZ #13691]
26088         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26089         with only 1 character between 0x0041 and 0x01b0.
26090         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26091         * wcsmbs/tst-mbsnrtowcs.c: New file.
26093 2012-03-29  David S. Miller  <davem@davemloft.net>
26095         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26096         small copies by hand.
26098 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26100         [BZ #13761]
26101         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26102         _nss_compat_initgroups_dyn): Fall back to malloc/free
26103         for large group memberships.
26105 2012-03-28  David S. Miller  <davem@davemloft.net>
26107         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26108         that branches into memcpy.
26109         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26110         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26111         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26112         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26114         bits.
26115         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26116         implementation too.
26117         * sysdeps/sparc/mempcpy.S: New file.
26119         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26120         the IFUNC routine in the libc case.
26121         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26123         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26124         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26125         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26126         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26127         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26128         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26129         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26130         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26132         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26133         loop to 256 bytes instead of 64 bytes and fix test signedness.
26135         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26136         * sysdeps/sparc/sparc32/Makefile: rather than here...
26137         * sysdeps/sparc/sparc64/Makefile: and here.
26139 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26141         * malloc/mallocbug.c: Avoid warnings about unused variables.
26143 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26145         [BZ #13760]
26146         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26147         in the right place. Discard and retry query if response is
26148         larger than input buffer size.
26150 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26152         [BZ #369]
26153         [BZ #2678]
26154         [BZ #3866]
26155         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26156         x for large integer exponent.
26157         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26158         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26159         sign of result as needed afterwards.
26160         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26161         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26162         result for underflowing pow the same as for overflow.
26163         (__kernel_standard_l): Handle powl overflow and underflow here
26164         rather than calling __kernel_standard.
26165         * math/libm-test.inc (pow_test): Add more tests.
26167         [BZ #3868]
26168         [BZ #13879]
26169         [BZ #13910]
26170         [BZ #13911]
26171         [BZ #13912]
26172         [BZ #13913]
26173         [BZ #13915]
26174         [BZ #13916]
26175         [BZ #13917]
26176         [BZ #13918]
26177         [BZ #13919]
26178         [BZ #13920]
26179         [BZ #13921]
26180         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26181         * sysdeps/ieee754/k_standard.c: Include <float.h>.
26182         (__kernel_standard_l): New function.
26183         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26184         __kernel_standard.
26185         * math/w_acosl.c (__acosl): Likewise.
26186         * math/w_asinl.c (__asinl): Likewise.
26187         * math/w_atan2l.c (__atan2l): Likewise.
26188         * math/w_atanhl.c (__atanhl): Likewise.
26189         * math/w_coshl.c (__coshl): Likewise.
26190         * math/w_exp10l.c (__exp10l): Likewise.
26191         * math/w_exp2l.c (__exp2l): Likewise.
26192         * math/w_fmodl.c (__fmodl): Likewise.
26193         * math/w_hypotl.c (__hypotl): Likewise.
26194         * math/w_j0l.c (__j0l, __y0l): Likewise.
26195         * math/w_j1l.c (__j1l, __y1l): Likewise.
26196         * math/w_jnl.c (__jnl, __ynl): Likewise.
26197         * math/w_lgammal.c (__lgammal): Likewise.
26198         * math/w_log10l.c (__log10l): Likewise.
26199         * math/w_log2l.c (__log2l): Likewise.
26200         * math/w_logl.c (__logl): Likewise.
26201         * math/w_powl.c (__powl): Likewise.
26202         * math/w_remainderl.c (__remainderl): Likewise.
26203         * math/w_scalbl.c (sysv_scalbl): Likewise.
26204         * math/w_sinhl.c (__sinhl): Likewise.
26205         * math/w_sqrtl.c (__sqrtl): Likewise.
26206         * math/w_tgammal.c (__tgammal): Likewise.
26207         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26208         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26209         * math/libm-test.inc (acos_test): Add more tests.
26210         (acosh_test): Likewise.
26211         (asin_test): Likewise.
26212         (atanh_test): Likewise.
26213         (exp_test): Likewise.
26214         (exp10_test): Likewise.
26215         (exp2_test): Likewise.
26216         (expm1_test): Likewise.
26217         (lgamma_test): Likewise.
26218         (log_test): Likewise.
26219         (log10_test): Likewise.
26220         (log1p_test): Likewise.
26221         (log2_test): Likewise.
26222         (pow_test): Do not allow some spurious overflow exceptions.
26223         (sqrt_test): Add more tests.
26224         (tgamma_test): Likewise.
26225         (y0_test): Likewise.
26226         (y1_test): Likewise.
26227         (yn_test): Likewise.
26229 2012-03-27  Anton Blanchard  <anton@samba.org>
26231         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26232         MAP_HUGETLB.
26233         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26234         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26235         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26237 2012-03-27  David S. Miller  <davem@davemloft.net>
26239         * conform/Makefile: Run run-conformtest.sh using $(BASH).
26241         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26242         have-as-vis3 check.
26244 2012-03-27  Andreas Jaeger  <aj@suse.de>
26246         * sysdeps/x86_64/elf/configure.in: Moved to ...
26247         * sysdeps/x86_64/configure.in: ... here.
26248         * sysdeps/x86_64/elf/start.S: Moved to ...
26249         * sysdeps/x86_64/start.S: ... here.
26250         * sysdeps/x86_64/elf/configure: Delete.
26252         * sysdeps/x86_64/configure.in: Merge contents from
26253         sysdeps/i386/configure.in (without i686 check).
26255         * sysdeps/i386/elf/Versions: Merge into ...
26256         * sysdeps/i386/Versions: ... this.
26257         * sysdeps/i386/elf/Versions: Delete file.
26258         * sysdeps/i386/elf/start.S: Moved to ...
26259         * sysdeps/i386/start.S: ...here.
26260         * sysdeps/i386/elf/configure.in: Merge into...
26261         * sysdeps/i386/configure.in: ...here.
26262         * sysdeps/i386/elf/configure.in: Delete file.
26263         * sysdeps/i386/elf/configure: Delete file.
26265         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26266         * debug/backtracesyms.c: ... here.
26267         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26268         * debug/backtracesymsfd.c: ... here.
26269         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26270         * sysdeps/generic/ifunc-sel.h: ... here.
26272         * sysdeps/unix/i386/start.c: Delete file.
26273         * sysdeps/unix/sparc/start.c: Delete file.
26274         * sysdeps/unix/start.c: Delete file.
26276         * sysdeps/sh/elf/configure.in: Moved to ...
26277         * sysdeps/sh/configure.in: ... here.
26278         * sysdeps/sh/elf/start.S: Moved to ...
26279         * sysdeps/sh/start.S: ... here.
26280         * sysdeps/sh/elf/configure: Delete file.
26282         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26283         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26284         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26285         * sysdeps/powerpc/powerpc64/entry.h: ... here.
26286         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26287         * sysdeps/powerpc/powerpc64/start.S: here.
26288         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26289         * sysdeps/powerpc/powerpc64/Makefile: ... this.
26290         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26291         * sysdeps/powerpc/powerpc64/configure.in: ... this.
26292         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26294         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26295         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26296         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26297         * sysdeps/powerpc/powerpc32/start.S: ... here.
26298         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26299         * sysdeps/powerpc/powerpc32/configure.in: ... this.
26300         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26302         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26303         * sysdeps/powerpc/ifunc-sel.h: ... here.
26304         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26305         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26307         * sysdeps/sparc/elf/configure.in: Moved to ...
26308         * sysdeps/sparc/configure.in: ... here.
26309         * sysdeps/sparc/elf/configure: Delete file.
26310         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26311         * sysdeps/sparc/sparc32/start.S: ... here.
26312         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26313         * sysdeps/sparc/sparc64/start.S: ... here.
26314         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26315         * sysdeps/sparc/sparc32/Makefile: ... this.
26316         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26317         * sysdeps/sparc/sparc64/Makefile: ... this.
26319         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26320         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26321         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26322         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26323         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26324         * sysdeps/s390/s390-32/setjmp.S: ... here.
26325         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26326         * sysdeps/s390/s390-32/configure.in: ... here.
26327         * sysdeps/s390/s390-32/elf/configure: Delete file.
26328         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26329         * sysdeps/s390/s390-32/start.S: ... here.
26331         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26332         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26333         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26334         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26335         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26336         * sysdeps/s390/s390-64/setjmp.S: ... here.
26337         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26338         * sysdeps/s390/s390-64/configure.in: ... here
26339         * sysdeps/s390/s390-64/elf/configure: Delete file.
26340         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26341         * sysdeps/s390/s390-64/start.S: ... here.
26342         * sysdeps/s390/s390-64/elf/configure: Delete.
26344         * configure.in: Remove support for elf directories in sysdeps.
26346         * configure: Regenerated.
26347         * sysdeps/i386/configure: Regenerated.
26348         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26349         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26350         * sysdeps/s390/s390-32/configure: Regenerated.
26351         * sysdeps/s390/s390-64/configure: Regenerated.
26352         * sysdeps/sh/configure: Regenerated.
26353         * sysdeps/sparc/configure: Regenerated.
26354         * sysdeps/x86_64/configure: Regenerated.
26356 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
26358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26360         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26361         denormal result into account.
26363 2012-03-25  Roland McGrath  <roland@hack.frob.com>
26365         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26366         Reported by Allan McRae <allan@archlinux.org>.
26368 2012-03-23  Jeff Law  <law@redhat.com>
26370         * nss/getnssent.c (__nss_getent): Fix typo.
26372 2012-03-23  David S. Miller  <davem@davemloft.net>
26374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26376 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
26378         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26379         to pad to uint64_t for each field.
26380         (dl_tls_index): Replace unsigned long with uint64_t.
26382 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
26383         Paul Pluzhnikov  <ppluzhnikov@google.com>
26385         [BZ #6528]
26386         * grp/Makefile (otherlibs): Don't set it.
26387         * inet/Makefile (otherlibs): Likewise.
26388         * login/Makefile (otherlibs): Likewise.
26389         * nscd/Makefile (otherlibs): Likewise.
26390         * posix/Makefile (otherlibs): Likewise.
26391         * pwd/Makefile (otherlibs): Likewise.
26392         * rt/Makefile (otherlibs): Likewise.
26393         * sunrpc/Makefile (otherlibs): Likewise.
26394         * nss/Makefile (otherlibs): Likewise.
26395         Add libnss_files to routines and static-only-routines.
26396         ($(objpfx)getent): Remove rule.
26397         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26398         static-only-routines.
26400 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26402         [BZ #13892]
26403         * math/s_cexp.c: Include <float.h>.
26404         (__cexp): Handle exp result overflowing not necessarily
26405         overflowing both real and imaginary parts of result.
26406         * math/s_cexpf.c: Likewise.
26407         * math/s_cexpl.c: Likewise.
26408         * math/libm-test.inc (cexp_test): Add more tests.
26409         * sysdeps/i386/fpu/libm-test-ulps: Update.
26410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26412 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26414         * include/link.h (ELFW): New macro.
26415         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26416         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26418 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26420         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26421         with uint64_t.
26423 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26425         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26426         declaration.
26427         (struct La_x32_retval): Likewise.
26429 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26431         * sysdeps/x86_64/preconfigure.in: New file.
26432         * sysdeps/x86_64/preconfigure: New generated file.
26434 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26436         [BZ #13824]
26437         * math/e_exp2l.c: Include <float.h>.
26438         (__ieee754_exp2l): Handle overflow and underflow cases
26439         separately.  Only pass fractional part of argument to
26440         __ieee754_expl.
26441         * math/libm-test.inc (exp2_test): Add more tests.
26443         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26444         negating x to take absolute value.
26445         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26446         Likewise.
26447         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26448         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26449         Likewise.
26450         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26451         computing low part if x was negated.
26452         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26454 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26456         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26457         la_x32_gnu_pltexit.
26458         (pltexit): Cast int_retval to ptrdiff_t.
26459         * elf/tst-auditmod3b.c: Likewise.
26460         * elf/tst-auditmod4b.c: Likewise.
26461         * elf/tst-auditmod5b.c: Likewise.
26462         * elf/tst-auditmod6b.c: Likewise.
26463         * elf/tst-auditmod6c.c: Likewise.
26464         * elf/tst-auditmod7b.c: Likewise.
26466         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26467         and x32_gnu_pltexit.
26469         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26470         __ELF_NATIVE_CLASS.
26471         (La_x32_regs): New macro.
26472         (La_x32_retval): Likewise.
26473         (la_x32_gnu_pltenter): New function prototype.
26474         (la_x32_gnu_pltexit): Likewise.
26476 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26478         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26479         exponent.
26481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26483         * configure.in (libc_cv_cc_nofma): Check for option to disable
26484         generation of FMA instructions.
26485         * configure: Regenerate.
26486         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26487         * sysdeps/ieee754/dbl-64/Makefile: New file.
26488         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26489         Remove brandred-fma4.
26490         (CFLAGS-brandred-fma4.c): Remove.
26491         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26492         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26493         define.
26494         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26495         define.
26497 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26499         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26500         LLONG_MAX != LONG_MAX.
26501         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26502         (_fitoa_word): Likewise.
26503         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26504         LLONG_MAX != LONG_MAX.
26505         * stdio-common/_itowa.h: Include <_itoa.h>.
26506         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26507         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26508         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26509         only if not defined.
26510         (_ITOA_WORD_TYPE): Likewise.
26511         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26512         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26514 2012-03-21  David S. Miller  <davem@davemloft.net>
26516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26518 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26520         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26521         of x86_64 when setting libc_cv_slibdir, libdir and
26522         libc_cv_localedir.
26523         * sysdeps/unix/sysv/linux/configure: Regenerated.
26525 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26527         * manual/lang.texi (Old Varargs): Remove section.
26528         (How Variadic): Update menu.
26529         (va_start): Do not mention varargs.h.
26531 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26532             Joseph Myers  <joseph@codesourcery.com>
26534         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26535         link test.
26536         * configure: Regenerated.
26538 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26540         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26541         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26542         conformtest.pl
26544 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26546         * NOTES: Remove.
26547         * Makefile (files-for-dist): Remove NOTES.
26548         (NOTES): Remove rule.
26549         * README: Don't refer to NOTES.
26550         * manual/creature.texi: Don't include macros.texi.
26551         * manual/intro.texi (creature.texi): Remove comment referring to
26552         NOTES.
26554         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26555         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26556         * configure: Regenerated.
26557         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26558         LIBC_TRY_CC_OPTION.
26559         (libc_cv_as_i686): Likewise.
26560         (libc_cv_cc_avx): Likewise.
26561         (libc_cv_cc_sse2avx): Likewise.
26562         (libc_cv_cc_fma4): Likewise.
26563         (libc_cv_cc_novzeroupper): Likewise.
26564         * sysdeps/i386/configure: Regenerated.
26566         [BZ #13883]
26567         * sysdeps/i386/fpu/s_cexp.S: Remove.
26568         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26569         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26570         * math/libm-test.inc (cexp_test): Add more tests.
26571         * sysdeps/i386/fpu/libm-test-ulps: Update.
26572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26574 2012-03-21  Allan McRae  <allan@archlinux.org>
26576         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26578 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26580         [BZ #13871]
26581         * math/w_exp2.c: Do not include <float.h>.
26582         (o_threshold, u_threshold): Remove.
26583         (__exp2): Calculate result before checking finiteness and calling
26584         __kernel_standard.
26585         * math/w_exp2f.c: Likewise.
26586         * math/w_exp2l.c: Likewise.
26587         * math/libm-test.inc (exp2_test): Require overflow exception for
26588         1e6 input.
26590         [BZ #3866]
26591         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26592         range of signed 64-bit integers before using fistpll.  Remove
26593         checks for whether integers fit in mantissa bits.
26594         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26595         the range of signed 32-bit integers before using fistpl.  Remove
26596         checks for whether integers fit in mantissa bits.
26597         * sysdeps/i386/fpu/e_powl.S (p64): New object.
26598         (__ieee754_powl): Test for y outside the range of signed 64-bit
26599         integers before using fistpll.  Reduce 64-bit values to 63-bit
26600         ones as needed.
26601         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26602         divide-by-zero is raised for zero to large negative powers.
26603         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26604         (__ieee754_powl): Test for y outside the range of signed 64-bit
26605         integers before using fistpll.  Reduce 64-bit values to 63-bit
26606         ones as needed.
26607         * math/libm-test.inc (pow_test): Add more tests.
26609 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26611         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26612         <stdio-common/_itoa.h>.
26613         * debug/segfault.c: Likewise.
26614         * elf/dl-cache.c: Likewise.
26615         * elf/dl-minimal.c: Likewise.
26616         * elf/dl-misc.c: Likewise.
26617         * elf/dl-sysdep.c: Likewise.
26618         * elf/dl-version.c: Likewise.
26619         * elf/rtld.c: Likewise.
26620         * hurd/hurdsock.c: Likewise.
26621         * hurd/lookup-retry.c: Likewise.
26622         * malloc/malloc.c: Likewise.
26623         * malloc/mtrace.c: Likewise.
26624         * nscd/nscd_getgr_r.c: Likewise.
26625         * nscd/nscd_getpw_r.c: Likewise.
26626         * nscd/nscd_getserv_r.c: Likewise.
26627         * posix/getopt_init.c: Likewise.
26628         * posix/wordexp.c: Likewise.
26629         * stdio-common/_itoa.c: Likewise.
26630         * stdio-common/printf_fphex.c: Likewise.
26631         * stdio-common/vfprintf.c: Likewise.
26632         * string/_strerror.c: Likewise.
26633         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26634         * sysdeps/i386/i686/hp-timing.h: Likewise.
26635         * sysdeps/mach/_strerror.c: Likewise.
26636         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26637         * sysdeps/mach/hurd/sethostid.c: Likewise.
26638         * sysdeps/mach/hurd/xmknodat.c: Likewise.
26639         * sysdeps/mach/xpg-strerror.c: Likewise.
26640         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26641         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26642         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26643         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26644         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26645         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26646         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26647         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26648         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26649         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26650         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26651         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26652         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26653         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26654         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26655         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26656         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26657         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26658         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26659         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26660         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26662         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26664         * stdio-common/_itoa.h: Moved to ...
26665         * sysdeps/generic/_itoa.h: Here.
26667         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26669         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26670         instead of "_itoa.h" and "_itowa.h".
26671         * stdio-common/vfprintf.: Likewise.
26673 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26675         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26676         <bits/wordsize.h>.
26677         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26678         (__signbit): Likwise.
26679         (llrintf): Likwise.
26680         (llrint): Likwise.
26682 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26684         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26685         __WORDSIZE != 64.
26687 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
26689         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26690         OVERFLOW_EXCEPTION_OK.
26691         * math/libm-test.inc ("Philosophy"): Update comment about
26692         exception testing.
26693         (OVERFLOW_EXCEPTION): Define.
26694         (OVERFLOW_EXCEPTION_OK): Likewise.
26695         (INVALID_EXCEPTION_OK): Renumber.
26696         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26697         (IGNORE_ZERO_INF_SIGN): Likewise.
26698         (test_exceptions): Handle FE_OVERFLOW.
26699         (exp10_test): Expect overflow exceptions.
26700         (exp2_test): Likewise.
26701         (expm1_test): Likewise.
26702         (nextafter_test): Likewise.
26703         (pow_test): Likewise.
26704         (scalbn_test): Likewise.
26705         (scalbln_test): Likewise.
26707 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26709         * sysdeps/x86_64/bits/atomic.h
26710         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26711         64bit integer.
26712         (atomic_exchange_acq): Likewise.
26713         (__arch_exchange_and_add_body): Likewise.
26714         (__arch_add_body): Likewise.
26715         (atomic_add_negative): Likewise.
26716         (atomic_add_zero): Likewise.
26718 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26720         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26721         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26723 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26725         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26726         Check __x86_64__ instead of __WORDSIZE.
26728 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26730         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26732 2012-03-19  David S. Miller  <davem@davemloft.net>
26734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26736         * sysdeps/sparc/fpu/fenv_private.h: New file.
26737         * sysdeps/sparc/fpu/math_private.h: Use it.
26738         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26739         Remove.
26740         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26741         (libc_feholdexcept_setroundl): Remove.
26742         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26743         Remove.
26744         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26745         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26747 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26749         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26750         int64_t instead of long int.
26751         (INSERT_WORDS64): Likwise.
26753 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26755         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26756         _Unwind_GetCFA return to _Unwind_Ptr first.
26758 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
26760         [BZ #13629]
26761         * math/s_clog.c: Include <float.h>.
26762         (__clog): Scale large or subnormal inputs.
26763         * math/s_clogf.c: Likewise.
26764         * math/s_clogl.c: Likewise.
26765         * math/s_clog10.c: Include <float.h>.
26766         (M_LOG10_2): Define.
26767         (__clog10): Scale large or subnormal inputs.
26768         * math/s_clog10f.c: Likewise.
26769         * math/s_clog10l.c: Likewise.
26770         * math/libm-test.inc (clog_test): Add more tests.
26771         (clog10_test): Likewise.
26772         * sysdeps/i386/fpu/libm-test-ulps: Update.
26773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26775         [BZ #11451]
26776         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26777         x and y.
26778         * math/libm-test.inc (atan2_test): Add another test.
26780         * Makerules (common-objdir-compile): Remove.
26781         * sysdeps/unix/Makefile (config-generated): Do not add
26782         $(unix-generated) to variable.
26783         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26784         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26785         Remove rule.
26786         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26787         Likewise.
26788         [generic bits/local_lim.h] (before-compile): Do not append to
26789         variable.
26790         [generic bits/local_lim.h] (common-generated): Likewise.
26791         [generic sys/param.h] (before-compile): Do not append to variable.
26792         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26793         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26794         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26795         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26796         include.
26797         [generic sys/param.h] (sys/param.h-includes): Remove variable.
26798         [generic sys/param.h] (sys/param.h-includes): Remove rule.
26799         [generic sys/param.h] ($(addprefix
26800         $(common-objpfx),$(sys/param.h-includes))): Likewise.
26801         [generic sys/param.h] (common-generated): Do not append to
26802         variable.
26803         [generic sys/param.h] (sysdep_headers): Likewise.
26804         [generic bits/errno.h] (before-compile): Do not append to
26805         variable.
26806         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26807         rule.
26808         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26809         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26810         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26811         [generic bits/errno.h] (common-generated): Do not append to
26812         variable.
26813         [generic bits/ioctls.h] (before-compile): Do not append to
26814         variable.
26815         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26816         rule.
26817         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26818         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26819         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26820         rule.
26821         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26822         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26823         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26824         [generic bits/ioctls.h] (common-generated): Do not append to
26825         variable.
26826         [generic sys/syscall.h] (syscall.h): Remove variable.
26827         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26828         rule.
26829         [generic sys/syscall.h] (before-compile): Do not append to
26830         variable.
26831         [generic sys/syscall.h] (common-generated): Likewise.
26832         * sysdeps/unix/errnos-tmpl.c: Remove file.
26833         * sysdeps/unix/errnos.awk: Likewise.
26834         * sysdeps/unix/ioctls-tmpl.c: Likewise.
26835         * sysdeps/unix/ioctls.awk: Likewise.
26836         * sysdeps/unix/mk-local_lim.c: Likewise.
26837         * sysdeps/unix/snarf-ioctls: Likewise.
26839 2012-03-19  Richard Henderson  <rth@twiddle.net>
26841         * sysdeps/i386/fpu/fenv_private.h: New file.
26842         * sysdeps/i386/fpu/math_private.h: Use it.
26843         (math_opt_barrier, math_force_eval): Remove.
26844         (libc_feholdexcept_setround_53bit): Remove.
26845         (libc_feupdateenv_53bit): Remove.
26846         * sysdeps/x86_64/fpu/math_private.h: Likewise.
26847         (math_opt_barrier, math_force_eval): Remove.
26848         (libc_feholdexcept): Remove.
26849         (libc_feholdexcept_setround): Remove.
26850         (libc_fetestexcept, libc_fesetenv): Remove.
26851         (libc_feupdateenv_test): Remove.
26852         (libc_feupdateenv, libc_feholdsetround): Remove.
26853         (libc_feresetround): Remove.
26855         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26856         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26858         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26859         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26860         (libc_feupdateenv_testl): New.
26861         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26862         (libc_feupdateenv_testf): New.
26863         (libc_feupdateenv): Use libc_feupdateenv_test.
26864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26865         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26867         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26868         (libc_feholdsetroundf, libc_feholdsetroundl): New.
26869         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26870         (libc_feresetround_noex): New.
26871         (libc_feresetround_noexf): New.
26872         (libc_feresetround_noexl): New.
26873         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26874         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26875         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26876         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26877         SET_RESTORE_ROUND.
26878         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26879         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26880         (__cos): Likewise.
26881         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26882         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26883         SET_RESTORE_ROUND_NOEX.
26884         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26885         SET_RESTORE_ROUND_NOEXF.
26886         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26887         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26888         (libc_feholdsetroundf): New.
26889         (libc_feresetround, libc_feresetroundf): New.
26891         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26892         (libc_feholdexcept_setround_53bit): Convert from macro to function.
26893         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
26895         * sysdeps/generic/math_private.h: Include <fenv.h>.
26896         (default_libc_feholdexcept): New.
26897         (default_libc_feholdexcept_setround): New.
26898         (default_libc_fesetenv, default_libc_feupdateenv): New.
26899         (libc_feholdexcept): Only define if undefined.
26900         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26901         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26902         (libc_feholdexcept_setroundl): Likewise.
26903         (libc_feholdexcept_setround_53bit): Likewise.
26904         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26905         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26906         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26907         (libc_feupdateenv_53bit): Likewise.
26908         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26909         (libc_feholdexcept): Convert from macro to inline function.
26910         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26911         (libc_fesetenv, libc_feupdateenv): Likewise.
26913         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26914         not previously defined.
26915         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26916         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26917         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26918         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26919         * sysdeps/ieee754/flt-32/math_private.h: New file.
26920         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26921         math_private.h below SET_FLOAT_WORD.
26922         (__isnan, __isinf_ns, __finite): Remove.
26923         (__isnanf, __isinf_nsf, __finitef): Remove.
26925 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
26927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26929 2012-03-17  David S. Miller  <davem@davemloft.net>
26931         [BZ #6471]
26932         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26933         for 2.16.
26935 2012-03-16  David S. Miller  <davem@davemloft.net>
26937         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26938         warnings.
26940         [BZ #6471]
26941         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26942         properly.
26943         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26944         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26945         sysdep_routines when subdir is sysvipc.
26946         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26947         __getshmlba helper.
26949         * sysdeps/sparc/fpu/libm-test/ulps: Update.
26951 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26953         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26954         [__LP64__].
26956 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26958         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26959         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26960         (__lround): Renamed to ...
26961         (__llround): This.  Replace long int with long long int.
26962         Define lround functions as aliases of llround functions.
26963         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26967         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26968         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
26969         adresses to uintptr_t.  Replace "long int" and "unsigned long
26970         int" with "greg_t" on va_arg.
26972 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26974         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26975         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26977         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26978         Move e_machine check before EI_CLASS check.  Handle x32
26979         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26980         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26981         SKIP_EM_IA_64 and include
26982         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26984         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26985         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26986         (add_system_dir): New macro.
26988         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26989         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26991 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
26993         [BZ #2551]
26994         [BZ #2552]
26995         [BZ #2553]
26996         [BZ #2554]
26997         [BZ #2562]
26998         [BZ #2563]
26999         [BZ #2565]
27000         [BZ #2566]
27001         [BZ #2576]
27002         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27003         (y0): Likewise.
27004         * math/w_j0f.c (j0f): Likewise.
27005         (y0f): Likewise.
27006         * math/w_j0l.c (__j0l): Likewise.
27007         (__y0l): Likewise.
27008         * math/w_j1.c (j1): Likewise.
27009         (y1): Likewise.
27010         * math/w_j1f.c (j1f): Likewise.
27011         (y1f): Likewise.
27012         * math/w_j1l.c (__j1l): Likewise.
27013         (__y1l): Likewise.
27014         * math/w_jn.c (jn): Likewise.
27015         (yn): Likewise.
27016         * math/w_jnf.c (jnf): Likewise.
27017         (ynf): Likewise.
27018         * math/w_jnl.c (__jnl): Likewise.
27019         (__ynl): Likewise.
27020         * math/libm-test.inc (j0_test): Add more tests.
27021         (j1_test): Likewise.
27022         (jn_test): Likewise.  Add trailing semicolon to existing test.
27023         (y0_test): Likewise.
27024         (y1_test): Likewise.
27025         * sysdeps/i386/fpu/libm-test-ulps: Update.
27026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27028         [BZ #13851]
27029         [BZ #13854]
27030         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27031         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27032         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27033         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27034         (__tanl): Set errno for infinite argument.
27035         * sysdeps/i386/fpu/mptan.c: Remove.
27036         * sysdeps/i386/fpu/s_tan.S: Likewise.
27037         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27038         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27039         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27040         * math/libm-test.inc (tan_test): Add more tests and enable more
27041         tests for double and long double.
27042         * sysdeps/i386/fpu/libm-test-ulps: Update.
27043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27045 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27047         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27048         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27050 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27052         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27053         * configure.in: Use it for both main tree and add-ons.
27054         * configure: Regenerated.
27056 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27058         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27060 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27062         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27063         in comment.
27065         [BZ #13851]
27066         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27067         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27068         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27069         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27070         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27071         infinite argument.
27072         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27073         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27074         != 0 for prec == 2.
27075         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27076         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27077         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27078         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27079         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27080         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27081         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27082         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27083         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27084         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27085         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27086         * math/libm-test.inc (cos_test): Add more tests and enable more
27087         tests for long double.
27088         (sin_test): Likewise.
27089         (sincos_test): Likewise.
27090         * sysdeps/i386/fpu/libm-test-ulps: Update.
27091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27093 2012-03-16  David S. Miller  <davem@davemloft.net>
27095         * sysdeps/sparc/fpu/math_private.h: New file.
27097 2012-03-15  David S. Miller  <davem@davemloft.net>
27099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27100         file.
27101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27103         file.
27104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27109         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27110         sysdep routines.
27111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27113         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27114         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27116         * sysdeps/sparc/sparc-ifunc.h: New file.
27117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27118         sparc-ifunc.h
27119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27121         Likewise.
27122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27123         Likewise.
27124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27128         Likewise.
27129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27134         Likewise.
27135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27136         Likewise.
27137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27144         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27155         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27157         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27158         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27159         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27160         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27162 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27164         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27165         scaling.
27166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27168 2012-03-15  Andreas Jaeger  <aj@suse.de>
27170         [BZ #13852]
27171         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27172         ieee754/flt-32 implementation for sin, cos and sincos.
27173         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27174         * sysdeps/i386/fpu/s_cosf.S: Likewise.
27175         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27176         * sysdeps/i386/fpu/s_sinf.S: Likewise.
27177         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27178         ieee754/flt-32 implementation for tan.
27180         * math/libm-test.inc (cos_test): Enable some large input tests for
27181         float as well
27182         (sin_test): Likewise.
27183         (sincos_test): Likewise.
27184         (tan_test): Add tests for large input.
27186         * sysdeps/i386/fpu/libm-test-ulps: Update.
27188 2012-03-15  Andreas Jaeger  <aj@suse.de>
27190         [BZ #13658]
27191         * math/libm-test.inc (cos_test): Add more test cases.
27192         (sin_test): Likewise.
27193         (sincos_test): Likewise.
27195 2012-03-15  Andreas Jaeger  <aj@suse.de>
27197         [BZ #13837]
27198         * math/libm-test.inc (cos_test): Add a test case for large input
27199         value.
27200         (sin_test): Likewise.
27201         (sincos_test): Likewise.
27203 2012-03-15  Andreas Jaeger  <aj@suse.de>,
27204         Joseph Myers  <joseph@codesourcery.com>
27206         [BZ #13658]
27207         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27208         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27209         * sysdeps/i386/fpu/branred.c: Likewise.
27210         * sysdeps/i386/fpu/dosincos.c: Likewise.
27211         * sysdeps/i386/fpu/mpa.c: Likewise.
27212         * sysdeps/i386/fpu/s_cos.S: Likewise.
27213         * sysdeps/i386/fpu/s_sin.S: Likewise.
27214         * sysdeps/i386/fpu/s_sincos.S: Likewise.
27215         * sysdeps/i386/fpu/sincos32.c: Likewise.
27217         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27218         Define.
27219         (libc_feupdateenv_53bit): Define.
27220         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27221         Define.
27222         (libc_feupdateenv_53bit): Define.
27224         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27225         53 bit (without extend i386 double precision).
27227         * math/libm-test.inc (sincos_test): Add tests for large input.
27228         (sin): Likewise.
27229         (cos): Likewise.
27231         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27233 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27237 2012-03-15  David S. Miller  <davem@davemloft.net>
27239         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27240         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27241         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27242         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27255         file.
27256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27258         file.
27259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27261         file.
27262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27264         file.
27265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27266         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27267         fmin/fmax sysdep routines.
27268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27270 2012-03-14  David S. Miller  <davem@davemloft.net>
27272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27276         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27279         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27292         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27293         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27295         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27296         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27297         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27299         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27300         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27301         routines.
27302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27303         file.
27304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27306         file.
27307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27309         file.
27310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27312         file.
27313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27315         file.
27316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27318         file.
27319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27320         file.
27321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27322         file.
27323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27324         file.
27325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27326         New file.
27327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27328         file.
27329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27330         file.
27331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27333         file.
27334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27336         file.
27337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27339         file.
27340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27342         VIS3 routines.
27344         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27345         New file.
27347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27349         * sysdeps/sparc/configure.in: New file.
27350         * sysdeps/sparc/configure: Generate.
27351         * configure.in (libc_cv_sparc_as_vis3): Substitute.
27352         * configure: Regenerate.
27353         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27354         * config.make.in (have-as-vis3): New.
27355         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27356         available use -Av9d instead of -Av9a.
27357         * sysdeps/sparc/sparc64/Makefile: Likewise.
27358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27360         New file.
27361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27362         file.
27363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27364         New file.
27365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27366         file.
27367         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27368         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27369         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27371         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27373         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27374         fzeros/fnegs to load 0x80000000 into a float register instead of
27375         using the stack.
27376         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27378 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27381         bits/syscall.h.
27382         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27383         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27384         ($(inst_includedir)/bits/syscall.h): Remove rule.
27385         ($(objpfx)bits/syscall.d): Include instead of
27386         $(objpfx)syscall-list.d.
27387         (generated): Change syscall-list.h and syscall-list.d to
27388         bits/syscall.h and bits/syscall.d.
27390 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27392         [BZ #13846]
27393         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27395 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27397         [BZ #13841]
27398         * math/s_csqrt.c: Include <float.h>.
27399         (__csqrt): Scale large or subnormal inputs.
27400         * math/s_csqrtf.c: Likewise.
27401         * math/s_csqrtl.c: Likewise.
27402         * math/libm-test.inc (csqrt_test): Add more tests.
27403         * sysdeps/i386/fpu/libm-test-ulps: Update.
27404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27406         [BZ #13840]
27407         * math/libm-test.inc (hypot_test): Add more tests.
27409 2012-03-13  David S. Miller  <davem@davemloft.net>
27411         [BZ #13840]
27412         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27413         double-precision for the calculation instead of scaling.
27415 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27417         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27418         manipulate bits before adding and subtracting TWO52[sx].
27419         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27420         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27421         Likewise.
27422         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27424 2012-03-13  David S. Miller  <davem@davemloft.net>
27426         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27427         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27428         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27429         rtld-global-offsets.h
27430         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27432         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27433         large parameters.
27435         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27437         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27438         'err' in the ifdef scope in which it is actually used.
27440         * nss/nss_db/db-init.c: Include string.h
27442 2012-03-12  David S. Miller  <davem@davemloft.net>
27444         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27445         masking out of the most significant byte of random value used.
27446         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27447         Fix coding style in previous change.
27449         * sysdeps/unix/sysv/linux/kernel-features.h
27450         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27451         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27452         expression.
27453         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27454         later.
27456 2012-03-11  David S. Miller  <davem@davemloft.net>
27458         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27459         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27460         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27461         for 'resultvar' otherwise things get truncated on 64-bit.
27463         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27464         Fix masking out of the most significant byte of random value used.
27466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27468 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27472 2012-03-09  David S. Miller  <davem@davemloft.net>
27474         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27475         variables with appropriate CPP guards.
27476         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27477         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27478         on resulting framesize and the management of the outregs buffer for pltexit.
27479         Preserve floating point return values across _dl_call_pltexit call.
27480         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27481         framesize and the management of the outregs buffer for pltexit.
27482         Preserve floating point return values across _dl_call_pltexit
27483         call.
27484         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27485         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27486         (print_exit): Fix format string for return register value.
27488 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27490         * sunrpc/Makefile (others): Add rpcgen.
27491         ($(objpfx)rpcgen): Remove special build rule and dependency on
27492         libc.
27493         * sunrpc/rpcgen.c: New file.
27495 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27497         [BZ #13673]
27498         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27499         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27500         * sysdeps/i386/crti.S: Likewise.
27501         * sysdeps/i386/crtn.S: Likewise.
27502         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27503         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27504         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27505         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27506         * sysdeps/sh/crti.S: Likewise.
27507         * sysdeps/sh/crtn.S: Likewise.
27508         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27510         [BZ #13673]
27511         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27512         with URL.
27513         * locale/programs/locfile-kw.gperf: Likewise.
27514         * locale/programs/charmap-kw.h: Regenerated.
27515         * locale/programs/locfile-kw.h: Likewise.
27517         [BZ #13673]
27518         * intl/plural.y: Replace FSF snail mail address with URL.
27519         * intl/plural.c: Regenerated.
27521 2012-03-09  Richard Henderson  <rth@twiddle.net>
27523         * include/math_private.h: Remove file.
27524         * math/math_private.h: Move file ...
27525         * sysdeps/generic/math_private.h: ... here.
27527         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27528         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27529         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27531         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27532         and <math_private.h>.
27533         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27534         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27535         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27536         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27537         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27538         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27539         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27540         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27541         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27542         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27543         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27544         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27545         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27546         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27547         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27548         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27549         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27550         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27551         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27552         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27553         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27554         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27555         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27556         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27557         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27558         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27559         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27560         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27562         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27563         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27564         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27565         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27566         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27567         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27568         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27569         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27570         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27571         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27572         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27573         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27574         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27575         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27576         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27577         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27578         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27579         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27580         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27581         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27582         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27583         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27584         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27585         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27586         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27587         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27588         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27589         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27590         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27591         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27592         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27593         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27594         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27595         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27596         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27597         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27598         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27599         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27600         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27601         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27602         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27603         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27604         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27605         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27606         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27607         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27608         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27609         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27610         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27611         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27612         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27613         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27614         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27615         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27616         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27617         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27618         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27619         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27620         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27621         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27622         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27623         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27624         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27625         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27626         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27627         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27628         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27629         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27630         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27631         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27632         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27633         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27634         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27635         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27636         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27637         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27638         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27639         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27640         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27641         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27642         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27643         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27644         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27645         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27646         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27647         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27648         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27649         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27650         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27651         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27652         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27653         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27654         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27655         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27656         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27657         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27658         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27659         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27660         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27661         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27662         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27663         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27664         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27665         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27666         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27667         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27668         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27669         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27670         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27671         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27672         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27673         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27674         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27675         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27676         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27677         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27678         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27679         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27680         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27681         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27682         * sysdeps/ieee754/k_standard.c: Likewise.
27683         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27684         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27685         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27686         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27687         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27688         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27689         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27690         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27691         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27692         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27693         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27694         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27695         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27696         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27697         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27698         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27699         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27700         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27701         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27702         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27703         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27704         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27705         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27706         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27707         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27708         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27709         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27710         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27711         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27712         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27713         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27714         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27715         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27716         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27717         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27718         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27719         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27720         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27721         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27722         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27723         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27724         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27725         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27726         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27727         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27728         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27729         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27730         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27731         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27732         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27733         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27734         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27735         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27736         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27737         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27738         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27739         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27740         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27741         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27742         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27743         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27744         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27745         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27746         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27747         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27748         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27749         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27750         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27751         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27752         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27753         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27754         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27755         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27756         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27757         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27758         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27759         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27760         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27761         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27762         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27763         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27764         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27765         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27766         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27767         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27768         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27769         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27770         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27771         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27772         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27773         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27774         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27775         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27776         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27777         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27778         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27779         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27780         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27781         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27782         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27783         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27784         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27785         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27786         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27787         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27788         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27789         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27790         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27791         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27792         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27793         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27794         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27795         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27796         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27797         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27798         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27799         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27800         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27801         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27802         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27803         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27804         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27805         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27806         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27807         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27808         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27809         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27810         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27811         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27812         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27813         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27814         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27815         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27816         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27817         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27818         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27819         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27820         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27821         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27822         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27823         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27824         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27825         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27826         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27827         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27828         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27829         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27830         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27831         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27832         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27833         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27834         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27835         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27836         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27837         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27838         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27839         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27840         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27841         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27842         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27843         * sysdeps/ieee754/s_lib_version.c: Likewise.
27844         * sysdeps/ieee754/s_matherr.c: Likewise.
27845         * sysdeps/ieee754/s_signgam.c: Likewise.
27846         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27847         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27848         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27849         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27850         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27851         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27852         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27853         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27854         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27855         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27856         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27857         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27858         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27859         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27860         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27861         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27862         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27863         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27864         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27865         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27866         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27868 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27870         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27871         * sunrpc/rpc_main.c: Likewise.
27872         * sunrpc/rpc_svcout.c: Likewise.
27874 2012-03-09  David S. Miller  <davem@davemloft.net>
27876         * include/math_private.h: New file.
27878 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27880         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27881         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27882         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27883         from <bits/socket_type.h>.
27884         (enum __socket_type): Don't define here.
27885         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27886         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27887         bits/socket_type.h.
27889         [BZ #13566]
27890         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27891         checking __USE_GNU.
27893         * Makerules ($(inst_includedir)/%.h): New rule.
27894         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27895         (install-others): Remove variable setting.
27896         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27898 2012-03-08  Richard Henderson  <rth@twiddle.net>
27900         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27901         from macro to inline function; merge with the
27902         !__LIBC_INTERNAL_MATH_INLINES version.
27903         (__ieee754_sqrtf): Likewise.
27905         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27906         to inline function.
27907         (__rintf, __floor, __floorf): Likewise.
27909         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27910         macro to inline function.
27911         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27913         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27914         not <math/math_private.h>.
27916 2012-03-08  David S. Miller  <davem@davemloft.net>
27918         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27919         copyright year.
27920         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27922 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
27924         * resolv/gai_misc.c (handle_requests): Fix struct timespec
27925         normalization.
27926         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27927         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27929 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
27931         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
27932         be defined individually, they must be defined as a block.  Define
27933         S for printing a string instead of hidint the different by using a
27934         macro for adding the 'l'.
27935         * stdio-common/tst-fphex-wide.c: Adjust.
27937 2012-03-07  Marek Polacek  <polacek@redhat.com>
27939         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27941 2012-03-08  Marek Polacek  <polacek@redhat.com>
27943         [BZ #13806]
27944         * stdio-common/Makefile (tests): Add tst-fphex-wide.
27945         * stdio-common/tst-fphex.c: Define a few macros to make the
27946         test reusable.  Use them.
27947         * stdio-common/tst-fphex-wide.c: New file.
27949 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
27951         [BZ #6911]
27952         * manual/macros.texi (gnusystems): New macro.
27953         (nongnusystems): Likewise.
27954         (gnulinuxhurdsystems): Likewise.
27955         (gnuhurdsystems): Likewise..
27956         (gnulinuxsystems): Likewise.
27957         * manual/charset.texi: Use new macros or @theglibc{} to refer to
27958         variants of the GNU system, not "GNU system".
27959         * manual/conf.texi: Likewise.
27960         * manual/errno.texi: Likewise.  Update example of errno macro
27961         expansion.
27962         * manual/filesys.texi: Likewise.
27963         (getumask): Document as specific to GNU/Hurd.
27964         * manual/install.texi: Likewise.  Reword some references to
27965         GNU/Linux.
27966         * manual/intro.texi: Likewise.
27967         * manual/io.texi: Likewise.
27968         (File Name Portability): Detail which constraints are inapplicable
27969         to all GNU systems and which are only inapplicable to GNU/Hurd.
27970         * manual/job.texi: Likewise.
27971         * manual/llio.texi: Likewise.
27972         (O_NOCTTY): Document as present on GNU/Linux.
27973         * manual/maint.texi: Likewise.
27974         * manual/memory.texi: Likewise.
27975         * manual/pattern.texi: Likewise.
27976         * manual/pipe.texi: Likewise.
27977         * manual/process.texi: Likewise.
27978         * manual/resource.texi: Likewise.
27979         (RUSAGE_CHILDREN): Remove statement about specifying a particular
27980         child on GNU/Hurd.
27981         * manual/setjmp.texi: Likewise.
27982         * manual/signal.texi: Likewise.
27983         * manual/startup.texi: Likewise.
27984         * manual/stdio.texi: Likewise.
27985         * manual/terminal.texi: Likewise.
27986         (ONLCR): Document as POSIX.
27987         (OXTABS): Document availability on GNU/Linux as XTABS.
27988         (ONOEOT): Document availability separately from other bits.
27989         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27990         * manual/time.texi: Likewise.
27991         * manual/users.texi: Likewise.
27992         * INSTALL: Regenerated.
27993         * sysdeps/gnu/errlist.c: Regenerated.
27995         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27996         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27997         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
27998         puts.
27999         * configure: Regenerated.
28001 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28003         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28004         default includes instead of AC_HEADER_CHECK.
28005         * sysdeps/i386/configure: Regenerated.
28007         [BZ #10716]
28008         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28009         * math/s_cacoshf.c (__cacoshf): Likewise.
28010         * math/s_cacoshl.c (__cacoshl): Likewise.
28011         * math/s_casinh.c (__casinh): Set signs of result from argument.
28012         * math/s_casinhf.c (__casinhf): Likewise.
28013         * math/s_casinhl.c (__casinhl): Likewise.
28014         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28015         (casinh_test): Add more tests.
28016         * sysdeps/i386/fpu/libm-test-ulps: Update.
28017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28019 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28021         * po/zh_TW.po: Update from translation team.
28023         * login/Makefile (distribute): Remove variable.
28024         * catgets/Makefile: Likewise.
28025         * mach/Makefile: Likewise.
28026         * malloc/Makefile: Likewise.
28027         * misc/Makefile: Likewise.
28028         * iconv/Makefile: Likewise.
28029         * nscd/Makefile: Likewise.
28030         * hurd/Makefile: Likewise.
28031         * manual/Makefile: Likewise.
28032         * locale/Makefile: Likewise.
28033         * intl/Makefile: Likewise.
28034         * conform/Makefile: Likewise.
28035         * nss/Makefile: Likewise.
28036         * time/Makefile: Likewise.
28037         * soft-fp/Makefile: Likewise.
28038         * dirent/Makefile: Likewise.
28039         * gmon/Makefile: Likewise.
28040         * po/Makefile: Likewise.
28041         * rt/Makefile: Likewise.
28042         * socket/Makefile: Likewise.
28043         * math/Makefile: Likewise.
28044         * signal/Makefile: Likewise.
28045         * debug/Makefile: Likewise.
28046         * elf/Makefile: Likewise.
28047         * timezone/Makefile: Likewise.
28048         * stdlib/Makefile: Likewise.
28049         * iconvdata/Makefile: Likewise.
28050         * sunrpc/Makefile: Likewise.
28051         * io/Makefile: Likewise.
28052         * argp/Makefile: Likewise.
28053         * inet/Makefile: Likewise.
28054         * hesiod/Makefile: Likewise.
28055         * grp/Makefile: Likewise.
28056         * csu/Makefile: Likewise.
28057         * wctype/Makefile: Likewise.
28058         * crypt/Makefile: Likewise.
28059         * libio/Makefile: Likewise.
28060         * string/Makefile: Likewise.
28061         * nis/Makefile: Likewise.
28062         * resolv/Makefile: Likewise.
28063         * stdio-common/Makefile: Likewise.
28064         * wcsmbs/Makefile: Likewise.
28065         * dlfcn/Makefile: Likewise.
28066         * posix/Makefile: Likewise.
28068         [BZ #6959]
28069         * timezone/Makefile: Don't install timezone files, just the programs
28070         and scripts.
28072 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28074         * nss/databases.def: Add missing gshadow entry.
28076         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28078 2012-03-06  Marek Polacek  <polacek@redhat.com>
28080         [BZ #13726]
28081         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28082         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28083         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28084         * stdio-common/tst-long-dbl-fphex.c: New file.
28086 2012-03-06  David S. Miller  <davem@davemloft.net>
28088         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28089         (set_obp_int): New function.
28090         (get_obp_int): New function.
28091         (__get_clockfreq_via_dev_openprom): Likewise.
28092         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28093         Avoid unused variable warnings on 'val' and use builtin_expect.
28094         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28095         __builtin_expect.
28096         (INLINE_CLONE_SYSCALL): Likewise.
28098 2012-03-05  David S. Miller  <davem@davemloft.net>
28100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28102 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28106         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28107         only for |x| >= 40.
28108         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28110 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28112         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28113         Replace gettimeofday with __vdso_gettimeofday.
28115         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28116         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28117         __vdso_clock_gettime and __vdso_getcpu.
28119         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28120         time with __vdso_time.
28122 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28124         * manual/lang.texi (size_t): Note types to which size_t may be
28125         equivalent with the GNU C Library, but do not describe when
28126         differences between them are significant.
28128 2012-03-05  Andreas Jaeger  <aj@suse.de>
28130         * sysdeps/i386/fpu/libm-test-ulps: Update.
28132 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28134         [BZ #3976]
28135         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28136         (__ieee754_pow): Save and restore rounding mode and use
28137         round-to-nearest for main computations.
28138         * math/libm-test.inc (pow_test_tonearest): New function.
28139         (pow_test_towardzero): Likewise.
28140         (pow_test_downward): Likewise.
28141         (pow_test_upward): Likewise.
28142         (main): Call the new functions.
28143         * sysdeps/i386/fpu/libm-test-ulps: Update.
28144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28146         [BZ #3976]
28147         * math/libm-test.inc (cosh_test_tonearest): New function.
28148         (cosh_test_towardzero): Likewise.
28149         (cosh_test_downward): Likewise.
28150         (cosh_test_upward): Likewise.
28151         (sinh_test_tonearest): Likewise.
28152         (sinh_test_towardzero): Likewise.
28153         (sinh_test_downward): Likewise.
28154         (sinh_test_upward): Likewise.
28155         (main): Call the new functions.
28156         * sysdeps/i386/fpu/libm-test-ulps: Update.
28157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28159 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28161         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28162         default stack guard is set in last bytes.
28163         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28165 2012-03-05  Kees Cook  <keescook@chromium.org>
28167         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28169         [BZ #13656]
28170         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28171         possibly allocate from heap instead of stack.
28172         * stdio-common/bug-vfprintf-nargs.c: New file.
28173         * stdio-common/Makefile (tests): Add nargs overflow test.
28175 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
28177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28179 2012-03-03  Marek Polacek  <polacek@redhat.com>
28181         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28182         * math/math_private.h: Likewise.
28183         * stdlib/tst-strtod.c: Likewise.
28184         * sysdeps/i386/i486/bits/atomic.h: Likewise.
28185         * sysdeps/x86_64/bits/atomic.h: Likewise.
28187 2012-03-02  David S. Miller  <davem@davemloft.net>
28189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28193         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28194         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28195         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28196         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28198 2012-03-02  Roland McGrath  <roland@hack.frob.com>
28200         [BZ #13792]
28201         * manual/examples/README: New file, says the example source files
28202         can be used under GPL>=2.
28203         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28204         line containing just "*/".
28205         * manual/examples/add.c: Add copyright header (GPL>=2).
28206         * manual/examples/argp-ex1.c: Likewise.
28207         * manual/examples/argp-ex2.c: Likewise.
28208         * manual/examples/argp-ex3.c: Likewise.
28209         * manual/examples/argp-ex4.c: Likewise.
28210         * manual/examples/atexit.c: Likewise.
28211         * manual/examples/db.c: Likewise.
28212         * manual/examples/dir.c: Likewise.
28213         * manual/examples/dir2.c: Likewise.
28214         * manual/examples/execinfo.c: Likewise.
28215         * manual/examples/filecli.c: Likewise.
28216         * manual/examples/filesrv.c: Likewise.
28217         * manual/examples/fmtmsgexpl.c: Likewise.
28218         * manual/examples/genpass.c: Likewise.
28219         * manual/examples/inetcli.c: Likewise.
28220         * manual/examples/inetsrv.c: Likewise.
28221         * manual/examples/isockad.c: Likewise.
28222         * manual/examples/longopt.c: Likewise.
28223         * manual/examples/memopen.c: Likewise.
28224         * manual/examples/memstrm.c: Likewise.
28225         * manual/examples/mkfsock.c: Likewise.
28226         * manual/examples/mkisock.c: Likewise.
28227         * manual/examples/mygetpass.c: Likewise.
28228         * manual/examples/pipe.c: Likewise.
28229         * manual/examples/popen.c: Likewise.
28230         * manual/examples/rprintf.c: Likewise.
28231         * manual/examples/search.c: Likewise.
28232         * manual/examples/select.c: Likewise.
28233         * manual/examples/setjmp.c: Likewise.
28234         * manual/examples/sigh1.c: Likewise.
28235         * manual/examples/sigusr.c: Likewise.
28236         * manual/examples/stpcpy.c: Likewise.
28237         * manual/examples/strdupa.c: Likewise.
28238         * manual/examples/strftim.c: Likewise.
28239         * manual/examples/strncat.c: Likewise.
28240         * manual/examples/subopt.c: Likewise.
28241         * manual/examples/swapcontext.c: Likewise.
28242         * manual/examples/termios.c: Likewise.
28243         * manual/examples/testopt.c: Likewise.
28244         * manual/examples/testpass.c: Likewise.
28245         * manual/examples/timeval_subtract.c: Likewise.
28247         [BZ #13792]
28248         * manual/time.texi (Elapsed Time): Move timeval_subtract example
28249         function to ...
28250         * manual/timeval_subtract.c.texi: ... here, new file.
28252 2012-03-02  David S. Miller  <davem@davemloft.net>
28254         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28256 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
28258         [BZ #3976]
28259         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28260         (__sin): Save and restore rounding mode and use round-to-nearest
28261         for all computations.
28262         (__cos): Save and restore rounding mode and use round-to-nearest
28263         for all computations.
28264         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28265         <fenv.h>.
28266         (tan): Save and restore rounding mode and use round-to-nearest for
28267         all computations.
28268         * math/libm-test.inc (cos_test_tonearest): New function.
28269         (cos_test_towardzero): Likewise.
28270         (cos_test_downward): Likewise.
28271         (cos_test_upward): Likewise.
28272         (sin_test_tonearest): Likewise.
28273         (sin_test_towardzero): Likewise.
28274         (sin_test_downward): Likewise.
28275         (sin_test_upward): Likewise.
28276         (tan_test_tonearest): Likewise.
28277         (tan_test_towardzero): Likewise.
28278         (tan_test_downward): Likewise.
28279         (tan_test_upward): Likewise.
28280         (main): Call the new functions.
28281         * sysdeps/i386/fpu/libm-test-ulps: Update.
28282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28284         [BZ #10135]
28285         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28286         small n, then large n, before computing and testing k+n.
28287         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28288         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28289         Likewise.
28290         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28291         Likewise.
28292         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28293         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28294         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28295         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28296         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28297         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28298         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28299         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28300         * math/libm-test.inc (scalbn_test): Add more tests.
28301         (scalbln_test): Likewise.
28303         * manual/filesys.texi (mode_t): Describe constraints on size and
28304         signedness, not exact equivalence to a particular type.
28305         (ino_t): Likewise.
28306         (ino64_t): Likewise.
28307         (dev_t): Likewise.
28308         (nlink_t): Likewise.
28309         (blkcnt_t): Likewise.
28310         (blkcnt64_t): Likewise.
28311         * manual/llio.texi (off_t): Likewise.
28313         [BZ #3976]
28314         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28315         (__ieee754_exp): Save and restore rounding mode and use
28316         round-to-nearest for all computations.
28317         * math/libm-test.inc (exp_test_tonearest): New function.
28318         (exp_test_towardzero): Likewise.
28319         (exp_test_downward): Likewise.
28320         (exp_test_upward): Likewise.
28321         (main): Call the new functions.
28322         * sysdeps/i386/fpu/libm-test-ulps: Update.
28323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28325 2012-03-01  Chris Demetriou  <cgd@google.com>
28327         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28328         have predictable order.
28330 2012-03-01  David S. Miller  <davem@davemloft.net>
28332         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28334         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28335         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28336         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28337         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28339         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28340         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28341         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28343         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28344         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28345         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28346         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28347         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28351         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28352         * sysdeps/sparc/fpu/libm-test-ulps: to here.
28353         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28355         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28356         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28357         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28358         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28359         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28360         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28361         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28362         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28363         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28364         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28365         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28366         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28367         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28368         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28369         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28370         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28371         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28372         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28373         * sysdeps/sparc/elf/configure: Regenerated.
28375 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
28377         * configure.in (AS, LD): Require binutils 2.20 or later.
28378         * configure: Regenerated.
28379         * manual/install.texi (Tools for Compilation): Give binutils 2.20
28380         as required minimum version.
28381         * INSTALL: Regenerated.
28383         [BZ #2541]
28384         [BZ #4108]
28385         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28386         before squaring exponent.
28387         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28388         bottom long double and 27 bits of top long double before squaring
28389         exponent.
28390         * math/libm-test.inc (erfc_test): Add more tests.
28391         * sysdeps/i386/fpu/libm-test-ulps: Update.
28392         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28395 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28397         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28398         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28399         containing bit-fields.
28400         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28401         * soft-fp/single.h (_FP_UNION_S): Likewise.
28402         * soft-fp/double.h (_FP_UNION_D): Likewise.
28404 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28406         [BZ #13786]
28407         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28408         not include ../strcmp.S.
28409         [USE_AS_STRNCASECMP_L]: Likewise.
28410         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28411         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28412         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28413         (__strncasecmp_l_ia32): Define as alias to
28414         __strncasecmp_l_nonascii.
28416         [BZ #5794]
28417         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28418         * sysdeps/i386/fpu/libm-test-ulps: Update.
28419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28421         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28424 2012-02-29  Jeff Law  <law@redhat.com>
28426         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28427         out of bounds read.
28429 2012-02-29  Marek Polacek  <polacek@redhat.com>
28431         [BZ #13706]
28432         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28433         * elf/Makefile: Add rules to run tst-unused-dep.out.
28435 2012-02-28  David S. Miller  <davem@davemloft.net>
28437         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28438         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28439         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28440         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28441         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28442         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28444 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28446         * math/libm-test.inc (llround_test): Move one test from
28447         lround_test.  Use TEST_f_L in moved test.
28448         (lround_test): Move misplaced test to llround_test.  Add testcase
28449         from bug 2561.
28451 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28453         * sysdeps/x86_64/fpu/e_expf.S: New file.
28454         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28456 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28458         [BZ #13637]
28459         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28460         of remain_len that may cause incomplete multi-byte character and
28461         false match.
28462         * posix/bug-regex33.c: New file.
28463         * posix/Makefile (tests): Add bug-regex33.
28465 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28467         * manual/macros.texi: New file.
28468         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28469         * manual/libc.texinfo: Include macros.texi.
28470         * manual/creatute.texi: Likewise.
28471         * manual/install.texi: Likewise.
28472         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28473         @glibcadj{} in references to the GNU C Library.
28474         * manual/charset.texi: Likewise.
28475         * manual/conf.texi: Likewise.
28476         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28477         when not using those macros.
28478         * manual/creature.texi: Likewise.
28479         * manual/crypt.texi: Likewise.
28480         * manual/errno.texi: Likewise.
28481         * manual/filesys.texi: Likewise.
28482         * manual/header.texi: Likewise.
28483         * manual/install.texi: Likewise.
28484         * manual/intro.texi: Likewise.
28485         * manual/io.texi: Likewise.
28486         * manual/job.texi: Likewise.
28487         * manual/lang.texi: Likewise.
28488         * manual/libc.texiinfo: Likewise.
28489         * manual/llio.texi: Likewise.
28490         * manual/locale.texi: Likewise.
28491         * manual/maint.texi: Likewise.
28492         * manual/math.texi: Likewise.
28493         * manual/memory.texi: Likewise.
28494         * manual/message.texi: Likewise.
28495         * manual/nss.texi: Likewise.
28496         * manual/pattern.texi: Likewise.
28497         * manual/process.texi: Likewise.
28498         * manual/resource.texi: Likewise.
28499         * manual/search.texi: Likewise.
28500         * manual/setjmp.texi: Likewise.
28501         * manual/signal.texi: Likewise.
28502         * manual/socket.texi: Likewise.
28503         * manual/startup.texi: Likewise.
28504         * manual/stdio.texi: Likewise.
28505         * manual/string.texi: Likewise.
28506         * manual/sysinfo.texi: Likewise.
28507         * manual/syslog.texi: Likewise.
28508         * manual/terminal.texi: Likewise.
28509         * manual/time.texi: Likewise.
28510         * manual/users.texi: Likewise.
28511         * INSTALL: Regenerated.
28512         * NOTES: Regenerated.
28513         * sysdeps/gnu/errlist.c: Regenerated.
28515 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28517         * include/dirent.h: Include <dirstream.h> before
28518         <dirent/dirent.h>.
28520 2012-02-28  David S. Miller  <davem@davemloft.net>
28522         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28523         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28524         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28525         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28527 2012-02-27  David S. Miller  <davem@davemloft.net>
28529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28531         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28532         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28535         frame pointer instead of stack pointer relative arg slot.
28536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28537         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28538         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28540 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28542         [BZ #3992]
28543         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28545 2012-02-27  David S. Miller  <davem@davemloft.net>
28547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28551         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28552         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28553         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28554         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28556 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28558         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28559         later.  Allow versions 5-9.
28560         * configure: Regenerated.
28561         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28562         required minimum version and 4.6 as recommended version.  Do not
28563         mention bugs in GCC 2.7 and 2.8.
28564         * INSTALL: Regenerated.
28566 2012-02-27  David S. Miller  <davem@davemloft.net>
28568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28572         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28573         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28574         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28575         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28577         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28578         manipulate bits before adding and subtracting TWO112[sx].
28579         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28581 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28583         [BZ #13775]
28584         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28585         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28586         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28587         being in POSIX, because they are in 1003.1-2008.
28589         * rt/tst-aio.c: Include <fcntl.h>.
28590         * rt/tst-aio7.c: Likewise.
28591         * rt/tst-aio64.c: Likewise.
28593         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28595 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28597         * manual/install.texi (--with-headers): Describe headers as
28598         interface headers, not private headers.
28599         (Specific advice for GNU/Linux systems): Describe use of headers
28600         from "make headers_install", not private headers from older
28601         kernels.
28602         * INSTALL: Regenerated.
28603         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28604         Change to 2.6.19.
28605         * sysdeps/unix/sysv/linux/configure: Regenerated.
28607         * manual/llio.texi (fclean): Remove documentation.
28609         * manual/Makefile (libc-texi-generated): New variable.  Include
28610         version.texi.
28611         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28612         $(libc-texi-generated), not duplicated list of files.
28613         (version.texi, stamp-version): New rules.
28614         (realclean): Remove $(libc-texi-generated), not individual files
28615         from that list.  Do not remove dir-add.texinfo.
28616         * manual/libc.texinfo: Comment out uses of edition numbers and
28617         references to printed manual.  Remove last-updated dates.
28618         (EDITION): Comment out.
28619         (ISBN): Likewise.
28620         (VERSION, UPDATED): Remove.
28621         (version.texi): Include.
28623 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
28625         * sysdeps/posix/spawni.c: Include <signal.h>.
28626         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28627         * sysdeps/pthread/aio_fsync.c: Likewise.
28629 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
28631         * conform/Makefile (tests): Run only when not cross-compiling and
28632         when fast-check is not defined.
28634         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28635         * conform/data/limits.h-data: Fixes for POSIX2008.
28636         * conform/run-conformtest.sh: Run all tests.
28637         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28638         headers.
28639         * include/bits/dlfcn.h: Likewise.
28640         * include/langinfo.h: Likewise.
28641         * include/monetary.h: Likewise.
28642         * include/sys/poll.h: Likewise.
28644         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28645         for __USE_GNU.
28646         * posix/spawn.h: Define __need_sigset_t.
28647         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28648         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28649         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
28650         to get sigevent_t only.
28651         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28652         only for __USE_GNU.
28653         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28654         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28655         process_vm_writev only for __USE_GNU.
28656         * termios/termios.h: Declare tcgetsid also for POSIX2008.
28658         * conform/Makefile: For now ignore errors from run-conformtest.
28659         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
28660         POSIX to avoid namespace pollution.  Don't prepend headers.
28661         * conform/data/aio.h-data: Fixes for POSIX testing.
28662         * conform/data/fcntl.h-data: Likewise.
28663         * conform/data/glob.h-data: Likewise.
28664         * conform/data/grp.h-data: Likewise.
28665         * conform/data/pthread.h-data: Likewise.
28666         * conform/data/pwd.h-data: Likewise.
28667         * conform/data/signal.h-data: Likewise.
28668         * conform/data/spawn.h-data: Likewise.
28669         * conform/data/stdio.h-data: Likewise.
28670         * conform/data/stdlib.h-data: Likewise.
28671         * conform/data/stropts.h-data: Likewise.
28672         * conform/data/sys/mman.h-data: Likewise.
28673         * conform/data/sys/stat.h-data: Likewise.
28674         * conform/data/sys/types.h-data: Likewise.
28675         * conform/data/sys/wait.h-data: Likewise.
28676         * conform/data/time.h-data: Likewise.
28677         * conform/data/unistd.h-data: Likewise.
28678         * conform/data/utime.h-data: Likewise.
28680         * io/sys/stat.h: fchmod was always in POSIX.
28681         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28682         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28683         * rt/aio.h: Define __need_timespec before including <time.h>.
28684         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28685         struct.  Add forward declaration of pthread_attr_t and use it in
28686         sigevent.
28687         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28688         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28689         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28690         always remove CLK_TCK definition.
28692 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
28694         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28696 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
28698         * conform/run-conformtest.sh: New file.
28699         * conform/Makefile: Run run-conformtest for tests.
28700         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
28701         support.
28703         * conform/data/uchar.h-data: New file.
28704         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28705         * conform/data/arpa/inet.h-data: Likewise.
28706         * conform/data/assert.h-data: Likewise.
28707         * conform/data/complex.h-data: Likewise.
28708         * conform/data/cpio.h-data: Likewise.
28709         * conform/data/ctype.h-data: Likewise.
28710         * conform/data/dirent.h-data: Likewise.
28711         * conform/data/dlfcn.h-data: Likewise.
28712         * conform/data/errno.h-data: Likewise.
28713         * conform/data/fcntl.h-data: Likewise.
28714         * conform/data/float.h-data: Likewise.
28715         * conform/data/fmtmsg.h-data: Likewise.
28716         * conform/data/fnmatch.h-data: Likewise.
28717         * conform/data/ftw.h-data: Likewise.
28718         * conform/data/glob.h-data: Likewise.
28719         * conform/data/grp.h-data: Likewise.
28720         * conform/data/iconv.h-data: Likewise.
28721         * conform/data/inttypes.h-data: Likewise.
28722         * conform/data/langinfo.h-data: Likewise.
28723         * conform/data/libgen.h-data: Likewise.
28724         * conform/data/limits.h-data: Likewise.
28725         * conform/data/locale.h-data: Likewise.
28726         * conform/data/math.h-data: Likewise.
28727         * conform/data/monetary.h-data: Likewise.
28728         * conform/data/mqueue.h-data: Likewise.
28729         * conform/data/ndbm.h-data: Likewise.
28730         * conform/data/net/if.h-data: Likewise.
28731         * conform/data/netdb.h-data: Likewise.
28732         * conform/data/netinet/in.h-data: Likewise.
28733         * conform/data/nl_types.h-data: Likewise.
28734         * conform/data/poll.h-data: Likewise.
28735         * conform/data/pthread.h-data: Likewise.
28736         * conform/data/pwd.h-data: Likewise.
28737         * conform/data/regex.h-data: Likewise.
28738         * conform/data/sched.h-data: Likewise.
28739         * conform/data/search.h-data: Likewise.
28740         * conform/data/semaphore.h-data: Likewise.
28741         * conform/data/setjmp.h-data: Likewise.
28742         * conform/data/signal.h-data: Likewise.
28743         * conform/data/spawn.h-data: Likewise.
28744         * conform/data/stdarg.h-data: Likewise.
28745         * conform/data/stdio.h-data: Likewise.
28746         * conform/data/stdlib.h-data: Likewise.
28747         * conform/data/string.h-data: Likewise.
28748         * conform/data/strings.h-data: Likewise.
28749         * conform/data/stropts.h-data: Likewise.
28750         * conform/data/sys/ipc.h-data: Likewise.
28751         * conform/data/sys/mman.h-data: Likewise.
28752         * conform/data/sys/msg.h-data: Likewise.
28753         * conform/data/sys/resource.h-data: Likewise.
28754         * conform/data/sys/select.h-data: Likewise.
28755         * conform/data/sys/sem.h-data: Likewise.
28756         * conform/data/sys/shm.h-data: Likewise.
28757         * conform/data/sys/socket.h-data: Likewise.
28758         * conform/data/sys/stat.h-data: Likewise.
28759         * conform/data/sys/statvfs.h-data: Likewise.
28760         * conform/data/sys/time.h-data: Likewise.
28761         * conform/data/sys/timeb.h-data: Likewise.
28762         * conform/data/sys/times.h-data: Likewise.
28763         * conform/data/sys/types.h-data: Likewise.
28764         * conform/data/sys/uio.h-data: Likewise.
28765         * conform/data/sys/un.h-data: Likewise.
28766         * conform/data/sys/utsname.h-data: Likewise.
28767         * conform/data/sys/wait.h-data: Likewise.
28768         * conform/data/syslog.h-data: Likewise.
28769         * conform/data/tar.h-data: Likewise.
28770         * conform/data/termios.h-data: Likewise.
28771         * conform/data/utime.h-data: Likewise.
28772         * conform/data/utmpx.h-data: Likewise.
28773         * conform/data/varargs.h-data: Likewise.
28774         * conform/data/wchar.h-data: Likewise.
28775         * conform/data/wctype.h-data: Likewise.
28776         * conform/data/wordexp.h-data: Likewise.
28778         * include/stropts.h: New file.
28779         * include/uchar.h: New file.
28780         * include/aio.h: Changes to allow conformtest.pl to use the headers.
28781         * include/assert.h: Likewise.
28782         * include/ctype.h: Likewise.
28783         * include/dirent.h: Likewise.
28784         * include/dlfcn.h: Likewise.
28785         * include/fcntl.h: Likewise.
28786         * include/fnmatch.h: Likewise.
28787         * include/glob.h: Likewise.
28788         * include/grp.h: Likewise.
28789         * include/libio.h: Likewise.
28790         * include/locale.h: Likewise.
28791         * include/math.h: Likewise.
28792         * include/net/if.h: Likewise.
28793         * include/netdb.h: Likewise.
28794         * include/netinet/in.h: Likewise.
28795         * include/pthread.h: Likewise.
28796         * include/pwd.h: Likewise.
28797         * include/regex.h: Likewise.
28798         * include/sched.h: Likewise.
28799         * include/search.h: Likewise.
28800         * include/setjmp.h: Likewise.
28801         * include/signal.h: Likewise.
28802         * include/stdio.h: Likewise.
28803         * include/stdlib.h: Likewise.
28804         * include/string.h: Likewise.
28805         * include/sys/cdefs.h: Likewise.
28806         * include/sys/mman.h: Likewise.
28807         * include/sys/msg.h: Likewise.
28808         * include/sys/resource.h: Likewise.
28809         * include/sys/select.h: Likewise.
28810         * include/sys/socket.h: Likewise.
28811         * include/sys/stat.h: Likewise.
28812         * include/sys/statvfs.h: Likewise.
28813         * include/sys/time.h: Likewise.
28814         * include/sys/times.h: Likewise.
28815         * include/sys/uio.h: Likewise.
28816         * include/sys/utsname.h: Likewise.
28817         * include/sys/wait.h: Likewise.
28818         * include/termios.h: Likewise.
28819         * include/time.h: Likewise.
28820         * include/ulimit.h: Likewise.
28821         * include/unistd.h: Likewise.
28822         * include/utime.h: Likewise.
28823         * include/wchar.h: Likewise.
28824         * include/wctype.h: Likewise.
28825         * include/wordexp.h: Likewise.
28827         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28829         * time/time.h: TIME_UTC must be a macro.
28830         Make timespec_get available for ISO C11 only as well.
28832 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
28834         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28835         Reported by Peng Haitao <penght@cn.fujitsu.com>.
28837 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28839         * configure.in: Use -o not -a in test for unsupported multi-arch.
28841 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28843         * manual/texinfo.tex: Update to version 2012-01-19.16.
28845 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28847         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28849 2012-02-24  Roland McGrath  <roland@hack.frob.com>
28851         [BZ #13738]
28852         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28853         * manual/fdl-1.3.texi: New file.
28854         * manual/fdl-1.1.texi: File removed.
28856         [BZ #13738]
28857         * manual/libc.texinfo (FDL_VERSION): New @set.
28858         Use it for mention of FDL in cover text.
28859         (Documentation License): Use it in @include file name.
28861 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28862             Roland McGrath  <roland@hack.frob.com>
28864         [BZ #5461]
28865         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28866         not LONG_LONG_MAX and LONG_LONG_MIN.
28867         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28868         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
28869         name.
28870         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28872 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28874         [BZ #2547]
28875         [BZ #11365]
28876         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28877         manipulate bits before adding and subtracting TWO23[sx].
28878         * math/libm-test.inc (nearbyint_test): Add more tests.
28880 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28882         [BZ #2548]
28883         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28884         bits before adding and subtracting TWO23[sx].
28885         * math/libm-test.inc (rint_test): Add more tests.
28886         (rint_test_tonearest): Likewise.
28887         (rint_test_towardzero): Likewise.
28888         (rint_test_downward): Likewise.
28889         (rint_test_upward: Likewise.
28891 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28893         [BZ #10110]
28894         * include/stdc-predef.h: New file.  Extracted from features.h.
28895         * include/features.h: Include stdc-predef.h.
28896         * Makefile (headers): Add stdc-predef.h.
28897         * CONFORMANCE (Compiler limitations): Update.
28899 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28901         * manual/libc.texinfo (VERSION, UPDATED): Revert.
28903 2012-02-21  David S. Miller  <davem@davemloft.net>
28905         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28906         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28908 2012-02-20  David S. Miller  <davem@davemloft.net>
28910         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28911         using a normal save/restore sequence, rather than allocating a
28912         dummy stack frame just to store a frame pointer and restore.
28913         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28915 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28917         * manual/install.texi: Fix stray word in line-wrapped comment.
28919 2012-02-20  David S. Miller  <davem@davemloft.net>
28921         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28922         both binutils and gcc support GOTDATA.
28924         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28925         "rd %pc" in the PIC register setup sequences.
28927         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28928         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28929         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28930         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28931         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28932         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28933         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28934         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28935         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28936         (SYSCALL_ERROR_HANDLER): Likewise.
28937         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28938         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28939         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28940         (SYSCALL_ERROR_HANDLER): Likewise.
28942         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28943         (HAVE_GCC_GOTDATA): New.
28944         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28945         relocation support in both binutils and gcc.
28946         * sysdeps/sparc/elf/configure: Regenerate.
28948         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28949         * sysdeps/sparc/sparc32/elf/configure: Delete.
28950         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28951         * sysdeps/sparc/sparc64/elf/configure: Delete.
28952         * sysdeps/sparc/elf/configure.in: New file.
28953         * sysdeps/sparc/elf/configure: Generate.
28955         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28956         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28957         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28958         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28959         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28961 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28963         * manual/install.texi: Do not mention specific glibc version
28964         numbers.
28965         * manual/libc.texinfo (VERSION, UPDATED): Update.
28966         (@copying): Use @copyright{} and range of years.
28968 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28970         [BZ #13695]
28971         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28972         [crti.S not in sysdirs] (generated): Do not append.
28973         [crti.S not in sysdirs] (omit-deps): Likewise.
28974         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28975         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28976         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28977         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28978         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28979         Likewise.
28980         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28981         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28982         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28983         * csu/defs.awk: Remove file.
28984         * sysdeps/generic/initfini.c: Likewise.
28985         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28986         variable.
28987         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28988         Likewise.
28990 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28992         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28993         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28994         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28995         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28996         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28997         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28998         <bits/epoll.h>.
28999         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29000         (__EPOLL_PACKED): Define to empty if not defined by
29001         <bits/epoll.h>.
29002         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29003         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29004         bits/epoll.h.
29006 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29008         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29009         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29010         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29011         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29012         <bits/timerfd.h>.
29013         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29015         bits/timerfd.h.
29017 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29019         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29020         in C locale.
29021         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29022         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29023         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29026 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29028         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29029         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29031 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29033         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29034         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29035         defined.
29036         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29037         Likewise.
29038         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29039         entry for 2.16.
29041 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29043         * math/w_acos.c: Use non-signaling floating-point comparisons.
29044         * math/w_acosf.c: Likewise.
29045         * math/w_acosh.c: Likewise.
29046         * math/w_acoshf.c: Likewise.
29047         * math/w_acoshl.c: Likewise.
29048         * math/w_acosl.c: Likewise.
29049         * math/w_asin.c: Likewise.
29050         * math/w_asinf.c: Likewise.
29051         * math/w_asinl.c: Likewise.
29052         * math/w_atanh.c: Likewise.
29053         * math/w_atanhf.c: Likewise.
29054         * math/w_atanhl.c: Likewise.
29055         * math/w_exp2.c: Likewise.
29056         * math/w_exp2f.c: Likewise.
29057         * math/w_exp2l.c: Likewise.
29058         * math/w_j0.c: Likewise.
29059         * math/w_j0f.c: Likewise.
29060         * math/w_j0l.c: Likewise.
29061         * math/w_j1.c: Likewise.
29062         * math/w_j1f.c: Likewise.
29063         * math/w_j1l.c: Likewise.
29064         * math/w_jn.c: Likewise.
29065         * math/w_jnf.c: Likewise.
29066         * math/w_log.c: Likewise.
29067         * math/w_log10.c: Likewise.
29068         * math/w_log10f.c: Likewise.
29069         * math/w_log10l.c: Likewise.
29070         * math/w_log2.c: Likewise.
29071         * math/w_log2f.c: Likewise.
29072         * math/w_log2l.c: Likewise.
29073         * math/w_logf.c: Likewise.
29074         * math/w_logl.c: Likewise.
29075         * math/w_sqrt.c: Likewise.
29076         * math/w_sqrtf.c: Likewise.
29077         * math/w_sqrtl.c: Likewise.
29078         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29079         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29080         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29081         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29082         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29084 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29086         [BZ #9739]
29087         * manual/string.texi (strnlen): Use correct parameter name in
29088         equivalent expression.
29090 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29092         [BZ #11174]
29093         * manual/users.texi (seteuid): Consistently use neweuid for
29094         argument name.
29096 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29098         [BZ #13704]
29099         * manual/nss.texi (Services in the NSS configuration): Correct
29100         list of services in example configuration file.
29102 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29104         [BZ #11322]
29105         * manual/arith.texi: Remove statements about negative zero
29106         behaving identically to zero.
29108 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29110         [BZ #5993]
29111         * manual/install.texi: Do not document upgrading from libc5.
29113 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29115         [BZ #4596]
29116         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29118 2012-02-18  David S. Miller  <davem@davemloft.net>
29120         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29121         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29122         %o7 across the call.
29123         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29124         instead.
29125         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29126         SETUP_PIC_REG_LEAF.
29127         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29128         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29129         * sysdeps/sparc/crtn.S: Likewise.
29131 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29133         * aout/Makefile: Remove.
29135 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29137         [BZ #13058]
29138         * manual/examples/argp-ex1.c (main): Format definition in GNU
29139         style.
29140         * manual/examples/argp-ex2.c (main): Likewise.
29141         * manual/examples/argp-ex3.c (main): Likewise.
29142         * manual/examples/argp-ex4.c (main): Likewise.
29143         * manual/examples/longopt.c (main): Use new-style prototype
29144         definition.
29145         * manual/examples/strncat.c (main): Specify return type and use
29146         (void) for arguments.
29147         * manual/examples/subopt.c (main): Use char **argv argument.
29149 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29151         [BZ #5077]
29152         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29153         rounding modes.
29155 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29157         [BZ #6907]
29158         * manual/string.texi (strchr): Change when strchrnul is
29159         recommended.
29161 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29163         [BZ #174]
29164         * manual/locale.texi (setlocale): Document LOCPATH.
29166 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29168         [BZ #10210]
29169         * manual/process.texi (execle): Move @dots{} before last argument.
29171 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
29173         [BZ #12047]
29174         * manual/charset.texi (Generic Charset Conversion): Fix typo
29175         (LC_TYPE -> LC_CTYPE).
29177 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
29179         [BZ #5805]
29180         * manual/arith.texi (scalbn): Use @var{} on parameter names.
29181         (scalbnf): Likewise.
29182         (scalbnl): Likewise.
29183         (scalbln): Likewise.
29184         (scalblnf): Likewise.
29185         (scalblnl): Likewise.
29186         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29187         (vwarnx): Likewise.
29188         (verr): Likewise.
29189         (verrx): Likewise.
29190         * manual/filesys.texi (telldir): Use braces around return type.
29191         * manual/llio.texi (mmap): Add space after comma.
29192         (mmap64): Likewise.
29193         * manual/math.texi (jn): Use @var{} on parameter names.
29194         (jnf): Likewise.
29195         (jnl): Likewise.
29196         (yn): Likewise.
29197         (ynf): Likewise.
29198         (ynl): Likewise.
29199         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29200         line.
29201         * manual/resource.texi (ulimit): Use @dots{} instead of literal
29202         "...".
29203         (sched_get_priority_min): Remove semicolon on @deftypefun line.
29204         (sched_get_priority_max): Likewise.
29205         * manual/signal.texi (sigvec): Add space after comma.
29206         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29207         names.
29208         (if_indextoname): Likewise.
29209         (if_freenameindex): Likewise.
29210         (sendto): Use ',' instead of '.' in prototype.
29211         * manual/startup.texi (syscall): Use @dots{} instead of literal
29212         "...".
29213         * manual/stdio.texi (__fpending): Separate initial words of
29214         paragraph from @deftypefun line.
29215         * manual/syslog.texi (syslog): Use @dots{} instead of literal
29216         "...".
29217         (vsyslog): Use @var{} on parameter names.
29218         * manual/terminal.texi (stty): Use @var{} on parameter names.
29219         * manual/users.texi (getutmp): Use @var{} on parameter names.
29220         (getutmpx): Likewise.
29222 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29224         [BZ #6884]
29225         * manual/stdio.texi (fopen): Fix typos in description of
29226         ",ccs=STRING".
29228 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
29230         [BZ #4026]
29231         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29232         get clock_id definition.
29234 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
29236         [BZ #4822]
29237         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29238         (madvise): Cast every argument to void on its own.
29240 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29242         [BZ #9902]
29243         * manual/startup.texi (Exit Status): Fix typo.
29245 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29247         [BZ #10140]
29248         * manual/examples/argp-ex1.c: Include <stdlib.h>.
29249         * manual/examples/argp-ex2.c: Likewise.
29250         * manual/examples/argp-ex3.c: Likewise.
29252 2012-02-16  Richard Henderson  <rth@redhat.com>
29254         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29255         * sysdeps/s390/s390-32/initfini.c: Remove.
29256         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29257         * sysdeps/s390/s390-64/initfini.c: Remove.
29259 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29261         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29262         compiler output for sysdeps/generic/initfini.c.
29263         * sysdeps/sh/elf/initfini.c: Remove file.
29265 2012-02-16  David S. Miller  <davem@davemloft.net>
29267         [BZ #11494]
29268         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29270         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29271         * sysdeps/sparc/crti.S: New file.
29272         * sysdeps/sparc/crtn.S: New file.
29273         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29274         * sysdeps/sparc/sparc64/Makefile: Likewise.
29276 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
29278         [BZ #3335]
29279         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29281 2012-02-15  Roland McGrath  <roland@hack.frob.com>
29283         [BZ #4822]
29284         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29286         * mach/devstream.c (cookie_io_functions_t): Macro removed.
29287         (write, read, close): Likewise.
29288         Patch by Aurelien Jarno <aurelien@aurel32.net>.
29290 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
29292         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29293         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29294         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29295         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29296         <bits/signalfd.h>.
29297         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29299         bits/signalfd.h.
29301 2012-02-14  Marek Polacek  <polacek@redhat.com>
29303         * sysdeps/x86_64/crti.S: New file.
29304         * sysdeps/x86_64/crtn.S: New file.
29305         * sysdeps/x86_64/elf/initfini.c: Remove file.
29307 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29309         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29310         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29311         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29312         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29313         <bits/inotify.h>.
29314         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29315         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29316         bits/inotify.h.
29318 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29320         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29321         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29322         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29323         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29324         <bits/eventfd.h>.
29325         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29326         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29327         bits/eventfd.h.
29329 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
29331         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29332         __feraiseexcept instead of feraiseexcept.
29334         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29335         nanosleep invocations.
29336         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29337         strings, and add error checking for a nanosleep invocations.
29339 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
29341         Replace FSF snail mail address with URLs, as per GNU coding standards.
29342         Most of the snail mail addresses were wrong anyway, and omitting
29343         them makes the source code easier to maintain.  Almost all of the
29344         changes are to license notices and to locale LC_IDENTIFICATION
29345         addresses, except for this one:
29346         * manual/libc.texinfo: In "Published by", give the FSF's URL,
29347         not its snail mail address.
29349 2012-02-09  Richard Henderson  <rth@twiddle.net>
29351         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29352         of kernel-features.h.
29354         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29356 2012-02-08  Marek Polacek  <polacek@redhat.com>
29358         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29359         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29360         * sysdeps/gnu/_G_config.h: Likewise.
29361         * sysdeps/generic/_G_config.h: Likewise.
29363 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
29365         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29366         tests.
29367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29369         * sysdeps/powerpc/powerpc32/crti.S: New file.
29370         * sysdeps/powerpc/powerpc32/crtn.S: New file.
29371         * sysdeps/powerpc/powerpc64/crti.S: New file.
29372         * sysdeps/powerpc/powerpc64/crtn.S: New file.
29374         * Makeconfig (have-initfini): Don't set.
29375         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29376         * configure.in (nopic_initfini): Don't substitute.
29377         * config.h.in (HAVE_INITFINI): Don't #undef.
29378         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29379         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29381 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
29383         Support crti.S and crtn.S provided directly by architectures.
29384         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29385         [crti.S in sysdirs] (omit-deps): Likewise.
29386         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29387         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29388         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29389         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29390         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29391         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29392         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29393         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29394         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29395         compiler output for sysdeps/generic/initfini.c.
29396         * sysdeps/i386/elf/Makefile: Remove file.
29397         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29399 2012-02-07  Marek Polacek  <polacek@redhat.com>
29401         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29402         * sysdeps/gnu/_G_config.h: Likewise.
29403         * sysdeps/mach/hurd/_G_config.h: Likewise.
29405 2012-02-07  Marek Polacek  <polacek@redhat.com>
29407         * math/Makefile (tests): Add tst-CMPLX2.
29408         * math/tst-CMPLX2.c: New file.
29410 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29412         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29414         * math/libm-test.inc (jn_test): Add missing L suffix.
29416 2012-02-06  Marek Polacek  <polacek@redhat.com>
29418         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29419         * sysdeps/i386/fpu/e_powf.S: Likewise.
29420         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29421         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29422         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29423         * sysdeps/i386/fpu/e_pow.S: Likewise.
29424         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29425         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29426         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29427         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29428         * sysdeps/i386/fpu/e_log2.S: Likewise.
29429         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29430         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29431         * sysdeps/i386/fpu/e_powl.S: Likewise.
29432         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29433         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29434         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29435         * sysdeps/i386/fpu/e_logl.S: Likewise.
29436         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29437         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29438         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29439         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29440         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29441         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29442         * sysdeps/i386/fpu/e_log.S: Likewise.
29443         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29444         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29445         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29446         * sysdeps/i386/fpu/e_logf.S: Likewise.
29447         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29448         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29449         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29450         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29451         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29452         * sysdeps/i386/fpu/e_log10.S: Likewise.
29453         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29454         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29455         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29456         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29457         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29458         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29459         * sysdeps/i386/asm-syntax.h: Likewise.
29460         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29461         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29462         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29463         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29464         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29465         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29466         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29467         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29468         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29469         * sysdeps/powerpc/sysdep.h: Likewise.
29470         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29471         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29473 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29475         [BZ #411]
29476         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29478 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29480         * sysdeps/i386/sysdep.h: Include <features.h>.
29481         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29482         version.
29484 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29486         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29487         Define.
29488         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29489         LOAD_PIC_REG_STR.
29491 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29493         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29494         (SETUP_PIC_REG): Use GET_PC_THUNK.
29495         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29496         macro.
29498 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29500         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29501         for non-PIC compilation.
29502         (SETUP_PIC_REG): Add .p2align directive.
29503         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29504         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29505         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29506         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29507         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29508         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29509         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29510         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29511         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29512         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29513         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29514         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29515         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29516         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29517         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29518         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29519         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29520         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29521         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29522         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29523         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29524         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29525         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29526         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29527         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29528         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29529         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29530         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29531         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29532         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29533         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29534         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29535         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29536         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29537         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29538         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29539         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29540         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29541         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29542         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29543         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29545 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29547         * math/tst-CMPLX.c: Include <stdio.h>.
29549 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29551         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29552         float.
29553         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29554         * sysdeps/sparc/bits/mathdef.h: Likewise.
29556 2012-01-31  Marek Polacek  <polacek@redhat.com>
29558         * libio/libio.h: Don't define _PARAMS.
29559         * locale/programs/config.h: Don't define PARAMS.
29560         * stdlib/strtol_l.c: Likewise.
29561         (__strtol_l): Remove PARAMS from the prototype.
29563 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29565         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29566         names.  Just use the correct names.  Remove unnecessary wrapper
29567         functions.
29568         * malloc/arena.c: Likewise.
29569         * malloc/hooks.c: Likewise.
29571         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29572         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29573         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29575 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29577         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29578         into tail calls.
29579         (update_get_addr): New function.
29580         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29581         GET_ADDR_MODULE parameter.
29583 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29585         * crypt/cert.c: Remove __STDC__ conditionals.
29586         * crypt/crypt-entry.c: Likewise.
29587         * crypt/crypt_util.c: Likewise.
29588         * libio/filedoalloc.c: Likewise.
29589         * libio/fileops.c: Likewise.
29590         * libio/genops.c: Likewise.
29591         * libio/iofclose.c: Likewise.
29592         * libio/iofdopen.c: Likewise.
29593         * libio/iofopen.c: Likewise.
29594         * libio/iofopen64.c: Likewise.
29595         * libio/iogetdelim.c: Likewise.
29596         * libio/iopopen.c: Likewise.
29597         * libio/obprintf.c: Likewise.
29598         * libio/oldfileops.c: Likewise.
29599         * libio/oldiofclose.c: Likewise.
29600         * libio/oldiofdopen.c: Likewise.
29601         * libio/oldiofopen.c: Likewise.
29602         * libio/oldiopopen.c: Likewise.
29603         * libio/wfiledoalloc.c: Likewise.
29604         * libio/wgenops.c: Likewise.
29605         * locale/programs/xmalloc.c: Likewise.
29606         * misc/syslog.c: Likewise.
29607         * stdio-common/xbug.c: Likewise.
29608         * string/memchr.c: Likewise.
29609         * string/memcmp.c: Likewise.
29610         * string/memrchr.c: Likewise.
29611         * string/rawmemchr.c: Likewise.
29612         * sysdeps/posix/getcwd.c: Likewise.
29613         * time/strftime_l.c: Likewise.
29615 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29617         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29618         * config.make.in (config-cflags-sse2avx): Define.
29619         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29620         Fix typo.
29622 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
29624         * scripts/config.guess: Update from upstream config git repository.
29625         * scripts/config.sub: Likewise.
29627 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
29629         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29630         (EM_NUM): Update.
29631         (R_TILEPRO_*, R_TILEGX_*): New macros.
29633         * scripts/firstversions.awk: Fix bug in version range handling.
29635         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29637         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29639         * include/sys/epoll.h: New file.
29640         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29641         libc_hidden_def.
29643 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
29645         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29646         Avoid unnecessary __WORDSIZE == 64 test.
29647         (fmaxf): Use VEX format if possible.
29648         (fmax): Likewise.
29649         (fminf): Likewise.
29650         (fmin): Likewise.
29652         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29653         * math/math_private.h: Remove libc_fegetround* and
29654         libc_fesetround*.
29655         * sysdeps/i386/configure.in: Check for -msse2avx.
29656         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29657         also if SSE2AVX is defined.
29658         Remove libc_fegetround* and libc_fesetround*.
29659         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29660         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
29661         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29662         of HAS_YMM_USABLE.
29663         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29664         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29665         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29666         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29667         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29669         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29671 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29673         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29674         size is not set.
29675         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29677 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
29679         [BZ #13618]
29680         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29681         relocation.
29682         * Makeconfig (libm): Define.
29683         * elf/Makefile: Add rules to build and run tst-relsort1.
29684         * elf/tst-relsort1.c: New file.
29685         * elf/tst-relsort1mod1.c: New file.
29686         * elf/tst-relsort1mod2.c: New file.
29688 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
29690         * math/s_ldexp.c: Remove __STDC__ conditionals.
29691         * math/s_ldexpf.c: Likewise.
29692         * math/s_ldexpl.c: Likewise.
29693         * math/s_nextafter.c: Likewise.
29694         * math/s_nexttowardf.c: Likewise.
29695         * math/s_significand.c: Likewise.
29696         * math/s_significandf.c: Likewise.
29697         * math/s_significandl.c: Likewise.
29698         * math/w_jnl.c: Likewise.
29699         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29700         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29701         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29702         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29703         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29704         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29705         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29706         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29707         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29708         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29709         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29710         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29711         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29712         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29713         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29714         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29715         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29716         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29717         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29718         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29719         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29720         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29721         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29722         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29723         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29724         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29725         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29726         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29727         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29728         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29729         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29730         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29731         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29732         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29733         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29734         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29735         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29736         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29737         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29738         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29739         * sysdeps/ieee754/k_standard.c: Likewise.
29740         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29741         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29742         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29743         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29744         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29745         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29746         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29747         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29748         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29749         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29750         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29751         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29752         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29753         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29754         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29755         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29756         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29757         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29758         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29759         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29760         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29761         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29762         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29763         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29764         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29765         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29766         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29767         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29768         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29769         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29770         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29771         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29772         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29773         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29774         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29775         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29776         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29777         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29778         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29779         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29780         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29781         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29782         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29783         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29784         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29785         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29786         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29787         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29788         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29789         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29790         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29791         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29792         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29793         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29794         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29795         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29796         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29797         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29798         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29799         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29800         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29801         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29802         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29803         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29804         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29805         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29806         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29807         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29808         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29809         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29810         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29811         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29812         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29813         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29814         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29815         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29816         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29817         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29818         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29819         * sysdeps/ieee754/s_matherr.c: Likewise.
29820         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29821         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29822         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29823         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29825 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29827         * crypt/md5.h: Remove __STDC__ conditionals.
29828         * libio/libioP.h: Likewise.
29829         * locale/programs/config.h: Likewise.
29830         * sysdeps/generic/sysdep.h: Likewise.
29831         * sysdeps/i386/asm-syntax.h: Likewise.
29832         * sysdeps/s390/asm-syntax.h: Likewise.
29833         * sysdeps/unix/sysdep.h: Likewise.
29834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29837 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29839         * libio/libio.h: Remove __STDC__ conditionals.
29840         * malloc/obstack.h: Likewise.
29841         * math/complex.h: Likewise.
29842         * math/math.h: Likewise.
29843         * sysdeps/generic/_G_config.h: Likewise.
29844         * sysdeps/gnu/_G_config.h: Likewise.
29845         * sysdeps/mach/hurd/_G_config.h: Likewise.
29846         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29847         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29848         * sysdeps/sparc/bits/mathdef.h: Likewise.
29850 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
29852         [BZ #13583]
29853         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29854         Clean up HAS_* macros.
29855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29856         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29857         possible.
29858         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29859         HAS_AVX.
29860         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29861         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29862         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29863         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29864         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29866 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
29868         * elf/tst-unique3.cc (gets): Remove declaration.
29869         * elf/tst-unique3lib.cc (gets): Likewise.
29870         * elf/tst-unique3lib2.cc (gets): Likewise.
29871         * elf/tst-unique4.cc (gets): Likewise.
29873 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
29875         * include/stdio.h: Add C++ protection.  Add gets declarations and
29876         definitions.
29877         * debug/tst-chk1.c: Don't declare gets here.
29878         * stdio-common/tst-gets.c: Likewise.
29880 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29882         * posix/glob: Remove directory.
29884 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29886         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29888 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
29890         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29891         of the non-standard EPFNOSUPPORT.
29893 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29895         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29896         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29897         ANYWHERE set to 1 only on KERN_NO_SPACE error.
29899 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
29901         * wcsmbs/uchar.h: Test __STDC_VERSION__.
29903 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
29905         * nscd/aicache.c (addhstaiX): Do not cache negative results of
29906         transient errors.
29907         * nscd/grpcache.c (cache_addgr): Likewise.
29908         * nscd/hstcache.c (cache_addhst): Likewise.
29909         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29910         * nscd/pwdcache.c (cache_addpw): Likewise.
29911         * nscd/servicescache.c (cache_addserv): Likewise.
29913 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
29915         * malloc/malloc.c: Various cleanups.
29916         * malloc/hooks.c: Likewise.
29918         * stdlib/Makefile (tests): Add bug-fmtmsg1.
29919         * stdlib/bug-fmtmsg1.c: New file.
29921         * stdlib/fmtmsg.c (init): Add missing unlock.
29922         Patch by Peng Haitao <penght@cn.fujitsu.com>.
29924 2012-01-12  Marek Polacek  <polacek@redhat.com>
29926         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29927         and _GNU_SOURCE.
29929 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29931         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29932         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29933         macro to ensure uniqueness of label name.
29934         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29935         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29937 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
29939         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29941         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29942         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29943         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29944         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29946 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
29948         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29950         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29951         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29952         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29954         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29956         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29957         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29958         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29959         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29961         * math/bits/math-finite.h: Add ldexp support.
29963 2012-01-10  Marek Polacek  <polacek@redhat.com>
29965         * locale/programs/localedef.h (show_archive_content): Add noreturn
29966         attribute.
29968 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
29970         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29972 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29974         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29976         * io/Makefile (headers): Add bits/poll2.h.
29978 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
29980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29981         typo #include statement.
29983 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29985         * include/sys/cdefs.h: Define __attribute_alloc_size.
29986         * catgets/gencat.c: Add alloc_size attribute and apply consistently
29987         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29988         * elf/pldd.c: Likewise.
29989         * iconv/iconv_charmap.c: Likewise.
29990         * iconv/iconvconfig.c: Likewise.
29991         * iconv/strtab.c: Likewise.
29992         * locale/programs/locale.c: Likewise.
29993         * locale/programs/localedef.h: Likewise.
29994         * locale/programs/simple-hash.c: Likewise.
29995         * nscd/nscd.h: Likewise.
29996         * nss/makedb.c: Likewise.
29997         * sysdeps/generic/ldconfig.h: Likewise.
29998         * locale/programs/localedef.c: Remove xmalloc prototype.
29999         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30001 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30003         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30004         appropriate.
30006 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30008         * math/Makefile (tests): Add tst-CMPLX.
30009         * math/tst-CMPLX.c: New file.
30011         * math/complex.h (CMPLXL): Fix typo.
30013         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30014         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30015         GLIBC_2.16.
30016         * debug/tst-chk1.c: Add poll and ppoll tests.
30017         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30018         * include/sys/poll.h: Add hidden proto for ppoll.
30019         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30020         * sysdeps/mach/hurd/ppoll.c: Likewise.
30021         * io/ppoll.c: Likewise.
30022         * debug/poll_chk.c: New file.
30023         * debug/ppoll_chk.c: New file.
30024         * include/bits/poll2.h: New file.
30025         * io/bits/poll2.h: New file.
30027         [BZ #1350]
30028         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30030         * configure.in: static is always set to yes.  Remove.
30031         * config.make.in: Don't set build-static.
30032         * Makeconfig: Remove use of build-static.
30033         * dlfcn/Makefile: Likewise.
30034         * elf/Makefile: Likewise.
30035         * math/Makefile: Likewise.
30036         * misc/Makefile: Likewise.
30037         * nptl/Makefile: Likewise.
30038         * sysdeps/mach/hurd/Makefile: Likewise.
30040         * configure.in: PWD_P is not used anymore.
30041         * config.make.in: Remove PWD_P entry.
30043         * configure.in: Remove last remnants of RANLIB.
30044         No need to check for signed size_t anymore.
30045         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30046         and IA-64.
30047         Remove __builtin_expect test because we require at least gcc 3.4.
30048         * aclocal.m4: Likewise.
30050         * wcsmbs/mbrtoc16.c: Implement using towc function.
30051         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30052         * wcsmbs/wcsmbsload.c: Likewise.
30053         * iconv/gconv_simple.c: Likewise.
30054         * iconv/gconv_int.h: Likewise.
30055         * iconv/gconv_builtin.h: Likewise.
30056         * iconv/iconv_prog.c: Remove CHAR16 handling.
30058         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30060         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30062         * configure.in: Remove --with-elf and --enable-bounded options.
30063         Dont set base_machine for ia64.  More non-ELF conditions removed.
30064         Remove testing and setting of leading underscore information.
30065         * config.make.in (build-bounded): Set to no.
30066         * config.h.in: Remove NO_UNDERSCORES entry.
30067         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30068         them.
30069         * csu/start.c: Remove !NO_UNDERSCORE code.
30070         * locale/localeinfo.h: Likewise.
30071         * sysdeps/generic/machine-gmon.h: Likewise.
30072         * sysdeps/generic/sysdep.h: Likewise.
30073         * sysdeps/i386/sysdep.h: Likewise.
30074         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30075         * sysdeps/mach/sysdep.h: Likewise.
30076         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30077         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30078         * sysdeps/sh/sysdep.h: Likewise.
30079         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30080         * sysdeps/unix/i386/sysdep.S: Likewise.
30081         * sysdeps/unix/sparc/start.c: Likewise.
30082         * sysdeps/unix/sparc/sysdep.S: Likewise.
30083         * sysdeps/unix/sparc/sysdep.h: Likewise.
30084         * sysdeps/unix/start.c: Likewise.
30085         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30086         * sysdeps/x86_64/sysdep.h: Likewise.
30088 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30090         [BZ #13553]
30091         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30092         for non-gcc.
30093         * argp/argp-fmtstream.h: Use const instead __const.
30094         * argp/argp.h: Likewise.
30095         * assert/assert.h: Likewise.
30096         * bits/fenv.h: Likewise.
30097         * bits/sched.h: Likewise.
30098         * bits/sigset.h: Likewise.
30099         * bits/sigthread.h: Likewise.
30100         * catgets/nl_types.h: Likewise.
30101         * conform/data/pthread.h-data: Likewise.
30102         * crypt/crypt-private.h: Likewise.
30103         * crypt/crypt.h: Likewise.
30104         * crypt/crypt_util.c: Likewise.
30105         * ctype/ctype.h: Likewise.
30106         * debug/execinfo.h: Likewise.
30107         * debug/mbsnrtowcs_chk.c: Likewise.
30108         * debug/mbsrtowcs_chk.c: Likewise.
30109         * debug/wcsnrtombs_chk.c: Likewise.
30110         * debug/wcsrtombs_chk.c: Likewise.
30111         * debug/wcstombs_chk.c: Likewise.
30112         * dirent/dirent.h: Likewise.
30113         * dlfcn/dlfcn.h: Likewise.
30114         * elf/neededtest4.c: Likewise.
30115         * grp/grp.h: Likewise.
30116         * gshadow/gshadow.h: Likewise.
30117         * iconv/gconv.h: Likewise.
30118         * iconv/gconv_int.h: Likewise.
30119         * iconv/gconv_simple.c: Likewise.
30120         * iconv/iconv.h: Likewise.
30121         * iconv/loop.c: Likewise.
30122         * iconv/skeleton.c: Likewise.
30123         * include/aio.h: Likewise.
30124         * include/aliases.h: Likewise.
30125         * include/argz.h: Likewise.
30126         * include/arpa/inet.h: Likewise.
30127         * include/assert.h: Likewise.
30128         * include/dirent.h: Likewise.
30129         * include/dlfcn.h: Likewise.
30130         * include/execinfo.h: Likewise.
30131         * include/fcntl.h: Likewise.
30132         * include/fenv.h: Likewise.
30133         * include/glob.h: Likewise.
30134         * include/grp.h: Likewise.
30135         * include/libintl.h: Likewise.
30136         * include/mntent.h: Likewise.
30137         * include/netdb.h: Likewise.
30138         * include/pwd.h: Likewise.
30139         * include/rpc/netdb.h: Likewise.
30140         * include/sched.h: Likewise.
30141         * include/search.h: Likewise.
30142         * include/shadow.h: Likewise.
30143         * include/signal.h: Likewise.
30144         * include/stdio.h: Likewise.
30145         * include/stdlib.h: Likewise.
30146         * include/string.h: Likewise.
30147         * include/sys/socket.h: Likewise.
30148         * include/sys/stat.h: Likewise.
30149         * include/sys/statfs.h: Likewise.
30150         * include/sys/statvfs.h: Likewise.
30151         * include/sys/syslog.h: Likewise.
30152         * include/sys/time.h: Likewise.
30153         * include/sys/uio.h: Likewise.
30154         * include/time.h: Likewise.
30155         * include/unistd.h: Likewise.
30156         * include/utmp.h: Likewise.
30157         * include/wchar.h: Likewise.
30158         * include/wctype.h: Likewise.
30159         * inet/aliases.h: Likewise.
30160         * inet/arpa/inet.h: Likewise.
30161         * inet/netinet/ether.h: Likewise.
30162         * inet/netinet/in.h: Likewise.
30163         * intl/libintl.h: Likewise.
30164         * io/bits/fcntl2.h: Likewise.
30165         * io/fcntl.h: Likewise.
30166         * io/ftw.h: Likewise.
30167         * io/sys/poll.h: Likewise.
30168         * io/sys/stat.h: Likewise.
30169         * io/sys/statfs.h: Likewise.
30170         * io/sys/statvfs.h: Likewise.
30171         * io/utime.h: Likewise.
30172         * libio/bits/stdio.h: Likewise.
30173         * libio/bits/stdio2.h: Likewise.
30174         * libio/libio.h: Likewise.
30175         * libio/libioP.h: Likewise.
30176         * libio/stdio.h: Likewise.
30177         * locale/lc-ctype.c: Likewise.
30178         * locale/locale.h: Likewise.
30179         * login/utmp.h: Likewise.
30180         * malloc/arena.c: Likewise.
30181         * malloc/malloc.c: Likewise.
30182         * malloc/malloc.h: Likewise.
30183         * malloc/mcheck.c: Likewise.
30184         * malloc/mtrace.c: Likewise.
30185         * math/bits/mathcalls.h: Likewise.
30186         * math/fenv.h: Likewise.
30187         * math/math_private.h: Likewise.
30188         * misc/bits/error.h: Likewise.
30189         * misc/bits/syslog.h: Likewise.
30190         * misc/err.h: Likewise.
30191         * misc/error.h: Likewise.
30192         * misc/fstab.h: Likewise.
30193         * misc/mntent.h: Likewise.
30194         * misc/regexp.h: Likewise.
30195         * misc/search.h: Likewise.
30196         * misc/sgtty.h: Likewise.
30197         * misc/sys/mman.h: Likewise.
30198         * misc/sys/syslog.h: Likewise.
30199         * misc/sys/uio.h: Likewise.
30200         * misc/sys/xattr.h: Likewise.
30201         * misc/ttyent.h: Likewise.
30202         * nis/rpcsvc/ypclnt.h: Likewise.
30203         * nss/nss.h: Likewise.
30204         * posix/bits/unistd.h: Likewise.
30205         * posix/fnmatch.h: Likewise.
30206         * posix/glob.h: Likewise.
30207         * posix/sched.h: Likewise.
30208         * posix/spawn.h: Likewise.
30209         * posix/sys/wait.h: Likewise.
30210         * posix/unistd.h: Likewise.
30211         * posix/wordexp.h: Likewise.
30212         * pwd/pwd.h: Likewise.
30213         * resolv/netdb.h: Likewise.
30214         * resource/sys/resource.h: Likewise.
30215         * rt/aio.h: Likewise.
30216         * rt/bits/mqueue2.h: Likewise.
30217         * rt/mqueue.h: Likewise.
30218         * shadow/shadow.h: Likewise.
30219         * signal/signal.h: Likewise.
30220         * socket/send.c: Likewise.
30221         * socket/sendto.c: Likewise.
30222         * socket/sys/socket.h: Likewise.
30223         * stdio-common/printf.h: Likewise.
30224         * stdlib/bits/stdlib.h: Likewise.
30225         * stdlib/fmtmsg.h: Likewise.
30226         * stdlib/monetary.h: Likewise.
30227         * stdlib/stdlib.h: Likewise.
30228         * stdlib/ucontext.h: Likewise.
30229         * streams/stropts.h: Likewise.
30230         * string/argz.h: Likewise.
30231         * string/bits/string2.h: Likewise.
30232         * string/string.h: Likewise.
30233         * string/strings.h: Likewise.
30234         * sunrpc/rpc/auth.h: Likewise.
30235         * sunrpc/rpc/auth_des.h: Likewise.
30236         * sunrpc/rpc/clnt.h: Likewise.
30237         * sunrpc/rpc/netdb.h: Likewise.
30238         * sunrpc/rpc/pmap_clnt.h: Likewise.
30239         * sunrpc/rpc/xdr.h: Likewise.
30240         * sysdeps/generic/inttypes.h: Likewise.
30241         * sysdeps/generic/net/if.h: Likewise.
30242         * sysdeps/generic/sys/swap.h: Likewise.
30243         * sysdeps/gnu/net/if.h: Likewise.
30244         * sysdeps/gnu/utmpx.h: Likewise.
30245         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30246         * sysdeps/i386/i486/bits/string.h: Likewise.
30247         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30248         * sysdeps/s390/bits/string.h: Likewise.
30249         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30250         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30251         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30252         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30253         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30254         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30255         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30256         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30257         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30258         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30259         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30260         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30261         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30262         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30263         * sysdeps/unix/sysv/linux/readv.c: Likewise.
30264         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30265         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30266         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30267         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30268         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30269         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30270         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30271         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30272         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30273         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30274         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30275         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30276         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30277         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30278         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30279         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30280         * sysvipc/sys/ipc.h: Likewise.
30281         * sysvipc/sys/msg.h: Likewise.
30282         * sysvipc/sys/sem.h: Likewise.
30283         * sysvipc/sys/shm.h: Likewise.
30284         * termios/termios.h: Likewise.
30285         * time/sys/time.h: Likewise.
30286         * time/time.h: Likewise.
30287         * wcsmbs/bits/wchar2.h: Likewise.
30288         * wcsmbs/uchar.h: Likewise.
30289         * wcsmbs/wchar.h: Likewise.
30290         * wctype/wctype.h: Likewise.
30292         [BZ #13551]
30293         * Makeconfig: Remove all but ELF support including AIX support.
30294         * Makerules: Likewise.
30295         * config.h.in: Likewise.
30296         * config.make.in: Likewise.
30297         * configure: Likewise.
30298         * configure.in: Likewise.
30299         * csu/Makefile: Likewise.
30300         * csu/version.c: Likewise.
30301         * debug/Makefile: Likewise.
30302         * dlfcn/Makefile: Likewise.
30303         * elf/Makefile: Likewise.
30304         * extra-lib.mk: Likewise.
30305         * iconv/Makefile: Likewise.
30306         * include/libc-symbols.h: Likewise.
30307         * include/shlib-compat.h: Likewise.
30308         * resolv/Makefile: Likewise.
30309         * resolv/res_libc.c: Likewise.
30310         * rt/Makefile: Likewise.
30311         * sysdeps/i386/asm-syntax.h: Likewise.
30312         * sysdeps/i386/sysdep.h: Likewise.
30313         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30314         * sysdeps/mach/sysdep.h: Likewise.
30315         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30316         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30317         * sysdeps/s390/asm-syntax.h: Likewise.
30318         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30319         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30320         * sysdeps/sh/sysdep.h: Likewise.
30321         * sysdeps/unix/sparc/sysdep.h: Likewise.
30322         * sysdeps/wordsize-32/divdi3.c: Likewise.
30323         * sysdeps/x86_64/sysdep.h: Likewise.
30325         * argp/Versions: Remove _argp_unlock_xxx.
30327         [BZ #13559]
30328         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
30329         * abilist/libBrokenLocale.abilist: Likewise.
30330         * abilist/libanl.abilist: Likewise.
30331         * abilist/libc.abilist: Likewise.
30332         * abilist/libcrypt.abilist: Likewise.
30333         * abilist/libdl.abilist: Likewise.
30334         * abilist/libm.abilist: Likewise.
30335         * abilist/libnsl.abilist: Likewise.
30336         * abilist/libpthread.abilist: Likewise.
30337         * abilist/libresolv.abilist: Likewise.
30338         * abilist/librt.abilist: Likewise.
30339         * abilist/libthread_db.abilist: Likewise.
30340         * abilist/libutil.abilist: Likewise.
30341         * abilist/libnss_db.abilist: New file.
30343         * scripts/abilist.awk: Add support for indirect functions.
30345         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30347         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30349         * shlib-versions: Remove entries for ports architectures.
30351         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
30352         files in ports.
30353         * elf/stackguard-macros.h: Remove support for IA-64.
30354         * elf/tst-auditmod1.c: Likewise.
30355         * sysdeps/generic/ldsodefs.h: Likewise.
30357         * sysdeps/unix/sysv/linux/configure.in: Ports should define
30358         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30359         configure files.
30361         [BZ #13552]
30362         * configure.in: Remove --enable-omitfp support.
30363         * FAQ.in: Adjust.
30364         * config.make.in: Likewise.
30365         * Makeconfig: Likewise.
30366         * manual/install.texi: Likewise.
30368         In case anyone cares, the IA-64 architecture could move to ports.
30369         * sysdeps/ia64/*: Removed.
30370         * sysdeps/unix/sysv/linux/ia64/*: Removed.
30371         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30373         [BZ #13555]
30374         * configure.in: Remove entries for unsupported architectures.
30376         [BZ #13533]
30377         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30378         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
30379         routines.
30380         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30381         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30382         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
30383         fall back to using wcrtomb.
30384         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30385         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
30386         renaming.
30387         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30388         * wcsmbs/tst-c16c32-1.c: New file.
30390         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30391         local variable.
30393         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30395         * elf/tst-unique3.cc: Add explicit declaration of gets.
30396         * elf/tst-unique3lib.cc: Likewise.
30397         * elf/tst-unique3lib2.cc: Likewise.
30398         * elf/tst-unique4.cc: Likewise.
30400         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30402 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30404         [BZ #13566]
30405         * assert/assert.h (static_assert): Don't define for C++.
30406         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30407         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30409 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30411         * iconv/loop.c (single loop): Fix assertion in storing of
30412         remaining bytes.
30414         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30416 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30418         * posix/getconf.c: Update copyright year.
30419         * nss/getent.c: Likewise.
30420         * nss/makedb.c: Likewise.
30421         * iconv/iconvconfig.c: Likewise.
30422         * iconv/iconv_prog.c: Likewise.
30423         * elf/ldconfig.c: Likewise.
30424         * elf/pldd.c: Likewise.
30425         * elf/sotruss.ksh: Likewise.
30426         * catgets/gencat.c: Likewise.
30427         * csu/version.c: Likewise.
30428         * elf/ldd.bash.in: Likewise.
30429         * elf/sprof.c (print_version): Likewise.
30430         * locale/programs/locale.c: Likewise.
30431         * locale/programs/localedef.c: Likewise.
30432         * login/programs/pt_chown.c: Likewise.
30433         * nscd/nscd.c (print_version): Likewise.
30434         * debug/xtrace.sh: Likewise.
30435         * malloc/memusage.sh: Likewise.
30436         * malloc/mtrace.pl: Likewise.
30437         * debug/catchsegv.sh: Likewise.
30439 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30441         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30442         pure attribute.
30444 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30446         [BZ #13533]
30447         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30448         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30449         transformations.
30450         * iconv/gconv_int.h: Likewise.
30451         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30452         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30453         from libc for GLIBC_2.16.
30454         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30455         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30456         * wcsmbs/uchar.h: Really define mbstate_t.
30457         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30458         * wcsmbs/c16rtomb.c: New file.
30459         * wcsmbs/mbrtoc16.c: New file.
30460         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30461         for C/POSIX locale.
30462         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30463         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30465         * wcsmbs/wchar.h: Add missing __restrict.
30467 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30469         [BZ #13532]
30470         * time/Makefile (routines): Add timespec_get.
30471         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30472         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30473         timespec for ISO C11.
30474         * time/timespec_get.c: New file.
30475         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30476         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30478         [BZ #13531]
30479         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30480         * stdlib/stdlib.h: Declare aligned_alloc.
30481         * Versions.def: Add GLIBC_2.16 for libc.
30482         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30484         [BZ 13527]
30485         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30486         ISO C11.
30488         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30489         code.
30491         [BZ #13528]
30492         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30494         [BZ #13529]
30495         * assert/assert.h (static_assert): Define.
30497         * version.h: Update for 2.16 development version.
30499         [BZ #13526]
30500         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30501         _ISOC11_SOURCE.
30503         * version.h (RELEASE): Bump for 2.15 release.
30504         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30506         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30507         Patch by Marek Polacek <mpolacek@redhat.com>.
30509         * bits/byteswap.h: Protect long long constants with __extension__.
30510         * sysdeps/i386/bits/byteswap.h: Likewise.
30511         * sysdeps/ia64/bits/byteswap.h: Likewise.
30512         * sysdeps/s390/bits/byteswap.h: Likewise.
30513         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30515 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30517         [BZ #13540]
30518         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30519         destination buffer.
30520         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30522 2011-12-23  Marek Polacek  <polacek@redhat.com>
30524         * elf/dl-addr.c (determine_info): Add inline keyword.
30525         * elf/tst-auditmod4b.c (check_avx): Likewise.
30526         * elf/tst-auditmod6b.c (check_avx): Likewise.
30527         * elf/tst-auditmod6c.c (check_avx): Likewise.
30528         * elf/tst-auditmod7b.c (check_avx): Likewise.
30530 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30532         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30533         !__SSE_MATH__.
30535 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30537         [BZ #13540]
30538         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30539         processing for last bytes.
30541 2011-08-06  Bruno Haible  <bruno@clisp.org>
30543         [BZ #13061]
30544         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30545         U+0385, not to U+1FEE.
30547         [BZ #13062]
30548         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30549         entry for U+00A5 U+0301.
30551 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30553         [BZ #13166]
30554         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30555         buffer for the output is too small.
30557         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30558         optimization.
30560         [BZ #13185]
30561         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30562         SSE flags if possible.
30564 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30566         [BZ #13540]
30567         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30568         processing for last bytes.
30570 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30572         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30573         (syscall-list-default-options, syscall-list-default-condition)
30574         (syscall-list-includes): Define.
30575         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30576         list of ABIs and options and #if conditions for each ABI.  Do not
30577         handle common syscalls between ABIs specially.
30578         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30579         Remove.
30580         (syscall-list-variants, syscall-list-32bit-options)
30581         (syscall-list-32bit-condition, syscall-list-64bit-options)
30582         (syscall-list-64bit-condition): Define.
30583         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30584         (syscall-list-variants, syscall-list-32bit-options)
30585         (syscall-list-32bit-condition, syscall-list-64bit-options)
30586         (syscall-list-64bit-condition): Define.
30587         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30588         Remove.
30589         (syscall-list-variants, syscall-list-32bit-options)
30590         (syscall-list-32bit-condition, syscall-list-64bit-options)
30591         (syscall-list-64bit-condition): Define.
30592         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30593         Remove.
30594         (syscall-list-variants, syscall-list-32bit-options)
30595         (syscall-list-32bit-condition, syscall-list-64bit-options)
30596         (syscall-list-64bit-condition): Define.
30598 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30600         * locale/iso-639.def: Add brx entry.
30602         [BZ #13328]
30603         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30604         Proposed by Mariusz_Cukr <marcukr@op.pl>.
30606         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30607         __feraiseexcept_renamed.
30609 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30611         [BZ #13538]
30612         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30613         EPOLLET with unsigned values.
30614         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30615         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30617         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30618         to large cancellation.
30619         * math/s_cacoshf.c: Likewise.
30620         * math/s_cacoshl.c: Likewise.
30622 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
30624         [BZ #13305]
30625         [BZ #12786]
30626         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30627         * math/s_cacoshf.c: Likewise.
30628         * math/s_cacoshl.c: Likewise.
30630 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30632         [BZ #13439]
30633         * iconv/gconv.h: Define __GCONV_SWAP.
30634         * iconvdata/unicode.c: The swap bit must be stored in __flags.
30635         * iconvdata/utf-16.c: Likewise.
30636         * iconvdata/utf-32.c: Likewise.
30638 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30640         [BZ #13524]
30641         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30642         numerator after shifting it by one limb.
30644 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30646         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30647         under [__USE_EXTERN_INLINES].
30649 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30651         [BZ #13446]
30652         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30654 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30656         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30657         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30658         optimized code.
30659         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30660         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30661         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30662         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30663         for strncasecmp/strncasecmp_l compilation.
30664         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30665         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30667 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
30669         [BZ #13484]
30670         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30671         of __asm__.
30673 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30675         [BZ #13506]
30676         * time/tzfile.c (__tzfile_read): Check values from file header.
30678 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30680         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30681         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30682         * powerpc/powerpc32/dl-start.S: Likewise.
30683         * powerpc/powerpc32/elf/start.S: Likewise.
30684         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30685         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30686         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30687         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30688         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30689         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30690         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30691         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30692         * powerpc/powerpc32/fpu/s_round.S: Likewise.
30693         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30694         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30695         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30696         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30697         * powerpc/powerpc32/memset.S: Likewise.
30698         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30699         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30700         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30701         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30702         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30703         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30704         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30705         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30706         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30707         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30708         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30709         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30710         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30712 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30714         * math/libm-test.inc: Added more nearbyint tests.
30715         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30716         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30717         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30718         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30720 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
30722         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30723         FD_CLOEXEC.
30725 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30727         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30728         Add wcscpy-ssse3 wcscpy-c.
30729         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30730         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30731         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30732         * sysdeps/x86_64/wcschr.S: New file.
30733         * sysdeps/x86_64/wcsrchr.S: New file.
30734         * string/test-strcmp.c: Remove checking of wcscmp function for
30735         wrong alignments.
30736         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30737         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30738         wcsrchr-sse2 wcsrchr-c.
30739         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30740         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30741         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30742         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30743         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30744         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30745         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30746         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30747         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30748         * wcsmbc/wcschr.c (WCSCHR): New macro.
30750 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30752         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30753         * wcsmbs/test-wcsrchr.c: New file.
30754         * string/test-strrchr.c: Add wcsrchr support.
30755         (WIDE): New macro.
30756         * wcsmbs/test-wcscpy.c: New file.
30757         * string/test-strcpy.c: Add wcscpy support.
30758         (WIDE): New macro.
30760 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
30762         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30763         the inner loop.
30765 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
30767         [BZ #13472]
30768         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30770 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
30772         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30773         Minor optimizations.
30775         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30776         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30777         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30779 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
30781         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30782         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30783         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30784         for gcc to avoid warnings.
30785         * inet/Makefile (tests): Add tst-checks.
30786         * inet/tst-checks.c: New file.
30788         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30789         warning.
30791         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30792         __wmemcmp_sse2.
30794         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30795         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30797         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30799 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
30801         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30802         problem.
30804         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30806 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
30808         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30809         conditional on GCC version.
30810         (__arch_compare_and_exchange_val_8_acq)
30811         (__arch_compare_and_exchange_val_16_acq)
30812         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30813         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30814         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30816 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
30818         * sysdeps/sh/backtrace.c: New file.
30820 2011-12-02  Andreas Schwab  <schwab@redhat.com>
30822         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
30823         parenthesis.
30825 2011-12-01  Andreas Schwab  <schwab@redhat.com>
30827         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30828         falling back to utime.
30830 2011-11-30  Andreas Schwab  <schwab@redhat.com>
30832         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30833         expectations for float.
30835 2011-11-29  Andreas Schwab  <schwab@redhat.com>
30837         * locale/weight.h (findidx): Add parameter len.
30838         * locale/weightwc.h (findidx): Likewise.
30839         * posix/fnmatch_loop.c (FCT): Adjust caller.
30840         * posix/regcomp.c (build_equiv_class): Likewise.
30841         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30842         * posix/regexec.c (check_node_accept_bytes): Likewise.
30843         * string/strcoll_l.c (STRCOLL): Likewise.
30844         * string/strxfrm_l.c (STRXFRM): Likewise.
30846 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
30848         * Makefile.in: Remove CVSOPT handling.
30849         * configure.in: Remove use of AC_REVISION.
30850         * iconvdata/Makefile (distribute): No need to filter out CVS.
30851         * scripts/list-sources.sh: Remove CVS, subversion and monotone
30852         handling.
30854 2011-11-16  Andreas Schwab  <schwab@redhat.com>
30856         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30857         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30858         [USE_AS_STRNCASECMP_L]: Likewise.
30859         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30860         NO_TLS_DIRECT_SEG_REFS.
30861         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30862         Fix argument offsets for non-PIC.
30863         [USE_AS_STRNCASECMP_L]: Likewise.
30864         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30865         NO_TLS_DIRECT_SEG_REFS.
30867 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30869         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30870         O_CLOEXEC.
30871         * locale/loadlocale.c (_nl_load_locale): Likewise.
30873 2011-11-15  Andreas Schwab  <schwab@redhat.com>
30875         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30876         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30877         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30878         (SYSCALL_GETTIME): Set errno on error.
30880         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30881         count references to noai6ai_cached.
30883 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30885         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30887         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30888         FD_CLOEXEC for /proc/self/maps.
30890         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30891         FD_CLOEXEC for /proc/meminfo.
30893         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30894         gai.conf.
30896         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
30897         FD_CLOEXEC for given file.
30899         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30901         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30902         FD_CLOEXEC for /etc/hosts.
30903         (_gethtent): Likewise.
30905         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30907         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30908         cancellation and set FD_CLOEXEC for /etc/netgroup.
30910         * nss/nss_files/files-key.c (search): Don't allow cancellation when
30911         reading /etc/publickey.
30913         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30914         allow cancellation when reading /etc/group.
30916         * nss/nss_files/files-alias.c (internal_setent): Don't allow
30917         cancellation.
30918         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
30920         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30921         when using data file.
30923         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30925         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30926         (write_nis_obj): Use "c" and "e" in fopen.
30928         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30930         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30932         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30934         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30936         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30937         locale.alias.
30939         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30941         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30943         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30945         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30946         file parsing and set FD_CLOEXEC.
30948 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30950         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30952 2011-11-14  Andreas Schwab  <schwab@redhat.com>
30954         * malloc/arena.c (arena_get2): Don't call reused_arena when
30955         _int_new_arena failed.
30957 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30959         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30960         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30961         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30962         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30963         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30964         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30965         to compile strcasecmp and strncasecmp.
30966         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30967         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30969         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30971 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
30973         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30974         locale-defines.sym to gen-as-const-headers.
30975         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30976         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30977         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30978         to compile strcasecmp and strncasecmp.
30979         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30980         strcasecmp_l and strncasecmp_l.
30981         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30982         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30983         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30984         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30985         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30986         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30987         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30988         * sysdeps/i386/i686/multiarch/strncase.S: New file.
30989         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30990         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30991         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30993 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
30995         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30996         result of SYSDEP_GETTIME_CPU to retval.
30997         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30998         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31000         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31001         variable.
31003         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31004         mantissa words.
31005         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31007         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31008         from unused variable.
31010         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31011         DWARF definitions.
31012         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31013         for assembling.
31015         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31016         over namespaces.
31018         * sunrpc/rpc_prot.c (rejected): Fix case value.
31020         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31021         unsigned long long int to avoid warnings in shift.
31023         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31024         of use of trans.
31025         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31026         variable tmp.
31028         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31029         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31030         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31032         * nis/nis_table.c (nis_list): Use variable of correct type for
31033         result of __follow_path call.
31035 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31037         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31038         of math functions ceil, trunc, floor, round, and sqrt, when
31039         avaliable on the platform.
31040         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31041         name clash.
31042         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31043         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31044         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31046 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31048         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31049         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31051 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31053         * include/unistd.h: Fix __readlink return type.
31054         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31056 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31058         * stdlib/ucontext.h: Undo last change for makecontext.
31060 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31062         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31064         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31065         * setjmp/setjmp.h: Mark functions as non-leaf.
31066         * setjmp/bits/setjmp2.h: Likewise.
31067         * stdlib/ucontext.h: Likewise.
31069 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31071         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31072         (reused_arena): Don't check arena limit.
31073         (arena_get2): Atomically check arena limit.
31075 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31077         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31078         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31080         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31081         instructions.
31083 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31085         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31086         handler when locking.
31088         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31089         Fix size of allocated buffer.
31091 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31093         [BZ #10103]
31094         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31095         declarations for long double functions.
31096         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31098         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31100 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31102         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31103         installed.
31105         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31106         is disabled.
31108 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31110         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31112 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31114         * include/alloca.h (stackinfo_alloca_round): Define.
31115         (extend_alloca): Use it.
31116         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31117         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31118         here.
31120         * scripts/check-local-headers.sh: Ignore libaudit.h.
31122         * nscd/Makefile (extra-objs): Make recursively expanded.
31124 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31126         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31127         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31129         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31130         * posix/tst-rfc3484-2.c: Likewise.
31131         * posix/tst-rfc3484-3.c: Likewise.
31133         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31134         process_vm_writev.
31135         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31136         process_vm_writev.
31137         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31138         process_vm_writev from libc using GLIBC_2.15 version.
31140         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31142 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31144         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31145         stack usage.
31147 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31149         [BZ #13367]
31150         * nss/getent.c (initgroups_keys): Show error message in case no group
31151         names are given.
31153         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31154         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31155         __bump_nl_timestamp.
31156         * nscd/connections (nscd_init): When host database is served open
31157         netlink socket and request notification about configuration changes.
31158         (main_loop_poll): Track netlink file descriptor and bump timestamp
31159         in case data becomes available.
31160         (main_loop_epoll): Likewise.
31161         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31162         (database_pers_head): Add extra_data fileds.
31163         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31164         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31165         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31166         Adjust caller.
31167         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31168         in6ai data, call __free_in6ai.
31169         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31170         Add -DHAVE_NETLINK.
31171         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
31172         interface information.  Reuse previous data if netlink timestamp
31173         is not changed.
31174         (__bump_nl_timestamp): New function.
31175         (__free_in6ai): New function.
31177 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
31179         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31180         close_not_cancel_no_status here.
31181         (__check_pf): Reorganize code a bit to not call close twice if OOM.
31183 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31185         [BZ #13276]
31186         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31187         return value.
31189         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31190         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31191         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31193 2011-07-03  Andreas Jaeger  <aj@suse.de>
31195         [BZ #10709]
31196         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31197         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31198         * math/libm-test.inc (sin_test): Add test case.
31200 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31202         [BZ #13337]
31203         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31204         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31206         * elf/chroot_canon.c (chroot_canon): Cleanups.
31208         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31210         [BZ #13335]
31211         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31212         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31214         * string/test-strchr.c: Make usable for strchrnul testing.
31215         * string/test-strchrnul.c: New file.
31216         * string/Makefile (strop-tests): Add strchrnul.
31218         * po/it.po: Update from translation team.
31219         * po/es.po: Likewise.
31221 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
31223         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31224         the three constants needed as parameters.  Drop the others.
31225         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31226         __m128i_strloadu_tolower.
31227         Create and initialize variable zero and use it in all the places
31228         where _mm_setzero_si128 was used.
31230         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31231         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31232         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31233         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31234         anymore.
31235         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31236         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31237         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31238         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31239         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31240         __mpranred, __mptan.
31241         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31242         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31243         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31244         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31245         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31246         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31247         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31248         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31249         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31251 2011-10-28  Andreas Schwab  <schwab@redhat.com>
31253         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31254         redefine if SHARED.
31255         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31257         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31258         wide char related routines to wcsmbs subdir.
31260 2011-10-27  Andreas Schwab  <schwab@redhat.com>
31262         [BZ #13344]
31263         * misc/sys/cdefs.h (__THROWNL): Define.
31264         * posix/unistd.h: Use __THREADNL instead of __THREAD
31265         for memory synchronization functions.
31267 2011-10-26  Roland McGrath  <roland@hack.frob.com>
31269         [BZ #13349]
31270         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31271         doesn't exist.
31272         * manual/stdio.texi (Obstack Streams): Node removed.
31274 2011-10-26  Andreas Schwab  <schwab@redhat.com>
31276         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31277         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31278         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31280         * math/math_private.h (math_force_eval): Allow non-addressable
31281         arguments.
31282         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31284 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31286         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31287         file is not needed.
31289         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31290         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31291         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31292         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31293         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31294         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31295         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31296         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31297         Add AVX variants.
31298         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31299         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31300         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31301         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31302         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31303         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31304         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31305         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31306         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31307         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31308         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31309         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31310         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31311         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31312         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31313         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31314         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31315         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31316         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31318         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31319         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
31321         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31322         place.  Use VEX encoding when compiling for AVX.
31324 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31326         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31327         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31329         * string/test-strchr.c (do_test): Don't generate NUL bytes.
31331 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31333         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31334         useless if() expression.
31335         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31336         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31337         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31338         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31339         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31340         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31341         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31342         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31343         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31344         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31345         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31346         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31347         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31348         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31349         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31350         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31351         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31352         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31353         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31355         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31357 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31359         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31360         condition.
31361         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31363 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31365         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31366         .text section.  Avoid duplicate constants.
31367         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31368         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31369         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31370         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31371         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31372         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31373         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31374         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31375         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31376         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31377         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31378         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31379         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31380         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31381         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31382         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31383         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31384         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31385         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31386         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31387         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31388         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31389         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31390         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31391         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31392         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31393         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31394         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31395         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31396         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31397         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31398         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31399         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31400         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31401         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31402         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31403         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31404         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31405         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31406         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31407         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31408         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31409         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31410         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31411         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31413 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31415         * sysdeps/x86_64/dla.h: Move to ...
31416         * sysdeps/x86_64/fpu/dla.h: ...here.
31417         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31418         situations.  Use __builtin_fma only for gcc 4.6 and up.
31420         * config.make.in: Add have-mfma4 entry.
31421         * configure.in: Substitute libc_cv_cc_fma4.
31422         * math/Makefile (dbl-only-routines): Add sincostab.
31423         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31424         Use __sincostab not sincos.
31425         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31426         name is a macro.
31427         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31428         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31429         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31430         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31431         using __copysign.
31432         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31433         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31434         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31435         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31436         and __inv.
31437         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31438         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31439         __copysign.
31440         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31441         define aliases when function name is a macro.
31442         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31443         sysdeps/ieee754/dbl-64/sincos.tbl.
31444         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31445         fma4-enabled routines.
31446         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31447         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31448         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31449         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31450         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31451         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31452         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31453         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31454         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31455         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31456         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31457         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31458         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31459         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31460         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31461         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31462         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31463         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31464         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31465         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31466         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31467         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31468         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31469         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31470         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31471         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31472         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31473         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31474         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31475         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31477         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31478         rename.
31479         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31480         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31481         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31482         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31483         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31484         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31485         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31486         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31488 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31490         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31492 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31494         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31496         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31497         prediction.
31498         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31500         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31501         Remove unused variable magic_bits.
31502         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31504         * string/strnlen.c: Define and use STRNLEN macro.
31505         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31506         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31507         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31508         * wcsmbs/wcslen.c: Define and use WCSLEN.
31509         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31510         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31511         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31512         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31513         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31514         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31515         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31517 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31520         strnlen-sse2-no-bsf.
31521         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31522         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31523         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31524         Add strnlen support.
31525         (USE_AS_STRNLEN): New macro.
31526         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31527         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31528         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31529         * sysdeps/x86_64/wcslen.S: New file.
31531 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31533         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31534         XMM-moves are used for copying on small sizes.
31536 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31538         * wcsmbs/Makefile (strop-tests): Add wcschr.
31539         * wcsmbs/test-wcschr.c: New file.
31540         * string/test-strchr.c: Update.
31541         Add wcschr support.
31542         (WIDE): New macro.
31544 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31546         * wcsmbs/Makefile (strop-tests): Add wcslen.
31547         * wcsmbs/test-wcslen.c: New file.
31548         * string/test-strlen.c: Update.
31549         Add wcslen support.
31550         (WIDE): New macro.
31552 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31554         * po/it.po: Update from translation team.
31556 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31558         * sysdeps/x86_64/wcscmp.S: Update.
31559         Fix wrong comparison semantics.
31560         wcscmp shall use signed comparison not unsigned.
31561         Don't use substraction to avoid overflow bug.
31562         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31563         * wcsmbc/wcscmp.c: Likewise.
31564         * string/test-strcmp.c: Likewise.
31565         Add new tests to check cases with negative values.
31567 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31569         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31570         * sysdeps/x86_64/dla.h: ...here.  New file.
31571         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31572         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31573         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31574         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31575         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31576         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31577         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31578         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31579         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31581 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31583         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31584         __ynl_finite aliases.
31586 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31590         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31591         define DLA_FMA.
31592         [DLA_FMA] (EMULV): Use DLA_FMA.
31593         [DLA_FMA] (MUL12): Use EMULV.
31594         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31595         that are not needed.
31596         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31597         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31598         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31599         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31600         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31601         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31602         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31604 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
31606         * math/s_nan.c: Undef __nan.
31607         * math/s_nanf.c: Undef __nanf.
31608         * math/s_nanl.c: Undef __nanl.
31609         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31610         "math_private.h".
31612 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31614         * math/s_catan.c: Add branch predictions.
31615         * math/s_catanf.c: Likewise.
31616         * math/s_catanh.c: Likewise.
31617         * math/s_catanhf.c: Likewise.
31618         * math/s_catanhl.c: Likewise.
31619         * math/s_catanl.c: Likewise.
31620         * math/s_cexp.c: Likewise.
31621         * math/s_cexpf.c: Likewise.
31622         * math/s_cexpl.c: Likewise.
31623         * math/s_clog.c: Likewise.
31624         * math/s_clog10.c: Likewise.
31625         * math/s_clog10f.c: Likewise.
31626         * math/s_clog10l.c: Likewise.
31627         * math/s_clogf.c: Likewise.
31628         * math/s_clogl.c: Likewise.
31629         * math/s_csqrt.c: Likewise.
31630         * math/s_csqrtf.c: Likewise.
31631         * math/s_csqrtl.c: Likewise.
31632         * math/s_ctanf.c: Likewise.
31633         * math/s_ctanh.c: Likewise.
31634         * math/s_ctanhf.c: Likewise.
31635         * math/s_ctanhl.c: Likewise.
31636         * math/s_ctanl.c: Likewise.
31638         * math/math_private.h: Define __nan, __nanf, __nanl.
31639         * math/s_cacosh.c: Include <math_private.h>.
31640         * math/s_cacoshl.c: Likewise.
31641         * math/s_casinh.c: Likewise.
31642         * math/s_casinhf.c: Likewise.
31643         * math/s_casinhl.c: Likewise.
31644         * math/s_ccos.c: Rely entire on ccosh.
31645         * math/s_ccosf.c: Rely entire on ccoshf.
31646         * math/s_ccosl.c: Rely entirely on ccoshl.
31647         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
31648         Remove tests for FE_INVALID.
31649         * math/s_ccoshf.c: Likewise.
31650         * math/s_ccoshl.c: Likewise.
31651         * math/s_csin.c: Likewise.
31652         * math/s_csinf.c: Likewise.
31653         * math/s_csinh.c Likewise.
31654         * math/s_csinhf.c: Likewise.
31655         * math/s_csinhl.c: Likewise.
31656         * math/s_csinl.c: Likewise.
31657         * math/s_ctan.c: Likewise.
31658         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31659         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31660         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31662 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
31664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31665         compilation problems.
31667         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31668         __builtin_expect.
31670 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
31672         * sysdeps/i386/configure.in: Test for -mfma4 option.
31673         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31674         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31675         COMMON_CPUID_INDEX_80000001.
31676         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31677         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31678         use it if FMA3 is not supported.
31679         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31681         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31682         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31684 2011-10-20  Andreas Schwab  <schwab@redhat.com>
31686         [BZ #12892]
31687         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31688         it would create a cycle with a link time dependency.
31690 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
31692         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31693         instruction.
31694         * string/Makefile (strop-tests): Add rawmemchr.
31695         * string/test-rawmemchr.c: New file.
31697         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31698         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
31699         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
31700         when compiling str{,n}casecmp and when AVX is available.  Hook up
31701         new optimized code in initializers.
31703 2011-10-19  Andreas Schwab  <schwab@redhat.com>
31705         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31706         __feraiseexcept instead of feraiseexcept.
31708 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
31710         * math/math_private.h: Define defaults for libc_fetestexcept and
31711         libc_feupdateenv.
31712         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31713         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31714         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31715         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31716         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31717         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31718         libc_fetestexcept and libc_feupdateenv.
31720         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31721         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31722         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31723         * sysdeps/x86_64/fpu/math_private.h: Define special version of
31724         libc_feholdexcept_setround.
31726         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31727         Add s_nearbyint-c and s_nearbyintf-c.
31728         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31729         nearbyintf inlines.
31730         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31731         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31732         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31733         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31735         * math/math_private.h: Define defaults for libc_fegetround,
31736         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31737         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31738         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31739         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31740         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31741         standard functions.
31742         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31743         Remove comments and hacks for old compiler versions.
31744         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31745         libc_fegetround, libc_fesetround, libc_feholdexcept, and
31746         libc_feholdexceptl.
31748 2011-10-18  Andreas Schwab  <schwab@redhat.com>
31750         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31751         (__feraiseexcept_renamed): Add __NTH.
31752         (feraiseexcept): Add __NTH.  Rename local variables to fix
31753         namespace violations.
31755 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
31757         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31759         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31761         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31762         recently added interfaces.
31763         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31765         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31766         about macro parameter expansion.
31768         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31769         __NO_MATH_INLINES is defined.  Cleanups.
31771         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31772         and __floorf is target has SSE4.1.
31773         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31774         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31775         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31776         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31778         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31779         name.
31780         (floorf): Likewise.
31782         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31784 2011-10-17  Andreas Schwab  <schwab@redhat.com>
31786         * misc/sys/cdefs.h: Fix last change.
31788         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31789         database lookup.
31791 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
31793         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31795         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31796         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31797         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31798         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31799         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31800         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31801         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31802         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31803         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31804         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31805         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31806         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31807         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31808         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31809         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31810         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31811         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31812         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31813         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31814         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31815         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31816         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31818         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31819         ceil, ceilf, floor, floorf.
31821         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31822         Perform IRELATIVE relocations last.
31824         * elf/do-rel.h: Add another parameter nrelative, replacing the
31825         local variable with the same name.  Change name of the function
31826         to end in Rel or Rela (uppercase).
31827         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31828         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
31829         elf_dynamic_do_##reloc function.
31831 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31833         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31834         is sufficient, at least on modern CPUs.
31836         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31838         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31839         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31841         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31842         __expl_finite.
31843         * math/bits/math-finite.h: Add entries for exp.
31844         * math/e_expl.c: Add __*_finite alias.
31845         * sysdeps/i386/fpu/e_exp.S: Likewise.
31846         * sysdeps/i386/fpu/e_expf.S: Likewise.
31847         * sysdeps/i386/fpu/e_expl.c: Likewise.
31848         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31849         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31850         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31851         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31852         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31853         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31854         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31856         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31857         is sufficient, at least on modern CPUs.
31859         * ctype/ctype-info.c (__ctype_init): Define.
31860         * include/ctype.h (__ctype_init): Declare.
31861         (__ctype_b_loc): The variable is always initialized.
31862         (__ctype_toupper_loc): Likewise.
31863         (__ctype_tolower_loc): Likewise.
31864         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31865         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31867 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
31869         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31871         * configure.in: Also look in $cxxmachine/include for C++ system
31872         headers.
31874 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31876         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31877         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31878         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31879         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
31880         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31881         (USE_AS_WMEMCMP): New macro.
31882         Fixing indents.
31883         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31884         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31885         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31886         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31887         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31888         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31889         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31890         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31891         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31892         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31893         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31894         (USE_AS_WMEMCMP): New macro.
31895         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31896         * sysdeps/string/test-memcmp.c: Update.
31897         Fix simple_wmemcmp.
31898         Add new tests.
31899         * wcsmbs/wmemcmp.c: Update.
31900         (WMEMCMP): New macro.
31901         Fix overflow bug.
31903 2011-10-12  Andreas Jaeger  <aj@suse.de>
31905         [BZ #13268]
31906         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31908 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31910         * libio/iofwide.c (do_length): Avoid warning.
31912         * ctype/ctype.h (__isctype_f): Add missing __THROW.
31914 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
31916         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31918         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31919         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31920         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31921         * sysdeps/i386/i686/fpu/e_log.S: New file.
31922         * sysdeps/i386/i686/fpu/e_logf.S: New file.
31923         * sysdeps/i386/i686/fpu/e_logl.S: New file.
31925         * ctype/ctype.h: Add support for inlined isXXX functions when
31926         compiling C++ code.
31928 2011-10-14  Andreas Schwab  <schwab@redhat.com>
31930         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31932         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31934 2011-10-13  Roland McGrath  <roland@hack.frob.com>
31936         [BZ #13291]
31937         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31939 2011-10-13  Andreas Schwab  <schwab@redhat.com>
31941         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31942         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31943         feraiseexcept.
31945         * sysdeps/x86_64/memrchr.S: Check for zero size.
31947         * string/stratcliff.c: Add memrchr tests.
31949 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31951         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31952         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31953         rawmemchr-sse2 rawmemchr-sse2-bsf.
31954         * sysdeps/i386/i686/multiarch/memchr.S: New file.
31955         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31956         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31957         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31958         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31959         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31960         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31961         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31962         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31963         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31964         * string/memrchr.c (MEMRCHR): New macro.
31966 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
31968         Add integration with gcc's -ffinite-math-only and optimize wrapper
31969         functions in libm.
31970         * Versions.def: Define GLIBC_2.15 version for libm.
31971         * math/Makefile (headers): Add bits/math-finite.h.
31972         * math/bits/math-finite.h: New file.
31973         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31974         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31975         * math/e_acoshl.c: Add __*_finite alias.
31976         * math/e_acosl.c: Likewise.
31977         * math/e_asinl.c: Likewise.
31978         * math/e_atan2l.c: Likewise.
31979         * math/e_atanhl.c: Likewise.
31980         * math/e_coshl.c: Likewise.
31981         * math/e_exp10.c: Likewise.
31982         * math/e_exp10f.c: Likewise.
31983         * math/e_exp10l.c: Likewise.
31984         * math/e_exp2l.c: Likewise.
31985         * math/e_fmodl.c: Likewise.
31986         * math/e_gammal_r.c: Likewise.
31987         * math/e_hypotl.c: Likewise.
31988         * math/e_j0l.c: Likewise.
31989         * math/e_j1l.c: Likewise.
31990         * math/e_jnl.c: Likewise.
31991         * math/e_lgammal_r.c: Likewise.
31992         * math/e_log10l.c: Likewise.
31993         * math/e_log2l.c: Likewise.
31994         * math/e_logl.c: Likewise.
31995         * math/e_powl.c: Likewise.
31996         * math/e_sinhl.c: Likewise.
31997         * math/e_sqrtl.c: Likewise.
31998         * math/e_scalb.c: Completely rewritten and optimized.
31999         * math/e_scalbf.c: Likewise.
32000         * math/e_scalbl.c: Likewise.
32001         * math/w_acos.c: Likewise.
32002         * math/w_acosf.c: Likewise.
32003         * math/w_acosl.c: Likewise.
32004         * math/w_acosh.c: Likewise.
32005         * math/w_acoshf.c: Likewise.
32006         * math/w_acoshl.c: Likewise.
32007         * math/w_asin.c: Likewise.
32008         * math/w_asinf.c: Likewise.
32009         * math/w_asinl.c: Likewise.
32010         * math/w_atan2.c: Likewise.
32011         * math/w_atan2f.c: Likewise.
32012         * math/w_atan2l.c: Likewise.
32013         * math/w_atanh.c: Likewise.
32014         * math/w_atanhf.c: Likewise.
32015         * math/w_atanhl.c: Likewise.
32016         * math/w_exp10.c: Likewise.
32017         * math/w_exp10f.c: Likewise.
32018         * math/w_exp10l.c: Likewise.
32019         * math/w_fmod.c: Likewise.
32020         * math/w_fmodf.c: Likewise.
32021         * math/w_fmodl.c: Likewise.
32022         * math/w_j0.c: Likewise.
32023         * math/w_j0f.c: Likewise.
32024         * math/w_j0l.c: Likewise.
32025         * math/w_j1.c: Likewise.
32026         * math/w_j1f.c: Likewise.
32027         * math/w_j1l.c: Likewise.
32028         * math/w_jn.c: Likewise.
32029         * math/w_jnf.c: Likewise.
32030         * math/w_log.c: Likewise.
32031         * math/w_logf.c: Likewise.
32032         * math/w_logl.c: Likewise.
32033         * math/w_log10.c: Likewise.
32034         * math/w_log10f.c: Likewise.
32035         * math/w_log10l.c: Likewise.
32036         * math/w_log2.c: Likewise.
32037         * math/w_log2f.c: Likewise.
32038         * math/w_log2l.c: Likewise.
32039         * math/w_pow.c: Likewise.
32040         * math/w_powf.c: Likewise.
32041         * math/w_powl.c: Likewise.
32042         * math/w_remainder.c: Likewise.
32043         * math/w_remainderf.c: Likewise.
32044         * math/w_remainderl.c: Likewise.
32045         * math/w_scalb.c: Likewise.
32046         * math/w_scalbf.c: Likewise.
32047         * math/w_scalbl.c: Likewise.
32048         * math/w_sqrt.c: Likewise.
32049         * math/w_sqrtf.c: Likewise.
32050         * math/w_sqrtl.c: Likewise.
32051         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32052         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32053         used.
32054         * math/math_private.h: Declare __kernel_standard_f.
32055         * math/w_cosh.c: Remove cruft and optimize a bit.
32056         * math/w_coshf.c: Likewise.
32057         * math/w_coshl.c: Likewise.
32058         * math/w_exp2.c: Likewise.
32059         * math/w_exp2f.c: Likewise.
32060         * math/w_exp2l.c: Likewise.
32061         * math/w_hypot.c: Likewise.
32062         * math/w_hypotf.c: Likewise.
32063         * math/w_hypotl.c: Likewise.
32064         * math/w_lgamma.c: Likewise.
32065         * math/w_lgamma_r.c: Likewise.
32066         * math/w_lgammaf.c: Likewise.
32067         * math/w_lgammaf_r.c: Likewise.
32068         * math/w_lgammal.c: Likewise.
32069         * math/w_lgammal_r.c: Likewise.
32070         * math/w_sinh.c: Likewise.
32071         * math/w_sinhf.c: Likewise.
32072         * math/w_sinhl.c: Likewise.
32073         * math/w_tgamma.c: Likewise.
32074         * math/w_tgammaf.c: Likewise.
32075         * math/w_tgammal.c: Likewise.
32076         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32077         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32078         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32079         Minor optimizations.  Pretty printing.  Remove cruft.
32080         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32081         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32082         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32083         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32084         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32085         * sysdeps/i386/fpu/e_asin.S: Likewise.
32086         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32087         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32088         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32089         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32090         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32091         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32092         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32093         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32094         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32095         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32096         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32097         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32098         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32099         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32100         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32101         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32102         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32103         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32104         * sysdeps/i386/fpu/e_log.S: Likewise.
32105         * sysdeps/i386/fpu/e_log10.S: Likewise.
32106         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32107         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32108         * sysdeps/i386/fpu/e_log2.S: Likewise.
32109         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32110         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32111         * sysdeps/i386/fpu/e_logf.S: Likewise.
32112         * sysdeps/i386/fpu/e_logl.S: Likewise.
32113         * sysdeps/i386/fpu/e_pow.S: Likewise.
32114         * sysdeps/i386/fpu/e_powf.S: Likewise.
32115         * sysdeps/i386/fpu/e_powl.S: Likewise.
32116         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32117         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32118         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32119         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32120         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32121         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32122         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32123         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32124         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32125         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32126         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32127         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32128         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32129         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32130         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32131         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32132         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32133         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32134         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32135         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32136         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32137         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32138         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32139         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32140         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32141         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32142         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32143         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32144         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32145         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32146         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32147         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32148         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32149         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32150         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32151         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32152         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32153         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32154         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32155         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32156         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32157         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32158         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32159         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32160         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32161         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32162         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32163         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32164         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32165         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32166         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32167         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32168         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32169         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32170         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32171         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32172         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32173         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32174         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32175         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32176         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32177         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32178         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32179         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32180         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32181         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32182         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32183         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32184         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32185         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32186         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32187         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32188         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32189         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32190         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32191         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32192         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32193         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32194         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32195         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32196         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32197         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32198         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32199         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32200         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32201         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32202         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32203         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32204         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32205         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32206         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32207         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32208         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32209         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32210         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32211         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32212         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32213         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32214         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32215         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32216         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32217         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32218         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32219         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32220         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32221         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32222         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32223         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32224         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32225         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32226         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32227         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32228         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32229         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32230         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32231         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32232         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32233         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32234         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32235         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
32236         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32237         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32238         (__isnanf): Likewise.
32239         (__isinf_ns): Likewise.
32240         (__isinf_nsf): Likewise.
32241         (__finite): Likewise.
32242         (__finitef): Likewise.
32243         (__ieee754_sqrt): Define as macro.
32244         (__ieee754_sqrtf): Define as macro.
32245         (__ieee754_sqrtl): Define as macro.
32246         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32247         inlined copy.
32248         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32249         __FINITE_MATH_ONLY__ consistent.
32250         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32252 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
32254         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32255         of rawmemchr.
32257         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32259 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
32261         * po/ja.po: Update from translation team.
32263 2011-10-08  Roland McGrath  <roland@hack.frob.com>
32265         * locale/programs/locarchive.c (prepare_address_space): New function.
32266         (create_archive, enlarge_archive, open_archive): Use it.
32268         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32269         inside [SHARED], where it is used.
32271         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32273         * nss/getent.c (netgroup_keys): Remove unused variable.
32274         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32276 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
32278         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32279         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32280         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32281         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32282         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32283         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32284         * math/Makefile (libm-calls): Add s_isinf_ns.
32285         * math/divtc3.c: Use __isinf_nsl instead of isinf.
32286         * math/multc3.c: Likewise.
32287         * math/s_casin.c: Likewise.
32288         * math/s_casinf.c: Likewise.
32289         * math/s_casinl.c: Likewise.
32290         * math/s_ccos.c: Likewise.
32291         * math/s_ccosf.c: Likewise.
32292         * math/s_ccosl.c: Likewise.
32293         * math/s_ctan.c: Likewise.
32294         * math/s_ctanf.c: Likewise.
32295         * math/s_ctanh.c: Likewise.
32296         * math/s_ctanhf.c: Likewise.
32297         * math/s_ctanhl.c: Likewise.
32298         * math/s_ctanl.c: Likewise.
32299         * math/w_fmod.c: Likewise.
32300         * math/w_fmodf.c: Likewise.
32301         * math/w_fmodl.c: Likewise.
32302         * math/w_remainder.c: Likewise.
32303         * math/w_remainderf.c: Likewise.
32304         * math/w_remainderl.c: Likewise.
32305         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32306         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32307         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32308         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32309         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32310         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32311         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32312         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32314         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32315         of the number.
32316         * stdio-common/printf_fphex.c: Likewise.
32317         * stdio-common/printf_size.c: Likewise.
32319         * math/e_exp10.c: Include math_private.h using <...> not "...".
32320         * math/e_exp10f.c: Likewise.
32321         * math/e_exp10l.c: Likewise.
32322         * math/e_exp2l.c: Likewise.
32323         * math/e_j0l.c: Likewise.
32324         * math/e_j1l.c: Likewise.
32325         * math/e_jnl.c: Likewise.
32326         * math/e_lgammal_r.c: Likewise.
32327         * math/e_rem_pio2l.c: Likewise.
32328         * math/e_scalb.c: Likewise.
32329         * math/e_scalbf.c: Likewise.
32330         * math/e_scalbl.c: Likewise.
32331         * math/k_cosl.c: Likewise.
32332         * math/k_sinl.c: Likewise.
32333         * math/k_tanl.c: Likewise.
32334         * math/s_cacoshf.c: Likewise.
32335         * math/s_catan.c: Likewise.
32336         * math/s_catanf.c: Likewise.
32337         * math/s_catanh.c: Likewise.
32338         * math/s_catanhf.c: Likewise.
32339         * math/s_catanhl.c: Likewise.
32340         * math/s_catanl.c: Likewise.
32341         * math/s_ccosh.c: Likewise.
32342         * math/s_ccoshf.c: Likewise.
32343         * math/s_ccoshl.c: Likewise.
32344         * math/s_cexp.c: Likewise.
32345         * math/s_cexpf.c: Likewise.
32346         * math/s_cexpl.c: Likewise.
32347         * math/s_clog.c: Likewise.
32348         * math/s_clog10.c: Likewise.
32349         * math/s_clog10f.c: Likewise.
32350         * math/s_clog10l.c: Likewise.
32351         * math/s_clogf.c: Likewise.
32352         * math/s_clogl.c: Likewise.
32353         * math/s_csin.c: Likewise.
32354         * math/s_csinf.c: Likewise.
32355         * math/s_csinh.c: Likewise.
32356         * math/s_csinhf.c: Likewise.
32357         * math/s_csinhl.c: Likewise.
32358         * math/s_csinl.c: Likewise.
32359         * math/s_csqrt.c: Likewise.
32360         * math/s_csqrtf.c: Likewise.
32361         * math/s_csqrtl.c: Likewise.
32362         * math/s_ctan.c: Likewise.
32363         * math/s_ctanf.c: Likewise.
32364         * math/s_ctanh.c: Likewise.
32365         * math/s_ctanhf.c: Likewise.
32366         * math/s_ctanhl.c: Likewise.
32367         * math/s_ctanl.c: Likewise.
32368         * math/s_ldexp.c: Likewise.
32369         * math/s_ldexpf.c: Likewise.
32370         * math/s_ldexpl.c: Likewise.
32371         * math/s_significand.c: Likewise.
32372         * math/s_significandf.c: Likewise.
32373         * math/s_significandl.c: Likewise.
32374         * math/w_acos.c: Likewise.
32375         * math/w_acosf.c: Likewise.
32376         * math/w_acosh.c: Likewise.
32377         * math/w_acoshf.c: Likewise.
32378         * math/w_acoshl.c: Likewise.
32379         * math/w_acosl.c: Likewise.
32380         * math/w_asin.c: Likewise.
32381         * math/w_asinf.c: Likewise.
32382         * math/w_asinl.c: Likewise.
32383         * math/w_atan2.c: Likewise.
32384         * math/w_atan2f.c: Likewise.
32385         * math/w_atan2l.c: Likewise.
32386         * math/w_atanh.c: Likewise.
32387         * math/w_atanhf.c: Likewise.
32388         * math/w_atanhl.c: Likewise.
32389         * math/w_cosh.c: Likewise.
32390         * math/w_coshf.c: Likewise.
32391         * math/w_coshl.c: Likewise.
32392         * math/w_dremf.c: Likewise.
32393         * math/w_exp10.c: Likewise.
32394         * math/w_exp10f.c: Likewise.
32395         * math/w_exp10l.c: Likewise.
32396         * math/w_exp2.c: Likewise.
32397         * math/w_exp2f.c: Likewise.
32398         * math/w_fmod.c: Likewise.
32399         * math/w_fmodf.c: Likewise.
32400         * math/w_fmodl.c: Likewise.
32401         * math/w_hypot.c: Likewise.
32402         * math/w_hypotf.c: Likewise.
32403         * math/w_hypotl.c: Likewise.
32404         * math/w_j0.c: Likewise.
32405         * math/w_j0f.c: Likewise.
32406         * math/w_j0l.c: Likewise.
32407         * math/w_j1.c: Likewise.
32408         * math/w_j1f.c: Likewise.
32409         * math/w_j1l.c: Likewise.
32410         * math/w_jn.c: Likewise.
32411         * math/w_jnf.c: Likewise.
32412         * math/w_jnl.c: Likewise.
32413         * math/w_lgamma.c: Likewise.
32414         * math/w_lgamma_r.c: Likewise.
32415         * math/w_lgammaf.c: Likewise.
32416         * math/w_lgammaf_r.c: Likewise.
32417         * math/w_lgammal.c: Likewise.
32418         * math/w_lgammal_r.c: Likewise.
32419         * math/w_log.c: Likewise.
32420         * math/w_log10.c: Likewise.
32421         * math/w_log10f.c: Likewise.
32422         * math/w_log10l.c: Likewise.
32423         * math/w_log2.c: Likewise.
32424         * math/w_log2f.c: Likewise.
32425         * math/w_log2l.c: Likewise.
32426         * math/w_logf.c: Likewise.
32427         * math/w_logl.c: Likewise.
32428         * math/w_pow.c: Likewise.
32429         * math/w_powf.c: Likewise.
32430         * math/w_powl.c: Likewise.
32431         * math/w_remainder.c: Likewise.
32432         * math/w_remainderf.c: Likewise.
32433         * math/w_remainderl.c: Likewise.
32434         * math/w_scalb.c: Likewise.
32435         * math/w_scalbf.c: Likewise.
32436         * math/w_scalbl.c: Likewise.
32437         * math/w_sinh.c: Likewise.
32438         * math/w_sinhf.c: Likewise.
32439         * math/w_sinhl.c: Likewise.
32440         * math/w_sqrt.c: Likewise.
32441         * math/w_sqrtf.c: Likewise.
32442         * math/w_sqrtl.c: Likewise.
32443         * math/w_tgamma.c: Likewise.
32444         * math/w_tgammaf.c: Likewise.
32445         * math/w_tgammal.c: Likewise.
32447         * po/ja.po: Update from translation team.
32449 2011-09-29  Andreas Jaeger  <aj@suse.de>
32451         [BZ #13179]
32452         * sunrpc/netname.c (netname2host): Fix logic.
32454         [BZ #6779]
32455         [BZ #6783]
32456         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32457         correctly.
32458         * math/w_remainder.c (__remainder): Likewise.
32459         * math/w_remainderf.c (__remainderf): Likewise.
32460         * math/libm-test.inc (remainder_test): Add test cases.
32462 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32464         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32465         sdiv_qrnnd.
32467 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32469         * string/test-memcmp.c: Avoid unncessary #defines.
32470         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32472 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32474         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32475         Use new sse2 version for core i3 - i7 as it's faster
32476         than sse42 version.
32477         (bit_Prefer_PMINUB_for_stringop): New.
32478         * sysdeps/x86_64/rawmemchr.S: Update.
32479         Replace with faster SSE2 version.
32480         * sysdeps/x86_64/memrchr.S: New file.
32481         * sysdeps/x86_64/memchr.S: Update.
32482         Replace with faster SSE2 version.
32484 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32486         * elf/dl-load.c (lose): Add cast to avoid warning.
32488 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32490         * po/ca.po: Update from translation team.
32492         * inet/getnetgrent_r.c: Hook up nscd.
32493         * nscd/Makefile (routines): Add nscd_netgroup.
32494         (nscd-modules): Add netgroupcache.
32495         (CFLAGS-netgroupcache.c): Define.
32496         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32497         (cache_search): Add const to second parameter.
32498         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32499         INNETGR.
32500         (dbs): Add netgrdb entry.
32501         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32502         (verify_persistent_db): Handle netgrdb.
32503         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32504         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32505         GETFDNETGR.
32506         (netgroup_response_header): Define.
32507         (innetgroup_response_header): Define.
32508         (datahead): Add netgroup_response_header and innetgroup_response_header
32509         elements.
32510         * nscd/nscd.conf: Add entries for netgroup cache.
32511         * nscd/nscd.h (dbtype): Add netgrdb.
32512         (_PATH_NSCD_NETGROUP_DB): Define.
32513         (netgroup_iov_disabled): Declare.
32514         (xmalloc, xcalloc, xrealloc): Move declarations here.
32515         (cache_search): Adjust prototype.
32516         Add netgroup-related prototypes.
32517         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32518         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32519         (__nscd_innetgr): Declare.
32520         * nscd/selinux.c (perms): Use access_vector_t as element type and
32521         add netgroup-related initializers.
32522         * nscd/netgroupcache.c: New file.
32523         * nscd/nscd_netgroup.c: New file.
32524         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32525         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32526         For four parameters use innetgr.
32527         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32528         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32529         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32530         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32532         * nscd/connections.c (register_traced_file): Don't register file
32533         for disabled databases.
32535 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32537         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32539         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32540         from tree and freeing node.
32542 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32544         * nss/nsswitch.c (__nss_database_lookup): Handle
32545         nss_parse_service_list out of memory case.
32547 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32549         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32550         out of memory case.
32552 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32554         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32555         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32556         pass it down.
32557         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32558         elf_machine_rela, elf_machine_lazy_rel.
32559         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32560         (ELF_DYNAMIC_DO_REL): Likewise.
32561         (ELF_DYNAMIC_DO_RELA): Likewise.
32562         (ELF_DYNAMIC_RELOCATE): Likewise.
32563         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32564         to ELF_DYNAMIC_DO_REL.
32565         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32566         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32567         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32568         elf_machine_rela.
32569         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32570         skip_ifunc, don't call ifunc function if non-zero.
32571         (elf_machine_rela): Likewise.
32572         (elf_machine_lazy_rel): Likewise.
32573         (elf_machine_lazy_rela): Likewise.
32574         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32575         (elf_machine_lazy_rel): Likewise.
32576         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32577         Likewise.
32578         (elf_machine_lazy_rel): Likewise.
32579         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32580         Likewise.
32581         (elf_machine_lazy_rel): Likewise.
32582         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32583         (elf_machine_lazy_rel): Likewise.
32584         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32585         (elf_machine_lazy_rel): Likewise.
32586         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32587         (elf_machine_lazy_rel): Likewise.
32588         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32589         (elf_machine_lazy_rel): Likewise.
32590         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32591         (elf_machine_lazy_rel): Likewise.
32592         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32593         (elf_machine_lazy_rel): Likewise.
32595 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
32597         * nss/nss_files/files-init.c (_nss_files_init): Use static
32598         initialization for all the *_traced_file variables.
32600 2011-09-28  Andreas Schwab  <schwab@redhat.com>
32602         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32604 2011-09-27  Roland McGrath  <roland@hack.frob.com>
32606         [BZ #13226]
32607         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32609 2011-09-27  Andreas Schwab  <schwab@redhat.com>
32611         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32612         Reread the line before reparsing it.
32614 2011-09-26  Andreas Schwab  <schwab@redhat.com>
32616         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32618 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
32619             Maxim Kuvyrkov  <maxim@codesourcery.com>
32620             Joseph Myers  <joseph@codesourcery.com>
32622         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32623         if needed for __stack_chk_guard.
32625 2011-09-19  Roland McGrath  <roland@hack.frob.com>
32627         * sysdeps/posix/spawni.c (script_execute): Always define it.
32628         It will be optimized away if unused.
32629         (maybe_script_execute): New function.
32630         (__spawni): Call it.
32632         * Makerules: Don't include tls.make.
32633         (config-tls): Always set to thread.
32634         * tls.make.c: File removed.
32636 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
32638         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32639         * config.make.in (CPPFLAGS-config): New substituted variable.
32641 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32643         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32645         [BZ #13192]
32646         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32647         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32649 2011-09-15  Roland McGrath  <roland@hack.frob.com>
32651         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32652         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32653         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32654         (CALL_FAIL): Likewise.
32655         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32656         (CALL_FAIL): Macro removed.
32657         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32659 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32661         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32662         for __FINITE_MATH_ONLY__ == 1.
32664 2011-09-15  Andreas Schwab  <schwab@redhat.com>
32666         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32667         __ieee754_sqrt instead of sqrt.
32668         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32669         __ieee754_sqrtf instead of sqrtf.
32670         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32671         __floorf instead of floorf.
32672         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32673         __floorf, __truncf instead of floorf, truncf.
32675 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
32677         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32679         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32680         __extern_always_inline.
32681         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32682         32-bit.
32684 2011-09-14  Andreas Schwab  <schwab@redhat.com>
32686         * elf/rtld.c (dl_main): Also relocate in dependency order when
32687         doing symbol dependency testing.
32689 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
32691         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32692         Always define `refsym'.
32694 2011-09-13  Andreas Schwab  <schwab@redhat.com>
32696         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32697         (__FD_ELT): Renamed from __FDELT.
32698         * misc/bits/select2.h (__FD_ELT): Likewise.
32699         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32700         __FD_MASK instead of __FDELT, __FDMASK.
32701         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32702         Likewise.
32703         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32704         Likewise.
32706         * elf/Makefile (gen-ldd): Fix pattern.
32708         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32709         (init_tls): Likewise.
32711 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
32713         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32715 2011-09-12  Andreas Schwab  <schwab@redhat.com>
32717         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32718         `struct cmsghdr *' instead of `void *'.
32719         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32720         Likewise.
32722 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
32724         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32725         if non-absolute.
32726         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32727         ldd_rewrite_script.
32729 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
32731         * configure.in: Remove --with-tls option.
32732         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32733         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32734         out in case it is missing.
32735         * sysdeps/ia64/elf/configure.in: Likewise.
32736         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32737         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32738         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32739         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32740         * sysdeps/sh/elf/configure.in: Likewise.
32741         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32742         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32743         * sysdeps/x86_64/elf/configure.in: Likewise.
32744         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32745         * sysdeps/mach/hurd/tls.h: Likewise.
32747         [BZ #13067]
32748         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32750         [BZ #13090]
32751         * configure.in: Fix use of AC_INIT.
32753         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32755 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
32757         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32758         __set_errno.
32759         * malloc/hooks.c: Likewise.
32761         [BZ #11929]
32762         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
32763         variables statically.
32764         (narenas): Initialize.
32765         (list_lock): Initialize.
32766         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
32767         initializtion of main_arena and list_lock.  Small cleanups.
32768         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32769         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
32770         Add initializers to main_arena and mp_.
32771         (malloc_state): Remove pagesize member.  Change all users to use
32772         GLRO(dl_pagesize).
32774         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32775         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
32776         is always initialized.
32778         * malloc/malloc.c: Removed unused configurations and dead code.
32779         * malloc/arena.c: Likewise.
32780         * malloc/hooks.c: Likewise.
32781         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32783         * include/tls.h: Removed.  USE___THREAD must always be defined.
32784         * bits/libc-tsd.h: Don't handle !USE___THREAD.
32785         * elf/dl-libc.c: Likewise.
32786         * elf/dl-tsd.c: Likewise.
32787         * include/errno.h: Likewise.
32788         * include/netdb.h: Likewise.
32789         * include/resolv.h: Likewise.
32790         * inet/herrno-loc.c: Likewise.
32791         * inet/herrno.c: Likewise.
32792         * malloc/arena.c: Likewise.
32793         * malloc/hooks.c: Likewise.
32794         * malloc/malloc.c: Likewise.
32795         * resolv/res-state.c: Likewise.
32796         * resolv/res_libc.c: Likewise.
32797         * sysdeps/i386/dl-machine.h: Likewise.
32798         * sysdeps/ia64/dl-machine.h: Likewise.
32799         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32800         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32801         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32802         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32803         * sysdeps/sh/dl-machine.h: Likewise.
32804         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32805         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32806         * sysdeps/unix/i386/sysdep.S: Likewise.
32807         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32808         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32809         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32812         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32813         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32814         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32815         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32816         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32817         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32818         * sysdeps/x86_64/dl-machine.h: Likewise.
32819         * tls.make.c: Likewise.
32821         * configure.in: Remove --with-__thread option.  Make tests for
32822         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32823         tls_model attribute fail if no support is available.  Remove
32824         USE_IN_LIBIO.
32825         * Makeconfig: Adjust for dropped configure option.  All features are
32826         now mandatory.
32827         * Makerules: Likewise.
32828         * Versions.def: Likewise.
32829         * argp/argp-fmtstream.c: Likewise.
32830         * argp/argp-fmtstream.h: Likewise.
32831         * argp/argp-help.c: Likewise.
32832         * assert/assert.c: Likewise.
32833         * config.h.in: Likewise.
32834         * config.make.in: Likewise.
32835         * configure: Likewise.
32836         * configure.in: Likewise.
32837         * csu/Versions: Likewise.
32838         * csu/init.c: Likewise.
32839         * elf/tst-audit2.c: Likewise.
32840         * elf/tst-tls10.c: Likewise.
32841         * elf/tst-tls10.h: Likewise.
32842         * elf/tst-tls11.c: Likewise.
32843         * elf/tst-tls12.c: Likewise.
32844         * elf/tst-tls14.c: Likewise.
32845         * elf/tst-tlsmod11.c: Likewise.
32846         * elf/tst-tlsmod12.c: Likewise.
32847         * elf/tst-tlsmod13.c: Likewise.
32848         * elf/tst-tlsmod13a.c: Likewise.
32849         * elf/tst-tlsmod14a.c: Likewise.
32850         * elf/tst-tlsmod15b.c: Likewise.
32851         * elf/tst-tlsmod16a.c: Likewise.
32852         * elf/tst-tlsmod16b.c: Likewise.
32853         * elf/tst-tlsmod7.c: Likewise.
32854         * elf/tst-tlsmod8.c: Likewise.
32855         * elf/tst-tlsmod9.c: Likewise.
32856         * gmon/gmon.c: Likewise.
32857         * grp/fgetgrent_r.c: Likewise.
32858         * grp/putgrent.c: Likewise.
32859         * hurd/fopenport.c: Likewise.
32860         * include/libc-symbols.h: Likewise.
32861         * include/tls.h: Likewise.
32862         * intl/gettextP.h: Likewise.
32863         * intl/loadinfo.h: Likewise.
32864         * locale/global-locale.c: Likewise.
32865         * locale/localeinfo.h: Likewise.
32866         * mach/devstream.c: Likewise.
32867         * malloc/arena.c: Likewise.
32868         * malloc/set-freeres.c: Likewise.
32869         * misc/err.c: Likewise.
32870         * misc/getttyent.c: Likewise.
32871         * misc/mntent_r.c: Likewise.
32872         * posix/getopt.c: Likewise.
32873         * posix/wordexp.c: Likewise.
32874         * pwd/fgetpwent_r.c: Likewise.
32875         * resolv/Versions: Likewise.
32876         * resolv/res_hconf.c: Likewise.
32877         * shadow/fgetspent_r.c: Likewise.
32878         * shadow/putspent.c: Likewise.
32879         * stdio-common/printf_fphex.c: Likewise.
32880         * stdio-common/tmpfile.c: Likewise.
32881         * stdlib/abort.c: Likewise.
32882         * stdlib/fmtmsg.c: Likewise.
32883         * sunrpc/auth_unix.c: Likewise.
32884         * sunrpc/clnt_perr.c: Likewise.
32885         * sunrpc/clnt_tcp.c: Likewise.
32886         * sunrpc/clnt_udp.c: Likewise.
32887         * sunrpc/clnt_unix.c: Likewise.
32888         * sunrpc/openchild.c: Likewise.
32889         * sunrpc/svc_simple.c: Likewise.
32890         * sunrpc/svc_tcp.c: Likewise.
32891         * sunrpc/svc_udp.c: Likewise.
32892         * sunrpc/svc_unix.c: Likewise.
32893         * sunrpc/xdr.c: Likewise.
32894         * sunrpc/xdr_array.c: Likewise.
32895         * sunrpc/xdr_rec.c: Likewise.
32896         * sunrpc/xdr_ref.c: Likewise.
32897         * sunrpc/xdr_stdio.c: Likewise.
32899 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32901         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32903 2011-07-03  Andreas Jaeger  <aj@suse.de>
32905         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32906         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32907         regenerate with gen-libm-tests.pl.
32909 2010-05-12  Petr Baudis  <pasky@suse.cz>
32911         [BZ #11589]
32912         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32913         around j0() zero points by switching to j1().
32914         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32915         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32916         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32917         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32919 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32921         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32922         instead of 0.
32923         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32924         instead of 0.
32925         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32926         Patch in part by Pavel Roskin <proski@gnu.org>.
32928         [BZ #13138]
32929         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32930         realloc.
32931         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
32932         Free memory block if necessary.
32934         [BZ #12847]
32935         * libio/genops.c (INTDEF): For string streams the _lock pointer can
32936         be NULL.  Don't lock in this case.
32938 2011-09-09  Roland McGrath  <roland@hack.frob.com>
32940         * elf/elf.h (ELFOSABI_GNU): New macro.
32941         (ELFOSABI_LINUX): Define to that.
32943 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
32945         * string/strncat.c (strncat): Undef the symbol in case it has been
32946         defined in bits/string.h.
32948 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32950         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32952         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32953         link map.
32955 2011-08-17  Andreas Jaeger  <aj@suse.de>
32957         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32959 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
32960             Ian Lance Taylor  <iant@google.com>
32962         * math/libm-test.inc (lround_test): New testcase.
32963         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32965 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
32967         * Makefile: Remove support for automatic cvs check-ins.
32968         * Makerules: Likewise.
32969         * config.make.in: Likewise.
32970         * configure.in: Likewise.
32971         * intl/Makefile: Likewise.
32972         * locale/Makefile: Likewise.
32973         * po/Makefile: Likewise.
32974         * posix/Makefile: Likewise.
32975         * sysdeps/gnu/Makefile: Likewise.
32976         * sysdeps/mach/hurd/Makefile: Likewise.
32977         * sysdeps/sparc/sparc32/Makefile: Likewise.
32979         [BZ #13118]
32980         * posix/Makefile (bug-regex32-ENV): Define.
32981         Patch by John Stanley <jpsinthemix@verizon.net>.
32983         * misc/Makefile (headers): Add bits/select2.h.
32984         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32985         * misc/bits/select2.h: New file.
32986         * include/bits/select2.h: New file.
32987         * debug/Makefile (routines): Add fdelt_chk.
32988         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32989         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32990         FD_ISSET.
32991         * debug/fdelt_chk.c: New file.
32993         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
32994         * wcsmbs/test-wmemcmp.c: Likewise.
32995         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32996         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32998 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33000         * string/Makefile (strop-tests): Add memcmp.
33001         * string/test-wmemcmp.c: New file.
33002         * string/test-memcmp.c: Add wmemcmp support.
33004 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33006         [BZ #13153]
33007         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33008         2011-07-19 change.
33010         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33011         garbage value in a __mach_port_mod_refs call in the cases of the
33012         task-self and thread-self ports.
33014 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33016         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33018 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33020         * elf/dl-load.c (lose): Check for non-null L.
33022 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33024         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33026         * elf/dl-libc.c (dlerror_run): Pass back error code from
33027         dl_catch_error.
33029         [BZ #13123]
33030         * elf/dl-load.c (lose): Free l_origin if it is valid.
33032         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33033         names.
33034         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33035         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33036         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33037         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33038         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33039         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33041 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33043         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33044         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33045         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33046         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33047         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33048         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33049         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33050         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33051         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33052         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33054 2011-08-15  Alan Modra  <amodra@gmail.com>
33056         [BZ #13092]
33057         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33058         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33059         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33060         ppc_mcount to static-only-routines.
33061         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33062         __mcount_internal.
33063         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33064         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33066 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33068         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33069         for finite and infinity parameters.
33071 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33073         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33074         and add nop instructions for throughput optimization.
33075         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33077 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33079         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33080         aligned copy for power7 with vector-scalar instructions.
33081         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33083 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33085         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33086         AVX check.
33088 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33090         [BZ #13144]
33091         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33092         last change.
33094 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33096         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33097         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33098         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33099         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33100         clock_gettime.
33102 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33104         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33105         Forgot to demangle the pointer.
33107         * sysdeps/i386/sysdep.h: Define atom_text_section.
33108         * sysdeps/x86_64/sysdep.h: Likewise.
33109         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33110         section with atom_text_section.
33111         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33112         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33113         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33114         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33115         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33117         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33118         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33119         already be defined.  Change to take two parameters and don't assign
33120         result to variable.  Adjust all users.
33121         Define INTERNAL_GETTIME if not already defined.
33122         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33123         call.
33124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33125         HAVE_CLOCK_GETTIME_VSYSCALL.
33126         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33128         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33129         gettimeofday vsyscall, just use time.
33131 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33133         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33134         <errno.h>.
33136 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33138         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33139         syscall on x86-64.
33140         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33141         syscall.
33142         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33143         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33144         syscall if possible.
33146 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33148         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33149         e_ident.  Don't pass to find_mapsXX.
33150         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33152 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33155         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33156         * sysdeps/x86_64/multiarch/strchr.S: Update.
33157         Check bit_slow_BSF bit.
33158         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33159         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33160         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33162 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33164         [BZ #13134]
33165         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33166         before glibc 2.15.
33167         (tryshell): Define.
33168         (__spawni): Change last parameter to be flag.  Test
33169         SPAWN_XFLAGS_USE_PATH flag to use path or not.
33170         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33171         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33172         * posix/spawni.c: Likewise.
33173         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33174         * posix/spawnp.c: Likewise.  Change normal version to use
33175         SPAWN_XFLAGS_USE_PATH.
33176         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33177         SPAWN_XFLAGS_TRY_SHELL.
33179         [BZ #13150]
33180         * posix/glob.h: Remove gcc 1.x support.
33182         [BZ #13068]
33183         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33185 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33187         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33188         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33189         strrchr-sse2-bsf
33190         * sysdeps/i386/i686/multiarch/strchr.S: New file.
33191         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33192         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33193         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33194         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33195         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33197 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33199         * sysdeps/x86_64/wcscmp.S: New file.
33201         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33202         wcscmp-c wcscmp-sse2
33203         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33204         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33205         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33206         * wcsmbs/wcscmp.c: Allow renaming.
33208 2011-09-05  David S. Miller  <davem@davemloft.net>
33210         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33211         stack slot, rather than the struct return pointer slot.
33212         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33213         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33215         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33217 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33219         * po/ja.po: Update from translation team.
33221         [BZ #13144]
33222         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33223         kernel in 64-bit binaries.
33225 2011-09-01  David S. Miller  <davem@davemloft.net>
33227         * elf/elf.h (HWCAP_SPARC_*): Move to..
33228         * sysdeps/sparc/sysdep.h: this new file and add new values.
33229         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33230         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33231         _DL_HWCAP_COUNT to 24.
33232         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33233         entries.
33234         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33235         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33236         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33237         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33238         instead of magic constants.
33239         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33241 2011-08-31  David S. Miller  <davem@davemloft.net>
33243         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33244         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33245         Reimplement to do errno handling inline.
33246         (SYSCALL_ERROR_HANDLER): New macro.
33247         (__SYSCALL_STRING): Do not do errno handling in asm.
33248         (__CLONE_SYSCALL_STRING): Delete.
33249         (__INTERNAL_SYSCALL_STRING): Delete.
33250         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33251         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33252         (PSEUDO): Reimplement to do errno handling inline.
33253         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33254         (SYSCALL_ERROR_HANDLER): New macro.
33255         (__SYSCALL_STRING): Do not do errno handling in asm.
33256         (__CLONE_SYSCALL_STRING): Delete.
33257         (__INTERNAL_SYSCALL_STRING): Delete.
33258         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33259         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33260         i386.
33261         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33262         (inline_syscall*): Add 'err' argument.
33263         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33264         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33265         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33266         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33268         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33269         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33271 2011-08-30  Andreas Schwab  <schwab@redhat.com>
33273         * elf/rtld.c (dl_main): Relocate objects in dependency order.
33275 2011-08-29  Jiri Olsa <jolsa@redhat.com>
33277         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33278         directive.
33280 2011-08-24  David S. Miller  <davem@davemloft.net>
33282         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33284 2011-08-24  Andreas Schwab  <schwab@redhat.com>
33286         * elf/Makefile: Add rules to build and run unload8 test.
33287         * elf/unload8.c: New file.
33288         * elf/unload8mod1.c: New file.
33289         * elf/unload8mod1x.c: New file.
33290         * elf/unload8mod2.c: New file.
33291         * elf/unload8mod3.c: New file.
33293         * elf/dl-close.c (_dl_close_worker): Reset private search list if
33294         it wasn't used.
33296 2011-08-23  David S. Miller  <davem@davemloft.net>
33298         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33299         subtract stack bias.
33300         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33301         %sp not %fp in calculations.
33302         (_JMPBUF_UNWINDS_ADJ): Likewise.
33304         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33305         (aio_suspend): Call it to force an exception region around the
33306         AIO_MISC_WAIT() invocation.
33308 2011-08-23  Andreas Schwab  <schwab@redhat.com>
33310         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33311         backslash.
33313 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
33315         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33316         protection macro.
33317         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33318         and <dl-machine.h>.
33319         (Elf64_FuncDesc): Remove.
33321 2011-08-22  David S. Miller  <davem@davemloft.net>
33323         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33324         sigaltstack check, add missing cfi directives.
33325         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33326         missing cfi directives, and sigaltstack handling.
33328 2011-08-16  Andreas Schwab  <schwab@redhat.com>
33330         [BZ #11724]
33331         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33332         object is seen twice.
33333         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33335         * elf/Makefile (distribute): Add tst-initorder2.c.
33336         (tests): Add tst-initorder2.
33337         (modules-names): Add tst-initorder2a tst-initorder2b
33338         tst-initorder2c tst-initorder2d.  Add rules to build them.
33339         ($(objpfx)tst-initorder2.out): New rule.
33340         * elf/tst-initorder2.c: New file.
33341         * elf/tst-initorder2.exp: New file.
33343 2011-08-22  Andreas Schwab  <schwab@redhat.com>
33345         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33347         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33348         dependencies back to end of function.
33350         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33351         $(elfobjdir)/ld.so.
33353 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
33355         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33356         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33357         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33358         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33359         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33360         of __vdso_gettimeofday.
33361         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33362         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
33363         attribute_hidden.
33364         (_libc_vdso_platform_setup): Remove initialization of
33365         __vdso_gettimeofday and __vdso_time.
33367 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33369         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33370         and fgetc_unlocked.
33371         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33372         getc_unlocked.
33374         * elf/dl-open.c (add_to_global): Report additions to the global scope
33375         for LD_DEBUG=scopes.
33376         (dl_open_worker): Also print scope of newly loaded dependencies.
33377         (_dl_show_scope): Indicate if there is no scope.
33379         [BZ #13114]
33380         * stdio-common/Makefile (tests): Add bug24.
33381         * stdio-common/bug24.c: New file.
33383 2011-08-19  Andreas Jaeger  <aj@suse.de>
33385         [BZ #13114]
33386         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33387         non-existant file when using close-on-exec mode.
33389 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33391         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33392         the very first instruction.
33394         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33395         the CFI state in the end.
33396         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33397         inclusion of dl-trampoline.h.
33398         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33400 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33402         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33403         expectations for long double.
33405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33406         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33408 2011-08-14  David S. Miller  <davem@davemloft.net>
33410         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33411         artificual limit depends upon the system page size.
33413 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33415         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33416         * resolv/Makefile: Define CFLAGS-libresolv.
33418 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33420         * nss/makedb.c (compute_tables): Make variables used in nested
33421         function static.
33423 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33425         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33426         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33427         if buffer was too small.
33429         * elf/pldd.c (main): Attach to all threads in the process.
33430         Rewrite /proc handling to use *at functions.
33432 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33434         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33435         specifies first scope to show.
33436         (dl_open_worker): Update callers.  Move printing scope of new
33437         object to before the relocation.
33438         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33439         * sysdeps/generic/ldsodefs.h: Update declaration.
33441         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33442         string for the scope number.
33444 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33446         * nscd/servicescache.c (cache_addserv): Make sure written is always
33447         initialized.
33449 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33451         * sysdeps/i386/i486/bits/atomic.h
33452         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33453         statement expression, so as to suppress "set but not used" warning.
33454         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33456         * string/strncat.c (STRNCAT): Use prototype definition.
33458         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33459         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33460         -Iprograms here.
33461         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33462         (localedef-modules): Add localedef.
33463         (locale-modules): Add locale.
33465         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33466         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33467         to avoid a warning.
33469 2011-08-14  David S. Miller  <davem@davemloft.net>
33471         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33472         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33474 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33476         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33477         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33478         * elf/rtld.c (dl_main): Set l_name of vDSO.
33479         Call _dl_show_scope when DL_DEBUG_SCOPES.
33480         (process_dl_debug): Recognize scopes flag and also set it for all.
33481         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33482         Declare _dl_show_scope.
33484         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33485         (do_dlopen): Pass caller_dlopen to dl_open.
33486         (__libc_dlopen_mode): Initialize caller_dlopen.
33488         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33489         of libc.  Make tolower call locale-independent.  Optimize a bit by
33490         using isdigit instead of isalnum.
33491         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33493 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33495         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33496         was a dependency or dynamically loaded.
33498 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33500         * intl/l10nflist.c: Allow architecture-specific pop function.
33501         * sysdeps/x86_64/l10nflist.c: New file.
33503         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33504         classification.
33506 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33508         * include/dirent.h: Add libc_hidden_proto for scandirat and
33509         scandirat64.  Don't declare __scandirat64.
33510         * dirent/scandirat.c: Add libc_hidden_def.
33511         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33512         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33514 2011-08-10  David S. Miller  <davem@davemloft.net>
33516         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33517         enum.
33518         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33519         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33520         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33522 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33524         * Versions.def [libc]: Add GLIBC_2.15.
33525         * dirent/Makefile (routines): Add scandirat and scandirat64.
33526         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33527         GLIBC_2.15.
33528         * dirent/dirent.h: Declare scandirat and scandirat64.
33529         * dirent/scandirat.c: New file.
33530         * dirent/scandirat64.c: New file.
33531         * sysdeps/wordsize-64/scandirat.c: New file.
33532         * sysdeps/wordsize-64/scandirat64.c: New file.
33533         * dirent/opendir.c: Define opendirat.
33534         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33535         using scandirat.
33536         * dirent/scandir64.c: Adjust for scandir.c change.
33537         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33538         __scandirat64, and __scandir_cancel_handler.
33539         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33540         additional parameter and use openat instead of open (outside of ld.so).
33541         Add new __opendir as wrapper around __opendirat.
33542         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33543         here without requiring old scandirat implementation.
33545 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33547         * dirent/scandir.c (cancel_handler): Renamed to
33548         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33549         defined.  Adjust users.
33550         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33551         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33553 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33555         * string/test-string.h (IMPL): Use __STRING to expand name and then
33556         stringify it.
33558         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33559         of cleanups.
33561 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33563         * string/Makefile: Update.
33564         (strop-tests): Append strncat.
33565         * string/test-wcscmp.c: New file.
33566         New comprehensive test for wcscmp.
33567         * string/test-strcmp.c: Update.
33568         (WIDE): New define.
33570 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33572         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33573         line.
33575 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33578         encoding to ACE if AI_IDN.
33580 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33582         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33583         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33585 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33587         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33588         Fix overflow bug in strncat.
33589         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33591         * string/test-strncat.c: Update.
33592         Add new tests for checking overflow bugs.
33594 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33597         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33598         * sysdeps/i386/i686/multiarch/strcat.S: New file.
33599         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33600         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33601         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33602         * sysdeps/i386/i686/multiarch/strncat.S: New file.
33603         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33604         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33606         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33607         (USE_AS_STRCAT): Define.
33608         Add strcat and strncat support.
33609         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33611 2011-07-25  Andreas Schwab  <schwab@redhat.com>
33613         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33614         __n bigger than INT_MAX+1.
33615         (__strncmp_g): Likewise.
33617 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
33619         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33620         * libio/stido.h: Likewise.
33622         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33623         (AF_NFC): Define.
33624         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33625         (AF_NFC): Define.
33627         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33628         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33629         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33630         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33631         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33633         [BZ #13021]
33634         * scripts/test-installation.pl: Don't expect libnss_test1 to be
33635         installed.
33637         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33638         typo.
33639         (_dl_x86_64_save_sse): Likewise.
33641 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
33643         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33644         OSXSAVE.
33645         (_dl_x86_64_save_sse): Likewise.
33647         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33649         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33651 2011-07-21  Andreas Schwab  <schwab@redhat.com>
33653         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33654         change.
33655         (_dl_x86_64_save_sse): Use correct AVX check.
33657 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33659         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33660         bug in strncpy/strncat.
33661         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33663 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
33665         * string/tester.c (test_strcat): Add tests for different alignments
33666         of source and destination.
33667         (test_strncat): Likewise.
33669 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33671         [BZ #12852]
33672         * posix/glob.c (glob): Check passed in values before using them in
33673         expressions to avoid some overflows.
33674         (glob_in_dir): Likewise.
33676         [BZ #13007]
33677         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33678         check for AVX enablement so that we don't crash with old kernels and
33679         new hardware.
33680         * elf/tst-audit4.c: Add same checks here.
33681         * elf/tst-audit6.c: Likewise.
33683         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33685 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
33687         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33689 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33691         * po/cs.po: Update from translation team.
33692         * po/bg.po: Likewise.
33694 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
33696         * misc/sys/cdefs.h: Add support for const attribute.
33697         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33698         to gnu_dev_{major,minor,makedev} functions.
33700 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
33702         * intl/dcigettext.c (get_output_charset): Add missing bracket.
33704 2011-07-20  Andreas Schwab  <schwab@redhat.com>
33706         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33707         strlen results.
33709 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33711         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33712         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33713         register in order to avoid conflicts with the soft frame pointer
33714         being held in r11 when necessary.
33715         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33716         (INTERNAL_VSYSCALL_NCS): Likewise.
33718 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
33720         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33721         * elf/dl-fini.c (_dl_fini): Adjust caller.
33722         * elf/dl-close.c (_dl_close_worker): Likewise.
33723         * sysdeps/generic/ldsodefs.h: Adjust declaration.
33725 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33727         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33728         "aux_cache->nlibs < 0".
33730         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33731         in the reload-count case.
33733 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33735         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33736         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33737         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33738         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33739         * sysdeps/x86_64/multiarch/strcat.S: New file.
33740         * sysdeps/x86_64/multiarch/strncat.S: New file.
33741         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33742         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33743         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33744         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33745         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33746         (USE_AS_STRCAT): Define.
33747         Add strcat and strncat support.
33748         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33749         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33750         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33751         * string/strncat.c: Update.
33752         (USE_AS_STRNCAT): Define.
33753         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33754         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33755         and i7.
33756         * sysdeps/x86_64/multiarch/init-arch.h
33757         (bit_Prefer_PMINUB_for_stringop): New.
33758         (index_Prefer_PMINUB_for_stringop): Likewise.
33759         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33760         bit_Prefer_PMINUB_for_stringop.
33762 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33764         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33765         buffer64.
33766         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33767         of casting of buffer.
33768         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33769         buffer32 and buffer64.
33770         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33771         writes instead of casting of buffer.
33772         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33773         buffer32.
33774         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33775         casting of buffer.
33777 2011-07-19  Andreas Schwab  <schwab@redhat.com>
33779         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33781 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33783         * nscd/nscd.c (termination_handler): Don't do anything for a database
33784         if it has not yet been initialized.
33786 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33788         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33790 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33792         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33794 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33796         * po/nl.po: Update from translation team.
33797         * po/sv.po: Likewise.
33799 2011-07-16  Roland McGrath  <roland@hack.frob.com>
33801         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33802         now disallowed by GCC.
33804         * configure.in (use-default-link): Default to yes if a test -shared
33805         link meets our qualifications.
33806         * configure: Regenerated.
33808         * config.make.in (output-format): New variable.
33809         * configure.in: Check for ld --print-output-format support.
33810         * configure: Regenerated.
33811         * Makerules ($(common-objpfx)format.lds)
33812         [$(output-format) != unknown]: Just use $(output-format),
33813         instead of the linker-script munging.
33815 2011-07-14  Roland McGrath  <roland@hack.frob.com>
33817         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33818         of $(common-objpfx)shlib.lds.
33819         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33821         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33822         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33824         * configure.in (-z relro check): Adjust test code to add a large
33825         writable data section after it.
33826         * configure: Regenerated.
33828 2011-07-11  Roland McGrath  <roland@hack.frob.com>
33830         * configure.in (-z relro check): Fix test code to make the variable
33831         truly const.
33832         * configure: Regenerated.
33834 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
33836         * nscd/nscd.h (struct traced_file): Define.
33837         (struct database_dyn): Remove inotify_descr, reset_res, and filename
33838         elements.  Add traced_files.
33839         (inotify_fd): Declare.
33840         (register_traced_file): Declare.
33841         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33842         (inotify_fd): Export.
33843         (resolv_conf_descr): Remove.
33844         (nscd_init): Move inotify descriptor creation to main.
33845         Don't register files for notification here.
33846         (register_traced_file): New function.
33847         (invalidate_cache): Don't use reset_res to determine whether to call
33848         res_init, go through the list of registered files.
33849         (main_loop_poll): The inotify descriptors are now stored in the
33850         structures for the traced files.
33851         (main_loop_epoll): Likewise
33852         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
33853         to __nss_disable_nscd.
33854         * nscd/cache.c (prune_cache): There is no single inotify descriptor
33855         for a database anymore.  Check the records for all the registered
33856         files instead.
33857         * nss/Makefile (libnss_files-routines): Add files-init.
33858         (libnss_db-routines): Add db-init.
33859         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33860         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33861         * nss/nss_db/db-init.c: New file.
33862         * nss/nss_files/files-init.c: New file.
33863         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
33864         __nss_lookup_function.
33865         (__nss_lookup_function): Call nss_load_library.
33866         (nss_load_all_libraries): New function.
33867         (__nss_disable_nscd): Take parameter with callback function for files
33868         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
33869         used for the cached services.
33870         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33871         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33872         options for features to all the files in nscd.
33874         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33876 2011-07-10  Roland McGrath  <roland@hack.frob.com>
33878         * csu/elf-init.c (__libc_csu_init): Comment typo.
33880 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
33882         * po/pl.po: Update from translation team.
33883         * po/ja.po: Likewise.
33884         * po/ru.po: Likewise.
33885         * po/ko.po: Likewise.
33886         * po/fr.po: Likewise.
33888 2011-07-09  Roland McGrath  <roland@hack.frob.com>
33890         * configure.in (.ctors/.dtors header and trailer check):
33891         Use an empirical test on a built program.
33892         * configure: Regenerated.
33894         * configure.in (-z relro check): Use an empirical test on a built DSO.
33895         Detect, but do not require, on ia64.
33896         * configure: Regenerated.
33898         * configure.in (READELF): Find it with AC_CHECK_TOOL.
33899         Update tests that use readelf to use $READELF instead.
33900         * configure: Regenerated.
33902 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
33904         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33905         if the result is not used.
33907 2011-07-05  Andreas Jaeger  <aj@suse.de>
33909         [BZ#9696]
33910         * stdlib/tst-strtod.c: Add testcase.
33912 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
33914         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33915         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33916         The latter has a higher limit.  Take additional parameter to pass to
33917         the new function.
33918         (__pathconf): Pass file to __statfs_link_max.
33919         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33920         __statfs_link_max.
33921         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33922         __statfs_link_max.
33924         [BZ #12868]
33925         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33926         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33927         Handle Lustre.
33928         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33929         (__statfs_filesize_max): Likewise.
33930         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33932 2011-07-05  Andreas Jaeger  <aj@suse.de>
33934         * resolv/res_comp.c (dn_skipname): Remove unused variable.
33936 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
33938         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33939         `status' variable.
33940         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33941         Likewise.
33943 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
33945         * Makefile (strop-tests): Add strncat.
33946         * string/test-strncat.c: New file.
33948 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
33950         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33952 2011-06-21  Andreas Jaeger  <aj@suse.de>
33954         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33955         Copy rule from iconvdata/Makefile.
33957 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33959         [BZ #12922]
33960         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33961         but no long options are defined, just return 'W'.
33963 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
33965         [BZ #9696]
33966         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33968 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33970         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33971         netgroups to read.
33972         (innetgr): Likewise.
33974 2011-07-05  Roland McGrath  <roland@hack.frob.com>
33976         * config.make.in (install_root): Default to $(DESTDIR).
33978 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
33980         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33982 2011-07-02  Roland McGrath  <roland@hack.frob.com>
33984         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33986         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33987         containing directory rather than embedding absolute directory names.
33989         * scripts/check-local-headers.sh: Rewritten using awk.
33990         Match by word, not by line.  Print error messages for matches.
33991         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33993         * Makerules [shlib-lds-flags empty]:
33994         ($(common-objpfx)libc_pic.opts): New target.
33995         ($(common-objpfx)libc_pic.os.clean): New target.
33996         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33998         * config.make.in (OBJCOPY): New variable.
33999         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34000         * configure: Regenerated.
34002         * config.make.in (use-default-link): New variable.
34003         * configure.in (use_default_link): Grok --with-default-link to set it.
34004         * configure: Regenerated.
34005         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34006         (shlib-lds, shlib-lds-flags): Define to empty.
34008         * Makerules (shlib-lds): New variable.
34009         (shlib-lds-flags): New variable.
34010         (build-shlib, build-moduile, build-module-asneeded): Use it.
34011         ($(common-objpfx)libc.so): Use $(shlib-lds).
34012         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34013         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34015         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34016         DT_FLAGS/DT_FLAGS_1 with zero flags.
34018         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34019         linker script munging.
34021 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34023         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34024         as 128-bit value.
34025         * crypt/sha512.c (sha512_process_block): Perform total addition using
34026         128-bit if possible.
34027         (__sha512_finish_ctx): Likewise.
34028         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34029         as 64-bit value.
34030         * crypt/sha256.c (SWAP64): Define.
34031         (sha256_process_block): Perform total addition using 64-bit if
34032         possible.
34033         (__sha256_finish_ctx): Likewise.
34035 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34037         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34038         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34039         * nscd/hstcache.c (cache_addhst): Likewise.
34040         * nscd/grpcache.c (cache_addgr): Likewise.
34041         * nscd/aicache.c (addhstaiX): Likewise
34042         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34044 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34046         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34047         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34048         * nscd/hstcache.c (cache_addhst): Likewise.
34049         * nscd/grpcache.c (cache_addgr): Likewise.
34050         * nscd/aicache.c (addhstaiX): Likewise
34052 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34054         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34055         domain only when needed.
34057 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34059         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34060         is always restored.
34062 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34064         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34065         are re-adding the entry.
34066         * nscd/servicescache.c (cache_addserv): Likewise.
34068 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34070         * sysdeps/generic/dl-irel.h: fix protection against multiple
34071         inclusions.
34072         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34074 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34076         [BZ #12935]
34077         * malloc/memusage.sh: Fix quoting in message.
34078         * debug/xtrace.sh: Likewise.
34080         * configure.in: Remove support for --experimental-malloc option, make
34081         it the default.
34082         * config.make.in: Likewise.
34083         * malloc/Makefile: Likewise.
34085 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34087         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34088         two-byte characters.
34090 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34092         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34093         AC_CACHE_CHECK invocation.
34094         * configure: Regenerated.
34096         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34098 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34100         [BZ #12350]
34101         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34102         bit from old_res_options.
34104         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34106         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34107         value type for setfct.
34109 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34111         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34112         __gettimeofday instead of gettimeofday.
34114 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34116         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34118 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34120         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34122         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34123         info.
34125 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34128         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34129         strcpy-sse2-unaligned strncpy-sse2-unaligned
34130         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34131         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34132         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34133         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34134         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34135         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34136         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34137         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34138         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34139         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34140         (STRCPY): Support SSE2 and SSSE3 versions.
34142 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34144         [BZ #12874]
34145         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34146         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34147         kernels which artificially limit size of requests.
34149 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34151         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34152         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34153         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34154         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34155         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34156         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34157         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34158         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34159         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34160         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34161         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34162         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34163         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34164         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34165         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34167         Enable unaligned load optimization for Intel Core i3, i5 and i7
34168         processors.
34169         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34170         Define.
34171         (index_Fast_Unaligned_Load): Define.
34172         (HAS_FAST_UNALIGNED_LOAD): Define.
34174 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
34176         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34178 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34180         [BZ #12907]
34181         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34182         until it is clear that the information is realy needed.
34183         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34185 2011-06-22  Andreas Schwab  <schwab@redhat.com>
34187         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34189 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34191         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34192         /sys/devices/system/cpu/online if it is usable.
34194         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34195         reading the information from the /proc filesystem to once a second.
34197 2011-06-21  Andreas Jaeger  <aj@suse.de>
34199         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34200         NULL after inclusion of kernel headers.
34202 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
34204         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34205         calls to internal_setent.
34207         [BZ #12885]
34208         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34209         addresses using gethostbyname4_r ignore IPv4 addresses.
34211         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34212         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
34214         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34216 2011-06-20  David S. Miller  <davem@davemloft.net>
34218         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34219         inclusions.
34220         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34222         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34223         (elf_irel): Use it.
34224         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34225         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34226         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34227         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34228         * sysdeps/x86_64/dl-irel.h: Likewise.
34230         * elf/dl-runtime.c: Use elf_ifunc_invoke.
34231         * elf/dl-sym.c: Likewise.
34233 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34235         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
34236         need to dereference resplen2.
34238 2011-06-14  Andreas Schwab  <schwab@redhat.com>
34240         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34242 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34244         * Makeconfig: Define vardbdir and inst_vardbdir.
34245         * nss/Makefile: Add rules to install db-Makefile.
34247         * nss/nss_db/db-XXX.c: Cleanup.
34249         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34250         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34251         GLIBC_PRIVATE.
34252         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34253         * nss/makedb.c: Implement -g option to specify that value strings
34254         are generated and should not be added to table iterated over for
34255         get*ent calls.
34256         * nss/nss_db/db-initgroups.c: New file.
34258         * nss/getent.c: Add support for initgroups lookups through getgrouplist
34259         interface.
34261         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34262         (internal_getgrouplist): Adjust to name change.
34263         Update use_initgroups_entry if this is not the first call.
34264         * nss/databases.def: Add initgroups entry.
34266         * nss/makedb.c (compute_tables): Check result of multiple hash table
34267         sizes to minimize maximum chain length.
34269 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
34271         * Versions.def: Add entry for libnss_db.
34272         * shlib-versions: Likewise.
34273         * nss/Makefile: Add rules to build libnss_db.
34274         * nss/Versions: Add libnss_db information.  Organize libnss_files
34275         entries better.
34276         * nss/db-Makefile: Add gshadow support.  Change rules for the new
34277         makedb progra.  Some minor improvements to generate smaller files.
34278         * nss/nss_db/nss_db.h: Move NSS database header data structures to
34279         here from...
34280         * nss/makedb.c: ...here.
34281         Improve database format to be smaller and require less memory at
34282         runtime.
34283         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
34284         db anymore.
34285         * nss/nss_db/db-netgrp.c: Likewise.
34286         * nss/nss_db/db-open.c: Likewise.
34287         * nss/nss_files/flies-XXX.x: Adjust comments.
34288         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34289         * nss/nss_files/files-grp.c: Likewise.
34290         * nss/nss_files/files-hosts.c: Likewise.
34291         * nss/nss_files/files-network.c: Likewise.
34292         * nss/nss_files/files-proto.c: Likewise.
34293         * nss/nss_files/files-pwd.c: Likewise.
34294         * nss/nss_files/files-rpc.c: Likewise.
34295         * nss/nss_files/files-service.c: Likewise.
34296         * nss/nss_files/files-sgrp.c: Likewise.
34297         * nss/nss_files/files-spwd.c: Likewise.
34298         * nss/nss_db/db-alias.c: Removed.
34299         * nss/nss_db/dummy-db.h: Removed.
34301 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
34303         * nss/makedb.c: Rewritten to not use database library.
34304         * nss/Makefile: Update to build new makedb program.
34306 2011-06-14  Andreas Jaeger  <aj@suse.de>
34308         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34309         memset declaration.
34311 2011-06-10  Andreas Schwab  <schwab@redhat.com>
34313         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34314         tmpbuf.
34316 2011-06-10  Roland McGrath  <roland@hack.frob.com>
34318         * Makerules (shlib.lds): Fail if the linker script comes out empty.
34319         * elf/Makefile ($(objpfx)ld.so): Likewise.
34321         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34322         Don't list ld.so twice in dependencies.
34324         * posix/bug-regex31.c: Include <stdlib.h>.
34326         * nscd/hstcache.c (cache_addhst): Remove unused variable.
34328         * nis/nss_compat/compat-spwd.c
34329         (getspent_next_nss_netgr): Remove unused variable.
34330         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34332         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34333         nonmembers" output to use the right array.
34335         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34337         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34339         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34340         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34341         * catgets/gencat.c (read_input_file): Likewise.
34342         * locale/programs/locarchive.c (enlarge_archive): Likewise.
34344         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34345         variable definition inside #if's controlling its use.
34347         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34349         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34351         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34353         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34354         unreachable code.
34356         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34358         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34359         * configure: Regenerated.
34361         * Makerules: Revert last change.
34362         * elf/Makefile: Likewise.
34364 2011-06-09  Roland McGrath  <roland@hack.frob.com>
34366         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34367         * elf/Makefile ($(objpfx)librtld.os): Likewise.
34368         (reloc-link): Likewise.
34370 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
34372         * elf/Makefile: Add rules to build pldd.
34373         * elf/pldd.c: New file.
34374         * elf/pldd-xx.c: New file.
34376 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
34378         * version.h: Update for 2.15 development version.
34380 2011-06-07  David S. Miller  <davem@davemloft.net>
34382         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34383         ifuncs.
34384         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34385         elf_machine_lazy_rel): Likewise.
34386         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34387         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34388         elf_machine_lazy_rel): Likewise.
34389         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34390         dl_hwcap via passed in argument.
34391         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34392         Likewise.
34394 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34396         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34398 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34400         [BZ #12849]
34401         * manual/fdl-1.1.texi: New file, verbatim from:
34402         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34403         * manual/lgpl-2.1.texi: New file, verbatim from:
34404         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34405         * manual/Makefile (licenses): New variable, list those new file names.
34406         (texis): Use it.
34407         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34409         * manual/fdl.texi: File removed.
34410         * manual/lesser.texi: File removed.
34411         * manual/libc.texinfo (Copying, Documentation License):
34412         Use new @include file names, put @appendix directive before @include.
34414 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34416         [BZ #12841]
34417         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34418         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34419         (mq_open): Add __NTH.
34421 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34424         Assume Intel Core i3/i5/i7 processor if AVX is available.
34426 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34428         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34429         typo.
34431 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34433         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34434         memory.  Use alloca_account.  Fix memory leak when retrying.
34436 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34438         * version.h (RELEASE): Bump for 2.14 release.
34439         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34441         * config.make.in (RANLIB): Remove entry.
34443 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34445         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34446         (libc.pot): Work around missing support for .ksh extension in xgettext.
34448         [BZ #12684]
34449         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34450         if both request failed.
34451         (send_dg): In case of server errors clear resplen or *resplen2.
34453         [BZ #12454]
34454         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34455         when there are multiple maps.
34456         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34457         (_dl_fini): Remove test here.
34459         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34461 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34463         [BZ #12350]
34464         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34465         bit from old_res_options.
34466         (gaih_inet): Likewise.
34468         [BZ #11099]
34469         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34470         as signed.
34472         * resolv/res_init.c (res_setoptions): Make the code more compact.
34474         [BZ #11558]
34475         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34476         set RES_USEVC.
34478         [BZ #11634]
34479         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34481         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34483         [BZ #11781]
34484         * malloc/malloc.h: Declare malloc hook variables as volatile.
34486         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34487         in last patch.
34489         [BZ #11799]
34490         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34491         raise in the comment.
34492         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34493         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34494         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34496 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34498         [BZ #12811]
34499         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34500         grow the buffers more if it already has to be sufficient.
34501         (build_wcs_upper_buffer): Likewise.
34502         * posix/regexec.c (check_matching): Likewise.
34503         (clean_state_log_if_needed): Likewise.
34504         (extend_buffers): Don't enlarge buffers beyond size of the input
34505         buffer.
34506         Patches mostly by Emil Wojak <emil@wojak.eu>.
34507         * posix/bug-regex32.c: New file.
34508         * posix/Makefile (tests): Add bug-regex32.
34510         * locale/findlocale.c (_nl_find_locale): Return right away if
34511         _nl_explode_name failed.
34512         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34514         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34516         * debug/xtrace.sh: Unify messages.
34517         * malloc/memusage.sh: Likewise.
34519         [BZ #12813]
34520         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34521         time symbol from vDSO.  Substitute with vsyscall if not available.
34522         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34523         __vdso_time.
34525         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34526         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34527         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34528         Add sendmmsg and internal_sendmmsg.
34529         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34530         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34531         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34533         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34534         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34535         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34537 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34539         [BZ #12813]
34540         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34541         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34542         available.
34543         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34544         __vdso_getcpu.
34546         [BZ #12814]
34547         * iconvdata/Makefile (tests): Add bug-iconv9.
34548         * iconvdata/bug-iconv9.c: New file.
34550 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34552         [BZ #12814]
34553         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34555 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34557         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34558         (struct user_regs_struct): Change intcs field back to cs.
34560 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34562         * po/ja.po: Update from translation team.
34564 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34566         [BZ #12795]
34567         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34568         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34570 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34572         * stdlib/longlong.h: Update from GCC.
34574 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34576         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34577         parameter name.
34578         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34579         Add parameter name.
34580         (__sysconf): Pass it down.
34582 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34584         [BZ #12671]
34585         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34586         some situations.
34587         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34588         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34589         add in in __libc_use_alloca calls.  Adjust callers.
34590         (glob): Use malloc in some situations.
34592         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34593         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34594         pltexit.
34596 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
34598         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34599         and CLOCK_BOOTTIME_ALARM.
34601         [BZ #12782]
34602         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34603         is returned.
34605         * string/_strerror.c (__strerror_r): Print negative errors as signed
34606         numbers.
34608         [BZ #12777]
34609         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34610         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34611         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34613         * configure.in: Fix typo in redirection and correct removal of test
34614         files in two cases.
34616         [BZ #12788]
34617         * locale/setlocale.c (new_composite_name): Fix test to check for
34618         identical name of all categories.
34620         [BZ #12792]
34621         * libio/filedoalloc.c (local_isatty): New function.
34622         (_IO_file_doallocate): Use local_isatty.
34623         * stdio-common/perror.c (perror): In case a new stream is used
34624         forward the stream error.
34625         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34626         error flag.
34628 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
34630         [BZ #11869]
34631         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34632         alloca.
34633         * include/alloca.h (extend_alloca_account): Define.
34635         [BZ #11857]
34636         * posix/regex.h: Fix comments with documentation of user-accessible
34637         fields after compilation and describe correct free'ing of pattern
34638         after re_compile_pattern.
34639         Patch by Reuben Thomas <rrt@sc3d.org>.
34641 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
34643         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34644         and -mno-altivec to prevent the compiler from using Altivec and/or
34645         VSX instructions when the corresponding registers are not available.
34647 2011-05-19  Andreas Schwab  <schwab@redhat.com>
34649         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34651 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
34653         * libio/freopen.c (freopen): Use __dup2, not dup2.
34654         * libio/freopen64.c (freopen64): Likewise.
34656 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34658         [BZ #12775]
34659         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34660         * math/Makefile (tests): Add test-powl.
34661         (CFLAGS-test-powl.c): Define.
34662         * math/test-powl.c: New file.
34664 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34666         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34668 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
34670         [BZ #11837]
34671         * iconvdata/gb18030.c: Update to GB18020-2005.
34673 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
34675         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34676         RE_SYNTAX_POSIX_AWK): Update to match recent development.
34677         Patch by Aharon Robbins <arnold@skeeve.com>.
34679         [BZ #11892]
34680         * stdlib/putenv.c (putenv): Don't always create copy of the variable
34681         on the stack.
34683         [BZ #11895]
34684         * misc/pselect.c (__pselect): Handle timeout value errors hidden
34685         through underflows.
34687         [BZ #12766]
34688         * misc/error.c (error_at_line): Ensure file_name and old_file_name
34689         point to strings before performing equality test for error_one_per_line
34690         mode.
34692         [BZ #11697]
34693         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34695         [BZ #11820]
34696         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34697         (struct user_fpregs_struct): Avoid __uint*_t types.
34699         [BZ #6420]
34700         * malloc/mtrace.c (tr_where): Add additional parameter to point to
34701         symbol info.  Use it instead of calling _dl_addr locally.
34702         (lock_and_info): New function.
34703         (tr_freehook): Call lock_and_info and pass symbol info as additional
34704         parameter to tr_where.
34705         (tr_mallochook): Likewise.
34706         (tr_reallochook): Likewise.
34707         (tr_memalignhook): Likewise.
34709         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
34710         used and couldn't be at all thread-safe.
34712 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
34714         * libio/freopen.c (freopen): Don't close old file descriptor
34715         before the new one is opened.  Instead dup the new file descriptor
34716         to the old one after the new stream is created.
34717         * libio/freopen64.c (freopen64): Likewise.
34718         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34719         * libio/fileops.c (_IO_new_file_close_it): Handle new
34720         _IO_FLAGS2_NOCLOSE flag.
34721         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34722         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34723         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34724         _IO_FLAGS2_NOCLOSE flag.
34725         * include/unistd.h: Add hidden_proto for dup3.
34726         Define __have_dup3.
34727         * io/dup3.c: Define hidden symbol.
34728         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34730         [BZ #7101]
34731         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34732         when an incomplete long option is used.
34733         * posix/tst-getopt_long1.c: New file.
34734         * posix/Makefile (tests): Add tst-getopt_long1.
34736         [BZ #10138]
34737         * scripts/config.guess: Update from autoconf-2.68.
34738         * scripts/config.sub: Likewise.
34740         [BZ #10157]
34741         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34742         tests into ...
34743         (has_cpuclock): ...this.  New function.
34744         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34745         macro here based on has_cpuclock code.
34747         [BZ #10149]
34748         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34749         First byte (not low byte) is now always NUL.
34750         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34752         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34753         Use non-cancelable interfaces.
34755         [BZ #9809]
34756         * locale/iso-639.def: Add entry for Sorani.
34758         [BZ #11901]
34759         * include/stdlib.h: Move include protection to the right place.
34760         Define abort_msg_s.  Declare __abort_msg with it.
34761         * stdlib/abort.c (__abort_msg): Adjust type.
34762         * assert/assert.c (__assert_fail_base): New function.  Majority
34763         of code from __assert_fail.  Allocate memory for __abort_msg with
34764         mmap.
34765         (__assert_fail): Now call __assert_fail_base.
34766         * assert/assert-perr.c: Remove bulk of implementation.  Use
34767         __assert_fail_base.
34768         * include/assert.hL Declare __assert_fail_base.
34769         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34770         mmap.
34771         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34773 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
34775         [BZ #11952]
34776         [BZ #12453]
34777         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34778         until all modules are registered in the DTV.
34779         * elf/Makefile: Add rules to build and run tst-tls19.
34780         * elf/tst-tls19.c: New file.
34781         * elf/tst-tls19mod1.c: New file.
34782         * elf/tst-tls19mod2.c: New file.
34783         * elf/tst-tls19mod3.c: New file.
34784         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34786         [BZ #12083]
34787         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34788         correctly.
34790         [BZ #12601]
34791         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34792         two-byte sequence errors.
34793         * iconvdata/Makefile (tests): Add bug-iconv8.
34794         * iconvdata/bug-iconv8.c: New file.
34796         [BZ #12626]
34797         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34798         buf2 definition.
34800         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34802         [BZ #12432]
34803         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34804         (dummy_getcfa): New function.
34805         (init): Get _Unwind_GetCFA address, use dummy if not found.
34806         (backtrace_helper): In recursion check, also check whether CFA changes.
34807         (__backtrace): Completely initialize arg.
34809         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34810         storing incomplete byte sequence in state object.  Avoid testing for
34811         guaranteed too small input if we know there is enough data available.
34813 2011-05-11  Andreas Schwab  <schwab@redhat.com>
34815         * Makeconfig (+link-pie): Indent.
34816         * Rules (binaries-pie): Define if $(have-fpie) and
34817         $(build-shared).
34818         (binaries-shared): Also filter out $(binaries-pie).
34819         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34820         * nscd/Makefile (others-pie): Add nscd.
34821         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34822         ($(objpfx)nscd): Remove command override.
34823         * login/Makefile (others-pie): Add pt_chown.
34824         ($(objpfx)pt_chown): Remove command override.
34825         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34826         remove command overrides.
34828 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
34830         * libio/tst_putwc.c: Fix error messages.
34832         [BZ #12724]
34833         * libio/fileops.c (_IO_new_file_close_it): Always flush when
34834         currently writing and seek to current position when not.
34835         * libio/Makefile (tests): Add bug-fclose1.
34836         * libio/bug-fclose1.c: New file.
34838 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
34840         [BZ #12511]
34841         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34842         don't set DF_1_NODELETE here.
34843         (do_lookup_x): When entering new entry test for copy relocation
34844         and if necessary set DF_1_NODELETE flag.
34845         * elf/tst-unique4.cc: New file.
34846         * elf/tst-unique4.h: New file.
34847         * elf/tst-unique4lib.cc: New file.
34848         * elf/Makefile: Add rules to build and run tst-unique4.
34849         Patch by Piotr Bury <pbury@goahead.com>.
34851 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
34853         [BZ #12052]
34854         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34856         [BZ #12625]
34857         * misc/mntent_r.c (addmntent): Flush the stream after the output
34859         [BZ #12393]
34860         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34861         (is_trusted_path_normalize): Skip initial colon.  Append slash
34862         to empty buffer.  Duplicate is_trusted_path code but allow
34863         constructed patch to be prefix.
34864         (is_dst): Allow $ORIGIN followed by /.
34865         (_dl_dst_substitute): Correct clearing of check_for_trusted.
34866         Correct testing of result of is_trusted_path_normalize
34867         (decompose_rpath): Fix warning.
34869 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
34871         [BZ #11257]
34872         * grp/initgroups.c (internal_getgrouplist): When we found the service
34873         list through the initgroups entry in nsswitch.conf do not always
34874         continue on a successful lookup.  Don't always use the
34875         __nss_group_database value if it is set.
34876         * nss/nsswitch.conf (initgroups): Change action for successful db
34877         lookup to continue for compatibility.
34879 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
34881         [BZ #11532]
34882         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34883         and CP774 modules.
34884         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34885         and CP774 modules.
34886         * iconvdata/tst-tables.sh: Likewise.
34887         * iconvdata/cp770.c: New file.
34888         * iconvdata/cp771.c: New file.
34889         * iconvdata/cp772.c: New file.
34890         * iconvdata/cp773.c: New file.
34891         * iconvdata/cp774.c: New file.
34892         * iconvdata/testdata/CP770: New file.
34893         * iconvdata/testdata/CP770..UTF8: New file.
34894         * iconvdata/testdata/CP771: New file.
34895         * iconvdata/testdata/CP771..UTF8: New file.
34896         * iconvdata/testdata/CP772: New file.
34897         * iconvdata/testdata/CP772..UTF8: New file.
34898         * iconvdata/testdata/CP773: New file.
34899         * iconvdata/testdata/CP773..UTF8: New file.
34900         * iconvdata/testdata/CP774: New file.
34901         * iconvdata/testdata/CP774..UTF8: New file.
34903         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34904         END CHARMAP line.
34905         * iconvdata/gen-8bit-gap.sh: Likewise.
34906         * iconvdata/gen-8bit.sh: Likewise.
34908         * locale/iso-639.def: Add ary entry.
34910         [BZ #11258]
34911         * locale/C-translit.h.in: Add U20A1 transliteration.
34913         [BZ #12178]
34914         * locale/iso-639.def: Add wae entry.
34915         Patch by Kevin Bortis <bortis@translate-wae.ch>.
34917         [BZ #12545]
34918         * locale/programs/localedef.c (construct_output_path): Use ssize_t
34919         for n.
34921         [BZ #12711]
34922         * locale/C-translit.h.in: Add entry for U20B9.
34923         Patch by pravin.d.s@gmail.com.
34925 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
34927         [BZ #12713]
34928         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34929         ENAMETOOLONG use generic getcwd.
34930         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
34931         in rtld.  Use *stat64.
34932         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34933         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34934         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34935         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34936         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34937         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34938         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34939         __fstatat64 macros.
34940         * include/dirent.h: Add libc_hidden_proto for rewinddir.
34941         * dirent/rewinddir.c: Add libc_hidden_def.
34942         * sysdeps/mach/hurd/rewinddir.c: Likewise.
34943         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
34945         * include/dirent.h (__alloc_dir): Add flags parameter.
34946         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34947         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34948         __alloc_dir.
34949         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
34950         from fdopendir if O_CLOEXEC is already set.
34952 2011-03-15  Alan Modra  <amodra@gmail.com>
34954         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34955         l_tls_firstbyte_offset non-zero.  Save padding offset in
34956         l_tls_firstbyte_offset for later use.
34957         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34958         freeing static tls block.
34960 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
34962         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34963         where #ifdef was intended.  The intent is to prevent ARG_MAX from
34964         being defined by the kernel headers.
34966 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
34968         [BZ #12734]
34969         * resolv/resolv.h: Define RES_NOTLDQUERY.
34970         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34971         no-tld-query and set RES_NOTLDQUERY.
34972         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34973         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34974         modern BIND to search name as TLD unless forbidden.
34976 2011-05-07  Petr Baudis  <pasky@suse.cz>
34977             Ulrich Drepper  <drepper@gmail.com>
34979         [BZ #12393]
34980         * elf/dl-load.c (fillin_rpath): Move trusted path check...
34981         (is_trusted_path): ...to here.
34982         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34983         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34984         using is_trusted_path_normalize() in setuid scripts.
34986 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34988         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34989         __BEGIN/__END_DECLS.
34991 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
34993         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34994         NSS_STATUS_NOTFOUND if no record was found.
34996 2011-05-05  Andreas Schwab  <schwab@redhat.com>
34998         * sunrpc/Makefile (headers): Add rpc/netdb.h.
34999         (headers-not-in-tirpc): Remove rpc/netdb.h
35000         * resolv/netdb.h: Revert last change.
35002 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35004         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35005         circular dependency between libgcc.a and libc.a.
35007 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35009         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35010         * nis/Makefile: Don't install rpcsvc/*.
35011         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35012         instead of <rpc/types.h>.
35013         (MAXHOSTNAMELEN): Define.
35015 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35017         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35019 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35021         [BZ #12714]
35022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35023         gethostbyname4_r when IPv6 results are possible.
35025 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35027         [BZ #12723]
35028         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35029         _PC_PIPE_BUF handling.
35031 2011-04-30  Bruno Haible  <bruno@clisp.org>
35033         [BZ #12717]
35034         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35035         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35036         to 'int'.
35037         * inet/getnameinfo.c (getnameinfo): Likewise.
35039 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35041         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35042         to groups setting in database lookup.
35043         * nss/nsswitch.conf: Add initgroups entry.
35045 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35047         [BZ #12685]
35048         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35049         mode string.
35050         Patch by Eric Blake <eblake@redhat.com>.
35052 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35054         * sunrpc/Makefile (need-export-routines): Add svc_run.
35055         (routines): Remove svc_run.
35056         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35057         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35058         * sunrpc/svc_run.c (svc_run): Likewise.
35059         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35061 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35063         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35064         problem in reallocation in last patch.
35066 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35068         * sunrpc/Makefile: Move inclusion of Rules.
35070 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35072         * nss/nss_files/files-initgroups.c: New file.
35073         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35074         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35075         _nss_files_initgroups_dyn.
35077 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35079         * elf/elf.h (R_ARM_IRELATIVE): Define.
35081 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35083         * po/ru.po: Update from translation team.
35085 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35087         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35088         dependencies.
35090 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35092         [BZ #12653]
35093         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35094         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35095         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35096         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35097         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35099 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35101         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35102         differing bytes.
35103         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35104         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35105         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35107 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35109         [BZ #12420]
35110         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35111         storing it.
35112         * stdlib/bug-getcontext.c: New file.
35113         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35115 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35117         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35118         instructions into .machine "z9-109".
35119         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35120         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35122 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35124         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35125         between environment variables and auxiliary vector.
35127 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35129         * Makefile: Add rules to build linkobj/libc.so.
35130         * include/libc-symbols.h: Define libc_hidden_nolink.
35131         * include/rpc/auth.h: Mark functions which are to be hidden.
35132         * include/rpc/auth_des.h: Likewise.
35133         * include/rpc/auth_unix.h: Likewise.
35134         * include/rpc/clnt.h: Likewise.
35135         * include/rpc/des_crypt.h: Likewise.
35136         * include/rpc/key_prot.h: Likewise.
35137         * include/rpc/pmap_clnt.h: Likewise.
35138         * include/rpc/pmap_prot.h: Likewise.
35139         * include/rpc/pmap_rmt.h: Likewise.
35140         * include/rpc/rpc_msg.h: Likewise.
35141         * include/rpc/svc.h: Likewise.
35142         * include/rpc/svc_auth.h: Likewise.
35143         * include/rpc/xdr.h: Likewise.
35144         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35145         * nss/Makefile: Likewise.
35146         * sunrpc/Makefile: Don't install headers.  Build library with normal
35147         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35148         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35149         for the compat linking library.  Remove use of INTDEF/INTUSE.
35150         * sunrpc/auth_none.c: Likewise.
35151         * sunrpc/auth_unix.c: Likewise.
35152         * sunrpc/authdes_prot.c: Likewise.
35153         * sunrpc/authuxprot.c: Likewise.
35154         * sunrpc/clnt_gen.c: Likewise.
35155         * sunrpc/clnt_perr.c: Likewise.
35156         * sunrpc/clnt_raw.c: Likewise.
35157         * sunrpc/clnt_simp.c: Likewise.
35158         * sunrpc/clnt_tcp.c: Likewise.
35159         * sunrpc/clnt_udp.c: Likewise.
35160         * sunrpc/clnt_unix.c: Likewise.
35161         * sunrpc/des_crypt.c: Likewise.
35162         * sunrpc/des_soft.c: Likewise.
35163         * sunrpc/get_myaddr.c: Likewise.
35164         * sunrpc/key_call.c: Likewise.
35165         * sunrpc/key_prot.c: Likewise.
35166         * sunrpc/netname.c: Likewise.
35167         * sunrpc/pm_getmaps.c: Likewise.
35168         * sunrpc/pm_getport.c: Likewise.
35169         * sunrpc/pmap_clnt.c: Likewise.
35170         * sunrpc/pmap_prot.c: Likewise.
35171         * sunrpc/pmap_prot2.c: Likewise.
35172         * sunrpc/pmap_rmt.c: Likewise.
35173         * sunrpc/publickey.c: Likewise.
35174         * sunrpc/rpc_cmsg.c: Likewise.
35175         * sunrpc/rpc_common.c: Likewise.
35176         * sunrpc/rpc_dtable.c: Likewise.
35177         * sunrpc/rpc_prot.c: Likewise.
35178         * sunrpc/rpc_thread.c: Likewise.
35179         * sunrpc/rtime.c: Likewise.
35180         * sunrpc/svc.c: Likewise.
35181         * sunrpc/svc_auth.c: Likewise.
35182         * sunrpc/svc_authux.c: Likewise.
35183         * sunrpc/svc_raw.c: Likewise.
35184         * sunrpc/svc_run.c: Likewise.
35185         * sunrpc/svc_simple.c: Likewise.
35186         * sunrpc/svc_tcp.c: Likewise.
35187         * sunrpc/svc_udp.c: Likewise.
35188         * sunrpc/svc_unix.c: Likewise.
35189         * sunrpc/svcauth_des.c: Likewise.
35190         * sunrpc/xcrypt.c: Likewise.
35191         * sunrpc/xdr.c: Likewise.
35192         * sunrpc/xdr_array.c: Likewise.
35193         * sunrpc/xdr_float.c: Likewise.
35194         * sunrpc/xdr_intXX_t.c: Likewise.
35195         * sunrpc/xdr_mem.c: Likewise.
35196         * sunrpc/xdr_rec.c: Likewise.
35197         * sunrpc/xdr_ref.c: Likewise.
35198         * sunrpc/xdr_sizeof.c: Likewise.
35199         * sunrpc/xdr_stdio.c: Likewise.
35201 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
35203         [BZ #12650]
35204         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35205         * sysdeps/ia64/dl-tls.h: Likewise.
35206         * sysdeps/powerpc/dl-tls.h: Likewise.
35207         * sysdeps/s390/dl-tls.h: Likewise.
35208         * sysdeps/sh/dl-tls.h: Likewise.
35209         * sysdeps/sparc/dl-tls.h: Likewise.
35210         * sysdeps/x86_64/dl-tls.h: Likewise.
35211         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35213 2011-03-14  Andreas Schwab  <schwab@redhat.com>
35215         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35216         rpath element also skip the following colon.
35217         (expand_dynamic_string_token): Add is_path parameter and pass
35218         down to DL_DST_REQUIRED and _dl_dst_substitute.
35219         (decompose_rpath): Call expand_dynamic_string_token with
35220         non-zero is_path.  Ignore empty rpaths.
35221         (_dl_map_object_from_fd): Call expand_dynamic_string_token
35222         with zero is_path.
35224 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
35226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35227         Make cancelable.
35229 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
35231         [BZ #12655]
35232         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35233         Patch by Filipe David Manana <fdmanana@apache.org>.
35235 2011-04-07  Andreas Schwab  <schwab@redhat.com>
35237         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35238         Maintain aligned stack.
35239         (CHECK_RSP): Remove unused macro.
35241 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
35243         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35244         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35246 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
35248         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35250         * include/features.h: Mention __USE_XOPEN2K8 in comment.
35252 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
35254         [BZ #12518]
35255         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35256         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35257         * sysdeps/x86_64/memmove.c: New file.
35258         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35259         (memcpy): Renamed to ...
35260         (__new_memcpy): This.
35261         (memcpy): Provide GLIBC_2_14 memcpy.
35262         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35263         (memcpy): Provide GLIBC_2_2_5 memcpy.
35265 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35267         [BZ #12631]
35268         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35270 2011-03-30  Andreas Schwab  <schwab@redhat.com>
35272         * misc/syncfs.c: New file.
35273         * misc/Makefile (routines): Add syncfs.
35274         * posix/unistd.h: Declare syncfs.
35275         * sysdeps/unix/syscalls.list: Add syncfs.
35277 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35279         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35280         open_by_handle_at.
35281         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35282         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35283         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35284         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35285         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35286         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35287         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35289 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35291         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35292         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35293         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35294         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35295         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35296         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35297         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35299         * io/Makefile: Compile fallocate.c, fallocate64.c, and
35300         sync_file_range.c with -fexceptions.
35301         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35302         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35303         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35304         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35305         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35306         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35307         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35308         sync_file_range as cancellation point
35309         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
35310         now a wrapper around __call_sync_file_range with cancellation handling.
35311         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35312         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
35313         function name to __call_sync_file_range.
35314         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35315         Add call_sync_file_range.
35317 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35319         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35320         bits/timex.h.
35322 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35324         * iconv/iconv.h: Fix typo in comment.
35325         * io/fcntl.h: Likewise.
35326         * libio/stdio.h: Likewise.
35327         * posix/spawn.h: Likewise.
35328         * posix/unistd.h: Likewise.
35329         * stdlib/stdlib.h: Likewise.
35330         * time/time.h: Likewise.
35331         * wcsmbs/wchar.h: Likewise.
35333         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35334         open_by_handle): Add.
35335         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35336         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
35337         Augment a few comments.
35338         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35339         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35340         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35341         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35342         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35343         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35344         open_by_handle.
35346         * io/fcntl.h (AT_EMPTY_PATH): Define.
35348 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
35350         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35351         * sysdeps/unix/sysv/linux/bits/time.h: New file.
35352         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35353         to...
35354         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
35355         * Versions.def: Add GLIBC_2.14.
35356         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35357         Export.
35359 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
35361         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35362         round counter.
35363         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35365 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35367         [BZ #12597]
35368         * string/test-strncmp.c (do_page_test): New function.
35369         (check2): Likewise.
35370         (test_main): Call check2.
35371         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35373 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
35375         [BZ #12587]
35376         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35377         Handle cache information in CPU leaf 4.
35378         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35380 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
35382         [BZ #12583]
35383         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35384         character representation.
35385         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35387 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35389         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35390         END(__isnan) to END(__isnanf) to match function entry point/label
35391         EALIGN(__isnanf,...).
35393 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35395         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35397 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35399         [BZ #12510]
35400         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35401         copy from the symbol referenced in the relocation to initialize the
35402         used variable.
35403         Patch by Piotr Bury <pbury@goahead.com>.
35404         * elf/Makefile: Add rules to build and tst-unique3.
35405         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35406         * elf/tst-unique3.cc: New file.
35407         * elf/tst-unique3.h: New file.
35408         * elf/tst-unique3lib.cc: New file.
35409         * elf/tst-unique3lib2.cc: New file.
35411         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35413 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35415         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35416         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35417         to _start.
35419 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35421         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35422         to-be-loaded object along a path to loader is ld.so.
35424 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35425             Ulrich Drepper  <drepper@gmail.com>
35427         * sysdeps/x86_64/memset.S: After aligning destination, code
35428         branches to different locations depending on the value of
35429         misalignment, when multiarch is enabled. Fix this.
35431 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35433         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35434         Set _x86_64_preferred_memory_instruction for AMD processsors.
35435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35436         Set bit_Prefer_SSE_for_memop for AMD processors.
35438 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35440         * libio/fmemopen.c (fmemopen): Optimize a bit.
35442 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35444         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35446 2011-03-03  Roland McGrath  <roland@redhat.com>
35448         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35450 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35452         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35453         __bzero_ultra1 instead of __memset_ultra1.
35455 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35456             Ulrich Drepper  <drepper@gmail.com>
35458         [BZ #12509]
35459         * include/link.h (struct link_map): Add l_orig_initfini.
35460         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35461         returning unsuccessfully.
35462         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35463         close of a file loaded at startup, restore the original l_initfini
35464         list.
35465         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35466         list, store the pointer.
35467         * elf/Makefile ($(objpfx)noload-mem): New rule.
35468         (noload-ENV): Define.
35469         (tests): Add $(objpfx)noload-mem.
35470         * elf/noload.c: Include <memcheck.h>.
35471         (main): Call mtrace.  Close all opened handles.
35473 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35475         [BZ #12454]
35476         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35477         dependencies are missing.
35479 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35481         Fix __if_freereq crash: Unlike the generic version which uses free,
35482         Hurd needs munmap.
35483         * sysdeps/mach/hurd/ifreq.h: New file.
35485 2011-01-27  Petr Baudis  <pasky@suse.cz>
35486             Ulrich Drepper  <drepper@gmail.com>
35488         [BZ 12445]#
35489         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35490         to extend_alloca().
35491         * stdio-common/bug23.c: New file.
35492         * stdio-common/Makefile (tests): Add bug23.
35494 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35495             Ulrich Drepper  <drepper@gmail.com>
35497         [BZ #12489]
35498         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35499         before performing relro protection.  At old place add assertion
35500         to make sure nothing changed.
35502 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35503             Glauber de Oliveira Costa  <glommer@gmail.com>
35505         * elf/elf.h: Add new ARM TLS relocs.
35507 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35510         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35511         cast from r3.
35512         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35513         'tests' variable.
35514         * sysdeps/wordsize-64/tst-writev.c: New file.
35516 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35518         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35519         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35520         insns in _dl_start to prevent a TOC reference before relocs are
35521         resolved.
35523 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35525         [BZ #12469]
35526         * Makeconfig: Remove RANLIB definition.
35527         * Makerules: Don't use RANLIB.
35528         * aclocal.m4: Remove ranlib test.
35529         * configure.in: No need to check for ranlib.
35530         * elf/rtld-Rules: Don't use RANLIB.
35532 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35534         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35535         protection macro.
35536         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35537         inclusion protection macro.
35539         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35540         SIGRTMIN and SIGRTMAX and print information in that case only when
35541         SIGRTMIN is defined.
35543 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35545         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35546         arginfo fn returning -1.
35548         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35549         and thousands string is zero terminated.
35551 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35553         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35554         sysdeps/unix/sysv/linux/bits/socket.h.
35556 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35558         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35559         (__CPU_COUNT): Remove old macros.
35560         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35561         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35562         (__CPU_ALLOC, __CPU_FREE): Add macros.
35563         (__sched_cpualloc, __sched_cpufree): Add declarations.
35565 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35567         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35568         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35569         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35570         (readdhstai): Return value of addhstaiX call.
35571         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35572         (addgrbyX): Return value returned by cache_addgr.
35573         (readdgrbyname): Return value returned by addgrbyX.
35574         (readdgrbygid): Likewise.
35575         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35576         (addpwbyX): Return value returned by cache_addpw.
35577         (readdpwbyname): Return value returned by addhstbyX.
35578         (readdpwbyuid): Likewise.
35579         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35580         (addservbyX): Return value returned by cache_addserv.
35581         (readdservbyname): Return value returned by addservbyX:
35582         (readdservbyport): Likewise.
35583         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35584         (addhstbyX): Return value returned by cache_addhst.
35585         (readdhstbyname): Return value returned by addhstbyX.
35586         (readdhstbyaddr): Likewise.
35587         (readdhstbynamev6): Likewise.
35588         (readdhstbyaddrv6): Likewise.
35589         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35590         (readdinitgroups): Return value returned by addinitgroupsX.
35591         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35592         (prune_cache): Keep track of timeout value of re-added entries.
35593         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35594         * nscd/nscd.h: Adjust prototypes of readd* functions.
35596 2011-02-04  Roland McGrath  <roland@redhat.com>
35598         * nis/nis_server.c (nis_servstate): Use the right name for 0.
35599         (nis_stats): Likewise.
35600         * nis/nis_modify.c (nis_modify): Likewise.
35601         * nis/nis_remove.c (nis_remove): Likewise.
35602         * nis/nis_add.c (nis_add): Likewise.
35604         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35606         * posix/fnmatch_loop.c: Add some consts.
35608         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35610 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
35612         [BZ #12460]
35613         * config.make.in (config-cflags-novzeroupper): Define.
35614         * configure.in: Substitute libc_cv_cc_novzeroupper.
35615         * elf/Makefile (AVX-CFLAGS): Define.
35616         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35617         (CFLAGS-tst-auditmod4a.c): Likewise.
35618         (CFLAGS-tst-auditmod4b.c): Likewise.
35619         (CFLAGS-tst-auditmod6b.c): Likewise.
35620         (CFLAGS-tst-auditmod6c.c): Likewise.
35621         (CFLAGS-tst-auditmod7b.c): Likewise.
35622         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35624 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
35626         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35627         function to the callback.
35628         Patch partly by Jiri Olsa <jolsa@redhat.com>.
35630 2011-02-02  Andreas Schwab  <schwab@redhat.com>
35632         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35633         of errno.
35635 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
35637         [BZ #11724]
35638         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35639         of constructors.
35640         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35641         of destructors.
35642         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35644         [BZ #11724]
35645         * elf/Makefile: Add rules to build and run new test.
35646         * elf/tst-initorder.c: New file.
35647         * elf/tst-initorder.exp: New file.
35648         * elf/tst-initordera1.c: New file.
35649         * elf/tst-initordera2.c: New file.
35650         * elf/tst-initordera3.c: New file.
35651         * elf/tst-initordera4.c: New file.
35652         * elf/tst-initorderb1.c: New file.
35653         * elf/tst-initorderb2.c: New file.
35654         * elf/tst-order-a1.c: New file.
35655         * elf/tst-order-a2.c: New file.
35656         * elf/tst-order-a3.c: New file.
35657         * elf/tst-order-a4.c: New file.
35658         * elf/tst-order-b1.c: New file.
35659         * elf/tst-order-b2.c: New file.
35660         * elf/tst-order-main.c: New file.
35661         New test case by George Gensure <werkt0@gmail.com>.
35663 2010-10-01  Andreas Schwab  <schwab@redhat.com>
35665         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35666         decoding ACE if AI_CANONIDN.
35668 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
35670         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35672 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
35674         * version.h (RELEASE): Bump for 2.13 release.
35675         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35677         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35679         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35680         MADV_NOHUGEPAGE.
35681         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35682         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35683         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35684         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35685         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35686         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35688         * posix/getconf.c: Update copyright year.
35689         * catgets/gencat.c: Likewise.
35690         * csu/version.c: Likewise.
35691         * debug/catchsegv.sh: Likewise.
35692         * debug/xtrace.sh: Likewise.
35693         * elf/ldconfig.c: Likewise.
35694         * elf/ldd.bash.in: Likewise.
35695         * elf/sprof.c (print_version): Likewise.
35696         * iconv/iconv_prog.c: Likewise.
35697         * iconv/iconvconfig.c: Likewise.
35698         * locale/programs/locale.c: Likewise.
35699         * locale/programs/localedef.c: Likewise.
35700         * malloc/memusage.sh: Likewise.
35701         * malloc/mtrace.pl: Likewise.
35702         * nscd/nscd.c (print_version): Likewise.
35703         * nss/getent.c: Likewise.
35705         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35706         PF_CAIF, and PF_ALG.
35707         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35709 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
35711         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35712         (modules-names): Use them.
35713         (ifunc-test-modules, ifunc-pie-tests): Define.
35714         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35715         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35716         (test-extras): Likewise.
35717         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35718         $(compile-command.c).
35719         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35720         (all-built-dso): Define.
35721         (check-textrel.out, check-execstack.out): Depend on it.
35723         * configure.in: Don't override --enable-multi-arch.
35725 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
35727         [BZ #6812]
35728         * nscd/hstcache.c (tryagain): Define.
35729         (cache_addhst): Return tryagain not notfound for temporary errors.
35730         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35731         failed.
35733 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
35735         [BZ #10563]
35736         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35737         to make the syscall.
35738         * sysdeps/unix/sysv/linux/setgroups.c: New file.
35740         [BZ #12378]
35741         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35742         and fall back to matching as normal character if the string ends before
35743         the matching ']' is found.  This is what POSIX requires.
35744         * posix/testfnm.c: Adjust test result.
35745         * posix/globtest.sh: Adjust test result.  Add new test.
35746         * posix/tst-fnmatch.input: Likewise.
35747         * posix/tst-fnmatch2.c: Add new test.
35749 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
35751         * elf/Makefile (check-execstack): Revert last change.  Depend on
35752         check-execstack.h.
35753         (check-execstack.h): New target.
35754         (generated): Add check-execstack.h.
35755         * elf/check-execstack.c: Include "check-execstack.h".
35756         (main): Revert last change.
35757         (handle_file): Return zero if GNU_STACK is absent and
35758         DEFAULT_STACK_PERMS doesn't include PF_X.
35760 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
35762         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35763         in child fails because the descriptor is already closed.
35764         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35765         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35766         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35768         [BZ #12397]
35769         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35770         syscall.
35772         [BZ #10484]
35773         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35774         temporary buffer used to handle multi lookups locally.
35775         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35777 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35779         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35780         loader is ld.so.
35782 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
35784         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35785         alignment for SSE2.
35787 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35789         [BZ #12394]
35790         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35791         characters.  When rounding increased number of integer digits recompute
35792         number of groups.
35793         * stdio-common/tst-grouping.c: New file.
35794         * stdio-common/Makefile: Add rules to build and run tst-grouping.
35796 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
35798         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35799         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
35801         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35802         void.
35803         * bits/select.h: Likewise.
35805 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
35807         * po/ja.po: Update from translation team.
35809 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
35811         [BZ #11155]
35812         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35813         implementation just like for lxstat, fxstatat, et al.
35815 2010-12-27  Jim Meyering  <meyering@redhat.com>
35817         [BZ #12348]
35818         * posix/regexec.c (build_trtable): Return failure indication upon
35819         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
35821 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
35823         [BZ #12201]
35824         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35825         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35826         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35827         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35829         [BZ #12207]
35830         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35832         [BZ #12204]
35833         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35834         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35836 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
35838         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35839         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35840         script has SORT_BY_INIT_PRIORITY.
35841         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35842         NO_CTORS_DTORS_SECTIONS is defined.
35843         * elf/soinit.c: Likewise.
35844         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35845         NO_CTORS_DTORS_SECTIONS is defined.
35846         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35847         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35848         * sysdeps/sh/init-first.c: Likewise.
35849         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35851 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
35853         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35854         always use the slow path.
35856 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
35858         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35859         similar rule which adds the sysdep directories to the header search in
35860         order to pick up the correct platform stackinfo.h.
35861         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35862         perform test if it is, otherwise return successfully without testing.
35863         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35864         DEFAULT_STACK_PERMS define in stackinfo.h.
35865         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35866         defined in stackinfo.h.
35867         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35868         DEFAULT_STACK_PERMS defined in stackinfo.h.
35869         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35870         * sysdeps/ia64/stackinfo.h: Likewise.
35871         * sysdeps/s390/stackinfo.h: Likewise.
35872         * sysdeps/sh/stackinfo.h: Likewise.
35873         * sysdeps/sparc/stackinfo.h: Likewise.
35874         * sysdeps/x86_64/stackinfo.h: Likewise.
35875         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35876         PF_X for powerpc64.  Retain PF_X for powerpc32.
35878 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
35880         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35881         accurately.
35882         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35883         GETDENTS_64BIT_ALIGNED.
35885 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
35887         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35889 2010-12-10  Andreas Schwab  <schwab@redhat.com>
35891         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35892         _GNU_SOURCE.
35894         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35895         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35896         Remove __restrict.
35897         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35898         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35900 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
35902         [BZ #11655]
35903         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35904         are initialized.
35906 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
35908         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35910 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
35912         * po/it.po: Update from translation team.
35914 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
35916         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35917         unused codes.
35919 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
35921         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35923 2010-11-24  Andreas Schwab  <schwab@redhat.com>
35925         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35926         specially.
35927         (gaih_getanswer_slice): Likewise.
35929 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
35931         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35933 2010-05-31  Petr Baudis  <pasky@suse.cz>
35935         [BZ #11149]
35936         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35937         silently even in the chroot mode.
35939 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
35941         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35942         last patch a bit.  Pretty printing
35944 2010-05-31  Petr Baudis <pasky@suse.cz>
35946         [BZ #10085]
35947         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35948         initialization of skip_initgroups_dyn.
35950 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
35952         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35953         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35955 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
35957         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35959 2010-11-11  Andreas Schwab  <schwab@redhat.com>
35961         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35962         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35963         (tst-fnmatch-ENV): Set MALLOC_TRACE.
35964         ($(objpfx)tst-fnmatch-mem): New rule.
35965         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35966         * posix/tst-fnmatch.c (main): Call mtrace.
35968 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
35970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35971         Support Intel processor model 6 and model 0x2c.
35973 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
35975         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35976           signed comparison.
35978 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
35980         [BZ #12205]
35981         * string/test-strncasecmp.c (check_result): New function.
35982         (do_one_test): Use it.
35983         (check1): New function.
35984         (test_main): Use it.
35985         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35986         Support strcasecmp and strncasecmp.
35988 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
35990         [BZ #12194]
35991         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35992         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35994 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35996         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35997         IFUNC support.
35998         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35999         memset-x86-64.
36000         * sysdeps/x86_64/multiarch/bzero.S: New file.
36001         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36002         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36003         * sysdeps/x86_64/multiarch/memset.S: New file.
36004         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36006         Set bit_Prefer_SSE_for_memop for Intel processors.
36007         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36008         Define.
36009         (index_Prefer_SSE_for_memop): Define.
36010         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36012 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36014         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36015         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36017 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36019         [BZ #12191]
36020         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36021         (__x86_64_raw_data_cache_size_half): Likewise.
36022         (__x86_64_raw_shared_cache_size): Likewise.
36023         (__x86_64_raw_shared_cache_size_half): Likewise.
36025         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36026         (__x86_64_raw_data_cache_size_half): Likewise.
36027         (__x86_64_raw_shared_cache_size): Likewise.
36028         (__x86_64_raw_shared_cache_size_half): Likewise.
36029         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36030         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36031         and __x86_64_raw_shared_cache_size_half.  Round
36032         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36033         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36034         to multiple of 256 bytes.
36036 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36038         [BZ #12167]
36039         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36040         of inacessible symlinks.  Verify result of symlink before returning it.
36041         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36042         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36044 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36046         * math/math.h (isinf): Fix typo in comment.
36048 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36050         * po/da.po: Update from translation team.
36052 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36054         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36055         is added to the list.
36057 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36058             Ulrich Drepper  <drepper@gmail.com>
36060         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36061         the global list here.  Move code to...
36062         (_dl_add_to_namespace_list): ...here.  New function.
36063         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36064         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36065         * elf/dl-load.c (lose): Don't remove the element from the list.
36066         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36067         (_dl_map_object): Likewise.
36069 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36071         [BZ #12159]
36072         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36073         into all bytes of SSE register.
36074         Patch by Richard Li <richardpku@gmail.com>.
36076 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36078         [BZ #12140]
36079         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36080         perturbing.
36082 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36084         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36085         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36086         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36087         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36089         submachine.
36090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36092 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36094         * include/dlfcn.h (__RTLD_SECURE): Define.
36095         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36096         mode & __RTLD_SECURE instead.
36097         (open_path): Rename preloaded parameter to secure.
36098         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36099         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36100         * elf/dl-deps.c (openaux): Likewise.
36101         * elf/rtld.c (struct map_args): Remove is_preloaded.
36102         (map_doit): Don't use it.
36103         (dl_main): Likewise.
36104         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36105         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36107 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36109         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36110         (sysd-rules-targets): Remove duplicates.
36111         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36112         rtld-%.$o dependency.
36114 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36116         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36117         _dl_map_object do it.
36119 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36121         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36122         fast fma builtins, define the macros in the C99 standard.
36123         (FP_FAST_FMAF): Likewise.
36124         (FP_FAST_FMAL): Likewise.
36125         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36127         * bits/mathdef.h: Update copyright year.
36128         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36130 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36132         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36133         builtins, define the macros in the C99 standard.
36134         (FP_FAST_FMAF): Likewise.
36135         (FP_FAST_FMAL): Likewise.
36136         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36137         multiply/add.
36138         (FP_FAST_FMAF): Likewise.
36140 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36142         [BZ #3268]
36143         * math/libm-test.inc (fma_test): Some new testcases.
36144         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36145         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36146         y and infinite z.  Do multiplication by C already in long double.
36147         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36148         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36149         y and infinite z.  Do bitwise or of inexact bit into u.d.
36150         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36151         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36152         * sysdeps/i386/fpu/s_fma.S: Removed.
36153         * sysdeps/i386/fpu/s_fmal.S: Removed.
36155 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36157         [BZ #3268]
36158         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36160         computation is not scheduled after fetestexcept.  Fix value
36161         of minimum denormal long double.
36163 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36165         [BZ #3268]
36166         * math/libm-test.inc (fma_test): Add some more tests.
36167         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36168         correctly.
36170 2010-10-15  Andreas Schwab  <schwab@redhat.com>
36172         * scripts/data/localplt-s390-linux-gnu.data: New file.
36173         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36175 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
36177         [BZ #3268]
36178         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36179         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36180         instead of dbl-64.
36181         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36182         inlines.
36183         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36184         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36185         if one of x and y is very large and the other is subnormal.
36186         * sysdeps/s390/fpu/s_fmaf.c: New file.
36187         * sysdeps/s390/fpu/s_fma.c: New file.
36188         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36189         * sysdeps/powerpc/fpu/s_fma.S: New file.
36190         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36191         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36192         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36194 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
36196         [BZ #3268]
36197         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36198         fma tests.
36199         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36200         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36201         * sysdeps/i386/i686/multiarch/s_fma.c: Include
36202         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36203         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36204         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36205         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36207 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
36209         [BZ #12078]
36210         * posix/regcomp.c (parse_branch): One more memory leak plugged.
36211         * posix/bug-regex31.input: Add test case.
36213 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36215         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36216         * posix/bug-regex31.input: New file.
36218         [BZ #12078]
36219         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36220         (parse_sub_exp): Fix last change, use postorder.
36222         * posix/bug-regex31.c: New file.
36223         * posix/Makefile: Add rules to build and run bug-regex31.
36225         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36227         [BZ #12078]
36228         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36230         [BZ #12108]
36231         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36232         to have entries in sys_siglist.
36234         [BZ #12093]
36235         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36236         be NULL.
36238 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
36240         [BZ #3268]
36241         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36242         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36243         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36244         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36245         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36246         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36247         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36248         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36249         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36250         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36251         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36252         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36253         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36254         * math/ftestexcept.c (fetestexcept): Likewise.
36255         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36256         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36257         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36258         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36259         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36260         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36261         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36263 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36265         [BZ #12107]
36266         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36267         newline.
36269 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
36271         * string/bug-strstr1.c: New file.
36272         * string/Makefile: Add rules to build and run bug-strstr1.
36274 2010-10-05  Eric Blake  <eblake@redhat.com>
36276         [BZ #12092]
36277         * string/str-two-way.h (two_way_long_needle): Always clear memory
36278         when skipping input due to the shift table.
36280 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
36282         [BZ #12005]
36283         * malloc/mcheck.c: Handle large requests.
36285         [BZ #12077]
36286         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36287         for strncmp and strncasecmp.
36288         * string/stratcliff.c: Add tests for strcmp and strncmp.
36289         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36291 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36293         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36294         __set_fpscr.
36296 2010-09-30  Andreas Jaeger  <aj@suse.de>
36298         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36299         (CGROUP_SUPER_MAGIC): Define.
36300         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36301         Handle btrfs and cgroup file systems.
36302         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36303         Likewise.
36305 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
36307         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36308         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36310 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36312         [BZ #12067]
36313         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36314         trying to locate the ELF header.
36316 2010-09-27  Andreas Schwab  <schwab@redhat.com>
36318         [BZ #11611]
36319         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36320         Mask out sign-bit copies when constructing f_fsid.
36322 2010-09-24  Petr Baudis <pasky@suse.cz>
36324         * debug/stack_chk_fail_local.c: Add missing licence exception.
36325         * debug/warning-nop.c: Likewise.
36327 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
36329         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36330         implementing getdents64 using getdents syscall, set d_type if
36331         __ASSUME_GETDENTS32_D_TYPE.
36333 2010-09-16  Andreas Schwab  <schwab@redhat.com>
36335         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36336         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36338 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
36340         [BZ #12037]
36341         * posix/unistd.h: Undo change of feature selection for ftruncate from
36342         2010-01-11.
36344 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
36346         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36347         detection.
36349 2010-09-20  Andreas Schwab  <schwab@redhat.com>
36351         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36352         fanotify_mark.
36353         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36355 2010-09-14  Andreas Schwab  <schwab@redhat.com>
36357         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36358         variables after CHECK_SP call.
36359         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36361 2010-09-13  Andreas Schwab  <schwab@redhat.com>
36362             Ulrich Drepper  <drepper@redhat.com>
36364         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36365         re-relocationg ld.so.
36366         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36367         _dl_init_paths call.
36368         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
36369         here anymore.
36371 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
36373         * resolv/res_init.c (__res_vinit): Count the default server we added.
36375 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
36376             Ulrich Drepper  <drepper@redhat.com>
36378         [BZ #11968]
36379         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36380         (____longjmp_chk): Use %ebx for saving value across system call.
36381         Add unwind info.
36383 2010-09-06  Andreas Schwab  <schwab@redhat.com>
36385         * manual/Makefile: Don't mix pattern rules with normal rules.
36387 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36389         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36390         operation.
36391         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36392         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36393         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36394         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36395         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36396         Likewise.
36398 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36400         [BZ #11979]
36401         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36402         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36404 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36406         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36407         * sysdeps/x86_64/addmul_1.S: Likewise.
36408         * sysdeps/x86_64/lshift.S: Likewise.
36409         * sysdeps/x86_64/mul_1.S: Likewise.
36410         * sysdeps/x86_64/rshift.S: Likewise.
36411         * sysdeps/x86_64/sub_n.S: Likewise.
36412         * sysdeps/x86_64/submul_1.S: Likewise.
36414 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36416         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36417         Define __sched_param instead of SCHED_* and sched_param when
36418         <bits/sched.h> is included with __need_schedparam defined.
36419         * bits/sched.h [__need_schedparam]
36420         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36421         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36422         (__defined_schedparam): Define to 1.
36423         (__sched_param): New structure, identical to sched_param.
36424         (__need_schedparam): Undefine.
36426 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36428         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36429         (epoll_create1): Declare.
36431         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36433 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36435         [BZ #7066]
36436         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36437         shifting retval into place.
36439 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36441         * nis/rpcsvc/nis.h: Update copyright notice.
36442         * nis/rpcsvc/nis.x: Likewise.
36443         * nis/rpcsvc/nis_callback.h: Likewise.
36444         * nis/rpcsvc/nis_callback.x: Likewise.
36445         * nis/rpcsvc/nis_object.x: Likewise.
36446         * nis/rpcsvc/nis_tags.h: Likewise.
36447         * nis/rpcsvc/yp.h: Likewise.
36448         * nis/rpcsvc/yp.x: Likewise.
36449         * nis/rpcsvc/ypupd.h: Likewise.
36450         * nis/yp_xdr.c: Likewise.
36451         * nis/ypupdate_xdr.c: Likewise.
36453         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36454         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36455         (pmap_getport): Use __libc_rpc_getport.
36456         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36457         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36458         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36460 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36463         fanotify_mark.
36465 2010-08-27  Roland McGrath  <roland@redhat.com>
36467         * sysdeps/i386/i686/multiarch/Makefile
36468         (CFLAGS-varshift.c): New variable.
36470 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36472         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36473         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36475         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36477         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36479 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36481         * sysdeps/x86_64/strlen.S: Unroll the loop.
36482         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36483         strlen-sse2 strlen-sse2-bsf.
36484         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36485         __strlen_no_bsf if bit_Slow_BSF is set.
36486         (__strlen_sse42): Removed.
36487         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36488         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36490 2010-08-25  Roland McGrath  <roland@redhat.com>
36492         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36493         * sysdeps/x86_64/multiarch/varshift.c: New file.
36494         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36495         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36496         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36497         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36499 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36501         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36502         strlen-sse2 strlen-sse2-bsf.
36503         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36504         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36505         (__strlen_sse2): Removed.
36506         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36507         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36508         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36509         bit_Slow_BSF for Atom.
36510         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36511         (index_Slow_BSF): Define.
36512         (HAS_SLOW_BSF): Define.
36514 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36516         [BZ #10851]
36517         * resolv/res_init.c (__res_vinit): When no server address at all
36518         is given default to loopback.
36520 2010-08-24  Roland McGrath  <roland@redhat.com>
36522         * configure.in: Remove config-name.h generation.
36523         * configure: Regenerated.
36524         * config-name.in: File removed.
36525         * scripts/config-uname.sh: New file.
36526         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36527         ($(objdir)config-name.h): New target.
36529         * sunrpc/rpc_parse.h: Avoid nested comment.
36531 2010-08-24  Richard Henderson  <rth@redhat.com>
36532             Ulrich Drepper  <drepper@redhat.com>
36533             H.J. Lu  <hongjiu.lu@intel.com>
36535         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36537         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36538         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36539         _mm_alignr_epi8 with _mm_loadu_si128.
36540         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36541         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36542         (__m128i_shift_right): Removed.
36543         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36544         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36545         * sysdeps/x86_64/multiarch/varshift.h: New file.
36546         * sysdeps/x86_64/multiarch/varshift.S: New file.
36548 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36550         * configure.in: Move assembler checks to before sysdep dir checking.
36552 2010-08-20  Petr Baudis  <pasky@suse.cz>
36554         * LICENSES: Sync the sunrpc license.
36556 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36558         * sunrpc/auth_des.c: Update copyright notice once again.
36559         * sunrpc/auth_none.c: Likewise.
36560         * sunrpc/auth_unix.c: Likewise.
36561         * sunrpc/authdes_prot.c: Likewise.
36562         * sunrpc/authuxprot.c: Likewise.
36563         * sunrpc/bindrsvprt.c: Likewise.
36564         * sunrpc/clnt_gen.c: Likewise.
36565         * sunrpc/clnt_perr.c: Likewise.
36566         * sunrpc/clnt_raw.c: Likewise.
36567         * sunrpc/clnt_simp.c: Likewise.
36568         * sunrpc/clnt_tcp.c: Likewise.
36569         * sunrpc/clnt_udp.c: Likewise.
36570         * sunrpc/clnt_unix.c: Likewise.
36571         * sunrpc/des_crypt.c: Likewise.
36572         * sunrpc/des_soft.c: Likewise.
36573         * sunrpc/get_myaddr.c: Likewise.
36574         * sunrpc/getrpcport.c: Likewise.
36575         * sunrpc/key_call.c: Likewise.
36576         * sunrpc/key_prot.c: Likewise.
36577         * sunrpc/openchild.c: Likewise.
36578         * sunrpc/pm_getmaps.c: Likewise.
36579         * sunrpc/pm_getport.c: Likewise.
36580         * sunrpc/pmap_clnt.c: Likewise.
36581         * sunrpc/pmap_prot.c: Likewise.
36582         * sunrpc/pmap_prot2.c: Likewise.
36583         * sunrpc/pmap_rmt.c: Likewise.
36584         * sunrpc/rpc/auth.h: Likewise.
36585         * sunrpc/rpc/auth_unix.h: Likewise.
36586         * sunrpc/rpc/clnt.h: Likewise.
36587         * sunrpc/rpc/des_crypt.h: Likewise.
36588         * sunrpc/rpc/key_prot.h: Likewise.
36589         * sunrpc/rpc/netdb.h: Likewise.
36590         * sunrpc/rpc/pmap_clnt.h: Likewise.
36591         * sunrpc/rpc/pmap_prot.h: Likewise.
36592         * sunrpc/rpc/pmap_rmt.h: Likewise.
36593         * sunrpc/rpc/rpc.h: Likewise.
36594         * sunrpc/rpc/rpc_des.h: Likewise.
36595         * sunrpc/rpc/rpc_msg.h: Likewise.
36596         * sunrpc/rpc/svc.h: Likewise.
36597         * sunrpc/rpc/svc_auth.h: Likewise.
36598         * sunrpc/rpc/types.h: Likewise.
36599         * sunrpc/rpc/xdr.h: Likewise.
36600         * sunrpc/rpc_clntout.c: Likewise.
36601         * sunrpc/rpc_cmsg.c: Likewise.
36602         * sunrpc/rpc_common.c: Likewise.
36603         * sunrpc/rpc_cout.c: Likewise.
36604         * sunrpc/rpc_dtable.c: Likewise.
36605         * sunrpc/rpc_hout.c: Likewise.
36606         * sunrpc/rpc_main.c: Likewise.
36607         * sunrpc/rpc_parse.c: Likewise.
36608         * sunrpc/rpc_parse.h: Likewise.
36609         * sunrpc/rpc_prot.c: Likewise.
36610         * sunrpc/rpc_sample.c: Likewise.
36611         * sunrpc/rpc_scan.c: Likewise.
36612         * sunrpc/rpc_scan.h: Likewise.
36613         * sunrpc/rpc_svcout.c: Likewise.
36614         * sunrpc/rpc_tblout.c: Likewise.
36615         * sunrpc/rpc_util.c: Likewise.
36616         * sunrpc/rpc_util.h: Likewise.
36617         * sunrpc/rpcinfo.c: Likewise.
36618         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36619         * sunrpc/rpcsvc/key_prot.x: Likewise.
36620         * sunrpc/rpcsvc/klm_prot.x: Likewise.
36621         * sunrpc/rpcsvc/mount.x: Likewise.
36622         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36623         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36624         * sunrpc/rpcsvc/rex.x: Likewise.
36625         * sunrpc/rpcsvc/rstat.x: Likewise.
36626         * sunrpc/rpcsvc/rusers.x: Likewise.
36627         * sunrpc/rpcsvc/sm_inter.x: Likewise.
36628         * sunrpc/rpcsvc/spray.x: Likewise.
36629         * sunrpc/rpcsvc/yppasswd.x: Likewise.
36630         * sunrpc/rtime.c: Likewise.
36631         * sunrpc/svc.c: Likewise.
36632         * sunrpc/svc_auth.c: Likewise.
36633         * sunrpc/svc_authux.c: Likewise.
36634         * sunrpc/svc_raw.c: Likewise.
36635         * sunrpc/svc_run.c: Likewise.
36636         * sunrpc/svc_simple.c: Likewise.
36637         * sunrpc/svc_tcp.c: Likewise.
36638         * sunrpc/svc_udp.c: Likewise.
36639         * sunrpc/svc_unix.c: Likewise.
36640         * sunrpc/svcauth_des.c: Likewise.
36641         * sunrpc/xcrypt.c: Likewise.
36642         * sunrpc/xdr.c: Likewise.
36643         * sunrpc/xdr_array.c: Likewise.
36644         * sunrpc/xdr_float.c: Likewise.
36645         * sunrpc/xdr_mem.c: Likewise.
36646         * sunrpc/xdr_rec.c: Likewise.
36647         * sunrpc/xdr_ref.c: Likewise.
36648         * sunrpc/xdr_sizeof.c: Likewise.
36649         * sunrpc/xdr_stdio.c: Likewise.
36651         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36652         handling.
36654 2010-08-19  Andreas Schwab  <schwab@redhat.com>
36656         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36658 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
36660         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36661         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36662         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36663         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36664         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36665         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36666         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36667         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36668         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36669         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36670         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36671         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36672         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36673         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36675 2010-07-26  Anton Blanchard  <anton@samba.org>
36677         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36678         * malloc/arena.c (heap_trim): Likewise.
36680 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
36682         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36683         here.  Not...
36684         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36685         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36687 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36689         * sysdeps/i386/elf/Makefile: New file.
36691 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36693         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36694         from fanotify_init.
36695         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36696         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36698 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
36700         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36701         of strncasecmp_l.
36702         * sysdeps/multiarch/strcmp.S: Likewise.
36704 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
36706         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36707         strncase_l-nonascii.
36708         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36709         Add strncase_l-ssse3.
36710         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36711         * sysdeps/x86_64/strcmp.S: Likewise.
36712         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36713         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36714         * sysdeps/x86_64/strncase.S: New file.
36715         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36716         * sysdeps/x86_64/strncase_l.S: New file.
36717         * string/Makefile (strop-tests): Add strncasecmp.
36718         * string/test-strncasecmp.c: New file.
36720         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36721         warning.
36723         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36724         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36726 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36728         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36730 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
36732         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36733         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36734         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36736 2010-05-01  Alan Modra  <amodra@gmail.com>
36738         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36739         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36740         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36741         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36742         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36743         tidying.  Don't tail-call __sigjmp_save for static lib.
36744         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36745         save location.
36746         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36747         (CALL_MCOUNT): Add eh info, and nop after bl.
36748         (TAIL_CALL_SYSCALL_ERROR): New macro.
36749         (PSEUDO_RET): Use it.
36750         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36751         Correct save location of integer regs and cr.
36752         (_dl_profile_resolve): Correct cr save location.  Delete nops
36753         after bl when SHARED.  Reduce cfi size a little by better
36754         placement of cfi directives.
36755         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36756         make a stack frame.  Instead use parm save area as a temp.
36757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36758         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
36759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36760         Don't make a stack frame for parent, use parm save area.
36761         Increase child stack frame to 112 bytes.  Don't save unused reg,
36762         and adjust reg usage.  Set up cfi on error recovery and
36763         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36765         (__makecontext): Add dummy nop after jump to exit.
36766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36767         Use correct parm save area and cr save, reduce stack frame.
36768         Correct cfi for possible PSEUDO_RET frame setup.
36769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36770         Branch to local label emitted by PSEUDO_RET rather than
36771         __syscall_error.
36773 2010-08-12  Andreas Schwab  <schwab@redhat.com>
36775         [BZ #11904]
36776         * locale/programs/locale.c (print_assignment): New function.
36777         (show_locale_vars): Use it.
36779 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
36781         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36782         field.
36783         (struct statfs64): Likewise.
36784         (_STATFS_F_FLAGS): Define.
36785         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36786         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36787         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36788         (ST_VALID): Define locally.
36789         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36790         __statvfs_getflags, use the provided value.
36791         * sysdeps/unix/sysv/linux/kernel-features.h: Define
36792         __ASSUME_STATFS_F_FLAGS.
36794         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36796         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36797         Add sys/fanotify.h.
36798         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36799         fanotify_mask for GLIBC_2.13.
36800         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36801         fanotify_init and fanotify_mark.
36802         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36803         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36805         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36806         Add prlimit.
36807         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36808         prlimit64 for GLIBC_2.13.
36809         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36810         prlimit64.
36811         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36812         syscall.
36813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36814         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36815         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36816         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36817         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
36818         add prlimit alias.
36819         * sysdeps/unix/sysv/linux/prlimit.c: New file.
36821         [BZ #11903]
36822         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36823         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36825         * nss/Makefile: Add rules to build and run tst-nss-test1.
36826         * shlib-versions: Add entry for libnss_test1.
36827         * nss/nss_test1.c: New file.
36828         * nss/tst-nss-test1.c: New file.
36830         * nss/nsswitch.c (__nss_database_custom): Define new variable.
36831         (__nss_configure_lookup): Set appropriate entry in
36832         __nss_configure_lookup to true.
36833         * nss/nsswitch.h: Define enum with indeces of databases in
36834         databases and __nss_database_custom arrays.  Declare
36835         __nss_database_custom.
36836         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36837         to avoid using nscd when custom rules are installed.
36838         * nss/getXXbyYY_r.c: Likewise.
36839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36841         * nss/nss_files/files-parse.c: Whitespace fixes.
36843 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
36845         [BZ #11883]
36846         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36847         * posix/fnmatch_loop.c: Likewise.
36849 2010-07-17  Andi Kleen  <ak@linux.intel.com>
36851         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36852         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36853         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36854         * Versions.def [GLIBC_2.13]: Add.
36856 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
36858         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36859         Also fail if tpwd after pwuid call is NULL.
36861 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36863         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36864         when converting to ms.
36866 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36868         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36869         EOPNOTSUPP errors with ENOTTY.
36870         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36871         EOPNOTSUPP errors with ENOTTY.
36873 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
36875         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36876         Add strcasecmp_l-ssse3.
36877         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36878         strcasecmp.
36879         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36880         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36881         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36883 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
36885         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36887         * string/Makefile (strop-tests): Add strcasecmp.
36888         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36889         strcasecmp_l-nonascii.
36890         (gen-as-const-headers): Add locale-defines.sym.
36891         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36892         * sysdeps/x86_64/strcasecmp.S: New file.
36893         * sysdeps/x86_64/strcasecmp_l.S: New file.
36894         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36895         * sysdeps/x86_64/locale-defines.sym: New file.
36896         * string/test-strcasecmp.c: New file.
36898         * string/test-strcasestr.c: Test both ends of the range of characters.
36899         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36901 2010-07-29  Roland McGrath  <roland@redhat.com>
36903         [BZ #11856]
36904         * manual/locale.texi (Yes-or-No Questions): Fix example code.
36906 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
36908         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36909         for ld.so.
36911 2010-07-27  Andreas Schwab  <schwab@redhat.com>
36913         * manual/memory.texi (Malloc Tunable Parameters): Document
36914         M_PERTURB.
36916 2010-07-26  Roland McGrath  <roland@redhat.com>
36918         [BZ #11840]
36919         * configure.in (-fgnu89-inline check): Set and substitute
36920         gnu89_inline, not libc_cv_gnu89_inline.
36921         * configure: Regenerated.
36922         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36924 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
36926         * string/test-strnlen.c: New file.
36927         * string/Makefile (strop-tests): Add strnlen.
36928         * string/tester.c (test_strnlen): Add a few more test cases.
36929         * string/tst-strlen.c: Better error reporting.
36931         * sysdeps/x86_64/strnlen.S: New file.
36933 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
36935         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36936         lower-latency instructions.
36938 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
36940         * string/test-strcasestr.c: New file.
36941         * string/test-strstr.c: New file.
36942         * string/Makefile (strop-tests): Add strstr and strcasestr.
36943         * string/str-two-way.h: Don't undefine MAX.
36944         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36946 2010-07-21  Andreas Schwab  <schwab@redhat.com>
36948         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36949         strcasestr-nonascii.
36950         (CFLAGS-strcasestr-nonascii.c): Define.
36951         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36952         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36953         Remove unused attribute.
36955 2010-07-20  Roland McGrath  <roland@redhat.com>
36957         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36958         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
36959         ld.so.cache was broken.  With it, there is no way to disable dsocaps
36960         like LD_HWCAP_MASK can disable hwcaps.
36962 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36964         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36966 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
36968         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36969         call in strcasestr.
36970         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36971         __strcasestr_sse42_nonascii.
36972         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36973         strcasestr-nonascii.c.
36974         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36976 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
36978         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36979         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36980         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36981         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36983 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
36985         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36986         fcntl.
36988 2010-07-06  Andreas Schwab  <schwab@redhat.com>
36990         [BZ #11577]
36991         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36992         dl_signal_cerror.
36994 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
36996         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36997         _PC_PIPE_BUF using F_GETPIPE_SZ.
36999 2010-07-05  Roland McGrath  <roland@redhat.com>
37001         * manual/arith.texi (Rounding Functions): Fix rint description
37002         implicit in round description.
37004 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37006         * elf/Makefile: Fix linking for a few tests to make recent linker
37007         happy.
37009 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37011         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37012         $(common-objpfx)libc_nonshared.a.
37014 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37016         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37017         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37018         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37019         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37020         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37021         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37022         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37023         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37038         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37039         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37040         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37041         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37042         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37043         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37044         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37045         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37046         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37047         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37048         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37049         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37065 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37067         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37068         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37069         * string/memmove.c (memmove): Renamed to ...
37070         (MEMMOVE): ...this.  Default to memmove.
37071         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37072         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37073         (END_CHK): Define.
37074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37075         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37076         mempcpy-ssse3-back memmove-ssse3-back.
37077         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37078         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37079         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37080         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37081         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37082         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37083         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37084         * sysdeps/x86_64/multiarch/memmove.c: New file.
37085         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37086         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37087         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37088         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37089         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37090         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37091         Define.
37092         (index_Fast_Copy_Backward): Define.
37093         (HAS_ARCH_FEATURE): Define.
37094         (HAS_FAST_REP_STRING): Define.
37095         (HAS_FAST_COPY_BACKWARD): Define.
37097 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37099         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37100         Restore proper fallback handling.
37102 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37104         [BZ #11701]
37105         * posix/group_member.c (__group_member): Correct checking loop.
37107         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37108         OOM in getpwuid_r correctly.  Return error number when the caller
37109         should return, otherwise -1.
37110         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37111         call returning > 0 value.
37112         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37114 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37116         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37117         libc_nonshared.a from targets in modules-names.
37119 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37121         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37122         requires it.
37124 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37126         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37127         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37128         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37129         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37131 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37133         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37135 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37137         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37138         and F_GETPIPE_SZ.
37139         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37140         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37141         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37142         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37143         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37144         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37146 2010-06-14  Roland McGrath  <roland@redhat.com>
37148         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37150 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37152         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37153         __REDIRECT followed by __THROW.
37154         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37155         * posix/getopt.h (getopt): Likewise.
37157 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37159         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37160         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37161         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37162         in AT_FLAGS.
37163         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37164         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37166 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37168         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37170 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
37172         [BZ #11640]
37173         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37174         Properly check family and model.
37176 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
37178         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37180 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
37182         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37184 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
37186         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37187         symbol reference.
37189 2010-05-19  Andreas Schwab  <schwab@redhat.com>
37191         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37192         symbol reference.
37194 2010-05-21  Andreas Schwab  <schwab@redhat.com>
37196         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37197         and internal_recvmmsg.
37198         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37199         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37200         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37201         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37203         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37204         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37205         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37207 2010-05-20  Andreas Schwab  <schwab@redhat.com>
37209         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37211 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
37213         POWER7 optimizations.
37214         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37215         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37217 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
37219         * version.h: Update for 2.13 development version.
37221 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
37223         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37224         exceptions.  Return 0.
37226 2010-05-07  Roland McGrath  <roland@redhat.com>
37228         * elf/ldconfig.c (main): Add a const.
37230 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
37232         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37233         (args_options): Add no-idn option.
37234         (ahosts_keys_int): Add idn_flags to ai_flags.
37235         (parse_option): Handle 'i' option to clear idn_flags.
37237         * malloc/malloc.c (_int_free): Possible race in the most recently
37238         added check.  Only act on the data if no current modification
37239         happened.
37241 See ChangeLog.17 for earlier changes.