PowerPC: multiarch strchrnul for PowerPC64
[glibc.git] / ChangeLog
blob5808cf6a8ee87b43493b420aed473601dced7920
1 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4         multiarch implementations.
5         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6         (__libc_ifunc_impl_list): Likewise.
7         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10         multiarch strchrnul for PPC64.
12 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15         implementations.
16         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17         (__libc_ifunc_impl_list): Likewise.
18         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22         strchr for PPC64.
24 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27         implementations.
28         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29         (__libc_ifunc_impl_list): Likewise.
30         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
31         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
32         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34         strncmp for PPC64.
36 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39         multiarch implementations.
40         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41         (__libc_ifunc_impl_list): Likewise.
42         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44         strncasecmp for PPC64.
45         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
47         multiarch strncasecmp_l for PPC64.
49 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52         multiarch implementations.
53         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54         (__libc_ifunc_impl_list): Likewise.
55         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
56         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
57         multiarch strcasecmp for PPC64.
58         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59         file.
60         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
61         multiarch strcasecmp_l for PPC64.
63 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
66         implementations.
67         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
68         (__libc_ifunc_impl_list): Likewise.
69         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
70         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
71         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
72         strnlen for PPC64.
74 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
77         implementations.
78         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
79         (__libc_ifunc_impl_list): Likewise.
80         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
81         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
82         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
83         strlen for PPC64.
85 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
88         implementations.
89         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
90         (__libc_ifunc_impl_list): Likewise.
91         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
92         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
93         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
94         rawmemrchr for PPC64.
96 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
98         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
99         implementation.
100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
101         (__libc_ifunc_impl_list): Likewise.
102         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
103         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
104         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
105         memrchr for PPC64.
107 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
110         implementation.
111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
112         (__libc_ifunc_impl_list): Likewise.
113         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
114         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
115         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
116         memchr for PPC64.
118 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
121         implementation.
122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
123         (__libc_ifunc_impl_list): Likewise.
124         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
125         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
126         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
127         mempcpy for PPC64.
129 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
131         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
132         avoid cretion of __bzero symbol.
133         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
134         Likewise.
135         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
136         Likewise.
137         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
138         Likewise.
139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
140         multiarch implementations.
141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
142         (__libc_ifunc_impl_list): Likewise.
143         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
144         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
145         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
146         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
147         bzero for PPC32.
148         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
149         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
150         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
151         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
152         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
153         memset for PPC64.
154         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
156 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
158         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
160         implementations.
161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
162         (__libc_ifunc_impl_list): Likewise.
163         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
164         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
165         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
166         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
167         memcmp for PPC64.
169 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
172         multiarch for POWER/PPC64.
173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
174         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
175         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
176         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
177         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
178         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
179         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
180         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
181         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
182         memcpy for PPC64.
184 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
186         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
187         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
188         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
189         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
190         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
191         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
192         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
193         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
194         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
195         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
196         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
197         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
198         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
199         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
200         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
209 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
211         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
213 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
215         * benchtests/Makefile (bench): Add exp2 and log2.
216         (LDLIBS-bench-exp2): Add -lm.
217         (LDLIBS-bench-log2): Likewise.
218         * benchtests/exp2-inputs: New inputs file.
219         * benchtests/log2-inputs: New inputs file.
220         * benchtests/log-inputs: Add new inputs.
221         * benchtests/tan-inputs: Likewise.
223 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
225         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
226         definition...
227         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
228         csloww1, csloww2): ... from here.
230         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
231         instead of structures.
232         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
233         (POLYNOMIAL): Likewise.
234         (TAYLOR_SLOW): Likewise.
235         (__sin): Likewise.
236         (__cos): Likewise.
237         (slow1): Likewise.
238         (slow2): Likewise.
239         (sloww): Likewise.
240         (sloww1); Likewise.
241         (sloww2): Likewise.
242         (bsloww1): Likewise.
243         (bsloww2): Likewise.
244         (cslow2): Likewise.
245         (csloww): Likewise.
246         (csloww1): Likewise.
247         (csloww2): Likewise.
249 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
251         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
252         (__malloc_assert, __libc_realloc, __libc_calloc,
253         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
254         memcpy and memset.
255         * malloc/hooks.c (realloc_check): Likewise.
257 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
259         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
260         * malloc/arena.c: Remove PER_THREAD conditional.
261         [!PER_THREAD]: Remove code.
262         (ptmalloc_unlock_all2): Likewise.
263         (ptmalloc_init): Likewise.
264         (_int_new_arena): Likewise.
265         (arena_get2): Likewise.
266         * malloc/hooks.c (__malloc_get_state): Likewise.
267         (__malloc_set_state): Likewise.
268         * malloc/malloc.c: Likewise.
269         (struct malloc_state): Likewise.
270         (struct malloc_par): Likewise.
271         (__libc_realloc): Likewise.
272         (__libc_mallopt): Likewise.
274 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
276         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
278 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
280         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
281         macro to a function.  Check for zero perturb_byte.
282         (_int_malloc, _int_free): Remove zero perturb_byte checks.
284 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
286         * malloc/malloc.c: (force_reg): Remove.
287         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
288         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
289         force_reg by atomic_forced_read.
290         * malloc/arena.c (ptmalloc_init): Likewise.
291         * malloc/hooks.c (top_check): Likewise.
293 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
297 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
299         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
301 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
303         * math/auto-libm-test-in: Add tests of lgamma.
304         * math/auto-libm-test-out: Regenerated.
305         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
306         (M_LOG_2_SQRT_PIl): Likewise.
307         (lgamma_test_data): Use AUTO_TESTS_f_f1.
308         * math/gen-auto-libm-tests.c (func_calc_method): Add value
309         mpfr_f_f1.
310         (func_calc_desc): Add mpfr_f_f1 union field.
311         (ARGS1): New macro.
312         (ARGS2): Likewise.
313         (ARGS3): Likewise.
314         (ARGS4): Likewise.
315         (RET1): Likewise.
316         (RET2): Likewise.
317         (CALC): Likewise.
318         (FUNC): Likewise.
319         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
320         (test_functions): Add lgamma.
321         (calc_generic_results): Handle mpfr_f_f1.
322         * sysdeps/i386/fpu/libm-test-ulps: Update.
323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
325 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
327         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
328         __mpn_add_n for PowerPC64/POWER7.
329         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
330         __mpn_sub_n for PowerPC64/POWER7.
332 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
334         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
335         __mpn_addmul_1 for PowerPC64.
336         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
337         __mpn_submul_1 for PowerPC64.
338         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
339         for PowerPC64.
340         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
341         for PowerPC64.
343 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
345         [BZ #15089]
346         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
348 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
350         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
352 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
354         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
355         add multiarch folders.
356         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
357         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
358         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
359         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
360         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
361         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
362         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
363         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
364         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
365         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
366         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
374 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
377         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
379         New file.
380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
381         New file.
382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
383         multiarch __ieee754_hypot for PowerPC32.
384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
385         New file.
386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
387         New file.
388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
389         multiarch __ieee754_hypotf for PowerPC32.
391 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
393         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
394         long_double_symbol only if __logbl is defined.
395         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
396         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
397         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
398         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
399         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
400         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
401         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
402         path for implementation.
403         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
404         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
406         logb, and logbl multiarch implementations for PowerPC32.
407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
408         file.
409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
410         file.
411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
412         multiarch logb for PowerPC32.
413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
414         file.
415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
416         file.
417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
418         multiarch logbf for PowerPC32.
419         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
421         file.
422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
423         multiarch logbl implementation for PowerPC32.
425 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
428         and modff multiarch implementations.
429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
430         New file.
431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
432         New file.
433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
434         multiarch modf for PowerPC32.
435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
436         New file.
437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
438         New file.
439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
440         multiarch modff for PowerPC32.
442 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
445         and lrintf multiarch implementations.
446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
447         New file.
448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
449         New file.
450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
451         multiarch lrint for PowerPC32.
452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
453         file: multiarch lrintf for PowerPC32.
455 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
458         and lroundf multiarch implementations.
459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
460         New file.
461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
462         New file.
463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
464         New file.
465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
466         multiarch lround for PowerPC32.
467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
468         file: multiarch lroundf for PowerPC32.
470 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
473         copysign and copysignf multiarch implementations.
474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
475         New file.
476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
477         New file.
478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
479         file: multiarch copysign for PowerPC32.
480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
481         file: multiarch copysignf for PowerPC32.
483 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
486         and truncf multiarch implementations.
487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
488         New file.
489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
490         file.
491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
492         multiarch trunc for PowerPC32.
493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
494         New file.
495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
496         New file.
497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
498         multiarch truncf for PowerPC32.
500 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
503         and roundf multiarch implementations.
504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
505         New file.
506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
507         file.
508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
509         multiarch round for PowerPC32.
510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
511         New file.
512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
513         New file.
514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
515         multiarch roundf for PowerPC32.
517 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
520         and floorf multiarch implementations.
521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
522         New file.
523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
524         file.
525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
526         multiarch floor for PowerPC32.
527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
528         New file.
529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
530         New file.
531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
532         multiarch floorf for PowerPC32.
534 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
537         and ceilf multiarch implementations.
538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
539         New file.
540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
541         file.
542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
543         multiarch ceil for PowerPC32.
544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
545         New file.
546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
547         file.
548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
549         multiarch ceilf for PowerPC32.
551 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
553         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
554         is defined.
555         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
556         FINITEF is defined.
557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
558         and finitef multiarch implementations.
559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
560         New file.
561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
562         file.
563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
564         multiarch finite for PowerPC32.
565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
566         New file.
567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
568         file: multiarch finitef for PowerPC32.
570 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
573         and isinff multiarch implementations.
574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
575         file.
576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
577         file.
578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
579         multiarch isinf for PowerPC32.
580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
581         New file.
582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
583         multiarch isinff for PowerPC32.
585 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
587         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
588         alias when __isnan is defined.
589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
590         and isnanf multiarch implementations.
591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
592         file.
593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
594         file.
595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
596         file.
597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
598         file.
599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
600         multiarch isnan for PowerPC32.
601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
602         New file.
603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
604         New file.
605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
606         multiarch isnanf for PowerPC32.
608 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
611         and sqrtf multiarch implementations.
612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
613         file.
614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
615         file.
616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
617         multiarch sqrt for PowerPC32.
618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
619         file.
620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
621         file.
622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
623         multiarch sqrtf for PowerPC32.
625 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
628         and llroundf multiarch implementations.
629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
630         New file.
631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
632         New file.
633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
634         New file.
635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
636         file: multiarch llround for PowerPC32.
637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
638         file: multiarch llroundf for PowerPC32.
640 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
643         multiarch PowerPC32 fpu implementations.
644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
645         New file.
646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
647         New file.
648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
649         multiarch llrint for PowerPC32.
650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
651         New file.
652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
653         New file.
654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
655         file.
657 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
661 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
663         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
664         file.
665         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
666         file.
667         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
668         file.
669         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
670         multiarch wordcopy for PPC32.
671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
672         wordcopy objects.
673         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
674         (__libc_ifunc_impl_list): Likewise.
675         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
676         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
677         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
678         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
679         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
680         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
682 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
684         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
685         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
686         file.
687         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
688         file.
689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
690         file.
691         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
692         multiarch wcscpy for PPC32.
693         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
694         multiarch objects.
695         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
696         (__libc_ifunc_impl_list): Likewise.
697         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
698         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
699         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
700         sysdeps/powerpc/power6/wcscpy.c.
702 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
704         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
706         file.
707         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
708         file.
709         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
710         file.
711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
712         multiarch wcsrchr for PPC32.
713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
714         multiarch objects.
715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
716         (__libc_ifunc_impl_list): Likewise.
717         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
718         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
719         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
720         sysdeps/powerpc/power6/wcsrchr.c.
722 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
725         file.
726         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
727         file.
728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
730         multiarch wcschr for PPc32.
731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
732         multiarch objects.
733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
734         (__libc_ifunc_impl_list): Likewise.
735         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
736         * sysdeps/powerpc/power6/wcschr.c: ... to here.
737         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
738         sysdeps/powerpc/power6/wcschr.c.
740 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
742         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
743         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
744         file.
745         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
746         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
747         file: multiarch strchr for PPC32.
748         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
749         multiarch objects.
750         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
751         (__libc_ifunc_impl_list): Likewise.
753 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
755         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
756         name.
757         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
758         file.
759         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
760         file.
761         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
762         multiarch strchrnul for PPC32.
763         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
764         multiarch objects.
765         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
766         (__libc_ifunc_impl_list): Likewise.
768 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
770         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
771         file.
772         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
773         multiarch strncasecmp for PPC32.
774         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
775         file.
776         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
777         multiarch strncasecmp_l for PPC32.
778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
779         strncasecmp multiarch objects.
780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
781         (__libc_ifunc_impl_list): Likewise.
783 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
785         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
786         file.
787         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
788         multiarch strncasecmp for PPC32.
789         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
790         New file.
791         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
792         multiarch strcasecmp_l for PPC32.
793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
794         multiarch objects.
795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
796         (__libc_ifunc_impl_list): Likewise.
798 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
800         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
801         file.
802         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
803         file.
804         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
805         multiarch strncmp for PPC32.
806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
807         multiarch objects.
808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
809         (__libc_ifunc_impl_list): Likewise.
811 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
813         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
814         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
815         file.
816         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
817         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
819         multiarch objects.
820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
821         (__libc_ifunc_impl_list): Likewise.
823 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
825         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
826         file.
827         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
828         file.
829         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
831         multiarch objects.
832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
833         (__libc_ifunc_impl_list): Likewise.
835 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
837         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
838         file.
839         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
840         file.
841         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
842         multiarch rawmemchr for PPC32.
843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
844         multiarch objects.
845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
846         (__libc_ifunc_impl_list): Likewise.
848 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
850         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
851         file.
852         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
853         file.
854         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
855         file: memrchr multiarch for PPC32.
856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
857         multiarch objects.
858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
859         (__libc_ifunc_impl_list): Likewise.
861 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
863         * string/memchr.c (__memchr): Using macro to redefine symbol name.
864         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
865         file.
866         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
867         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
868         multiarch memchr for PPC32.
869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
870         multiarch objects.
871         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
872         (__libc_ifunc_impl_list): Likewise.
874 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
876         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
877         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
878         file.
879         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
880         file.
881         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
882         file: multiarch mempcpy for PPC32.
883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
884         multiarch objects.
885         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
886         (__libc_ifunc_impl_list): Likewise.
888 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
890         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
891         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
892         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
893         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
894         multiarch bzero for PPC32.
895         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
896         file.
897         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
898         file.
899         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
900         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
901         file: multiarch memset for PPC32.
902         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
904         memset multiarch objects.
905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
906         (__libc_ifunc_impl_list): Likewise.
908 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
910         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
911         file.
912         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
914         memcmp for PPC32.
915         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
917         multiarch objects.
918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
919         (__libc_ifunc_impl_list): Likewise.
921 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
926         file.
927         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
928         file.
929         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
930         file.
931         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
932         multiarch memcpy for PPC32.
933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
934         multiarch objects.
935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
936         (__libc_ifunc_impl_list): Likewise.
938 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
941         support multiarch for POWER/PPC32.
942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
943         Likewise.
944         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
946         Implies file to make multiarch folder appers before the fpu and
947         default folder for power4 configuration.
949 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
951         * scripts/bench.pl: Append volatile keyword to type.
953 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
955         * sysdeps/sh/sotruss-lib.c: New file.
956         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
958 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
962 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
964         [BZ #6810]
965         * math/w_tgamma.c: Include <errno.h>.
966         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
967         * math/w_tgammaf.c: Include <errno.h>.
968         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
969         * math/w_tgammal.c: Include <errno.h>.
970         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
971         * math/auto-libm-test-in: Do not allow missing errno on tgamma
972         underflow.  Add more tgamma tests.
973         * math/auto-libm-test-out: Regenerated.
974         * sysdeps/i386/fpu/libm-test-ulps: Update.
975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
977         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
978         sin, sinh, tan, tanh, tgamma, y0 and y1.
979         * math/auto-libm-test-out: Regenerated.
980         * math/libm-test.inc (TEST_COND_x86_64): New macro.
981         (TEST_COND_x86): Likewise.
982         (M_E2l): Remove macro.
983         (M_E3l): Likewise.
984         (M_2_SQRT_PIl): Likewise.
985         (M_SQRT_PIl): Likewise.
986         (M_1_DIV_El): Likewise.
987         (log_test_data): Use AUTO_TESTS_f_f.
988         (log10_test_data): Likewise.
989         (log1p_test_data): Likewise.
990         (log2_test_data): Likewise.
991         (sin_test_data): Likewise.
992         (sin_tonearest_test_data): Likewise.
993         (sin_towardzero_test_data): Likewise.
994         (sin_downward_test_data): Likewise.
995         (sin_upward_test_data): Likewise.
996         (sinh_test_data): Likewise.
997         (sinh_tonearest_test_data): Likewise.
998         (sinh_towardzero_test_data): Likewise.
999         (sinh_downward_test_data): Likewise.
1000         (sinh_upward_test_data): Likewise.
1001         (tan_test_data): Likewise.
1002         (tan_tonearest_test_data): Likewise.
1003         (tan_towardzero_test_data): Likewise.
1004         (tan_downward_test_data): Likewise.
1005         (tan_upward_test_data): Likewise.
1006         (tanh_test_data): Likewise.
1007         (tgamma_test_data): Likewise.
1008         (y0_test_data): Likewise.
1009         (y1_test_data): Likewise.
1010         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1011         (special_real_inputs): Add pi/4.
1012         * sysdeps/i386/fpu/libm-test-ulps: Update.
1013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1015 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1017         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1018         "longjmp_target" static probes.
1019         (__longjmp): Rename to __longjmp_symbol.
1020         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1021         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1022         on which longjmp to generate.
1023         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1024         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1025         probe.
1026         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1027         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1028         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1029         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1030         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1031         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1033         __longjmp_symbol based on which __longjmp to generate.
1034         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1035         probe.
1036         (setjmp): Rename to setjmp_symbol.
1037         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1038         (_setjmp): Rename to _setjmp_symbol.
1039         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1040         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1041         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1042         which setjmp to generate.
1043         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1044         "longjmp_target" static probes.
1046 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1048         * benchtests/README: Add note about output arguments.
1049         * benchtests/bench-sincos.c: Remove file.
1050         * benchtests/sincos-inputs: New file.
1051         * scripts/bench.pl: Identify output arguments and define
1052         static variables for them.
1054         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1056         [BZ #15941]
1057         * Makefile (INSTALL): Add install-plain.texi as the primary
1058         dependency.
1059         * manual/install-plain.texi: New file.
1060         * manual/install.texi: Include node directive only for
1061         non-plaintext output.
1063 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1065         * stdlib/longlong.h: Update from GCC.
1067         [BZ #6807]
1068         [BZ #15901]
1069         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1070         * math/w_j0f.c (y0f): Likewise.
1071         * math/w_j0l.c (__y0l): Likewise.
1072         * math/w_j1.c (y1): Likewise.
1073         * math/w_j1f.c (y1f): Likewise.
1074         * math/w_j1l.c (__y1l): Likewise
1075         * math/w_jn.c (yn): Likewise.
1076         * math/w_jnf.c (ynf): Likewise.
1077         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1078         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
1079         value for Bessel function domain errors outside _SVID_ mode.
1080         Adjust sign of return value for yn (negative integer, 0).
1081         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1082         by zero in return for negative x and set sign appropriately for
1083         negative n.
1084         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1085         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1086         * math/libm-test.inc (y0_test_data): Add more tests and adjust
1087         expectations in error cases.
1088         (y1_test_data): Likewise.
1089         (yn_test_data): Likewise.
1090         * sysdeps/i386/fpu/libm-test-ulps: Update.
1091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1093 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1095         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1096         "64" to "64-v1".  Add "64-v2".
1097         (abi-64-options): Rename to ...
1098         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
1099         (abi-64-condition): Rename to ...
1100         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
1101         (abi-64-ld-soname): Rename to ...
1102         (abi-64-v1-ld-soname): ... this.
1103         (abi-64-v2-options): Define.
1104         (abi-64-v2-condition): Likewise.
1105         (abi-64-v2-ld-soname): Likewise.
1106         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1107         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1112 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1113             Alan Modra  <amodra@gmail.com>
1115         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1116         New versions for use with the ELFv2 ABI.
1117         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1118         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1119         declaration.
1120         (struct La_ppc64v2_retval): Likewise.
1121         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1122         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1123         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1124         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1125         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1126         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1127         Do not save or restore CR.
1128         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1129         (_dl_profile_resolve): Do no save or restore CR.  Support extended
1130         return values for ELFv2 ABI.  Fix location of FPR return registers.
1131         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1132         updated values for _CALL_ELF == 2.
1133         (La_regs, La_retval, int_retval): Likewise.
1135 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1137         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1138         (FRAME_MIN_SIZE_PARM): Likewise.
1139         (FRAME_BACKCHAIN): Likewise.
1140         (FRAME_CR_SAVE): Likewise.
1141         (FRAME_LR_SAVE): Likewise.
1142         (FRAME_TOC_SAVE): Likewise.
1143         (FRAME_PARM_SAVE): Likewise.
1144         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1145         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1146         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1147         (call_mcount_parm_offset): New macro.
1148         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1149         (PROF): Use symbolic stack frame offsets.
1150         (TAIL_CALL_SYSCALL_ERROR): Likewise.
1151         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1152         Redefine in terms of FRAME_MIN_SIZE.
1153         (_dl_runtime_resolve): Use symbolic stack frame offsets.
1154         (_dl_profile_resolve): Likewise.  Update comment.
1155         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1156         symbols stack frame offsets.
1157         (__sigsetjmp): Likewise.
1158         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1159         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1160         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1161         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1164         (FRAME_BACKCHAIN): Remove.
1165         (FRAME_CR_SAVE): Likewise.
1166         (FRAME_LR_SAVE): Likewise.
1167         (FRAME_COMPILER_DW): Likewise.
1168         (FRAME_LINKER_DW): Likewise.
1169         (FRAME_TOC_SAVE): Likewise.
1170         (FRAME_PARM_SAVE): Likewise.
1171         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1172         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1173         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1175         (CHECK_SP): Use symbolic stack frame offsets.
1176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1177         zone" instead of caller's parameter save area for temp storage.
1178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1179         Likewise.  Also, use symbolic stack frame offsets.
1180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1181         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1182         our own stack frame instead of the caller's.
1183         (__socket): Use symbolic stack frame offsets.
1185 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1186             Alan Modra  <amodra@gmail.com>
1188         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1189         Define.
1190         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1191         PPC64_LOCAL_ENTRY_OFFSET): Define.
1192         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1193         New function.
1194         (elf_machine_fixup_plt): Call it.
1195         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
1196         reloc arguments.
1197         (elf_machine_rela): Update call to elf_machine_plt_conflict.
1198         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1199         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1200         r2 before calling target.
1202 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1203             Alan Modra  <amodra@gmail.com>
1205         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1206         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1207         versions of macros to support ELFv2 ABI.
1208         (LOCALENTRY): New macro.
1209         (ENTRY, EALIGN): Use it.
1210         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1211         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1212         fall through into ENTRY entry point.
1213         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1214         Only define if _CALL_ELF != 2.
1216         (elf_machine_matches_host): Verify ABI version matches.
1217         (RTLD_START): Use LOCALENTRY.
1218         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1219         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1220         (PLT_ENTRY_WORDS): New macro.
1221         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1222         (elf_machine_runtime_setup): Support ELFv2 ABI.
1223         (elf_machine_fixup_plt): Likewise.
1224         (elf_machine_plt_conflict): Likewise.
1225         (resolve_ifunc): Likewise.
1226         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1227         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1228         Likewise.
1229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1230         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1232         (makecontext): Support ELFv2 ABI.
1233         * elf/elf.h (EF_PPC64_ABI): Define.
1235 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1237         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1238         New assembler macro.
1239         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1240         [ASSEMBLER] (ENTRY): ... but instead here ...
1241         [ASSEMBLER] (EALIGN): ... and here.
1242         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1243         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1244         [!ASSEMBLER] (ENTRY_2): Use it.
1245         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1246         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
1247         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1248         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1249         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1251         Use PPC64_LOAD_FUNCPTR.
1253 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1255         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1257 2013-12-04  Alan Modra  <amodra@gmail.com>
1259         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1260         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1261         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1262         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1264         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1265         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1266         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1267         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1268         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1269         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1271 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1274         (__makecontext): Fix incorrect CFI when backtracing out of
1275         context created via makecontext.
1276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1277         (__setcontext): Fix incorrect CFI during switch to new context.
1278         (__novec_setcontext): Likewise.
1280 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1282         [BZ #4772]
1283         * time/strptime_l.c (__strptime_internal): Allow modifiers
1284         in strptime.
1285         * time/tst-strptime.c (day_tests): Add testcase.
1288 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1290         * scripts/bench.pl: Skip over blank lines.
1292 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1294         [BZ #926]
1295         * manual/time.texi (Calendar Time): Clarify what timezone functions
1296         use.
1298 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1302 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1304         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1305         implementation.
1306         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1307         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1308         * debug/memset_chk.c (__memset_chk): Likewise.
1309         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1310         * debug/strncpy_chk.c: Likewise.
1312 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1314         [BZ #15268]
1315         [BZ #15425]
1316         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1317         (__ieee754_exp): For possibly underflowing results, check size of
1318         result and force underflow exception if required.
1319         * math/auto-libm-test-in: Add more tests of exp.
1320         * math/auto-libm-test-out: Regenerated.
1321         * sysdeps/i386/fpu/libm-test-ulps: Update.
1322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1324         [BZ #16283]
1325         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1326         * math/w_exp2f.c (__exp2f): Likewise.
1327         * math/w_exp2l.c (__exp2l): Likewise.
1328         * math/auto-libm-test-in: Do not allow missing errno on exp2
1329         underflow.
1330         * math/auto-libm-test-out: Regenerated.
1332 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1334         [BZ #16274]
1335         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1336         handle filename validation.
1337         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1338         (do_open): Delete.
1340 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1342         [BZ #6786]
1343         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1344         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1345         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1346         <float.h>.
1347         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1348         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1349         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1351         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1352         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1353         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1354         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1355         Add more erfc tests.
1356         * math/auto-libm-test-out: Regenerated.
1357         * sysdeps/i386/fpu/libm-test-ulps: Update.
1358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1360         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1361         exp2, expm1, j0 and j1.
1362         * math/auto-libm-test-out: Regenerated.
1363         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1364         (erfc_test_data): Likewise.
1365         (exp_test_data): Likewise.
1366         (exp_tonearest_test_data): Likewise.
1367         (exp_towardzero_test_data): Likewise.
1368         (exp_downward_test_data): Likewise.
1369         (exp_upward_test_data): Likewise.
1370         (exp10_test_data): Likewise.
1371         (exp2_test_data): Likewise.
1372         (expm1_test_data): Likewise.
1373         (j0_test_data): Likewise.
1374         (j1_test_data): Likewise.
1375         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1376         (input_flag_type): Add flag_xfail_rounding.
1377         (input_flags): Add xfail-rounding.
1378         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1379         (output_for_one_input_case): Handle flag_xfail_rounding.
1380         * sysdeps/i386/fpu/libm-test-ulps: Update.
1381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1383 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1385         [BZ #16289]
1386         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1387         division by 0.
1389 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1391         [BZ #16195]
1392         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1393         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1394         (STAP_PROBE0): New macro.
1395         (STAP_PROBE1): Likewise.
1396         (STAP_PROBE2): Likewise.
1397         (STAP_PROBE3): Likewise.
1398         (STAP_PROBE4): Likewise.
1400 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1402         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1404 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1406         * benchtests/Makefile (bench): Add sqrt.
1407         (LDLIBS-bench-sqrt): New.
1408         * benchtests/sqrt-input: New.
1410 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1412         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1413         (GAIH_EAI): Likewise.
1414         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1415         (gaih_inet): Likewise.
1416         (getaddrinfo): Don't use GAIH_EAI.
1418         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1419         (struct gaih): Remove definition.
1421 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1423         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1424         Use HERRNOP directly.
1426 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1430 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1432         * math/gen-auto-libm-tests.c (test_functions): Add more
1433         single-argument functions.
1434         (special_fill_pi_2): New function.
1435         (special_fill_minus_pi_2): Likewise.
1436         (special_fill_pi_6): Likewise.
1437         (special_fill_minus_pi_6): Likewise.
1438         (special_fill_pi_3): Likewise.
1439         (special_fill_2pi_3): Likewise.
1440         (special_fill_e): Likewise.
1441         (special_fill_1_e): Likewise.
1442         (special_fill_e_minus_1): Likewise.
1443         (special_real_inputs): Add more special inputs.
1444         (output_for_one_input_case): Do not require ERANGE on underflow to
1445         zero if round-to-nearest result does not underflow to zero, unless
1446         exact results required.
1447         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1448         atan, atanh, cbrt, cos and cosh.
1449         * math/auto-libm-test-out: Regenerated.
1450         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1451         (acos_tonearest_test_data): Likewise.
1452         (acos_towardzero_test_data): Likewise.
1453         (acos_downward_test_data): Likewise.
1454         (acos_upward_test_data): Likewise.
1455         (acosh_test_data): Likewise.
1456         (asin_test_data): Likewise.
1457         (asin_tonearest_test_data): Likewise.
1458         (asin_towardzero_test_data): Likewise.
1459         (asin_upward_test_data): Likewise.
1460         (asinh_test_data): Likewise.
1461         (atan_test_data): Likewise.
1462         (atanh_test_data): Likewise.
1463         (cbrt_test_data): Likewise.
1464         (cos_test_data): Likewise.
1465         (cos_tonearest_test_data): Likewise.
1466         (cos_towardzero_test_data): Likewise.
1467         (cos_downward_test_data): Likewise.
1468         (cos_upward_test_data): Likewise.
1469         (cosh_test_data): Likewise.
1470         (cosh_tonearest_test_data): Likewise.
1471         (cosh_towardzero_test_data): Likewise.
1472         (cosh_downward_test_data): Likewise.
1473         (cosh_upward_test_data): Likewise.
1474         * sysdeps/i386/fpu/libm-test-ulps: Update.
1475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1477 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1479         [BZ #6787]
1480         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1481         * math/w_exp10f.c (__exp10f): Likewise.
1482         * math/w_exp10l.c (__exp10l): Likewise.
1483         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1484         errno settings in existing tests.
1486         [BZ #14032]
1487         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1488         precision control set to double precision.
1489         * sysdeps/i386/fpu/w_sqrt.c: New file.
1490         * math/auto-libm-test-in: Add more tests.
1491         * math/auto-libm-test-out: Update.
1493         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1494         (sqrt_test_tonearest): New function.
1495         (sqrt_towardzero_test_data): New variable.
1496         (sqrt_test_towardzero): New function.
1497         (sqrt_downward_test_data): New variable.
1498         (sqrt_test_downward): New function.
1499         (sqrt_upward_test_data): New variable.
1500         (sqrt_test_upward): New function.
1501         (main): Call the new functions.
1503         * math/gen-auto-libm-tests.c: New file.
1504         * math/auto-libm-test-in: Likewise.
1505         * math/auto-libm-test-out: New generated file.
1506         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1507         variables.
1508         (%beautify): Add generated representations of zero.
1509         (top level): Set $auto_input and call parse_auto_input.
1510         (beautify): Remove trailing "f" from hex float constants.
1511         (parse_args): Handle XFAIL_TEST.
1512         (convert_condition): New function.
1513         (or_value): Likewise.
1514         (or_cond_value): Likewise.
1515         (generate_testfile): Handle AUTO_TESTS_* lines.
1516         (parse_auto_input): New function.
1517         * math/libm-test.inc (XFAIL_TEST): New macro.
1518         (ERRNO_UNCHANGED): Update value.
1519         (ERRNO_EDOM): Likewise.
1520         (ERRNO_ERANGE): Likewise.
1521         (IGNORE_RESULT): Likewise.
1522         (TEST_COND_flt_32): New macro.
1523         (TEST_COND_dbl_64): Likewise.
1524         (TEST_COND_ldbl_96_intel): Likewise.
1525         (TEST_COND_ldbl_96_m68k): Likewise.
1526         (TEST_COND_ldbl_128): Likewise.
1527         (TEST_COND_ldbl_128ibm): Likewise.
1528         (TEST_COND_long32): Likewise.
1529         (TEST_COND_long64): Likewise.
1530         (TEST_COND_before_rounding): Likewise.
1531         (TEST_COND_after_rounding): Likewise.
1532         (enable_test): Handle XFAIL_TEST flag.
1533         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1534         with finite results.
1535         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1536         auto-libm-test-out.
1538 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1539             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1541         [BZ #16214]
1542         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1543         __tls_get_addr_internal instead of __tls_get_offset in order to
1544         avoid GOT pointer dependency.  Make rtld export
1545         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1546         __tls_get_addr since we are a __tls_get_offset platform.
1547         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1548         GOT pointer being set up before.
1549         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1551 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
1553         * manual/math.texi (Errors in Math Functions): Document accuracy
1554         goals.
1556         [BZ #15004]
1557         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1558         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1559         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1560         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1561         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1562         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1563         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1564         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1565         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1566         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1567         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1568         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1569         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1570         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1571         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1572         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1574         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1575         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1576         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1577         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1578         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1579         Likewise.
1580         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1581         Likewise.
1582         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1583         Likewise.
1584         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1585         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1586         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1587         atomic-feupdateenv and flt-rounds.
1588         * sysdeps/powerpc/nofpu/Versions (libc): Add
1589         __atomic_feholdexcept, __atomic_feclearexcept,
1590         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1591         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1592         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1593         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1594         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1595         here.
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1597         Update.
1599         * manual/arith.texi (FP Exceptions): Document that exceptions may
1600         not be raised when matherr is used.
1601         (Math Error Reporting): Document overflow in directed rounding
1602         modes.  Document that errno may not be set when finite values are
1603         returned on overflow.  Document intent to set errno on underflow
1604         only for underflow to zero.
1606         [BZ #16271]
1607         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1608         round-to-nearest then adjust result for other rounding modes.
1609         * include/fenv.h (fegetround): Use libm_hidden_proto.
1610         * math/fegetround.c (fegetround): Use libm_hidden_def.
1611         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1612         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1613         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1614         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1615         Likewise.
1616         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1617         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1618         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1619         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1621 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1623         [BZ #16077]
1624         * nss/Versions (libnss_files): Add
1625         _nss_files_gethostbyname3_r.
1626         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1627         New function.
1628         (HOST_DB_LOOKUP): Remove macro.
1629         (_nss_files_gethostbyname_r): Implement function without the
1630         HOST_DB_LOOKUP macro.
1631         (_nss_files_gethostbyname2_r): Likewise.
1633 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
1635         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1637 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
1639         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1640         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1641         warning.
1643 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1645         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1646         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1647         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1648         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1649         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1650         __fe_nomask_env_priv and attribute_hidden.
1651         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1652         (libc_feupdateenv_test_ppc): Likewise.
1653         (libc_feresetround_ppc): Likewise.
1654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1655         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1656         compat_symbol macro.
1657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1658         (__fe_nomask_env): Likewise.
1659         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1661 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1663         * string/Makefile: Remove ifunc tests.
1664         * string/test-string.h: Define TEST_IFUNC.
1665         * string/test-bcopy-ifunc.c: Remove.
1666         * string/test-bzero-ifunc.c: Likewise.
1667         * string/test-memccpy-ifunc.c: Likewise.
1668         * string/test-memchr-ifunc.c: Likewise.
1669         * string/test-memcmp-ifunc.c: Likewise.
1670         * string/test-memcpy-ifunc.c: Likewise.
1671         * string/test-memmem-ifunc.c: Likewise.
1672         * string/test-memmove-ifunc.c: Likewise.
1673         * string/test-mempcpy-ifunc.c: Likewise.
1674         * string/test-memrchr-ifunc.c: Likewise.
1675         * string/test-memset-ifunc.c: Likewise.
1676         * string/test-rawmemchr-ifunc.c: Likewise.
1677         * string/test-stpcpy-ifunc.c: Likewise.
1678         * string/test-stpncpy-ifunc.c: Likewise.
1679         * string/test-strcasecmp-ifunc.c: Likewise.
1680         * string/test-strcasestr-ifunc.c: Likewise.
1681         * string/test-strcat-ifunc.c: Likewise.
1682         * string/test-strchr-ifunc.c: Likewise.
1683         * string/test-strchrnul-ifunc.c: Likewise.
1684         * string/test-strcmp-ifunc.c: Likewise.
1685         * string/test-strcpy-ifunc.c: Likewise.
1686         * string/test-strcspn-ifunc.c: Likewise.
1687         * string/test-strlen-ifunc.c: Likewise.
1688         * string/test-strncasecmp-ifunc.c: Likewise.
1689         * string/test-strncat-ifunc.c: Likewise.
1690         * string/test-strncmp-ifunc.c: Likewise.
1691         * string/test-strncpy-ifunc.c: Likewise.
1692         * string/test-strnlen-ifunc.c: Likewise.
1693         * string/test-strpbrk-ifunc.c: Likewise.
1694         * string/test-strrchr-ifunc.c: Likewise.
1695         * string/test-strspn-ifunc.c: Likewise.
1696         * string/test-strstr-ifunc.c: Likewise.
1698 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1700         * benchtests/Makefile: Remove ifunc tests.
1701         * benchtests/bench-string.h: Define TEST_IFUNC.
1702         * benchtests/bench-bcopy-ifunc.c: Remove.
1703         * benchtests/bench-bzero-ifunc.c: Likewise.
1704         * benchtests/bench-memccpy-ifunc.c: Likewise.
1705         * benchtests/bench-memchr-ifunc.c: Likewise.
1706         * benchtests/bench-memcmp-ifunc.c: Likewise.
1707         * benchtests/bench-memcpy-ifunc.c: Likewise.
1708         * benchtests/bench-memmem-ifunc.c: Likewise.
1709         * benchtests/bench-memmove-ifunc.c: Likewise.
1710         * benchtests/bench-mempcpy-ifunc.c: Likewise.
1711         * benchtests/bench-memrchr-ifunc.c: Likewise.
1712         * benchtests/bench-memset-ifunc.c: Likewise.
1713         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1714         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1715         * benchtests/bench-stpcpy-ifunc.c: Likewise.
1716         * benchtests/bench-stpncpy-ifunc.c: Likewise.
1717         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1718         * benchtests/bench-strcasestr-ifunc.c: Likewise.
1719         * benchtests/bench-strcat-ifunc.c: Likewise.
1720         * benchtests/bench-strchr-ifunc.c: Likewise.
1721         * benchtests/bench-strchrnul-ifunc.c: Likewise.
1722         * benchtests/bench-strcmp-ifunc.c: Likewise.
1723         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1724         * benchtests/bench-strcpy-ifunc.c: Likewise.
1725         * benchtests/bench-strcspn-ifunc.c: Likewise.
1726         * benchtests/bench-strlen-ifunc.c: Likewise.
1727         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1728         * benchtests/bench-strncat-ifunc.c: Likewise.
1729         * benchtests/bench-strncmp-ifunc.c: Likewise.
1730         * benchtests/bench-strncpy-ifunc.c: Likewise.
1731         * benchtests/bench-strnlen-ifunc.c: Likewise.
1732         * benchtests/bench-strpbrk-ifunc.c: Likewise.
1733         * benchtests/bench-strrchr-ifunc.c: Likewise.
1734         * benchtests/bench-strsep-ifunc.c: Likewise.
1735         * benchtests/bench-strspn-ifunc.c: Likewise.
1736         * benchtests/bench-strstr-ifunc.c: Likewise.
1738 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1740         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1742 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1744         * resolv/netdb.h: Use __glibc_reserved instead __unused.
1745         * rt/aio.h: Likewise.
1746         * sysdeps/gnu/bits/utmp.h: Likewise.
1747         * sysdeps/gnu/bits/utmpx.h: Likewise.
1748         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1749         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1750         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1751         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1752         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1753         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1754         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1755         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1756         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1757         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1758         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1759         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1760         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1762         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1763         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1764         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1765         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1766         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1767         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1768         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1769         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1770         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1771         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1772         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1773         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1774         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1775         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1776         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1777         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1778         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1779         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1780         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1781         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1782         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1783         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1784         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1785         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1786         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1787         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1788         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1789         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1791 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
1793         [BZ #16245]
1794         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1795         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1797 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
1799         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1800         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1801         Likewise.
1803 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1805         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1806         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1807         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1808         (__fesetround): Remove define.
1809         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1810         rounding and exceptions handling.
1811         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1812         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1813         (__fe_nomask_env): Likewise.
1814         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1815         __fegetround instead of fegetround.
1816         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1817         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1819 2013-11-21  Roland McGrath  <roland@hack.frob.com>
1821         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1822         it's there.
1824         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1826 2013-11-21  Meador Inge  <meadori@codesourcery.com>
1828         [BZ #11157]
1829         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1830         (encrypt_r): Likewise.
1831         * malloc/obstack.h (obstack_free): Likewise.
1832         * posix/unistd.h (encrypt): Likewise.
1834 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1836         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1837         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1838         DL_CALL_DT_FINI() that call the functions directly.
1839         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1840         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1841         * elf/dl-fini.c: Likewise.
1843 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
1845         * malloc/hooks.c (memalign_check): Add alignment rounding.
1846         * malloc/malloc.c (_mid_memalign): New function.
1847         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1848         Implement by calling _mid_memalign.
1849         * manual/probes.texi (Memory Allocation Probes): Remove
1850         memory_valloc_retry and memory_pvalloc_retry.
1852 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1854         * locale/programs/locarchive.c (open_archive): Add const
1855         qualifier to ARCHIVEFNAME and copy default fname to
1856         DEFAULT_FNAME.
1858         [BZ #15601]
1859         * libio/tst-widetext.input: Rename Oriya to Odia.
1860         * locale/iso-639.def: Likewise.
1862         * manual/probes.texi (Mathematical Function Probes): Add
1863         documentation for sin, cos, asin and acos probes.
1864         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1865         (__sin32): Add slowasin probe.
1866         (__cos32): Add slowacos probe.
1867         (__mpsin): Add slowsin probe.
1868         (__mpcos): Add slowcos probe.
1870 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
1872         [BZ #15483]
1873         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1874         thread-local __sim_exceptions_thread and global
1875         __sim_exceptions_global.
1876         (__sim_disabled_exceptions): Change to thread-local
1877         __sim_disabled_exceptions_thread and global
1878         __sim_disabled_exceptions_global.
1879         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1880         and global __sim_round_mode_global.
1881         (__simulate_exceptions): Use thread-local floating-point state and
1882         set global state from it as needed.
1883         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1884         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1885         __sim_round_mode_thread.
1886         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1887         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1888         and global __sim_exceptions_global.
1889         (__sim_disabled_exceptions): Change to thread-local
1890         __sim_disabled_exceptions_thread and global
1891         __sim_disabled_exceptions_global.
1892         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1893         and global __sim_round_mode_global.
1894         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1895         (SIM_SET_GLOBAL): Likewise.
1896         * sysdeps/powerpc/soft-fp/sfp-machine.h
1897         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1898         __sim_round_mode_thread.
1899         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1900         __sim_disabled_exceptions_thread.
1901         (__sim_exceptions): Change to __sim_exceptions_thread.
1902         (__sim_disabled_exceptions): Change to
1903         __sim_disabled_exceptions_thread.
1904         (__sim_round_mode): Change to __sim_round_mode_thread.
1905         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1906         thread-local floating-point state and set global state from it as
1907         needed.
1908         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1909         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1910         (__sim_disabled_exceptions): Remove extern declaration.
1911         (feenableexcept): Use thread-local floating-point state and set
1912         global state from it as needed.
1913         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1914         extern declaration.
1915         (__sim_disabled_exceptions): Likewise.
1916         (__sim_round_mode): Likewise.
1917         (__fegetenv): Use thread-local floating-point state.
1918         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1919         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1920         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1921         floating-point state and set global state from it as needed.
1922         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1923         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1924         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1925         Likewise.
1926         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1927         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1928         Likewise.
1929         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1930         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1931         Use __sim_round_mode_thread.
1932         * math/test-fenv-tls.c: New file.
1933         * math/Makefile (tests): Add test-fenv-tls.
1934         ($(objpfx)test-fenv-tls): Depend on
1935         $(common-objpfx)nptl/libpthread.so.
1937 2013-11-19  Andreas Schwab  <schwab@suse.de>
1939         * locale/programs/locale.c (show_info): Decode wordarray elements.
1940         * locale/categories.def (LC_MONETARY): Add element for
1941         _NL_MONETARY_CRNCYSTR.
1942         * locale/C-monetary.c (conversion_rate): New variable.
1943         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1944         element.
1946 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
1948         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1949         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1951 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1953         * elf/Makefile (tst-auxv): New test.
1954         * elf/tst-auxv.c: New
1955         * elf/rtld.c (dl_main): Adjust AT_EXECFN
1957 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
1959         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1960         (hidden_proto): Caller changed.
1961         (hidden_tls_proto): New macro.
1962         (libc_hidden_tls_proto): Likewise.
1963         (rtld_hidden_tls_proto): Likewise.
1964         (libm_hidden_tls_proto): Likewise.
1965         (libresolv_hidden_tls_proto): Likewise.
1966         (librt_hidden_tls_proto): Likewise.
1967         (libdl_hidden_tls_proto): Likewise.
1968         (libnss_files_hidden_tls_proto): Likewise.
1969         (libnsl_hidden_tls_proto): Likewise.
1970         (libnss_nisplus_hidden_tls_proto): Likewise.
1971         (libutil_hidden_tls_proto): Likewise.
1973 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
1975         [BZ #10253]
1976         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1977         (decompose_rpath): Defer expansion to fillin_rpath.
1978         (_dl_init_paths): Pass linkmap to fillin_rpath.
1980 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1982         * benchtests/Makefile: Add strsep.
1983         * benchtests/bench-strsep.c: New file: strsep benchtest.
1984         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1986 2013-11-18  Andreas Schwab  <schwab@suse.de>
1988         * locale/programs/locale.c (show_info) [case byte]: Check for
1989         '\377' instead of '\177'.
1990         * locale/C-monetary.c (not_available): Always use "\377".
1991         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1992         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
1993         detect unavailable sign_posn locale elements.
1994         * locale/localeconv.c (__localeconv): For grouping and
1995         mon_grouping handle "\177" and "\377" like no grouping.
1996         (INT_ELEM): New macro.  Use it to set all numeric members.
1997         * locale/programs/ld-monetary.c (monetary_read)
1998         <tok_mon_grouping>: Normalize single -1 to the empty string.
1999         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2000         Likewise.
2002 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2004         [BZ #16055]
2005         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2006         when we match (nil).
2007         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2009 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2011         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2012         (NO_TEST_INLINE): Update value.
2013         (ERRNO_UNCHANGED): Likewise.
2014         (ERRNO_EDOM): Likewise.
2015         (ERRNO_ERANGE): Likewise.
2016         (IGNORE_RESULT): Likewise.
2017         (check_float_internal): Check signs of NaN results if
2018         TEST_NAN_SIGN used.
2019         (check_complex): Pass TEST_NAN_SIGN flag through to second
2020         check_float_internal call.
2021         (copysign_test_data): Add tests with quiet NaNs as second
2022         argument.  Use TEST_NAN_SIGN.
2023         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2024         TEST_NAN_SIGN.
2025         (signbit_test_data): Add tests of quiet NaN argument.
2026         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2028         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2029         $ignore_result.
2030         (parse_args): Handle function results specified as IGNORE.
2031         * math/libm-test.inc (IGNORE_RESULT): New macro.
2032         (check_float_internal): Do not check numerical result if flag
2033         IGNORE_RESULT set.
2034         (check_complex): Pass through IGNORE_RESULT to second
2035         check_float_internal call.
2036         (check_int): Do not check numerical result if flag IGNORE_RESULT
2037         set.
2038         (check_long): Likewise.
2039         (check_bool): Likewise.
2040         (check_longlong): Likewise.
2041         (lrint_test_data): Add tests of infinite and NaN arguments.
2042         (lrint_tonearest_test_data): Likewise.
2043         (lrint_towardzero_test_data): Likewise.
2044         (lrint_downward_test_data): Likewise.
2045         (lrint_upward_test_data): Likewise.
2046         (llrint_test_data): Likewise.
2047         (llrint_tonearest_test_data): Likewise.
2048         (llrint_towardzero_test_data): Likewise.
2049         (llrint_downward_test_data): Likewise.
2050         (llrint_upward_test_data): Likewise.
2051         (lround_test_data): Likewise.
2052         (llround_test_data): Likewise.
2054         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2055         (ERRNO_UNCHANGED): Update value.
2056         (ERRNO_EDOM): Likewise.
2057         (ERRNO_ERANGE): Likewise.
2058         (NO_TEST_INLINE_FLOAT): New macro.
2059         (NO_TEST_INLINE_DOUBLE): Likewise.
2060         (enable_test): New function.
2061         (RUN_TEST_f_f): Check enable_test before running test.
2062         (RUN_TEST_2_f): Likewise.
2063         (RUN_TEST_fff_f): Likewise.
2064         (RUN_TEST_c_f): Likewise.
2065         (RUN_TEST_f_f1): Likewise.
2066         (RUN_TEST_fF_f1): Likewise.
2067         (RUN_TEST_fI_f1): Likewise.
2068         (RUN_TEST_ffI_f1): Likewise.
2069         (RUN_TEST_c_c): Likewise.
2070         (RUN_TEST_cc_c): Likewise.
2071         (RUN_TEST_f_i): Likewise.
2072         (RUN_TEST_f_i_tg): Likewise.
2073         (RUN_TEST_ff_i_tg): Likewise.
2074         (RUN_TEST_f_b): Likewise.
2075         (RUN_TEST_f_b_tg): Likewise.
2076         (RUN_TEST_f_l): Likewise.
2077         (RUN_TEST_f_L): Likewise.
2078         (RUN_TEST_fFF_11): Likewise.
2079         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2080         conditionals.
2081         (cosh_test_data): Likewise.
2082         (exp_test_data): Likewise.
2083         (expm1_test_data): Likewise.
2084         (hypot_test_data): Likewise.
2085         (pow_test_data): Likewise.
2086         (sinh_test_data): Likewise.
2087         (tanh_test_data): Likewise.
2088         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2089         flags argument.
2091         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2092         tests with quiet NaN input and output.
2093         (acosh_test_data): Likewise.
2094         (asin_test_data): Likewise.
2095         (asinh_test_data): Likewise.
2096         (atan_test_data): Likewise.
2097         (atanh_test_data): Likewise.
2098         (atan2_test_data): Likewise.
2099         (cbrt_test_data): Likewise.
2100         (cos_test_data): Likewise.
2101         (cosh_test_data): Likewise.
2102         (erf_test_data): Likewise.
2103         (erfc_test_data): Likewise.
2104         (exp_test_data): Likewise.
2105         (exp10_test_data): Likewise.
2106         (exp2_test_data): Likewise.
2107         (expm1_test_data): Likewise.
2108         (hypot_test_data): Likewise.
2109         (j0_test_data): Likewise.
2110         (j1_test_data): Likewise.
2111         (jn_test_data): Likewise.
2112         (lgamma_test_data): Likewise.
2113         (log_test_data): Likewise.
2114         (log10_test_data): Likewise.
2115         (log1p_test_data): Likewise.
2116         (log2_test_data): Likewise.
2117         (pow_test_data): Likewise.
2118         (scalb_test_data): Likewise.
2119         (sin_test_data): Likewise.
2120         (sincos_test_data): Likewise.
2121         (sinh_test_data): Likewise.
2122         (tan_test_data): Likewise.
2123         (tanh_test_data): Likewise.
2124         (tgamma_test_data): Likewise.
2125         (y0_test_data): Likewise.
2126         (y1_test_data): Likewise.
2127         (yn_test_data): Likewise.
2129         [BZ #16167]
2130         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2131         argument being NaN and avoid computations with second argument in
2132         that case.
2133         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2134         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2135         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2137 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
2139         * locale/iso-639.def: Add Chitwani Tharu (the).
2141 2013-11-14  Andreas Schwab  <schwab@suse.de>
2143         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2144         word instead of empty string.
2146 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2149         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2151         (__fe_nomask_env): Likewise.
2153 2013-11-13  Steve Ellcey  <sellcey@mips.com>
2155         * benchtests/bench-timing.h: Include time.h.
2157 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2159         [BZ #15997]
2160         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2161         to 3.4.0 for x32.
2162         * sysdeps/unix/sysv/linux/configure: Regenerated.
2164 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
2166         [BZ #16151]
2167         * stdlib/strtod_l.c (round_and_return): Do not consider
2168         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2169         exponent one less than half the least subnormal exponent.
2170         * stdlib/test-strtod-round-data: Add more tests.
2171         * stdlib/tst-strtod-round.c (tests): Regenerated.
2173 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2175         [BZ #14143]
2176         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2177         (__fe_mask_env): Likewise.
2178         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2179         libm_hidden_proto and add function prototype.
2180         (__fe_mask_env): Add function prototype.
2181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2182         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2184         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2186         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2188 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2190         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2191         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2193 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2195         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2196         of htab_find_slot().
2198 2013-11-11  David S. Miller  <davem@davemloft.net>
2200         [BZ #16150]
2201         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2202         symbol in the non-vis3 case in static builds.
2203         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2204         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2205         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2206         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2208 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2210         [BZ #387]
2211         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2212         it is empty.
2214 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2216         * benchtests/Makefile: Add bench-strtod.
2217         * benchtests/bench-strtod.c: New file: strtod benchtest
2219 2013-11-11  Andreas Schwab  <schwab@suse.de>
2221         [BZ #16153]
2222         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2223         terminating NUL in key length.
2225 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2227         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2228         Add artificial ODP entry for vDSO symbol for PPC64.
2229         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2230         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2232 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2234         [BZ #15374]
2235         * nss/getent.c (services_keys): Recognize services starting with digit.
2237 2013-11-06  David S. Miller  <davem@davemloft.net>
2239         [BZ #15985]
2240         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2241         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2243 2013-11-06  Will Newton  <will.newton@linaro.org>
2245         * manual/memory.texi (Malloc Examples): Remove register
2246         keyword from examples.
2248 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
2250         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2252 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
2254         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2255         depending on [__GCC_IEC_559 > 0].
2256         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2257         depending on [__GCC_IEC_559_COMPLEX > 0].
2259 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
2261         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2262         to iso-639.def.
2264 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
2266         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2268 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
2270         [BZ #16112]
2271         * malloc/malloc (malloc_info): Do not handle first bin as
2272         special case.
2274 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
2276         * locale/iso-639.def: Add Central Nahuatl (nhn).
2278 2013-11-01  Bruno Haible  <bruno@clisp.org>
2280         [BZ #7003]
2281         * manual/math.texi (BSD Random): Specify range upper bound as
2282         in POSIX.
2284 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
2286         * locale/iso-639.def: Add Meadow Mari (mhr).
2288 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2290         [BZ #14752], [BZ #15763]
2291         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2292         Validate name.
2293         * rt/tst_shm.c: Add test for escaping directory.
2295 2013-10-31  Andreas Schwab  <schwab@suse.de>
2297         [BZ #15917]
2298         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2299         followed by 'x' as part of digit sequence.
2300         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2302 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2304         [BZ #16037]
2305         * configure.ac: allow GNU Make 4.0 and greater.
2306         * configure: Regenerated.
2308 2013-10-30  Will Newton  <will.newton@linaro.org>
2310         [BZ #16038]
2311         * malloc/hooks.c (memalign_check): Limit alignment to the
2312         maximum representable power of two.
2313         * malloc/malloc.c (__libc_memalign): Likewise.
2314         * malloc/tst-memalign.c (do_test): Add test for very
2315         large alignment values.
2316         * malloc/tst-posix_memalign.c (do_test): Likewise.
2318 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2320         [BZ #11087]
2321         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2322         (munmap_chunk): Likewise.
2323         (mremap_chunk): Likewise.
2325 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2327         [BZ #15799]
2328         * stdlib/div.c (div): Remove obsolete code.
2329         * stdlib/ldiv.c (ldiv): Likewise.
2330         * stdlib/lldiv.c (lldiv): Likewise.
2332 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2334         [BZ #16071]
2335         * nss/nss_files/files-XXX.c (get_contents_ret): New
2336         enumerator.
2337         (get_contents): New function.
2338         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2340 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2342         * configure.in: Moved to ...
2343         * configure.ac: ... here. Change reference to configure.in
2344         to configure.ac.
2345         * sysdeps/arm/preconfigure.ac: ... here.
2346         configure.in to configure.ac.
2347         * sysdeps/gnu/configure.in: Moved to ...
2348         * sysdeps/gnu/configure.ac: ... here.
2349         * sysdeps/i386/configure.in: Moved to ...
2350         * sysdeps/i386/configure.ac: ... here.
2351         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2352         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2353         * sysdeps/mach/configure.in: Moved to ...
2354         * sysdeps/mach/configure.ac: ... here.
2355         * sysdeps/mach/hurd/configure.in: Moved to ...
2356         * sysdeps/mach/hurd/configure.ac: ... here.
2357         * sysdeps/powerpc/configure.in: Moved to ...
2358         * sysdeps/powerpc/configure.ac: ... here.
2359         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2360         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2361         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2362         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2363         * sysdeps/s390/s390-32/configure.in: Moved to ...
2364         * sysdeps/s390/s390-32/configure.ac: ... here.
2365         * sysdeps/s390/s390-64/configure.in: Moved to ...
2366         * sysdeps/s390/s390-64/configure.ac: ... here.
2367         * sysdeps/sh/configure.in: Moved to ...
2368         * sysdeps/sh/configure.ac: ... here.
2369         * sysdeps/sparc/configure.in: Moved to ...
2370         * sysdeps/sparc/configure.ac: ... here.
2371         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2372         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2373         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2374         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2375         * sysdeps/x86_64/configure.in: Moved to ...
2376         * sysdeps/x86_64/configure.ac: ... here.
2377         * sysdeps/x86_64/preconfigure.in: Moved to ...
2378         * sysdeps/x86_64/preconfigure.ac: ... here.
2379         * aclocal.m4: Change reference to configure.in to configure.ac.
2380         * config.h.in: Likewise.
2381         * manual/install.texi: Likewise.
2382         * manual/maint.texi: Likewise.
2383         * Makefile: Likewise.
2384         * malloc/Makefile: Likewise.
2385         * nscd/Makefile: Likewise.
2386         * Makeconfig: Change reference to configure.in and
2387         preconfigure.in to configure.ac and preconfigure.ac
2388         respectively.
2389         * INSTALL: Regenerated.
2390         * configure: Likewise.
2391         * sysdeps/gnu/configure: Likewise.
2392         * sysdeps/i386/configure: Likewise.
2393         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2394         * sysdeps/mach/configure: Likewise.
2395         * sysdeps/mach/hurd/configure: Likewise.
2396         * sysdeps/powerpc/configure: Likewise.
2397         * sysdeps/powerpc/powerpc32/configure: Likewise.
2398         * sysdeps/powerpc/powerpc64/configure: Likewise.
2399         * sysdeps/s390/s390-32/configure: Likewise.
2400         * sysdeps/s390/s390-64/configure: Likewise.
2401         * sysdeps/sh/configure: Likewise.
2402         * sysdeps/sparc/configure: Likewise.
2403         * sysdeps/unix/sysv/linux/configure: Likewise.
2404         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2405         * sysdeps/x86_64/configure: Likewise.
2406         * sysdeps/x86_64/preconfigure: Likewise.
2408 2013-10-29  Andreas Schwab  <schwab@suse.de>
2410         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2412 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2414         * benchtests/pow-inputs: Add new inputs.
2416         * benchtests/exp-inputs: Add new inputs.
2418         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2419         conditional check for return value.
2420         (__cos32): Likewise.
2422 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2424         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2425         to provide a boost for large inputs with word alignment.
2426         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2427         implementation based on optimized PPC64 strcpy.
2428         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2429         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2430         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2431         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2433 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2435         [BZ #2801]
2436         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2438 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2440         [BZ #14876]
2441         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2442         * time/tst-strptime.c (day_tests): Add testcase.
2444 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2446         [BZ #14029]
2447         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2449 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2451         [BZ #16074]
2452         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2453         MAP_FAILED on error.
2455 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2457         [BZ #16072]
2458         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2459         heap for large requests.
2461 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2463         [BZ #9954]
2464         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2465         result if the result has no associated interface.
2466         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2467         interface for all 127.X.Y.Z addresses.
2469 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2471         * locale/iso-639.def: Add Ligurian (lij)
2473 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2475         [BZ #15825]
2476         * sunrpc/rpc_main.c: Document rpcgen -5.
2478 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2480         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2482 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2484         [BZ #10278]
2485         * posix/glob.c: Match only directories when trailing slash is present.
2486         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2487         (main): Add testcase.
2489 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2491         [BZ #15670]
2492         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2494 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2496         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2497         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2498         AUTH_DES and cindex for FIPS 140-2.
2499         (DES Encryption): Add cindex FIPS 46-3.
2501         * locale/locarchive.h (struct locarhandle): Add fname.
2502         * locale/programs/localedef.c (main): Pass ARGV[remaining]
2503         if an optional argument was specified to --list-archive,
2504         otherwise NULL.
2505         * locale/programs/locarchive.c (show_archive_content): Take new
2506         argument fname and pass it via ah.fname to open_archive.
2507         * locale/programs/localedef.h: Update decl.
2508         (open_archive): If AH->fname is non-null, open that file
2509         rather than the default file name, and don't ignore ENOENT.
2510         (create_archive): Set AH.fname to NULL.
2511         (delete_locales_from_archive): Likewise.
2512         (add_locales_to_archive): Likewise.
2513         * locale/programs/locfile.c (write_all_categories): Likewise.
2515 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
2516             Aldy Hernandez  <aldyh@redhat.com>
2518         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2519         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2520         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2521         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2522         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2523         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2524         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2525         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2526         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2527         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2528         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2529         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2530         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2531         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2532         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2533         Likewise.
2534         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2535         Likewise.
2536         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2537         Likewise.
2538         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2539         Likewise.
2540         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2541         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2542         Likewise.
2543         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2544         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2545         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2546         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2547         Likewise.
2548         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2549         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2550         * sysdeps/powerpc/preconfigure: Likewise.
2551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2552         Likewise.
2553         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2554         Replace contents of file by #include of <fenv_libc.h>.
2555         * sysdeps/powerpc/soft-fp/sfp-machine.h
2556         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2557         and <sys/prctl.h>.
2558         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2559         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2560         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2561         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2562         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2563         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2565         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2566         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2567         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2568         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2569         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2571         Allow copysignl PLT reference to be missing.
2573 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
2574             Joseph Myers  <joseph@codesourcery.com
2576         [BZ #15948]
2577         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2578         single character.
2579         (add_to_tablewc): Assert sequence of wide characters is nonempty.
2581 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2583         * elf/tst-tls-dlinfo.c: Don't include tls.h.
2584         * elf/tst-tls1.c: Likewise.
2585         * elf/tst-tls10.h: Likewise.
2586         * elf/tst-tls14.c: Likewise.
2587         * elf/tst-tls2.c: Likewise.
2588         * elf/tst-tls3.c: Likewise.
2589         * elf/tst-tls4.c: Likewise.
2590         * elf/tst-tls5.c: Likewise.
2591         * elf/tst-tls6.c: Likewise.
2592         * elf/tst-tls7.c: Likewise.
2593         * elf/tst-tls8.c: Likewise.
2594         * elf/tst-tls9.c: Likewise.
2595         * elf/tst-tlsmod1.c: Likewise.
2596         * elf/tst-tlsmod13.c: Likewise.
2597         * elf/tst-tlsmod13a.c: Likewise.
2598         * elf/tst-tlsmod14a.c: Likewise.
2599         * elf/tst-tlsmod16a.c: Likewise.
2600         * elf/tst-tlsmod16b.c: Likewise.
2601         * elf/tst-tlsmod2.c: Likewise.
2602         * elf/tst-tlsmod3.c: Likewise.
2603         * elf/tst-tlsmod4.c: Likewise.
2604         * elf/tst-tlsmod5.c: Likewise.
2605         * elf/tst-tlsmod6.c: Likewise.
2607 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
2609         [BZ #12486]
2610         * malloc/malloc.c: remove checks for statistics.
2612 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2614         [BZ #15277]
2615         * inet/inet_net.c (inet_network): Detect additional invalid strings.
2616         * inet/tst-network.c: Add testcase.
2618 2013-10-17  Andreas Schwab  <schwab@suse.de>
2620         [BZ #15218]
2621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2622         to determine canonical name.
2624 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2626         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2627         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2628         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2629         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2630         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2631         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2632         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2633         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2634         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2635         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2636         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2637         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2638         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2639         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2640         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2641         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2642         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2643         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2644         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2645         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2646         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2647         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2648         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2649         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2650         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2651         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2652         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2653         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2654         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2655         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2656         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2657         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2658         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2659         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2660         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2661         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2662         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2663         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2664         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2665         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2666         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2667         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2668         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2669         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2670         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2671         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2672         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2673         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2674         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2675         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2676         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2677         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2678         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2679         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2680         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2681         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2682         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2683         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2685 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
2687         [BZ #16041]
2688         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2689         make result into a quiet NaN.
2691 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
2693         * soft-fp/adddf3.c: Fix horizontal whitespace.
2694         * soft-fp/addsf3.c: Likewise.
2695         * soft-fp/addtf3.c: Likewise.
2696         * soft-fp/divdf3.c: Likewise.
2697         * soft-fp/divsf3.c: Likewise.
2698         * soft-fp/divtf3.c: Likewise.
2699         * soft-fp/double.h: Likewise.
2700         * soft-fp/eqdf2.c: Likewise.
2701         * soft-fp/eqsf2.c: Likewise.
2702         * soft-fp/eqtf2.c: Likewise.
2703         * soft-fp/extenddftf2.c: Likewise.
2704         * soft-fp/extended.h: Likewise.
2705         * soft-fp/extendsfdf2.c: Likewise.
2706         * soft-fp/extendsftf2.c: Likewise.
2707         * soft-fp/extendxftf2.c: Likewise.
2708         * soft-fp/fixdfdi.c: Likewise.
2709         * soft-fp/fixdfsi.c: Likewise.
2710         * soft-fp/fixdfti.c: Likewise.
2711         * soft-fp/fixsfdi.c: Likewise.
2712         * soft-fp/fixsfsi.c: Likewise.
2713         * soft-fp/fixsfti.c: Likewise.
2714         * soft-fp/fixtfdi.c: Likewise.
2715         * soft-fp/fixtfsi.c: Likewise.
2716         * soft-fp/fixtfti.c: Likewise.
2717         * soft-fp/fixunsdfdi.c: Likewise.
2718         * soft-fp/fixunsdfsi.c: Likewise.
2719         * soft-fp/fixunsdfti.c: Likewise.
2720         * soft-fp/fixunssfdi.c: Likewise.
2721         * soft-fp/fixunssfsi.c: Likewise.
2722         * soft-fp/fixunssfti.c: Likewise.
2723         * soft-fp/fixunstfdi.c: Likewise.
2724         * soft-fp/fixunstfsi.c: Likewise.
2725         * soft-fp/fixunstfti.c: Likewise.
2726         * soft-fp/floatdidf.c: Likewise.
2727         * soft-fp/floatdisf.c: Likewise.
2728         * soft-fp/floatditf.c: Likewise.
2729         * soft-fp/floatsidf.c: Likewise.
2730         * soft-fp/floatsisf.c: Likewise.
2731         * soft-fp/floatsitf.c: Likewise.
2732         * soft-fp/floattidf.c: Likewise.
2733         * soft-fp/floattisf.c: Likewise.
2734         * soft-fp/floattitf.c: Likewise.
2735         * soft-fp/floatundidf.c: Likewise.
2736         * soft-fp/floatundisf.c: Likewise.
2737         * soft-fp/floatunditf.c: Likewise.
2738         * soft-fp/floatunsidf.c: Likewise.
2739         * soft-fp/floatunsisf.c: Likewise.
2740         * soft-fp/floatunsitf.c: Likewise.
2741         * soft-fp/floatuntidf.c: Likewise.
2742         * soft-fp/floatuntisf.c: Likewise.
2743         * soft-fp/floatuntitf.c: Likewise.
2744         * soft-fp/fmadf4.c: Likewise.
2745         * soft-fp/fmasf4.c: Likewise.
2746         * soft-fp/fmatf4.c: Likewise.
2747         * soft-fp/gedf2.c: Likewise.
2748         * soft-fp/gesf2.c: Likewise.
2749         * soft-fp/getf2.c: Likewise.
2750         * soft-fp/ledf2.c: Likewise.
2751         * soft-fp/lesf2.c: Likewise.
2752         * soft-fp/letf2.c: Likewise.
2753         * soft-fp/muldf3.c: Likewise.
2754         * soft-fp/mulsf3.c: Likewise.
2755         * soft-fp/multf3.c: Likewise.
2756         * soft-fp/negdf2.c: Likewise.
2757         * soft-fp/negsf2.c: Likewise.
2758         * soft-fp/negtf2.c: Likewise.
2759         * soft-fp/op-1.h: Likewise.
2760         * soft-fp/op-2.h: Likewise.
2761         * soft-fp/op-4.h: Likewise.
2762         * soft-fp/op-8.h: Likewise.
2763         * soft-fp/op-common.h: Likewise.
2764         * soft-fp/quad.h: Likewise.
2765         * soft-fp/single.h: Likewise.
2766         * soft-fp/soft-fp.h: Likewise.
2767         * soft-fp/sqrtdf2.c: Likewise.
2768         * soft-fp/sqrtsf2.c: Likewise.
2769         * soft-fp/sqrttf2.c: Likewise.
2770         * soft-fp/subdf3.c: Likewise.
2771         * soft-fp/subsf3.c: Likewise.
2772         * soft-fp/subtf3.c: Likewise.
2773         * soft-fp/truncdfsf2.c: Likewise.
2774         * soft-fp/trunctfdf2.c: Likewise.
2775         * soft-fp/trunctfsf2.c: Likewise.
2776         * soft-fp/trunctfxf2.c: Likewise.
2777         * soft-fp/unorddf2.c: Likewise.
2778         * soft-fp/unordsf2.c: Likewise.
2779         * soft-fp/unordtf2.c: Likewise.
2781 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
2783         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2784         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2786 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
2788         * elf/dl-libc.c: Clear initfini list after freeing.
2790 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
2792         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2793         * soft-fp/addsf3.c: Likewise.
2794         * soft-fp/addtf3.c: Likewise.
2795         * soft-fp/divdf3.c: Likewise.
2796         * soft-fp/divsf3.c: Likewise.
2797         * soft-fp/divtf3.c: Likewise.
2798         * soft-fp/double.h: Likewise.
2799         * soft-fp/eqdf2.c: Likewise.
2800         * soft-fp/eqsf2.c: Likewise.
2801         * soft-fp/eqtf2.c: Likewise.
2802         * soft-fp/extenddftf2.c: Likewise.
2803         * soft-fp/extended.h: Likewise.
2804         * soft-fp/extendsfdf2.c: Likewise.
2805         * soft-fp/extendsftf2.c: Likewise.
2806         * soft-fp/extendxftf2.c: Likewise.
2807         * soft-fp/fixdfdi.c: Likewise.
2808         * soft-fp/fixdfsi.c: Likewise.
2809         * soft-fp/fixdfti.c: Likewise.
2810         * soft-fp/fixsfdi.c: Likewise.
2811         * soft-fp/fixsfsi.c: Likewise.
2812         * soft-fp/fixsfti.c: Likewise.
2813         * soft-fp/fixtfdi.c: Likewise.
2814         * soft-fp/fixtfsi.c: Likewise.
2815         * soft-fp/fixtfti.c: Likewise.
2816         * soft-fp/fixunsdfdi.c: Likewise.
2817         * soft-fp/fixunsdfsi.c: Likewise.
2818         * soft-fp/fixunsdfti.c: Likewise.
2819         * soft-fp/fixunssfdi.c: Likewise.
2820         * soft-fp/fixunssfsi.c: Likewise.
2821         * soft-fp/fixunssfti.c: Likewise.
2822         * soft-fp/fixunstfdi.c: Likewise.
2823         * soft-fp/fixunstfsi.c: Likewise.
2824         * soft-fp/fixunstfti.c: Likewise.
2825         * soft-fp/floatdidf.c: Likewise.
2826         * soft-fp/floatdisf.c: Likewise.
2827         * soft-fp/floatditf.c: Likewise.
2828         * soft-fp/floatsidf.c: Likewise.
2829         * soft-fp/floatsisf.c: Likewise.
2830         * soft-fp/floatsitf.c: Likewise.
2831         * soft-fp/floattidf.c: Likewise.
2832         * soft-fp/floattisf.c: Likewise.
2833         * soft-fp/floattitf.c: Likewise.
2834         * soft-fp/floatundidf.c: Likewise.
2835         * soft-fp/floatundisf.c: Likewise.
2836         * soft-fp/floatunsidf.c: Likewise.
2837         * soft-fp/floatunsisf.c: Likewise.
2838         * soft-fp/floatuntidf.c: Likewise.
2839         * soft-fp/floatuntisf.c: Likewise.
2840         * soft-fp/floatuntitf.c: Likewise.
2841         * soft-fp/fmadf4.c: Likewise.
2842         * soft-fp/fmasf4.c: Likewise.
2843         * soft-fp/fmatf4.c: Likewise.
2844         * soft-fp/gedf2.c: Likewise.
2845         * soft-fp/gesf2.c: Likewise.
2846         * soft-fp/getf2.c: Likewise.
2847         * soft-fp/ledf2.c: Likewise.
2848         * soft-fp/lesf2.c: Likewise.
2849         * soft-fp/letf2.c: Likewise.
2850         * soft-fp/muldf3.c: Likewise.
2851         * soft-fp/mulsf3.c: Likewise.
2852         * soft-fp/multf3.c: Likewise.
2853         * soft-fp/negdf2.c: Likewise.
2854         * soft-fp/negsf2.c: Likewise.
2855         * soft-fp/negtf2.c: Likewise.
2856         * soft-fp/op-1.h: Likewise.
2857         * soft-fp/op-2.h: Likewise.
2858         * soft-fp/op-4.h: Likewise.
2859         * soft-fp/op-8.h: Likewise.
2860         * soft-fp/op-common.h: Likewise.
2861         * soft-fp/quad.h: Likewise.
2862         * soft-fp/single.h: Likewise.
2863         * soft-fp/soft-fp.h: Likewise.
2864         * soft-fp/sqrtdf2.c: Likewise.
2865         * soft-fp/sqrtsf2.c: Likewise.
2866         * soft-fp/sqrttf2.c: Likewise.
2867         * soft-fp/subdf3.c: Likewise.
2868         * soft-fp/subsf3.c: Likewise.
2869         * soft-fp/subtf3.c: Likewise.
2870         * soft-fp/truncdfsf2.c: Likewise.
2871         * soft-fp/trunctfdf2.c: Likewise.
2872         * soft-fp/trunctfsf2.c: Likewise.
2873         * soft-fp/trunctfxf2.c: Likewise.
2874         * soft-fp/unorddf2.c: Likewise.
2875         * soft-fp/unordsf2.c: Likewise.
2876         * soft-fp/unordtf2.c: Likewise.
2878 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
2880         [BZ #15672]
2881         * misc/error.c (error_tail): Fix possible buffer overflow.
2883 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
2885         [BZ #13028]
2886         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2887         address.
2889 2013-10-14  P. J. McDermott  <pj@pehjota.net>
2891         [BZ #832]
2892         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
2893         testing pipefail option.
2895 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
2897         * soft-fp/double.h: Indent preprocessor directives inside #if.
2898         * soft-fp/extended.h: Likewise.
2899         * soft-fp/op-2.h: Likewise.
2900         * soft-fp/op-4.h: Likewise.
2901         * soft-fp/op-common.h: Likewise.
2902         * soft-fp/quad.h: Likewise.
2903         * soft-fp/single.h: Likewise.
2904         * soft-fp/soft-fp.h: Likewise.
2906 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
2908         * iconv/iconv_prog.c: Fix typos.
2909         * stdio-common/psiginfo-data.h: Likewise.
2911 2013-10-12   Reuben Thomas <rrt@sc3d.org>
2913         [BZ #15764]
2914         * locale/setlocale.c: Fix typo.
2916 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
2918         [BZ #16036]
2919         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2920         signaling NaN arguments.
2921         * soft-fp/unordsf2.c (__unordsf2): Likewise.
2922         * soft-fp/unordtf2.c (__unordtf2): Likewise.
2924         [BZ #14910]
2925         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2926         unordered operands.
2927         * soft-fp/gesf2.c (__gesf2): Likewise.
2928         * soft-fp/getf2.c (__getf2): Likewise.
2929         * soft-fp/ledf2.c (__ledf2): Likewise.
2930         * soft-fp/lesf2.c (__lesf2): Likewise.
2931         * soft-fp/letf2.c (__letf2): Likewise.
2933         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2934         * soft-fp/eqsf2.c (__eqsf2): Likewise.
2935         * soft-fp/eqtf2.c (__eqtf2): Likewise.
2936         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2937         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2938         * soft-fp/fixdfti.c (__fixdfti): Likewise.
2939         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2940         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2941         * soft-fp/fixsfti.c (__fixsfti): Likewise.
2942         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2943         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2944         * soft-fp/fixtfti.c (__fixtfti): Likewise.
2945         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2946         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2947         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2948         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2949         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2950         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2951         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2952         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2953         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2954         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2955         * soft-fp/floatdisf.c (__floatdisf): Likewise.
2956         * soft-fp/floatsisf.c (__floatsisf): Likewise.
2957         * soft-fp/floattidf.c (__floattidf): Likewise.
2958         * soft-fp/floattisf.c (__floattisf): Likewise.
2959         * soft-fp/floattitf.c (__floattitf): Likewise.
2960         * soft-fp/floatundidf.c (__floatundidf): Likewise.
2961         * soft-fp/floatundisf.c (__floatundisf): Likewise.
2962         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2963         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2964         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2965         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2966         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2967         * soft-fp/gesf2.c (__gesf2): Likewise.
2968         * soft-fp/getf2.c (__getf2): Likewise.
2969         * soft-fp/ledf2.c (__ledf2): Likewise.
2970         * soft-fp/lesf2.c (__lesf2): Likewise.
2971         * soft-fp/letf2.c (__letf2): Likewise.
2973         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2974         Undefine and redefine.
2975         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2976         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2977         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2978         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2979         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2980         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2981         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2982         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2983         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2984         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2985         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2986         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2987         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2988         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2989         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2991         [BZ #16032]
2992         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2993         without decrementing exponent if mantissa >= that for the
2994         denominator, not >.
2995         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2996         denominator, not >.  Decrement exponent in < case instead of
2997         incrementing in >= case.
2998         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2999         without decrementing exponent if mantissa >= that for the
3000         denominator, not >.
3002         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3003         computing saturated result for unsigned overflow.
3005 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3006             Jeff Law  <law@redhat.com>
3008         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3009         (atan2Mp): Add systemtap probe marker.
3010         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3011         (__ieee754_log): Add systemtap probe marker.
3012         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3013         (atanMp): Add systemtap probe marker.
3014         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3015         (tanMp): Add systemtap probe marker.
3016         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3017         (__slowexp): Add systemtap probe marker.
3018         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3019         (__slowpow): Add systemtap probe marker.
3020         * manual/probes.texi: Document probes.
3022 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3024         [BZ #15362]
3025         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3026         written.
3027         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3028         written.
3029         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3030         written to buffer but not flushed.
3031         * libio/iofwrite_u.c:  Likewise.
3032         * libio/iopadn.c:  Return bytes returned even if EOF was
3033         encountered.
3034         * libio/iowpadn.c:  Likewise.
3035         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3036         if _IO_padn does not write the whole buffer.
3037         [!COMPILE_WPRINTF] (PAD): Likewise.
3039 2013-10-10  David S. Miller  <davem@davemloft.net>
3041         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3042         directory block.
3044 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3046         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3047         instead of FSF address.
3048         * soft-fp/fixdfti.c: Likewise.
3049         * soft-fp/fixsfti.c: Likewise.
3050         * soft-fp/fixtfti.c: Likewise.
3051         * soft-fp/fixunsdfti.c: Likewise.
3052         * soft-fp/fixunssfti.c: Likewise.
3053         * soft-fp/fixunstfti.c: Likewise.
3054         * soft-fp/floattidf.c: Likewise.
3055         * soft-fp/floattisf.c: Likewise.
3056         * soft-fp/floattitf.c: Likewise.
3057         * soft-fp/floatuntidf.c: Likewise.
3058         * soft-fp/floatuntisf.c: Likewise.
3059         * soft-fp/floatuntitf.c: Likewise.
3060         * soft-fp/trunctfxf2.c: Likewise.
3062         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3063         * soft-fp/fixdfti.c: Likewise.
3064         * soft-fp/fixsfti.c: Likewise.
3065         * soft-fp/fixtfti.c: Likewise.
3066         * soft-fp/fixunsdfti.c: Likewise.
3067         * soft-fp/fixunssfti.c: Likewise.
3068         * soft-fp/fixunstfti.c: Likewise.
3069         * soft-fp/floattidf.c: Likewise.
3070         * soft-fp/floattisf.c: Likewise.
3071         * soft-fp/floattitf.c: Likewise.
3072         * soft-fp/floatuntidf.c: Likewise.
3073         * soft-fp/floatuntisf.c: Likewise.
3074         * soft-fp/floatuntitf.c: Likewise.
3075         * soft-fp/trunctfxf2.c: Likewise.
3077 2013-10-10  David S. Miller  <davem@davemloft.net>
3079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3081 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
3083         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3084         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3085         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3086         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3087         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3088         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3089         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3091         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3092         for NaNs before doing comparisons on argument.
3093         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3094         Likewise.
3096 2013-10-10  Will Newton  <will.newton@linaro.org>
3098         * malloc/hooks.c (memalign_check): Ensure the value of bytes
3099         passed to _int_memalign does not overflow.
3101 2013-10-10  Torvald Riegel  <triegel@redhat.com>
3103         * scripts/bench.pl: Add include-sources directive.
3104         * benchtests/README: Update documentation.
3106 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3108         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3109         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3110         instead of FP_INIT_ROUNDMODE.
3111         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3112         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3114         [BZ #16034]
3115         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
3116         copy class of input value.
3117         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
3118         not handle exceptions.
3119         * soft-fp/negsf2.c (__negsf2): Likewise.
3120         * soft-fp/negtf2.c (__negtf2): Likewise.
3121         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3123 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
3125         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3126         semicolon.  From Linux kernel.
3128 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
3130         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3132 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
3134         [BZ #156]
3135         * manual/socket.texi: Added statement about buffer
3136         for gethostbyname2_r.
3138 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
3140         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3141         Use .p2align directive instead, throughout.
3142         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3143         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3144         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3145         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3146         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3147         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3148         * sysdeps/x86_64/strchr.S: Likewise.
3149         * sysdeps/x86_64/strrchr.S: Likewise.
3151 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3153         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3155         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3157         * sysdeps/generic/math_private.h (__mpsin1): Remove
3158         declaration.
3159         (__mpcos1): Likewise.
3160         (__mpsin): New argument __range_reduce.
3161         (__mpcos): Likewise.
3162         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3163         (slow): Use __mpsin and __mpcos.
3164         (slow1): Likewise.
3165         (slow2): Likewise.
3166         (sloww): Likewise.
3167         (sloww1): Likewise.
3168         (sloww2): Likewise.
3169         (bsloww): Likewise.
3170         (bsloww1): Likewise.
3171         (bsloww2): Likewise.
3172         (cslow2): Likewise.
3173         (csloww): Likewise.
3174         (csloww1): Likewise.
3175         (csloww2): Likewise.
3176         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3177         range_reduce.  Merge in __mpsin1.
3178         (__mpcos): Likewise.
3179         (__mpsin1): Remove.
3180         (__mpcos1): Likewise.
3182 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3184         * locale/loadlocale.c (_nl_intern_locale_data): Use
3185         LOCFILE_ALIGNED_P.
3186         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3187         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3188         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3189         obstack data is appropriately aligned.
3190         (obstack_int32_grow_fast): Likewise.
3191         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3192         * locale/programs/locfile.c (add_locale_uint32): Likewise.
3193         (add_locale_uint32_array): Likewise.
3195 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3197         * benchtests/Makefile: Remove ARGLIST and RET variables.
3198         ($(objpfx)bench-%.c): Pass only function name to the script.
3199         * benchtests/README: Update documentation.
3200         * benchtests/acos-inputs: Add new directives.
3201         * benchtests/acosh-inputs: Likewise.
3202         * benchtests/asin-inputs: Likewise.
3203         * benchtests/asinh-inputs: Likewise.
3204         * benchtests/atan-inputs: Likewise.
3205         * benchtests/atanh-inputs: Likewise.
3206         * benchtests/cos-inputs: Likewise.
3207         * benchtests/cosh-inputs: Likewise.
3208         * benchtests/exp-inputs: Likewise.
3209         * benchtests/log-inputs: Likewise.
3210         * benchtests/pow-inputs: Likewise.
3211         * benchtests/rint-inputs: Likewise.
3212         * benchtests/sin-inputs: Likewise.
3213         * benchtests/sinh-inputs: Likewise.
3214         * benchtests/tan-inputs: Likewise.
3215         * benchtests/tanh-inputs: Likewise.
3216         * scripts/bench.pl: Add support for new directives.
3218 2013-10-07  Alan Modra  <amodra@gmail.com>
3220         * README: Fix careless merge.
3222 2013-10-05  Alan Modra  <amodra@gmail.com>
3224         * NEWS: Mention powerpc64le support and bugs fixed.
3225         * README: Both big-endian and little-endian powerpc64 supported.
3227 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3229         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3230         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3231         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3232         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3234 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
3236         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3237         match prototype.
3239 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
3241         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3242         Move -mhard-float appending from
3243         ports/sysdeps/powerpc/powerpc32/Makefile.
3244         [$(with-fp) = yes] (ASFLAGS): Likewise.
3245         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3246         * sysdeps/powerpc/nofpu: Move directory from
3247         ports/sysdeps/powerpc/nofpu.
3248         * sysdeps/powerpc/soft-fp: Move directory from
3249         ports/sysdeps/powerpc/soft-fp.
3250         * sysdeps/powerpc/powerpc32/405: Move directory from
3251         ports/sysdeps/powerpc/powerpc32/405.
3252         * sysdeps/powerpc/powerpc32/440: Move directory from
3253         ports/sysdeps/powerpc/powerpc32/440.
3254         * sysdeps/powerpc/powerpc32/464: Move directory from
3255         ports/sysdeps/powerpc/powerpc32/464.
3256         * sysdeps/powerpc/powerpc32/476: Move directory from
3257         ports/sysdeps/powerpc/powerpc32/476.
3258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3259         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3261         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3263         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3265         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3267         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3268         * README: Update for powerpc-*-linux-gnu software floating point
3269         support in libc.
3271         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3272         case to powerpc/powerpc32*.
3273         * sysdeps/unix/sysv/linux/configure: Regenerated.
3275         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3276         (_FPU_MASK_OM): Define as 0x04.
3277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3279         0x00c10080.
3280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3281         0x0000003c.
3282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3285         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3286         getcontext_e500.
3287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3288         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3289         setcontext_e500.
3290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3291         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3292         and setcontext_e500.
3294 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3296         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3298 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3300         * manual/threads.texi (Default Thread Attributes): Fix typo.
3302 2013-10-04  Will Newton  <will.newton@linaro.org>
3304         * malloc/Makefile: Add tst-memalign.
3305         * malloc/tst-memalign.c: New file.
3307         * malloc/tst-posix_memalign.c: Add comments.
3308         (do_test): Add comments and call free on all potentially
3309         allocated pointers. Add space after cast.
3311         * malloc/tst-pvalloc.c: Add comments.
3312         (do_test): Add comments and call free on all potentially
3313         allocated pointers. Remove duplicate check for NULL pointer.
3314         Add space after cast.
3316         * malloc/tst-valloc.c: Add comments.
3317         (do_test): Add comments and call free on all potentially
3318         allocated pointers. Remove duplicate check for NULL pointer.
3319         Add space after cast.
3321 2013-10-04  Alan Modra  <amodra@gmail.com>
3323         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3324         Use stdint types in rather than __attribute__((mode())).
3325         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3327 2013-10-04  Alan Modra  <amodra@gmail.com>
3329         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3330         Correct handling of unaligned relocs for little-endian.
3331         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3333 2013-10-04  Alan Modra  <amodra@gmail.com>
3335         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3336         * configure: Regenerate.
3337         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3338         * shlib-versions: Likewise.
3340 2013-10-04  Alan Modra  <amodra@gmail.com>
3342         * string/tester.c (test_memrchr): Increment reported test cycle.
3344 2013-10-04  Alan Modra  <amodra@gmail.com>
3346         * string/test-memcpy.c (do_one_test): When reporting errors, print
3347         string address and don't overrun end of string.
3349 2013-10-04  Alan Modra  <amodra@gmail.com>
3351         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3352         insrdi.  Make better use of reg selection to speed exit slightly.
3353         Schedule entry path a little better.  Remove useless "are we done"
3354         checks on entry to main loop.  Handle wrapping around zero address.
3355         Correct main loop count.  Handle single left-over word from main
3356         loop inline rather than by using loop_small.  Remove extra word
3357         case in loop_small caused by wrong loop count.  Add little-endian
3358         support.
3359         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3360         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3361         cache hint.
3362         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3363         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3364         support.  Avoid rlwimi.
3365         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3367 2013-10-04  Alan Modra  <amodra@gmail.com>
3369         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3370         insrdi.  Formatting.
3371         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3372         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3373         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3374         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3375         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3376         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3378 2013-10-04  Alan Modra  <amodra@gmail.com>
3380         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3381         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3382         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3383         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3384         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3385         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3386         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3387         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3388         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3389         use of regs.  Use power7 mtocrf.  Tidy function tails.
3391 2013-10-04  Alan Modra  <amodra@gmail.com>
3393         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3394         Formatting.  Consistently use rXXX register defines or rN defines.
3395         Use early exit labels that avoid restoring unused non-volatile regs.
3396         Make cr field use more consistent with rWORDn compares.  Rename
3397         regs used as shift registers for unaligned loop, using rN defines
3398         for short lifetime/multiple use regs.
3399         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3400         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3401         addi 1,1,64 to pop stack frame.  Simplify return value code.
3402         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3404 2013-10-04  Alan Modra  <amodra@gmail.com>
3406         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3407         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3408         rather than rlwimi.
3409         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3410         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3411         little-endian support.  Correct typos.
3412         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3413         rather than rlwimi.
3414         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3415         in loop and entry code to keep "and." results.
3416         (strchr): Add little-endian support.  Comment.  Move cntlzd
3417         earlier in tail.
3418         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3420 2013-10-04  Alan Modra  <amodra@gmail.com>
3422         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3423         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3424         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3425         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3427 2013-10-04  Alan Modra  <amodra@gmail.com>
3429         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3430         (rTMP): Define as r11.
3431         (strcmp): Add little-endian support.  Optimise tail.
3432         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3433         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3434         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3435         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3436         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3437         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3438         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3440 2013-10-04  Alan Modra  <amodra@gmail.com>
3442         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3443         little-endian support.  Remove unnecessary "are we done" tests.
3444         Handle "s" wrapping around zero and extremely large "size".
3445         Correct main loop count.  Handle single left-over word from main
3446         loop inline rather than by using small_loop.  Correct comments.
3447         Delete "zero" tail, use "end_max" instead.
3448         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3450 2013-10-04  Alan Modra  <amodra@gmail.com>
3452         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3453         support.  Don't branch over align.
3454         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3455         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3456         support.  Rearrange tmp reg use to suit.  Comment.
3457         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3459 2013-10-04  Alan Modra  <amodra@gmail.com>
3461         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3463 2013-10-04  Alan Modra  <amodra@gmail.com>
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3466         conditional form of branch and link when obtaining pc.
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3469 2013-10-04  Alan Modra  <amodra@gmail.com>
3471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3472         HIWORD/LOWORD.
3473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3476 2013-10-04  Alan Modra  <amodra@gmail.com>
3478         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3479         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3480         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3481         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3482         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3483         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3484         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3485         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3486         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3487         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3489 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3490             Alistair Popple <alistair@ozlabs.au.ibm.com>
3491             Alan Modra <amodra@gmail.com>
3493         [BZ #15723]
3494         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3495         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3496         _dl_hwcap access for little-endian.
3497         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3498         destroy vmx regs when saving unaligned.
3499         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3500         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
3501         destroy vmx regs when saving unaligned.
3503 2013-10-04  Alan Modra  <amodra@gmail.com>
3505         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3506         Don't use a union to pack hi/low value.
3508 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3510         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3511         for little-endian.
3512         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3513         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3514         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3515         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3516         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3518 2013-10-04  Alan Modra  <amodra@gmail.com>
3520         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3521         constants to usual value for .cst8 section, and remove redundant
3522         high address load.
3523         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3524         constant for 0x1p52.  Load little-endian words of double from
3525         correct stack offsets.
3527 2013-10-04  Alan Modra  <amodra@gmail.com>
3529         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3530         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3531         words of double from correct stack offsets.
3532         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3533         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3534         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3535         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3536         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3537         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3538         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3539         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3540         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3541         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3542         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3543         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3544         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3545         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3546         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3547         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3548         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3550 2013-10-04  Alan Modra  <amodra@gmail.com>
3552         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3553         64-bit int/double union.
3554         (_FPU_SETCW): Likewise.
3555         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3556         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3558 2013-10-04  Alan Modra  <amodra@gmail.com>
3560         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3561         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3563 2013-10-04  Alan Modra  <amodra@gmail.com>
3565         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3566         use vector int constants.
3567         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3569 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3571         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3572         array with long long.
3573         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3574         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3575         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3576         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3577         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3578         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3579         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3580         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3581         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3582         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3583         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3584         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3585         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3587 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3589         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3590         (__signbit): Likewise.  Correct for little-endian.
3591         (__signbitl): Call __signbit.
3592         (lrint): Correct for little-endian.
3593         (lrintf): Call lrint.
3595 2013-10-04  Alan Modra  <amodra@gmail.com>
3597         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3598         union 32-bit int array member with 64-bit int array.
3599         (t515, tm256): Double rather than long double.
3600         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3602 2013-10-04  Alan Modra  <amodra@gmail.com>
3604         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3605         Delete.
3606         (IEEE854_LONG_DOUBLE_BIAS): Delete.
3607         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3608         version of math_ldbl.h.
3610 2013-10-04  Alan Modra  <amodra@gmail.com>
3612         [BZ #15734], [BZ #15735]
3613         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3614         all uses of ieee875 long double macros and unions.  Simplify test
3615         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
3616         ldbl_extract_mantissa value for ix,iy exponents.  Properly
3617         normalize after ldbl_extract_mantissa, and don't add hidden bit
3618         already handled.  Don't treat low word of ieee854 mantissa like
3619         low word of IBM long double and mask off bit when testing for
3620         zero.
3621         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3622         all uses of ieee875 long double macros and unions.  Simplify tests
3623         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
3624         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
3625         two1022, instead use their values.  Recognise that tests for large
3626         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
3627         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3628         Rewrite all uses of ieee875 long double macros and unions.  Simplify
3629         test for 0.0L and nan.  Correct negation.
3630         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3631         ieee875 long double macros and unions.  Correct output for large
3632         magnitude x.  Correct absolute value calculation.
3633         (__erfcl): Likewise.
3634         * math/libm-test.inc: Add tests for errors discovered in IBM long
3635         double versions of fmodl, remainderl, erfl and erfcl.
3637 2013-10-04  Alan Modra  <amodra@gmail.com>
3639         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3640         all uses of ieee854 long double macros and unions.  Simplify tests
3641         for long doubles that are fully specified by the high double.
3642         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3643         Likewise.
3644         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3645         Remove dead code too.
3646         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3647         (__ieee754_ynl): Likewise.
3648         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3649         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3650         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3651         Remove dead code too.
3652         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3653         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3654         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3655         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3656         Simplify.
3657         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3658         Simplify.
3659         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3660         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3661         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3662         Comment on variable precision.
3663         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3664         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3665         Likewise.
3666         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3667         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3668         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3669         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3670         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3672 2013-10-04  Alan Modra  <amodra@gmail.com>
3674         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3675         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3676         all uses of ieee854 long double macros and unions.
3677         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3678         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3679         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3680         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3681         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3682         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3683         Likewise.
3684         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3685         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3686         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3687         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3688         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3689         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3690         Simplify sign and nan test too.
3691         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3692         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3693         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3694         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3695         Likewise.
3696         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3697         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3698         Likewise.
3699         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3700         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3701         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3702         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3703         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3704         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3706 2013-10-04  Alan Modra  <amodra@gmail.com>
3708         * stdio-common/printf_size.c (__printf_size): Don't use
3709         union ieee854_long_double in fpnum union.
3710         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
3711         signbit macro to retrieve sign from long double.
3712         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3713         retrieve sign from long double.
3714         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3715         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3716         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3717         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3718         * math/test-misc.c (main): Don't use union ieee854_long_double.
3720 2013-10-04  Alan Modra  <amodra@gmail.com>
3722         [BZ #15680]
3723         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3724         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3725         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3726         calculation.  Remove unnecessary test for denormal exponent.
3727         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3728         Correct handling of denormals.  Avoid undefined shift behaviour.
3729         Correct normalisation of low mantissa when low double is denormal.
3730         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3731         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
3732         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3733         Correct normalisation of low mantissa.  Test for overflow of high
3734         mantissa and normalise.
3735         (ldbl_nearbyint): Use more readable constant for two52.
3736         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3737         (__mpn_construct_long_double): Fix test for overflow of high
3738         mantissa and correct normalisation.  Avoid undefined shift.
3740 2013-10-04  Alan Modra  <amodra@gmail.com>
3742         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3743         (union ibm_extended_long_double): Define as an array of ieee754_double.
3744         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3745         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3746         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3747         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3748         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3749         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3750         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3751         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3752         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3753         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3754         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3756 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
3758         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3759         page size instead of calling getpagesize.
3761         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3762         (LOCFILE_ALIGN_MASK): Likewise.
3763         (LOCFILE_ALIGN_UP): Likewise.
3764         (LOCFILE_ALIGNED_P): Likewise.
3765         * locale/programs/ld-collate.c (collate_output): Use the new
3766         macros instead of __alignof__ (int32_t).
3767         * locale/weight.h (findidx): Likewise.
3769 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
3771         [BZ #431]
3772         * manual/string.texi: Fix strncat and wcsncat.
3774 2013-10-03  Brooks Moses  <bmoses@google.com>
3776         [BZ #15915]
3777         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3778         * Makerules: ...here, and adjust associated comments.
3780 2013-10-02  Will Newton  <will.newton@linaro.org>
3782         * malloc/Makefile: Add tst-pvalloc.
3783         * malloc/tst-pvalloc.c: New file.
3785 2013-10-02  Will Newton  <will.newton@linaro.org>
3787         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3788         improve test coverage.
3790 2013-10-02  Will Newton  <will.newton@linaro.org>
3792         * malloc/Makefile: Add tst-posix_memalign.
3793         * malloc/tst-posix_memalign.c: New file.
3795 2013-10-01  Eric Blake  <eblake@redhat.com>
3797         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3798         Use __THROWNL rather than __THROW on static functions.
3800 2013-09-30  Petr Machata  <pmachata@redhat.com>
3802         * elf/elf.h (R_AARCH64_ABS16): New macro.
3803         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3804         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3805         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3806         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3807         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3808         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3809         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3810         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3811         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3812         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3813         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3814         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3815         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3816         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3817         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3818         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3819         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3820         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3821         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3822         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3823         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3824         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3825         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3826         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3827         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3828         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3829         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3830         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3831         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3832         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3833         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3834         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3835         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3836         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3837         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3838         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3839         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3840         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3841         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3842         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3843         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3844         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3845         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3846         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3847         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3848         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3849         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3850         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3851         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3852         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3853         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3854         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3855         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3856         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3857         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3858         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3859         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3860         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3861         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3862         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3863         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3864         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3865         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3866         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3867         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3868         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3869         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3870         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3871         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3872         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3873         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3874         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3875         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3876         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3877         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3878         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3879         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3880         (R_AARCH64_TLSDESC_LDR): Likewise.
3881         (R_AARCH64_TLSDESC_ADD): Likewise.
3882         (R_AARCH64_TLSDESC_CALL): Likewise.
3884 2013-09-30  Andreas Schwab  <schwab@suse.de>
3886         [BZ #15048]
3887         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3888         the nss database lookup.
3889         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3892 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
3894         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3896 2013-09-28  P. J. McDermott  <pj@pehjota.net>
3898         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3899         ${Bash-specific parameter/pattern/string} parameter expansion.
3900         * sysdeps/unix/make-syscalls.sh: Likewise.
3902 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3904         * sysdeps/sh/stackguard-macros.h: New file.
3906 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
3908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3909         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3910         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3911         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3912         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3913         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3915 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3917         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3918         Fix thread ID register.
3920 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
3922         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3923         [POSIX || UNIX98]: Require rather than permitting all symbols from
3924         <time.h>.
3925         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3926         element of struct sched_param.
3927         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3928         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3929         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3930         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3931         constant.
3933 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
3935         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3936         argument calculation.
3938 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
3940         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3941         Expect macro.
3942         [POSIX] (pthread_attr_t): Do not require type.
3943         [POSIX] (pthread_cond_t): Likewise.
3944         [POSIX] (pthread_condattr_t): Likewise.
3945         [POSIX] (pthread_key_t): Likewise.
3946         [POSIX] (pthread_mutex_t): Likewise.
3947         [POSIX] (pthread_mutexattr_t): Likewise.
3948         [POSIX] (pthread_once_t): Likewise.
3949         [POSIX] (pthread_t): Likewise.
3950         [POSIX-based standards] (pthread_atfork): Expect function.
3952 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
3953             Richard Sandiford  <richard@codesourcery.com>
3955         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3956         (swap_endianness_p): New extern variable.
3957         (set_big_endian): New inline function.
3958         (maybe_swap_uint32): Likewise.
3959         (maybe_swap_uint32_array): Likewise.
3960         (maybe_swap_uint32_obstack): Likewise.
3961         * locale/programs/locfile.c: Include <stdbool.h>.
3962         (swap_endianness_p): New variable.
3963         (add_locale_uint32): Call maybe_swap_uint32.
3964         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3965         (write_locale_data): Call maybe_swap_uint32_array.
3966         * locale/programs/ld-collate.c (obstack_int32_grow): Call
3967         maybe_swap_uint32.
3968         (obstack_int32_grow_fast): Likewise.
3969         (output_weightwc): Call maybe_swap_uint32_obstack.
3970         (collate_output): Likewise.
3971         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3972         (OPT_LITTLE_ENDIAN): Likewise.
3973         (options): Add --little-endian and --big-endian options.
3974         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3975         * locale/programs/locarchive.c: Include "locfile.h".
3976         (GET): New macro.
3977         (SET): Likewise.
3978         (INC): Likewise.
3979         (create_archive): Use the new macros to access fields of
3980         structures directly mapped from or written to locale archives.
3981         (oldlocrecentcmp): Likewise.
3982         (enlarge_archive): Likewise.
3983         (insert_name): Likewise.
3984         (add_alias): Likewise.
3985         (add_locale): Likewise.
3986         (delete_locales_from_archive): Likewise.
3987         (show_archive_content): Likewise.
3988         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
3989         locale data.
3991 2013-09-24  Roland McGrath  <roland@hack.frob.com>
3993         * manual/freemanuals.texi: Updated from (newly) canonical copy at
3994         http://www.gnu.org/doc/freemanuals.texi.
3995         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3997 2013-09-24  Will Newton  <will.newton@linaro.org>
3999         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4000         macro.
4002 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4004         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4005         unsigned char.
4007 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4009         * manual/threads.texi (POSIX Threads): Fix a typo.
4011 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4013         [BZ #14547]
4014         * string/tst-strcoll-overflow.c: New test case.
4015         * string/Makefile (xtests): Add tst-strcoll-overflow.
4016         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4017         cache if string sizes may cause integer overflow.
4019         [BZ #14547]
4020         * string/strcoll_l.c (coll_seq): New members rule, idx,
4021         save_idx and back_us.
4022         (get_next_seq_nocache): New function.
4023         (do_compare_nocache): New function.
4024         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4025         when malloc fails.
4027 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4029         [BZ #15754]
4030         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4031         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4032         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4034         [BZ #15754]
4035         * elf/Makefile (tests): Add tst-ptrguard1.
4036         (tests-static): Add tst-ptrguard1-static.
4037         (tst-ptrguard1-ARGS): Define.
4038         (tst-ptrguard1-static-ARGS): Define.
4039         * elf/tst-ptrguard1.c: New file.
4040         * elf/tst-ptrguard1-static.c: New file.
4041         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4042         * sysdeps/i386/stackguard-macros.h: Likewise.
4043         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4044         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4045         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4046         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4047         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4048         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4050 2013-09-23  Hector Marco  <hecmargi@upv.es>
4051             Ismael Ripoll  <iripoll@disca.upv.es>
4052             Carlos O'Donell  <carlos@redhat.com>
4054         [BZ #15754]
4055         * sysdeps/generic/stackguard-macros.h: Define
4056         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4057         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4058         Define __pointer_chk_guard_local.
4059         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4060         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4062 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4064         [BZ #15859]
4065         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4067 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4069         * include/string.h (__ffs): Declare as hidden.
4070         * string/ffs.c (__ffs): Define as hidden.
4071         * sysdeps/i386/ffs.c (__ffs): Likewise.
4072         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4073         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4074         * sysdeps/s390/ffs.c (__ffs): Likewise.
4075         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4077 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
4079         * NEWS: Mention malloc probes.
4081         * malloc/arena.c (new_heap): New memory_heap_new probe.
4082         (grow_heap): New memory_heap_more probe.
4083         (shrink_heap): New memory_heap_less probe.
4084         (heap_trim): New memory_heap_free probe.
4085         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4086         (systrim): New memory_sbrk_less probe.
4087         * manual/probes.texi: Document them.
4089         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4090         * manual/probes.texi: Document it.
4092         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4093         (__libc_realloc): Add memory_realloc_retry probe.
4094         (__libc_memalign): Add memory_memalign_retry probe.
4095         (__libc_valloc): Add memory_valloc_retry probe.
4096         (__libc_pvalloc): Add memory_pvalloc_retry probe.
4097         (__libc_calloc): Add memory_calloc_retry probe.
4098         * manual/probes.texi: Document them.
4100         * malloc/arena.c (get_free_list): Add probe
4101         memory_arena_reuse_free_list.
4102         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4103         and memory_arena_reuse.
4104         (arena_get2) [!PER_THREAD]: Likewise.
4105         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4106         memory_arena_reuse_realloc.
4107         * manual/probes.texi: Document them.
4109         * malloc/malloc.c (__libc_free): Add
4110         memory_mallopt_free_dyn_thresholds probe.
4111         (__libc_mallopt): Add multiple memory_mallopt probes.
4112         * manual/probes.texi: Document them.
4114         * malloc/malloc.c: Include stap-probe.h.
4115         (__libc_mallopt): Add memory_mallopt probe.
4116         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4117         * manual/probes.texi: New.
4118         * manual/Makefile (chapters): Add probes.
4119         * manual/threads.texi: Set next node.
4121 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
4123         [BZ #15963, #13985]
4124         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4125         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4126         Add `Chinese' to `nan' entry name.
4128 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4130         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4131         (POLYNOMIAL): Likewise.
4132         (TAYLOR_SINCOS): Likewise.
4133         (TAYLOR_SLOW): Likewise.
4134         (__sin): Use TAYLOR_SINCOS.
4135         (__cos): Likewise.
4136         (slow): Use TAYLOR_SLOW.
4137         (sloww): Likewise.
4138         (bsloww): Likewise.
4139         (csloww): Likewise.
4141 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4143         * stdlib/strtod_l.c: Fix buffer overrun.
4145 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4147         * benchtests/Makefile (bench): Add sincos.
4148         * benchtests/bench-sincos.c: New file.
4150         * math/libm-test.inc (cos_test_data): New test inputs.
4151         (sin_test_data): Likewise.
4153         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4154         macro.
4155         (__sin): Use it.
4156         (__cos): Likewise.
4157         (slow1): Likewise.
4158         (slow2): Likewise.
4159         (sloww1): Likewise.
4160         (sloww2): Likewise.
4161         (bsloww1): Likewise.
4162         (bsloww2): Likewise.
4163         (cslow2): Likewise.
4164         (csloww1): Likewise.
4165         (csloww2): Likewise.
4167         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4168         function.
4169         (__sin): Use it.
4170         (__cos): Likewise.
4172         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4173         gotos.
4174         (__cos): Likewise.
4176 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
4178         * config.h.in (HAVE_MIPS_NAN2008): New macro.
4179         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4180         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4181         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4182         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4183         * elf/cache.c (print_entry): Handle the new cache flags.
4185 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4186             Aldy Hernandez  <aldyh@redhat.com>
4188         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4189         Change condition to [_SOFT_FLOAT].
4190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4202         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4204         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4205         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4206         declaration.
4208 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4210         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4211         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4212         (__longjmp): Use LOAD_GP to load saved GPRs.
4213         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4214         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4215         (__sigsetjmp): Use SAVE_GP to save GPRs.
4217         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4218         Do not append -msoft-float.
4219         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4221 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4223         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4225 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
4227         [BZ #15966]
4228         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4229         (_FPU_GETCW): Use initial "__" on variable and field names but not
4230         on macro parameter name.
4231         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
4232         parentheses around reference to macro parameter.
4234 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
4236         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4237         prototype.
4238         (ctype_startup): Use uint32_t in cast and sizeof for
4239         ctype->charnames.
4241 2013-09-11  Jia Liu  <proljc@gmail.com>
4243         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4244         __daddr_t_defined.
4245         [__FreeBSD__]: Likewise.
4247 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
4249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4250         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4251         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4252         (strchr): Remove __strchr_sse42 ifunc selection.
4253         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4254         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4256 2013-09-11  Will Newton  <will.newton@linaro.org>
4258         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4259         parameter to RES. Remove hardcoded 1000 value.
4260         * benchtests/bench-skeleton.c (main): Pass RES parameter
4261         to TIMING_INIT and multiply result by 1000.
4263 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4267 2013-09-11  Andreas Schwab  <schwab@suse.de>
4269         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4270         if not defined.
4271         (O_TMPFILE) [__USE_GNU]: Define.
4272         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4273         Define.
4275 2013-09-11  Will Newton  <will.newton@linaro.org>
4277         [BZ #15857]
4278         * malloc/malloc.c (__libc_memalign): Check the value of bytes
4279         does not overflow.
4281 2013-09-11  Will Newton  <will.newton@linaro.org>
4283         [BZ #15856]
4284         * malloc/malloc.c (__libc_valloc): Check the value of bytes
4285         does not overflow.
4287 2013-09-11  Will Newton  <will.newton@linaro.org>
4289         [BZ #15855]
4290         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4291         does not overflow.
4293 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
4295         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4296         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4297         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4298         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4299         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4301 2013-09-10  Allan McRae  <allan@archlinux.org>
4303         [BZ #15748]
4304         * manual/arith.texi (Parsing of Floats): Clarify
4305         cross-reference.
4307         [BZ #15849]
4308         * manual/install.texi (Running make install): Mention
4309         --enable-pt-chown.
4310         * INSTALL: Regenerated.
4312 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4314         * csu/init-first.c (_init): Remove the !SHARED condition around
4315         FPU control word initialization.
4316         * elf/dl-support.c (_dl_fpu_control): New variable.
4317         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4318         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4319         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4320         * math/test-fpucw-static.c: New file.
4321         * math/test-fpucw-ieee.c: New file.
4322         * math/test-fpucw-ieee-static.c: New file.
4323         * math/Makefile (tests): Add `test-fpucw-ieee' and
4324         `$(tests-static)'.
4325         (tests-static): New variable.
4326         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4327         dependency to...
4328         [($(build-shared),yes)]
4329         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4330         ... this.
4331         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4332         New dependency.
4334 2013-09-09  Allan McRae  <allan@archlinux.org>
4336         [BZ #15939]
4337         * manual/string.texi (Collation Functions): Fix typo in
4338         strcoll example.
4339         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4341         [BZ #15893]
4342         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4344         [BZ #15892]
4345         * libio/memstream.c (open_memstream): Fix memory leak.
4346         * libio/wmemstream.c (open_wmemstream): Likewise.
4348         [BZ #15895]
4349         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4351 2013-09-09  Will Newton  <will.newton@linaro.org>
4353         * malloc/Makefile: Add tst-realloc to tests.
4354         * malloc/tst-realloc.c: New file.
4356 2013-09-09  Allan McRae  <allan@archlinux.org>
4358         [BZ #15844]
4359         * COPYING: Update from GNU website to fix FSF address.
4360         * COPYING.LIB: Likewise.
4362 2013-09-06  David S. Miller  <davem@davemloft.net>
4364         * po/zh_TW.po: Update Chinese (traditional) translation from
4365         translation project.
4367 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4368             Joseph Myers  <joseph@codesourcery.com>
4370         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4371         "localeinfo.h".
4372         (obstack_chunk_alloc): New macro.
4373         (obstack_chunk_free): Likewise.
4374         (record_offset): New function.
4375         (init_locale_data): Likewise.
4376         (align_locale_data): Likewise.
4377         (add_locale_empty): Likewise.
4378         (add_locale_raw_data): Likewise.
4379         (add_locale_raw_obstack): Likewise.
4380         (add_locale_string): Likewise.
4381         (add_locale_wstring): Likewise.
4382         (add_locale_uint32): Likewise.
4383         (add_locale_uint32_array): Likewise.
4384         (add_locale_char): Likewise.
4385         (start_locale_structure): Likewise.
4386         (end_locale_structure): Likewise.
4387         (start_locale_prelude): Likewise.
4388         (end_locale_prelude): Likewise.
4389         (write_locale_data): Take locale_file structure rather than an
4390         iovec.
4391         * locale/programs/locfile.h: Include "obstack.h".
4392         (struct locale_file): Change to store locale file contents instead
4393         of header.
4394         (init_locale_data): New prototype.
4395         (align_locale_data): Likewise.
4396         (add_locale_empty): Likewise.
4397         (add_locale_raw_data): Likewise.
4398         (add_locale_raw_obstack): Likewise.
4399         (add_locale_string): Likewise.
4400         (add_locale_wstring): Likewise.
4401         (add_locale_uint32): Likewise.
4402         (add_locale_uint32_array): Likewise.
4403         (add_locale_char): Likewise.
4404         (start_locale_structure): Likewise.
4405         (end_locale_structure): Likewise.
4406         (start_locale_prelude): Likewise.
4407         (end_locale_prelude): Likewise.
4408         (write_locale_data): Update prototype.
4409         * locale/programs/3level.h (struct TABLE): Remove result field.
4410         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4411         Use new locale_file interface.
4412         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4413         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4414         * locale/programs/ld-address.c (address_output): Use new
4415         locale_file interface.
4416         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4417         NO_ADD_LOCALE.
4418         (collate_finish): Don't call collseq_table_finalize.
4419         (collate_output): Use new locale_file interface.
4420         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4421         in file.
4422         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4423         (TABLE): Move defines earlier in file.
4424         (ELEMENT): Likewise.
4425         (DEFAULT): Likewise.
4426         (wctrans_table_add): Move macro and inline function earlier in
4427         file.
4428         (struct wctype_table): Move type earlier in file.
4429         (add_locale_wctype_table): New static prototype.
4430         (struct locale_ctype_t): Use logical types instead of struct iovec
4431         pointers for members.
4432         (ctype_output): Use new locale_file interface.
4433         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4434         new locale_file interface.
4435         (allocate_arrays): Update for use of new locale_file interface.
4436         * locale/programs/ld-identification.c (identification_output): Use
4437         new locale_file interface.
4438         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4439         * locale/programs/ld-messages.c (messages_output): Likewise.
4440         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4441         * locale/programs/ld-name.c (name_output): Likewise.
4442         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4443         * locale/programs/ld-paper.c (paper_output): Likewise.
4444         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4445         * locale/programs/ld-time.c (time_output): Likewise.
4447 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4449         * benchtests/Makefile: Add memrchr benchmark.
4450         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4451         benchmark as memrchr.
4452         * benchtests/bench-memrchr-ifunc.c: New file.
4453         * benchtests/bench-memrchr.c: New file.
4455 2013-09-06   Will Newton  <will.newton@linaro.org>
4457         * benchtests/Makefile (string-bench): Add memcpy.
4459 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4460             Cong Wang  <amwang@redhat.com>
4462         * sysdeps/unix/sysv/linux/bits/in.h
4463         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4464         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4465         before __USE_KERNEL_IPV6_DEFS uses.
4466         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4467         IPPROTO_BEETPH.
4468         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4469         sockaddr_in6, or ipv6_mreq.
4471 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4473         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4474         memory access for final bytes in some large inputs.
4475         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4477 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4479         * string/test-memrchr.c: New file.
4480         * string/test-memrchr-ifunc.c: New file.
4481         * string/Makefile: Add new memrchr testcase.
4483 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4485         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4486         fanotify_init returns EPERM.
4488 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4490         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4491         errors.
4492         (top level): Treat second token from macro or constant entries for
4493         allowed headers as allowed.
4494         * include/complex.h: Condition internal declarations on
4495         [!_ISOMAC].
4496         * include/fenv.h: Condition include of <stdbool.h> and internal
4497         declarations on [!_ISOMAC].
4499 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
4501         [BZ #15923]
4502         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4504 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4506         * configure.in (--enable-versioning): Remove configure option.
4507         (libc_cv_asm_symver_directive): Remove configure test.
4508         (libc_cv_ld_version_script_option): Likewise.
4509         (VERSIONING): Remove variable and AC_SUBST.
4510         (DO_VERSIONING): Remove AC_DEFINE.
4511         * configure: Regenerated.
4512         * config.h.in (DO_VERSIONING): Remove macro.
4513         * Makerules [$(versioning) = yes]: Change conditionals to
4514         [$(build-shared) = yes].
4515         * config.make.in (versioning): Remove variable.
4516         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4517         [$(build-shared) = yes].
4518         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4519         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4520         * elf/Makefile [$(versioning) = yes]: Change conditionals to
4521         [$(build-shared) = yes].
4522         * extra-lib.mk [$(versioning) = yes]: Likewise.
4523         * hurd/Makefile [$(versioning) = yes]: Likewise.
4524         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4525         [SHARED].
4526         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4527         [SHARED].
4528         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4529         [SHARED && !NO_HIDDEN].
4530         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4531         [SHARED].
4532         [SHARED && DO_VERSIONING]: Likewise..
4533         * libio/Makefile [$(versioning) = yes]: Change conditionals to
4534         [$(build-shared) = yes].
4535         * manual/install.texi (--disable-versioning): Remove
4536         documentation.
4537         * INSTALL: Regenerated.
4538         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4539         to [SHARED].
4540         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4541         [$(build-shared) = yes].
4542         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4543         * sysdeps/i386/i686/multiarch/strstr-c.c
4544         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4545         [SHARED && !NO_HIDDEN].
4546         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4547         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4548         * sysdeps/powerpc/powerpc32/dl-machine.c
4549         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4550         * sysdeps/powerpc/powerpc32/sysdep.h
4551         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4552         to [SHARED && PIC && !NO_HIDDEN].
4553         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4554         conditional to [SHARED].
4556 2013-09-04   Will Newton  <will.newton@linaro.org>
4558         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4559         * benchtests/bench-string.h: Include bench-timing.h instead
4560         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4561         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4562         call to HP_TIMING_DIFF_INIT.
4563         * benchtests/bench-memccpy.c: Use bench-timing.h macros
4564         instead of hp-timing.h macros.
4565         * benchtests/bench-memchr.c: Likewise.
4566         * benchtests/bench-memcmp.c: Likewise.
4567         * benchtests/bench-memcpy.c: Likewise.
4568         * benchtests/bench-memmem.c: Likewise.
4569         * benchtests/bench-memmove.c: Likewise.
4570         * benchtests/bench-memset.c: Likewise.
4571         * benchtests/bench-rawmemchr.c: Likewise.
4572         * benchtests/bench-strcasecmp.c: Likewise.
4573         * benchtests/bench-strcasestr.c: Likewise.
4574         * benchtests/bench-strcat.c: Likewise.
4575         * benchtests/bench-strchr.c: Likewise.
4576         * benchtests/bench-strcmp.c: Likewise.
4577         * benchtests/bench-strcpy.c: Likewise.
4578         * benchtests/bench-strcpy_chk.c: Likewise.
4579         * benchtests/bench-strlen.c: Likewise.
4580         * benchtests/bench-strncasecmp.c: Likewise.
4581         * benchtests/bench-strncat.c: Likewise.
4582         * benchtests/bench-strncmp.c: Likewise.
4583         * benchtests/bench-strncpy.c: Likewise.
4584         * benchtests/bench-strnlen.c: Likewise.
4585         * benchtests/bench-strpbrk.c: Likewise.
4586         * benchtests/bench-strrchr.c: Likewise.
4587         * benchtests/bench-strspn.c: Likewise.
4588         * benchtests/bench-strstr.c: Likewise.
4590 2013-09-04  Will Newton  <will.newton@linaro.org>
4592         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4594 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
4596         [BZ #15427]
4597         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4598         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4599         * math/libm-test.inc (lgamma_test_data): Add more tests.
4600         * sysdeps/i386/fpu/libm-test-ulps: Update.
4601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4603 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
4605         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4606         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4607         Add ifunc.
4608         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4609         Add strcmp-sse2-unaligned
4610         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4612 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4614         * Versions.def (libc): Add GLIBC_2.19.
4616 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4618         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4619         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4621 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
4623         [BZ #14155]
4624         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4625         intermediate calculations in recurrence.
4626         (__ieee754_ynf): Likewise.
4627         * math/libm-test.inc (jn_test_data): Do not allow spurious
4628         underflow exception.  Add more tests.
4629         (yn_test_data): Add more tests.
4630         * sysdeps/i386/fpu/libm-test-ulps: Update.
4631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4633 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
4635         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4637 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4639         * csu/init-first.c: Fix then/than typos.
4640         * locale/programs/ld-collate.c: Likewise.
4641         * locale/programs/linereader.h: Likewise.
4642         * manual/charset.texi: Likewise.
4643         * manual/filesys.texi: Likewise.
4644         * manual/stdio.texi: Likewise.
4645         * manual/string.texi: Likewise.
4646         * stdlib/fmtmsg.c: Likewise.
4647         * sysdeps/i386/stpncpy.S: Likewise.
4648         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4649         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4650         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4651         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4653 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4655         * elf/dl-open.c: Fix typos.
4656         * iconvdata/gbbig5.c: Likewise.
4657         * iconvdata/iso-2022-jp.c: Likewise.
4658         * iconv/gconv_int.h: Likewise.
4659         * iconv/loop.c: Likewise.
4660         * nis/rpcsvc/nis.h: Likewise.
4661         * resolv/ns_name.c: Likewise.
4662         * stdio-common/vfscanf.c: Likewise.
4663         * streams/stropts.h: Likewise.
4664         * sunrpc/rpc_thread.c: Likewise.
4665         * sysdeps/i386/strpbrk.S: Likewise.
4666         * sysdeps/ieee754/k_standard.c: Likewise.
4667         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4668         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4669         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4670         * sysdeps/mach/hurd/profil.c: Likewise.
4671         * sysdeps/s390/dl-procinfo.h: Likewise.
4672         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4673         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4674         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4675         * sysdeps/x86_64/dl-trampoline.S: Likewise.
4676         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4678 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
4680         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4683 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
4685         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4686         aix specific files.
4687         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4688         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4689         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4690         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4691         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4692         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4693         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4694         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4696 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4697             Roland McGrath  <roland@hack.frob.com>
4699         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4700         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4702 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4704         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4705         __executable_start symbol instead of _start.
4707 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4709         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4710         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4711         Move macros to...
4712         * sysdeps/gnu/ldsodefs.h: ... this new file.
4714         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4715         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4716         instead of ELFOSABI_LINUX.
4718         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4719         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4720         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4721         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4722         Likewise.
4723         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4724         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4725         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4726         Likewise.
4727         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4728         (ibm_extended_long_double): Add ieee_nan member.
4729         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4730         (do_test): New function.
4732         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4733         TEST_TRUNC.
4734         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4735         functions, renamed from truncdfsf_test, trunctfsf_test,
4736         trunctfdf_test.
4737         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4738         functions.
4739         (do_test): Run all these.
4741 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
4743         * argp/argp-help.c: Fix typos.
4744         * argp/argp-parse.c: Likewise.
4745         * debug/backtracesyms.c: Likewise.
4746         * elf/elf.h: Likewise.
4747         * malloc/malloc.c: Likewise.
4748         * nis/nis_print.c: Likewise.
4749         * resolv/res_comp.c: Likewise.
4750         * stdlib/stdlib.h: Likewise.
4751         * sunrpc/clnt_tcp.c: Likewise.
4752         * sunrpc/clnt_udp.c: Likewise.
4753         * sunrpc/clnt_unix.c: Likewise.
4754         * sysdeps/unix/bsd/ptsname.c: Likewise.
4755         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4756         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4758         Likewise.
4759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4760         Likewise.
4761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4762         Likewise.
4763         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4765 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4767         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4768         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4770 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
4772         [BZ #15897]
4773         * dlfcn/Makefile (tests): Add bug-dl-leaf.
4774         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4775         ($(objpfx)bug-dl-leaf): New rule.
4776         ($(objpfx)bug-dl-leaf.so): Likewise.
4777         ($(objpfx)bug-dl-leaf.out): Likewise.
4778         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4779         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4780         * dlfcn/bug-dl-leaf.c: New test.
4781         * dlfcn/bug-dl-leaf-lib.c: Likewise.
4782         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4783         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4784         (dlclose): Likewise.
4785         (dlmopen): Likewise.
4787 2013-08-27  Roland McGrath  <roland@hack.frob.com>
4789         * include/netdb.h [!_ISOMAC]:
4790         Don't include <tls.h>.
4791         (h_errno, __libc_h_errno): Move declaration and macros out of
4792         [_LIBC_REENTRANT].
4794         * include/resolv.h [_RESOLV_H_]:
4795         Don't include <tls.h>.
4796         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4797         * resolv/res_libc.c: Don't include <tls.h>.
4798         (_res): Use __attribute__ ((nocommon)) in place of
4799         __attribute__ ((section (".bss"))).
4801         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4802         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4804         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4806         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4807         only under [SIOCGIFCONF && SIOCGIFNETMASK].
4809         * resolv/res_mkquery.c: Include <sys/time.h>.
4811         * inet/ifreq.c: Moved to ...
4812         * sysdeps/unix/ifreq.c: ... here.
4813         * inet/ifreq.c: New file, true stub version.
4815         * socket/sa_len.c: New file.
4816         * socket/Makefile (aux): Add it.
4817         * sysdeps/unix/sysv/linux/Makefile
4818         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4819         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4820         and #include <socket/sa_len.c>.
4821         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4822         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4824         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4825         * bits/socket.h: ... here.
4827         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4828         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4829         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4831 2013-08-27  Andreas Schwab  <schwab@suse.de>
4833         [BZ #15736]
4834         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4835         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4836         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4837         * string/test-strcasecmp.c (test_main): Run tests in several
4838         locales.
4839         * string/test-strncasecmp.c (test_main): Likewise.
4841         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4842         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4843         to __strcasecmp_nonascii and __strncasecmp_nonascii.
4844         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4845         (__strncasecmp_ssse3) [PIC]: Likewise.
4847 2013-08-26  Roland McGrath  <roland@hack.frob.com>
4849         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4851         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4852         instead of explicitly declaring xdecrypt.
4853         * nis/nss_nis/nis-publickey.c: Likewise.
4855 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4857         [BZ #15890]
4858         * nscd/aicache.c: Include res_hconf.h.
4859         (addhstaiX): Initialize res_hconf.
4861 2013-08-26  Andreas Schwab  <schwab@suse.de>
4863         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4864         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4866 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4868         * nscd/aicache.c (addhstaiX): Fix indentation.
4870 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
4872         * configure.ac: Quote $build_pt_chown test.
4873         * configure: Regenerated.
4875 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
4877         [BZ #15532]
4878         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4879         * math/s_cexpf.c (__cexpf): Likewise.
4880         * math/s_cexpl.c (__cexpl): Likewise.
4881         * math/libm-test.inc (cexp_test_data): Correct expected return
4882         value for NaN + i0.  Add another test.
4884 2013-08-22  David S. Miller  <davem@davemloft.net>
4886         * po/ca.po: Update Catalan translation from translation project.
4887         * po/uk.po: Add Ukrainian translations from translation project.
4889 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
4891         [BZ #15797]
4892         * math/s_fdim.c (__fdim): Check for infinite arguments if result
4893         is infinite, not alongside NaN test.
4894         * math/s_fdimf.c (__fdimf): Likewise.
4895         * math/s_fdiml.c (__fdiml): Likewise.
4896         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
4897         errno is unchanged.
4899 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
4901         * argp/argp-help.c: Fix typos.
4902         * crypt/speeds.c: Likewise.
4903         * csu/check_fds.c: Likewise.
4904         * elf/dl-load.c: Likewise.
4905         * elf/dl-open.c: Likewise.
4906         * elf/reldep3.c: Likewise.
4907         * elf/reldep.c: Likewise.
4908         * elf/sprof.c: Likewise.
4909         * iconv/iconv_charmap.c: Likewise.
4910         * iconv/skeleton.c: Likewise.
4911         * iconv/strtab.c: Likewise.
4912         * io/lockf64.c: Likewise.
4913         * libio/libioP.h: Likewise.
4914         * resolv/gai_notify.c: Likewise.
4915         * resolv/ns_name.c: Likewise.
4916         * resolv/ns_samedomain.c: Likewise.
4917         * resolv/res_send.c: Likewise.
4918         * stdlib/random.c: Likewise.
4919         * sunrpc/rpc/xdr.h: Likewise.
4920         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4921         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4922         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4923         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4924         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4925         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4926         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4927         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4928         * sysdeps/mach/hurd/check_fds.c: Likewise.
4929         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4930         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4931         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4932         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4933         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4934         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4935         * sysdeps/pthread/aio_notify.c: Likewise.
4936         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4937         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4938         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4939         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4940         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4942 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4944         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4945         version if bit_Slow_SSE4_2 is set.
4946         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4947         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4949 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4951         [BZ #15867]
4952         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4953         trampoline stack frame information.
4954         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4955         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4956         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4957         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4958         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4959         * sysdeps/unix/sysv/linux/powerpc/init-first.c
4960         (_libc_vdso_platform_setup): Initialize the signal trampolines.
4961         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4962         sa_flags value.
4963         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4964         interrupting a syscall and set with option SA_SIGINFO.
4966 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
4968         [BZ #15531]
4969         * math/s_cproj.c (__cproj): Only return an infinity if one part of
4970         argument is infinite.
4971         * math/s_cprojf.c (__cprojf): Likewise.
4972         * math/s_cprojl.c (__cprojl): Likewise.
4973         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4974         * math/libm-test.inc (cproj_test_data): Add more tests.
4976         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4978         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4979         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4980         size.  Use __ffs to determine corresponding shift.
4982 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
4983             Roland McGrath  <roland@hack.frob.com>
4985         * Makefile (INSTALL): Remove trailing blank lines from output of
4986         makeinfo.
4988 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4990         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4991         Align 32 bit compat elf_greg to 8 bytes.
4993 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4995         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4997 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4999         * string/strcoll_l.c (coll_seq): New structure.
5000         (get_next_seq_cached): New function.
5001         (get_next_seq): New function.
5002         (do_compare): New function.
5003         (STRCOLL): Use GNU style definition.  Simplify implementation
5004         by using get_next_seq, get_next_seq_cached and do_compare.
5006 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5008         [BZ #14699]
5009         CVE-2013-4237
5010         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5011         member.
5012         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5013         member.
5014         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5015         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5016         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5017         conditional.
5018         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5019         GETDENTS_64BIT_ALIGNED.
5020         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5021         * manual/filesys.texi (Reading/Closing Directory): Document
5022         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5023         strongly.
5024         * manual/conf.texi (Limits for Files): Add portability note to
5025         NAME_MAX, PATH_MAX.
5026         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5028 2013-08-13  Andreas Schwab  <schwab@suse.de>
5030         [BZ #15749]
5031         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5032         of fabs.
5033         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5034         LDBL_MAX_EXP >= 16384]: Add tests for it.
5036 2013-08-12  David S. Miller  <davem@davemloft.net>
5038         * version.h (RELEASE): Set to "development".
5039         (VERSION): Set to "2.18.90".
5040         * NEWS: Add 2.19 section.
5042 2013-08-03  David S. Miller  <davem@davemloft.net>
5044         * po/ko.po: Update Korean translation from translation project.
5046 2013-08-01  David S. Miller  <davem@davemloft.net>
5048         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5049         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5050         Bilka.
5052 2013-07-30  David S. Miller  <davem@davemloft.net>
5054         * po/fr.po: Update French translation from translation project.
5056 2013-07-28  David S. Miller  <davem@davemloft.net>
5058         * po/cs.po: Update Czech translation from translation project.
5060         * po/sv.po: Update Swedish translation from translation project.
5062 2013-07-27  David S. Miller  <davem@davemloft.net>
5064         * po/eo.po: Update Esperanto translation from translation project.
5066         * po/vi.po: Update Vietnamese translation from translation project.
5068         * po/de.po: Update German translation from translation project.
5070 2013-07-26  David S. Miller  <davem@davemloft.net>
5072         * po/bg.po: Update Bulgarian translation from translation project.
5074         * po/nl.po: Update Dutch translation from translation project.
5075         * po/pl.po: Update Polish translation from translation project.
5076         * po/ru.po: Update Russian translation from translation project.
5078 2013-07-24  David S. Miller  <davem@davemloft.net>
5080         * po/libc.pot: Update.
5082 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5084         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5085         variable page size.
5086         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5087         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5088         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5090 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5092         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5094 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5095             Andreas Schwab  <schwab@suse.de>
5096             Roland McGrath  <roland@hack.frob.com>
5097             Joseph Myers  <joseph@codesourcery.com>
5098             Carlos O'Donell  <carlos@redhat.com>
5100         [BZ #15755]
5101         * config.h.in: Define HAVE_PT_CHOWN.
5102         * config.make.in (build-pt-chown): New variable.
5103         * configure.in (--enable-pt_chown): New configure option.
5104         * configure: Regenerate.
5105         * login/Makefile: Include Makeconfig.  Build pt_chown only if
5106         build-pt-chown is enabled.
5107         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5108         pt_chown to fix pty ownership.
5109         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5110         CLOSE_ALL_FDS.
5111         * manual/install.texi (Configuring and compiling): Mention
5112         --enable-pt_chown. Add @findex for grantpt.
5113         * INSTALL: Regenerate.
5115 2013-07-20  David S. Miller  <davem@davemloft.net>
5117         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5118         difference between 32-bit and 64-bit.
5120 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
5122         [BZ #15711]
5123         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5124         Avoid system header dependency with -ffreestanding.
5125         ($(objpfx)bits/syscall%d): Likewise.
5127 2013-07-13  David S. Miller  <davem@davemloft.net>
5129         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5130         underflows from atanl/atan2l due to bug 15319.
5131         (casinh_test_data): Likewise.
5133 2013-07-07  David S. Miller  <davem@davemloft.net>
5135         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5137 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
5139         * sysdeps/i386/fpu/libm-test-ulps: Update.
5140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5142 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5144         * configure.in (--enable-lock-elision): Fix message text.
5145         * INSTALL: Regenerate.
5146         * configure: Regenerate.
5148 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5152 2013-07-03  Andreas Jaeger  <aj@suse.de>
5154         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5155         define.
5156         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5157         (ptrace_peeksiginfo_args): Add.
5158         (__ptrace_peeksiginfo_flags): Add.
5159         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5160         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5161         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5163 2013-07-03  Allan McRae  <allan@archlinux.org>
5165         * sysdeps/i386/fpu/libm-test-ulps: Update.
5167 2013-07-02  David S. Miller  <davem@davemloft.net>
5169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5171 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
5173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5175 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5177         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5180 2013-07-02  Andi Kleen <ak@linux.intel.com>
5182         * config.h.in (ENABLE_LOCK_ELISION): Add.
5183         * configure.in (--enable-lock-elision): Add option.
5184         * manual/install.texi: Document --enable lock elision.
5185         * configure: Regenerate
5186         * INSTALL: Regenerate.
5188 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5190         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5191         SSE4.2 strcasecmp for libc.a.
5192         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5194 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5196         [BZ #13304]
5197         * soft-fp/op-common.h (_FP_FMA): New macro.
5198         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5199         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
5200         (_FP_MUL_MEAT_1_imm): ... here.
5201         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
5202         (_FP_MUL_MEAT_1_wide): ... here.
5203         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
5204         (_FP_MUL_MEAT_1_hard): ... here.
5205         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5206         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
5207         (_FP_MUL_MEAT_2_wide): ... here.
5208         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
5209         (_FP_MUL_MEAT_2_wide_3mul): ... here.
5210         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
5211         (_FP_MUL_MEAT_2_gmp): ... here.
5212         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5213         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
5214         (_FP_MUL_MEAT_4_wide): ... here.
5215         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
5216         (_FP_MUL_MEAT_4_gmp): ... here.
5217         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5218         (_FP_WFRACBITS_DW_S): Likewise.
5219         (_FP_WFRACXBITS_DW_S): Likewise.
5220         (_FP_HIGHBIT_DW_S): Likewise.
5221         (FP_FMA_S): Likewise.
5222         (_FP_FRAC_HIGH_DW_S): Likewise.
5223         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5224         (_FP_WFRACBITS_DW_D): Likewise.
5225         (_FP_WFRACXBITS_DW_D): Likewise.
5226         (_FP_HIGHBIT_DW_D): Likewise.
5227         (FP_FMA_D): Likewise.
5228         (_FP_FRAC_HIGH_DW_D): Likewise.
5229         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5230         (_FP_WFRACBITS_DW_E): Likewise.
5231         (_FP_WFRACXBITS_DW_E): Likewise.
5232         (_FP_HIGHBIT_DW_E): Likewise.
5233         (FP_FMA_E): Likewise.
5234         (_FP_FRAC_HIGH_DW_E): Likewise.
5235         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5236         (_FP_WFRACBITS_DW_Q): Likewise.
5237         (_FP_WFRACXBITS_DW_Q): Likewise.
5238         (_FP_HIGHBIT_DW_Q): Likewise.
5239         (FP_FMA_Q): Likewise.
5240         (_FP_FRAC_HIGH_DW_Q): Likewise.
5241         * soft-fp/fmasf4.c: New file.
5242         * soft-fp/fmadf4.c: Likewise.
5243         * soft-fp/fmatf4.c: Likewise.
5245 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5248         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5249         Silvermont.
5250         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5251         macro.
5252         (index_Slow_SSE4_2): Likewise.
5253         (index_Prefer_PMINUB_for_stringop): Likewise.
5254         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5255         bit_Slow_SSE4_2 is set.
5256         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5257         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5259 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5261         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5262         rtld_global._dl_hwcap2.
5263         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5264         POWER8.
5265         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5266         POWER8 feature descriptions defined in _dl_hwcap2.
5267         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5268         string handling for POWER8 feature bits.
5269         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5270         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5271         _dl_powerpc_cap_flags.
5272         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5273         * sysdeps/powerpc/rtld-global-offsets.sym
5274         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5275         _dl_hwcap2 in the rtld_global_ro structure.
5277 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5279         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5280         hardware capabilities in support of AT_HWCAP2.
5281         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5282         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5283         GLRO(dl_hwcap2).
5284         (_dl_show_auxv): Add support for calling _dl_procinfo to display
5285         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
5286         explicitly the unknown a_type display mechanism is used.
5287         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5288         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5289         struct member.
5290         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5291         to macro prototype for AT_HWCAP2 support.
5292         * sysdeps/i386/dl-procinfo.h: Likewise.
5293         * sysdeps/s390/dl-procinfo.h: Likewise.
5294         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5295         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5296         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5297         return -1 for unknown a_type display fallback.
5298         * sysdeps/sparc/dl-procinfo.h: Likewise.
5299         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5300         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5302 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5304         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5305         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5307 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5309         [BZ #12492]
5310         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5311         mprotect making __stack_prot writable.
5313 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5314             Joseph Myers  <joseph@codesourcery.com>
5316         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5317         as being properly aligned.
5319 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5321         * dlfcn/modstatic5.c: New file.
5322         * dlfcn/tststatic5.c: New file.
5323         * dlfcn/Makefile (tests): Add tststatic5.
5324         (tests-static): Likewise.
5325         (modules-names): Add modstatic5.
5326         (tststatic5-ENV): New variable.
5327         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5329         [BZ #15022]
5330         * elf/dl-support.c (_dl_main_map): New variable.
5331         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5332         (_dl_nns, _dl_load_adds): Set to 1.
5333         (_dl_initial_searchlist): Refer to _dl_main_map.
5334         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5335         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5336         call to _dl_get_origin.
5337         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5338         around call_map.
5339         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5340         * dlfcn/modstatic3.c: New file.
5341         * dlfcn/tststatic3.c: New file.
5342         * dlfcn/tststatic4.c: New file.
5343         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5344         (tests-static): Likewise.
5345         (modules-names): Add modstatic3.
5346         (tststatic3-ENV, tststatic4-ENV): New variables.
5347         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5348         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5350 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5352         * configure.in (CC): Require GCC version 4.4 or later.
5353         * configure: Regenerated.
5354         * manual/install.texi (Tools for Compilation): Update GCC version
5355         requirement.
5356         * INSTALL: Regenerated.
5358 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5360         [BZ #15674]
5361         * string/test-memcmp.c (check2): New.
5362         (main): Call check2.
5364         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5366 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5368         [BZ #15022]
5369         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5370         over to...
5371         (dl_open_worker) [!SHARED]: ... here.
5373 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5375         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5377 2013-06-25  Richard Henderson  <rth@redhat.com>
5379         * locale/programs/locarchive.c: Include <libc-internal.h>
5381 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5383         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5384         trailing whitespace removed.
5386 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5388         [BZ #10283]
5389         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5390         * locale/programs/locarchive.c: Include libc-mmap.h.
5391         (prepare_address_space): Take two new outputs (the mmap base and len).
5392         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5393         values.
5394         (create_archive): Declare new mmap base and len values for
5395         prepare_address_space, and store the result in ah.
5396         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5397         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5398         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5399         Declare new mmap base and len values for
5400         prepare_address_space, and store the result in new_ah.
5401         (open_archive): Declare new mmap base and len values for
5402         prepare_address_space, and store the result in ah.
5403         (close_archive): If ah->mmap_base is not NULL, use that and
5404         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5405         * sysdeps/generic/libc-mmap.h: New file.
5407 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5409         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5410         (ALIGN_UP): Likewise.
5411         (PTR_ALIGN_DOWN): Likewise.
5412         (PTR_ALIGN_UP): Likewise.
5414 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5416         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5417         entry mapped to PPC_PLATFORM_POWER8.
5418         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5419         POWER8.
5420         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5421         (_dl_string_platform): Add case for exporting platform position for
5422         POWER8.
5423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5424         search path to sysdeps/powerpc/powerpc32/power8 directory.
5425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5426         search path to sysdeps/powerpc/powerpc64/power8 directory.
5427         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5428         power7 directories.
5429         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5430         power7 directories.
5432 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5434         * INSTALL: Regenerate.
5436         * nscd/connections.c (nscd_init): Fix comment.
5438 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5440         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5442         [BZ #15667]
5443         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5444         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5446 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5448         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5449         DL_DST_REQ_STATIC.
5450         (DL_DST_REQ_STATIC): Remove macro.
5452 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5454         [BZ #7006]
5455         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5456         with a shift of 0 bits.
5458 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5460         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5461         $(tststatic-ENV).
5463 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5465         [BZ #15655]
5466         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5468 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5470         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5471         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5472         accepts -fno-tree-loop-distribute-patterns.
5473         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5474         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5475         recursive call.
5476         * string/memset.c (memset): Likewise.
5477         * string/test-memmove.c (simple_memmove): Disable loop transformation
5478         to library calls.
5479         * string/test-memset.c (simple_memset): Likewise.
5480         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5481         * benchtests/bench-memset.c (simple_memset): Likewise.
5482         * configure: Regenerated.
5484 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5486         * math/test-misc.c (main): Ignore fesetround failure when failures
5487         of subsequent rounding tests would be ignored.
5489         [BZ #15654]
5490         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5491         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5492         * math/fegetenv.c (__fegetenv): Return 0.
5493         * math/fegetexcept.c (fegetexcept): Return 0.
5494         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5495         FE_TONEAREST.
5496         * math/feholdexcpt.c (feholdexcept): Return 0.
5497         * math/fesetenv.c (__fesetenv): Return 0.
5498         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5499         argument FE_TONEAREST.
5500         * math/feupdateenv.c (__feupdateenv): Return 0.
5501         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5503 2013-06-18  Roland McGrath  <roland@hack.frob.com>
5505         * elf/rtld-Rules (rtld-compile-command.S): New variable.
5506         (rtld-compile-command.s, rtld-compile-command.c): New variables.
5507         ($(objpfx)rtld-%.os rules): Use them.
5509 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5511         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5512         fields.
5514 2013-06-17  Roland McGrath  <roland@hack.frob.com>
5516         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5517         length of target pattern, then descending length of dependency pattern.
5518         * configure.in (AWK): Require gawk 3.1.2 or newer.
5519         * manual/install.texi (Tools for Compilation): Say that we do.
5520         * configure: Regenerated.
5522         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5523         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5524         * scripts/sysd-rules.awk: ... this new script.
5525         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5526         than a glob-style pattern.
5528 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
5530         * math/test-misc.c (main): Do not treat incorrectly rounded
5531         conversions as failure unless ROUNDING_TESTS passes.
5533 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
5535         [BZ #15631]
5536         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5537         restore exception state around main square root computation, then
5538         check for inexactness explicitly.
5540         * math/libm-test.inc (fma_test_data): Add another test.
5542 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5544         * manual/threads.texi (Non-POSIX Extensions): New document
5545         node.  Document pthread_getattr_default_np and
5546         pthread_setattr_default_np.
5548         * Versions.def (libpthread): Add GLIBC_2.18.
5549         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5551         Likewise.
5552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5553         Likewise.
5554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5555         Likewise.
5556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5557         Likewise.
5558         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5559         Likewise.
5560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5561         Likewise.
5562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5563         Likewise.
5564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5565         Likewise.
5566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5567         Likewise.
5569 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5571         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5572         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5574 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5575             H.J. Lu  <hjl.tools@gmail.com>
5577         [BZ #15627]
5578         * sysdeps/x86_64/rtld-memset.c: Remove file.
5579         * sysdeps/x86_64/rtld-memset.S: New file.
5581 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
5583         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5584         (test_in_one_mode): Take arguments for whether the rounding mode
5585         is supported for each floating-point type.
5586         (do_test): Pass new arguments to test_in_one_mode using
5587         ROUNDING_TESTS.
5589 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5591         * posix/tst-waitid.c (do_test): Distinguish different instances of
5592         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
5593         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5594         before entering the kernel for waitpid.
5596 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5598         * NEWS: Fix note on clock function precision.  Text by Roland
5599         McGrath.
5601 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5603         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5604         it into place only when and if the sanity check passes.
5606 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
5608         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5609         output for whether conversion result is exact.  Take argument
5610         indicating whether type is IBM long double.
5611         (round_for_all): Change need_exact field to ibm_ld.
5612         * stdlib/tst-strtod-round.c (struct exactness): New type.
5613         (struct test): Change bool ld_ok field to struct exactness exact.
5614         (TEST): Update all definitions for change to field.
5615         (tests): Regenerate array contents.
5616         (test_in_one_mode): Take pointer to new field instead of old ld_ok
5617         field value.  Check for IBM long double here.
5618         (do_test): Update calls to test_in_one_mode.
5620 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5622         [BZ #12515]
5623         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5624         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5626 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5628         [BZ #15605]
5629         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5630         generated by the compiler on loop optimizations.
5631         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5632         general definitions.
5634 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
5636         * math/bug-nextafter.c: Include <math-tests.h>.
5637         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5638         the relevant type.
5639         * math/bug-nexttoward.c: Include <math-tests.h>.
5640         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5641         the relevant type.
5642         * math/test-misc.c: Include <math-tests.h>.
5643         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5644         the relevant type.
5646 2013-06-12  Andreas Jaeger  <aj@suse.de>
5648         * po/ia.po: Update Interlingua translation from translation
5649         project.
5651 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5653         * include/fenv.h: Include stdbool.h.
5654         (struct rm_ctx): New structure.
5655         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5656         Define macro.
5657         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5658         (SET_RESTORE_ROUNDF): Likewise.
5659         (SET_RESTORE_ROUNDL): Likewise.
5660         (SET_RESTORE_ROUND_NOEX): Likewise.
5661         (SET_RESTORE_ROUND_NOEXF): Likewise.
5662         (SET_RESTORE_ROUND_NOEXL): Likewise.
5663         (SET_RESTORE_ROUND_53BIT): Likewise.
5664         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5665         (libc_feresetround_noexf_ctx): Likewise.
5666         (libc_feresetround_noexl_ctx): Likewise.
5667         (libc_feholdsetround_53bit_ctx): Likewise.
5668         (libc_feresetround_53bit_ctx): Likewise.
5669         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5670         (libc_feholdexcept_setround_sse_ctx): New function.
5671         (libc_fesetenv_sse_ctx): Likewise.
5672         (libc_feupdateenv_sse_ctx): Likewise.
5673         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5674         (libc_feholdexcept_setround_387_ctx): Likewise.
5675         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5676         (libc_feholdsetround_387_prec_ctx): Likewise.
5677         (libc_feholdsetround_387_ctx): Likewise.
5678         (libc_feholdsetround_387_53bit_ctx): Likewise.
5679         (libc_feholdsetround_sse_ctx): Likewise.
5680         (libc_feresetround_sse_ctx): Likewise.
5681         (libc_feresetround_387_ctx): Likewise.
5682         (libc_feupdateenv_387_ctx): Likewise.
5683         (libc_feholdexcept_setroundf_ctx): Define macro.
5684         (libc_fesetenvf_ctx): Likewise.
5685         (libc_feupdateenvf_ctx): Likewise.
5686         (libc_feholdsetroundf_ctx): Likewise.
5687         (libc_feresetroundf_ctx): Likewise.
5688         (libc_feholdexcept_setround_ctx): Likewise.
5689         (libc_fesetenv_ctx): Likewise.
5690         (libc_feupdateenv_ctx): Likewise.
5691         (libc_feholdsetround_ctx): Likewise.
5692         (libc_feresetround_ctx): Likewise.
5693         (libc_feholdexcept_setroundl_ctx): Likewise.
5694         (libc_feupdateenvl_ctx): Likewise.
5695         (libc_feholdsetroundl_ctx): Likewise.
5696         (libc_feresetroundl_ctx): Likewise.
5697         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5698         (libc_feresetround_53bit_ctx): Likewise.
5700 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5702         * locale/iso-639.def: Convert to UTF-8.
5704 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
5706         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5707         (EXCEPTION_TESTS_double): Likewise.
5708         (EXCEPTION_TESTS_long_double): Likewise.
5709         (EXCEPTION_TESTS): Likewise.
5710         * math/libm-test.inc (test_exceptions): Only test exceptions if
5711         EXCEPTION_TESTS (FLOAT).
5713 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5715         * benchtests/Makefile (string-bench): Add strcpy_chk and
5716         stpcpy_chk.
5717         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5718         * benchtests/bench-stpcpy_chk.c: New file.
5719         * benchtests/bench-strcpy_chk-ifunc.c: New file.
5720         * benchtests/bench-strcpy_chk.c: New file.
5721         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5722         code.
5723         (do_test): Likewise.
5725 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5727         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5728         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5729         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5730         with tabs where appropriate.
5731         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5732         dl-procinfo.h.
5733         [PPC_PLATFORM_PPC440]: Likewise.
5734         [PPC_PLATFORM_PPC464]: Likewise.
5735         [PPC_PLATFORM_PPC476]: Likewise.
5736         (_dl_string_platform): Add support for detecting ppc405, ppc440,
5737         ppc464, and ppc476 platform strings merging from ports/
5738         dl-procinfo.h.
5740 2013-06-11  Andreas Schwab  <schwab@suse.de>
5742         [BZ #14991]
5743         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5744         (from_ucs4_idx): Regenerate.
5745         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5746         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5747         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5748         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5749         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5750         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5751         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5752         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5753         from FROM_LOOP and TO_LOOP specific macros.
5754         (BODY): Handle combining characters.
5755         * iconvdata/BIG5HKSCS.irreversible: Update.
5756         * iconvdata/BIG5HKSCS.precomposed: New file.
5757         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5758         characters.
5759         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5761 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5763         * include/sys/time.h: Fix indentation and add copyright header.
5765         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5766         (do_test): Likewise.
5767         * string/test-memchr.c (do_one_test): Likewise.
5768         (do_test): Likewise.
5769         * string/test-memcmp.c (do_one_test): Likewise.
5770         (do_test): Likewise.
5771         * string/test-memcpy.c (do_one_test): Likewise.
5772         (do_test): Likewise.
5773         * string/test-memmem.c (do_one_test): Likewise.
5774         (do_test): Likewise.
5775         (do_random_tests): Likewise.
5776         * string/test-memmove.c (do_one_test): Likewise.
5777         (do_test): Likewise.
5778         * string/test-memset.c (do_one_test): Likewise.
5779         (do_test): Likewise.
5780         * string/test-rawmemchr.c (do_one_test): Likewise.
5781         (do_test): Likewise.
5782         * string/test-strcasecmp.c (do_one_test): Likewise.
5783         (do_test): Likewise.
5784         * string/test-strcasestr.c (do_one_test): Likewise.
5785         (do_test): Likewise.
5786         * string/test-strcat.c (do_one_test): Likewise.
5787         (do_test): Likewise.
5788         * string/test-strchr.c (do_one_test): Likewise.
5789         (do_test): Likewise.
5790         * string/test-strcmp.c (do_one_test): Likewise.
5791         (do_test): Likewise.
5792         * string/test-strcpy.c (do_one_test): Likewise.
5793         (do_test): Likewise.
5794         * string/test-string.h: Likewise.
5795         (test_init): Likewise.
5796         * string/test-strlen.c (do_one_test): Likewise.
5797         (do_test): Likewise.
5798         * string/test-strncasecmp.c (do_one_test): Likewise.
5799         (do_test): Likewise.
5800         * string/test-strncat.c (do_one_test): Likewise.
5801         (do_test): Likewise.
5802         * string/test-strncmp.c (do_one_test): Likewise.
5803         (do_test_limit): Likewise.
5804         (do_test): Likewise.
5805         * string/test-strncpy.c (do_one_test): Likewise.
5806         (do_test): Likewise.
5807         * string/test-strnlen.c (do_one_test): Likewise.
5808         (do_test): Likewise.
5809         * string/test-strpbrk.c (do_one_test): Likewise.
5810         (do_test): Likewise.
5811         * string/test-strrchr.c (do_one_test): Likewise.
5812         (do_test): Likewise.
5813         * string/test-strspn.c (do_one_test): Likewise.
5814         (do_test): Likewise.
5815         * string/test-strstr.c (do_one_test): Likewise.
5816         (do_test): Likewise.
5818         * benchtests/Makefile (string-bench): Add string benchmarks.
5819         * benchtests/bench-bcopy-ifunc.c: New file.
5820         * benchtests/bench-bcopy.c: New file.
5821         * benchtests/bench-bzero-ifunc.c: New file.
5822         * benchtests/bench-bzero.c: New file.
5823         * benchtests/bench-memccpy-ifunc.c: New file.
5824         * benchtests/bench-memccpy.c: New file.
5825         * benchtests/bench-memchr-ifunc.c: New file.
5826         * benchtests/bench-memchr.c: New file.
5827         * benchtests/bench-memcmp-ifunc.c: New file.
5828         * benchtests/bench-memcmp.c: New file.
5829         * benchtests/bench-memmem-ifunc.c: New file.
5830         * benchtests/bench-memmem.c: New file.
5831         * benchtests/bench-memmove-ifunc.c: New file.
5832         * benchtests/bench-memmove.c: New file.
5833         * benchtests/bench-mempcpy-ifunc.c: New file.
5834         * benchtests/bench-mempcpy.c: New file.
5835         * benchtests/bench-memset-ifunc.c: New file.
5836         * benchtests/bench-memset.c: New file.
5837         * benchtests/bench-rawmemchr-ifunc.c: New file.
5838         * benchtests/bench-rawmemchr.c: New file.
5839         * benchtests/bench-stpcpy-ifunc.c: New file.
5840         * benchtests/bench-stpcpy.c: New file.
5841         * benchtests/bench-stpncpy-ifunc.c: New file.
5842         * benchtests/bench-stpncpy.c: New file.
5843         * benchtests/bench-strcasecmp-ifunc.c: New file.
5844         * benchtests/bench-strcasecmp.c: New file.
5845         * benchtests/bench-strcasestr-ifunc.c: New file.
5846         * benchtests/bench-strcasestr.c: New file.
5847         * benchtests/bench-strcat-ifunc.c: New file.
5848         * benchtests/bench-strcat.c: New file.
5849         * benchtests/bench-strchr-ifunc.c: New file.
5850         * benchtests/bench-strchr.c: New file.
5851         * benchtests/bench-strchrnul-ifunc.c: New file.
5852         * benchtests/bench-strchrnul.c: New file.
5853         * benchtests/bench-strcmp-ifunc.c: New file.
5854         * benchtests/bench-strcmp.c: New file.
5855         * benchtests/bench-strcpy-ifunc.c: New file.
5856         * benchtests/bench-strcpy.c: New file.
5857         * benchtests/bench-strcspn-ifunc.c: New file.
5858         * benchtests/bench-strcspn.c: New file.
5859         * benchtests/bench-strlen-ifunc.c: New file.
5860         * benchtests/bench-strlen.c: New file.
5861         * benchtests/bench-strncasecmp-ifunc.c: New file.
5862         * benchtests/bench-strncasecmp.c: New file.
5863         * benchtests/bench-strncat-ifunc.c: New file.
5864         * benchtests/bench-strncat.c: New file.
5865         * benchtests/bench-strncmp-ifunc.c: New file.
5866         * benchtests/bench-strncmp.c: New file.
5867         * benchtests/bench-strncpy-ifunc.c: New file.
5868         * benchtests/bench-strncpy.c: New file.
5869         * benchtests/bench-strnlen-ifunc.c: New file.
5870         * benchtests/bench-strnlen.c: New file.
5871         * benchtests/bench-strpbrk-ifunc.c: New file.
5872         * benchtests/bench-strpbrk.c: New file.
5873         * benchtests/bench-strrchr-ifunc.c: New file.
5874         * benchtests/bench-strrchr.c: New file.
5875         * benchtests/bench-strspn-ifunc.c: New file.
5876         * benchtests/bench-strspn.c: New file.
5877         * benchtests/bench-strstr-ifunc.c: New file.
5878         * benchtests/bench-strstr.c: New file.
5880         * benchtests/Makefile: Disable parallel execution of targets.
5881         (string-bench): Add memcpy.
5882         (benchset): New variable to store a list of benchmark sets.
5883         (bench-func): Renamed from bench.
5884         (bench-set): New target.
5885         (bench): Depend on bench-func and bench-set.
5886         * benchtests/README: Add section on benchmark sets.
5887         * benchtests/bench-memcpy-ifunc.c: New file.
5888         * benchtests/bench-memcpy.c: New file.
5889         * benchtests/bench-string.h: New file.
5891 2013-06-11  Andreas Schwab  <schwab@suse.de>
5893         [BZ #15577]
5894         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5895         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5896         values in the triple.
5897         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5898         terminator in the group key.
5900 2013-06-11  Andreas Jaeger  <aj@suse.de>
5902         * po/zh_TW.po: Update Chinese (traditional) translation from
5903         translation project.
5905 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5907         * include/time.h (__clock_gettime): Add libc_hidden_proto.
5908         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5909         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
5910         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5911         (clock_getcpuclockid): Likewise.
5912         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5913         Add weak_alias and libc_hidden_def.
5914         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5915         * rt/clock_gettime.c (clock_gettime): Rename to
5916         __clock_gettime.  Add weak_alias and libc_hidden_def.
5917         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5918         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5919         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
5920         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5921         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5922         Likewise.
5923         * rt/clock_settime.c (clock_settime): Rename to
5924         __clock_settime.  Add weak_alias and libc_hidden_def.
5925         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5927 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
5929         * mach/err_boot.sub: Remove trailing whitespace.
5930         * mach/err_ipc.sub: Likewise.
5931         * mach/err_mach.sub: Likewise.
5933         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5934         (ROUNDING_TESTS_double): Likewise.
5935         (ROUNDING_TESTS_long_double): Likewise.
5936         (ROUNDING_TESTS): Likewise.
5937         * math/libm-test.inc: Include <math-tests.h>.
5938         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5939         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5940         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5941         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5943 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5945         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5946         of assigning.
5948 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
5950         * sysdeps/gnu/errlist.awk: Do not generate space at end of
5951         otherwise empty TRANS lines.
5952         * sysdeps/gnu/errlist.c: Regenerated.
5954         * catgets/gencat.c (error_print): Use (void) in function
5955         definition.
5956         * crypt/crypt_util.c (__init_des): Likewise.
5957         * crypt/speeds.c (Stop): Likewise.
5958         (main): Likewise.
5959         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5960         * inet/ruserpass.c (token): Likewise.
5961         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5962         * intl/localealias.c (extend_alias_table): Likewise.
5963         * intl/plural-exp.c (init_germanic_plural): Likewise.
5964         * libio/fcloseall.c (__fcloseall): Likewise.
5965         * libio/genops.c (_IO_flush_all): Likewise.
5966         (_IO_flush_all_linebuffered): Likewise.
5967         (_IO_cleanup): Likewise.
5968         (_IO_iter_begin): Likewise.
5969         (_IO_iter_end): Likewise.
5970         (_IO_list_lock): Likewise.
5971         (_IO_list_unlock): Likewise.
5972         (_IO_list_resetlock): Likewise.
5973         * libio/getchar.c (getchar): Likewise.
5974         * libio/getchar_u.c (getchar_unlocked): Likewise.
5975         * libio/getwchar.c (getwchar): Likewise.
5976         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5977         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5978         * login/getpt.c (__getpt): Likewise.
5979         * login/tst-utmp.c (main): Likewise.
5980         * malloc/hooks.c (__malloc_check_init): Likewise.
5981         * malloc/malloc.c (__malloc_stats): Likewise.
5982         * malloc/mtrace.c (tr_break): Likewise.
5983         (mtrace): Likewise.
5984         (muntrace): Likewise.
5985         * misc/fstab.c (endfsent): Likewise.
5986         * misc/getclktck.c (__getclktck): Likewise.
5987         * misc/getdtsz.c (__getdtablesize): Likewise.
5988         * misc/gethostid.c (gethostid): Likewise.
5989         * misc/getpagesize.c (__getpagesize): Likewise.
5990         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5991         (__get_nprocs): Likewise.
5992         (__get_phys_pages): Likewise.
5993         (__get_avphys_pages): Likewise.
5994         * misc/getttyent.c (getttyent): Likewise.
5995         (setttyent): Likewise.
5996         (endttyent): Likewise.
5997         * misc/getusershell.c (getusershell): Likewise.
5998         (endusershell): Likewise.
5999         (setusershell): Likewise.
6000         (initshells): Likewise.
6001         * misc/hsearch.c (__hdestroy): Likewise.
6002         * misc/sync.c (sync): Likewise.
6003         * misc/syslog.c (closelog_internal): Likewise.
6004         (closelog): Likewise.
6005         * misc/ttyslot.c (ttyslot): Likewise.
6006         * misc/vhangup.c (vhangup): Likewise.
6007         * posix/fork.c (__fork): Likewise.
6008         * posix/getegid.c (__getegid): Likewise.
6009         * posix/geteuid.c (__geteuid): Likewise.
6010         * posix/getgid.c (__getgid): Likewise.
6011         * posix/getpid.c (__getpid): Likewise.
6012         * posix/getppid.c (__getppid): Likewise.
6013         * posix/getuid.c (__getuid): Likewise.
6014         * posix/pause.c (pause): Likewise.
6015         * posix/setpgrp.c (setpgrp): Likewise.
6016         * posix/setsid.c (__setsid): Likewise.
6017         * posix/test-vfork.c (noop): Likewise.
6018         * resolv/gethnamaddr.c (_endhtent): Likewise.
6019         (_gethtent): Likewise.
6020         (ht_endhostent): Likewise.
6021         (gethostent): Likewise.
6022         (dns_service): Likewise.
6023         * stdlib/drand48.c (drand48): Likewise.
6024         * stdlib/lrand48.c (lrand48): Likewise.
6025         * stdlib/mrand48.c (mrand48): Likewise.
6026         * stdlib/rand.c (rand): Likewise.
6027         * stdlib/random.c (__random): Likewise.
6028         * stdlib/setenv.c (clearenv): Likewise.
6029         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6030         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6031         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6032         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6033         (__get_nprocs): Likewise.
6034         (__get_phys_pages): Likewise.
6035         (__get_avphys_pages): Likewise.
6036         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6037         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6038         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6039         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6040         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6041         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6042         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6043         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6044         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6045         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6046         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6047         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6048         * sysdeps/posix/clock.c (clock): Likewise.
6049         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6050         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6051         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6052         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6053         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6054         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6055         (__get_nprocs_conf): Likewise.
6056         (__get_phys_pages): Likewise.
6057         (__get_avphys_pages): Likewise.
6058         * time/clock.c (clock): Likewise.
6059         * time/tzset.c (__tzname_max): Likewise.
6061 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6063         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6064         (__bswap_32): Do not use "register".
6065         * crypt/crypt.c (_ufc_doit_r): Likewise.
6066         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6067         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6068         * gmon/gmon.c (__monstartup): Likewise.
6069         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6070         * hurd/hurdmalloc.c (more_memory): Likewise.
6071         (malloc): Likewise.
6072         (free): Likewise.
6073         (realloc): Likewise.
6074         (malloc_fork_prepare): Likewise.
6075         (malloc_fork_parent): Likewise.
6076         (malloc_fork_child): Likewise.
6077         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6078         (_svcauth_des): Likewise.
6079         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6080         * inet/inet_net.c (inet_network): Likewise.
6081         * inet/inet_netof.c (inet_netof): Likewise.
6082         * inet/rcmd.c (__validuser2_sa): Likewise.
6083         * io/fts.c (fts_open): Likewise.
6084         (fts_load): Likewise.
6085         (fts_close): Likewise.
6086         (fts_read): Likewise.
6087         (fts_children): Likewise.
6088         (fts_build): Likewise.
6089         (fts_stat): Likewise.
6090         (fts_sort): Likewise.
6091         (fts_alloc): Likewise.
6092         (fts_lfree): Likewise.
6093         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6094         (_IO_file_xsgetn): Likewise.
6095         (_IO_file_xsgetn_mmap): Likewise.
6096         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6097         (_IO_cookie_write): Likewise.
6098         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6099         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6100         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6101         * malloc/obstack.c (_obstack_begin): Likewise.
6102         (_obstack_begin_1): Likewise.
6103         (_obstack_newchunk): Likewise.
6104         (_obstack_allocated_p): Likewise.
6105         (obstack_free): Likewise.
6106         (_obstack_memory_used): Likewise.
6107         * misc/getttyent.c (getttynam): Likewise.
6108         (getttyent): Likewise.
6109         (skip): Likewise.
6110         (value): Likewise.
6111         * misc/getusershell.c (initshells): Likewise.
6112         * misc/syslog.c (__vsyslog_chk): Likewise.
6113         * misc/ttyslot.c (ttyslot): Likewise.
6114         * nis/nis_hash.c (__nis_hash): Likewise.
6115         * posix/fnmatch_loop.c (FCT): Likewise.
6116         * posix/getconf.c (print_all): Likewise.
6117         (main): Likewise.
6118         * posix/getopt.c (exchange): Likewise.
6119         * posix/glob.c (globfree): Likewise.
6120         (prefix_array): Likewise.
6121         (__glob_pattern_type): Likewise.
6122         * resolv/arpa/nameser.h (NS_GET16): Likewise.
6123         (NS_GET32): Likewise.
6124         (NS_PUT16): Likewise.
6125         (NS_PUT32): Likewise.
6126         * resolv/gethnamaddr.c (getanswer): Likewise.
6127         (gethostbyname2): Likewise.
6128         (gethostbyaddr): Likewise.
6129         (_gethtent): Likewise.
6130         (_gethtbyname2): Likewise.
6131         (_gethtbyaddr): Likewise.
6132         * resolv/ns_print.c (dst_s_get_int16): Likewise.
6133         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6134         * resolv/res_init.c (__res_vinit): Likewise.
6135         (net_mask): Likewise.
6136         * resolv/res_mkquery.c (outchar): Likewise.
6137         (PRINT): Likewise.
6138         * stdio-common/printf_fp.c (outchar): Likewise.
6139         (PRINT): Likewise.
6140         * stdio-common/printf_fphex.c (outchar): Likewise.
6141         (PRINT): Likewise.
6142         * stdio-common/printf_size.c (outchar): Likewise.
6143         (PRINT): Likewise.
6144         * stdio-common/test_rdwr.c (main): Likewise.
6145         * stdio-common/tfformat.c (matches): Likewise.
6146         * stdio-common/vfprintf.c (outchar): Likewise.
6147         (printf_unknown): Likewise.
6148         (buffered_vfprintf): Likewise.
6149         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6150         * stdio-common/xbug.c (AppendToBuffer): Likewise.
6151         (ReadFile): Likewise.
6152         * stdlib/qsort.c (SWAP): Likewise.
6153         (_quicksort): Likewise.
6154         * stdlib/setenv.c (__add_to_environ): Likewise.
6155         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6156         * stdlib/strtol_l.c (__strtol_l): Likewise.
6157         * stdlib/tst-strtod.c (main): Likewise.
6158         * stdlib/tst-strtol.c (main): Likewise.
6159         * stdlib/tst-strtoll.c (main): Likewise.
6160         * string/bits/string2.h (__strcmp_cc): Likewise.
6161         (__strcmp_cg): Likewise.
6162         (__strcspn_c1): Likewise.
6163         (__strcspn_c2): Likewise.
6164         (__strcspn_c3): Likewise.
6165         (__strspn_c1): Likewise.
6166         (__strspn_c2): Likewise.
6167         (__strspn_c3): Likewise.
6168         (__strsep_1c): Likewise.
6169         (__strsep_2c): Likewise.
6170         (__strsep_3c): Likewise.
6171         * string/memccpy.c (__memccpy): Likewise.
6172         * string/stpcpy.c (__stpcpy): Likewise.
6173         * string/strcmp.c (strcmp): Likewise.
6174         * string/strrchr.c (strrchr): Likewise.
6175         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6176         Likewise.
6177         * sysdeps/mach/hurd/getcwd.c
6178         (_hurd_canonicalize_directory_name_internal): Likewise.
6179         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6180         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6181         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6182         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6183         Likewise, in both definitions.
6184         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6185         definitions.
6186         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6187         64] (__bswap_64): Likewise.
6188         * time/test_time.c (main): Likewise.
6189         * time/tzfile.c (__tzfile_read): Likewise.
6190         (__tzfile_compute): Likewise.
6191         * time/tzset.c (__tzset_parse_tz): Likewise.
6192         (tzset_internal): Likewise.
6193         (compute_change): Likewise.
6194         * wcsmbs/wcscat.c (__wcscat): Likewise.
6195         * wcsmbs/wcschr.c (wcschr): Likewise.
6196         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6197         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6198         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6199         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6200         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6201         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6202         * wcsmbs/wmemchr.c (wmemchr): Likewise.
6203         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6204         * wcsmbs/wmemset.c (wmemset): Likewise.
6206 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
6208         * scripts/config.guess: Update to version 2013-05-16.
6209         * scripts/config.sub: Update to version 2013-04-24.
6210         * scripts/install-sh: Update to version 2011-11-20.07.
6211         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6212         * scripts/move-if-change: Update to version 2012-01-06 07:23.
6214 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
6216         * debug/fgetws_u_chk.c: Fix leading whitespaces.
6217         * elf/sln.c: Likewise.
6218         * hurd/hurd/ioctl.h: Likewise.
6219         * hurd/hurdmalloc.c: Likewise.
6220         * hurd/xattr.c: Likewise.
6221         * include/shlib-compat.h: Likewise.
6222         * inet/ruserpass.c: Likewise.
6223         * libio/iofgets_u.c: Likewise.
6224         * libio/iofgetws_u.c: Likewise.
6225         * locale/programs/ld-identification.c: Likewise.
6226         * locale/programs/ld-time.c: Likewise.
6227         * mach/msg-destroy.c: Likewise.
6228         * nss/nss_files/files-netgrp.c: Likewise.
6229         * resolv/res_data.c: Likewise.
6230         * soft-fp/op-1.h: Likewise.
6231         * soft-fp/op-2.h: Likewise.
6232         * soft-fp/op-4.h: Likewise.
6233         * soft-fp/op-common.h: Likewise.
6234         * stdio-common/printf_fphex.c: Likewise.
6235         * stdlib/strtod_l.c: Likewise.
6236         * sunrpc/rpc/clnt.h: Likewise.
6237         * sysdeps/generic/framestate.c: Likewise.
6238         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6239         * sysdeps/i386/bsd-setjmp.S: Likewise.
6240         * sysdeps/i386/__longjmp.S: Likewise.
6241         * sysdeps/i386/setjmp.S: Likewise.
6242         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6243         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6244         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6245         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6246         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6247         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6248         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6249         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6250         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6251         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6252         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6253         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6254         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6255         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6256         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6257         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6258         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6259         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6260         * sysdeps/ieee754/support.c: Likewise.
6261         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6262         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6263         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6264         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6265         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6266         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6267         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6268         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6269         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6270         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6271         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6272         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6273         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6274         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6275         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6276         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6277         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6280 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
6282         * posix/transbug.c: Remove executable mode.
6284 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
6286         * crypt/speeds.c: Remove trailing whitespace.
6287         * dlfcn/default.c: Likewise.
6288         * elf/ifuncdep2.c: Likewise.
6289         * elf/ifuncmain1.c: Likewise.
6290         * elf/ifuncmain1vis.c: Likewise.
6291         * elf/testobj.h: Likewise.
6292         * elf/tst-stackguard1.c: Likewise.
6293         * gmon/sys/gmon.h: Likewise.
6294         * hurd/hurdmsg.c: Likewise.
6295         * hurd/new-fd.c: Likewise.
6296         * hurd/ports-get.c: Likewise.
6297         * iconvdata/ibm1008_420.c: Likewise.
6298         * inet/tst-getni1.c: Likewise.
6299         * inet/tst-getni2.c: Likewise.
6300         * libio/ioungetc.c: Likewise.
6301         * libio/wfiledoalloc.c: Likewise.
6302         * manual/libm-err-tab.pl: Likewise.
6303         * math/w_dremf.c: Likewise.
6304         * misc/ftruncate.c: Likewise.
6305         * posix/bug-glob2.c: Likewise.
6306         * posix/tst-pcre.c: Likewise.
6307         * posix/wait4.c: Likewise.
6308         * resolv/README: Likewise.
6309         * resolv/res_debug.h: Likewise.
6310         * resolv/tst-inet_ntop.c: Likewise.
6311         * setjmp/bug269-setjmp.c: Likewise.
6312         * soft-fp/extended.h: Likewise.
6313         * soft-fp/op-1.h: Likewise.
6314         * soft-fp/op-2.h: Likewise.
6315         * soft-fp/op-4.h: Likewise.
6316         * soft-fp/op-8.h: Likewise.
6317         * soft-fp/testit.c: Likewise.
6318         * stdio-common/bug16.c: Likewise.
6319         * stdlib/random.c: Likewise.
6320         * sunrpc/rpcsvc/rquota.x: Likewise.
6321         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6322         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6323         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6324         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6325         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6326         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6327         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6328         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6329         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6330         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6331         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6332         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6333         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6334         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6335         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6336         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6337         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6338         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6339         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6340         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6341         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6342         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6343         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6344         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6345         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6346         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6347         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6348         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6349         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6350         * sysdeps/ieee754/s_lib_version.c: Likewise.
6351         * sysdeps/mach/hurd/check_fds.c: Likewise.
6352         * sysdeps/mach/hurd/getsockname.c: Likewise.
6353         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6354         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6355         * sysdeps/powerpc/bits/link.h: Likewise.
6356         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6357         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6358         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6359         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6360         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6361         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6362         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6363         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6364         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6365         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6366         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6367         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6368         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6369         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6370         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6371         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6372         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6373         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6374         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6375         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6376         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6377         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6378         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6379         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6380         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6381         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6382         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6383         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6384         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6385         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6386         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6387         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6388         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6389         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6390         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6391         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6392         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6393         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6394         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6395         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6396         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6397         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6398         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6399         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6400         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6401         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6402         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6403         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6404         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6405         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6406         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6407         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6408         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6409         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6410         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6411         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6412         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6413         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6414         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6415         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6416         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6417         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6418         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6419         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6420         * sysdeps/powerpc/sysdep.h: Likewise.
6421         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6422         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6423         * sysdeps/sh/dl-trampoline.S: Likewise.
6424         * sysdeps/sh/memset.S: Likewise.
6425         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6426         * sysdeps/sh/strlen.S: Likewise.
6427         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6428         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6429         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6430         * sysdeps/sparc/sparc32/rem.S: Likewise.
6431         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6432         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6433         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6434         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6435         * sysdeps/sparc/sparc32/urem.S: Likewise.
6436         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6437         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6438         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6439         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6440         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6441         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6442         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6443         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6444         * sysdeps/unix/bsd/times.c: Likewise.
6445         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6446         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6450         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6451         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6452         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6453         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6454         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6455         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6456         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6457         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6458         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6459         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6460         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6461         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6462         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6463         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6464         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6465         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6466         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6467         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6468         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6469         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6470         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6471         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6472         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6473         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6474         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6475         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6476         * sysdeps/x86_64/strcspn.S: Likewise.
6478 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6480         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6481         generated file.  Regenerate properly from gen-translit.pl.
6482         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6483         locale/C-translit.h.
6485 2013-06-05  Andreas Schwab  <schwab@suse.de>
6487         [BZ #15100]
6488         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6489         week as 6 instead of -1.
6490         * time/tst-strptime.c (day_tests): Add test case.
6492 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6494         * sysdeps/generic/math_private.h
6495         (libc_feholdexcept_setround_53bit): Replace with
6496         libc_feholdsetround_53bit.
6497         (libc_feupdateenv_53bit): Replace with
6498         libc_feresetround_53bit.
6499         (SET_RESTORE_ROUND_53BIT): Adjust.
6501 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6503         * string/test-strchrnul.c: Add copyright header.
6505         * posix/tst-getaddrinfo4.c: Increase test timeout.
6507 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
6509         [BZ #15536]
6510         * math/libm-test.inc (MAX_EXP): Remove
6511         (MIN_EXP): Define.
6512         (ulp): Use MIN_EXP - MANT_DIG.
6513         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6515 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
6517         * po/be.po: Revert last change.
6518         * po/zh_CN.po: Likewise.
6519         * po/header.pot: Likewise.
6521 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
6523         * Makefile ($(common-objpfx)linkobj/libc.so): Define
6524         link-libc-deps to empty as target-specific variable.
6525         * Makerules (link-libc-args): New variable.
6526         (libc-for-link): Likewise.
6527         (link-libc-deps): Likewise.
6528         (lib%.so): Depend on $(link-libc-deps).  Link with
6529         $(link-libc-args).
6530         (build-module): Link with $(link-libc-args).
6531         (build-module-asneeded): Likewise.
6532         (build-module-helper-objlist): Filter out $(link-libc-deps) from
6533         list of objects.
6534         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6535         target-specific variable.
6536         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6537         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6538         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6539         libc.
6540         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6541         libc and ld.so.
6542         ($(objpfx)libpcprofile.so): Likewise.
6543         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6544         libc_nonshared.a.
6545         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6546         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6547         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6548         $(link-libc-deps).
6549         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6550         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6551         * login/Makefile ($(objpfx)libutil.so): Likewise.
6552         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6553         * math/Makefile ($(objpfx)libm.so): Likewise.
6554         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6555         $(objpfx)libnsl.so): Define libc-for-link as target-specific
6556         variable instead of depending directly on libc.
6557         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6558         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6559         $(link-libc-deps).
6560         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6561         libc.
6562         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6563         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6564         ($(objpfx)libanl.so): Likewise.
6565         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6566         ld.so.
6567         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6568         $(link-libc-deps).
6569         * sysdeps/i386/fpu/Makefile: Remove file.
6570         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6571         ($(objpfx)libm.so): Remove dependency on ld.so.
6573 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
6575         [BZ # 15553]
6576         * nis/yp_xdr.c (XDRMAXNAME): Define.
6577         (XDRMAXRECORD): Define.
6578         (xdr_domainname): Use XDRMAXNAME.
6579         (xdr_mapname): Likewise.
6580         (xdr_peername): Likewise.
6581         (xdr_keydat): Use XDRMAXRECORD.
6582         (xdr_valdat): Likewise.
6584 2013-05-30  Jeff Law  <law@redhat.com>
6586         [BZ #14256]
6587         * manual/errno.texi (ESTALE): Update to account for more than
6588         just NFS file systems.
6589         * sysdeps/gnu/errlist.c: Regenerated.
6591 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6593         [BZ #15465]
6594         * elf/Makefile (tests): Add tst-null-argv.
6595         (modules-names):  Add tst-null-argv-lib.
6596         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6597         (tst-null-argv-ENV): Set environment for tst-null-argv.
6598         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6599         (RTLD_PROGNAME): New macro.
6600         * elf/tst-null-argv.c: New test case.
6601         * elf/tst-null-argv-lib.c: Library for test case.
6602         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6603         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6604         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6605         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6606         * elf/dl-init.c (call_init): Likewise.
6607         (_dl_init): Likewise.
6608         * elf/dl-load.c (print_search_path): Likewise.
6609         (_dl_map_object): Likewise.
6610         * elf/dl-lookup.c (do_lookup_x): Likewise.
6611         (add_dependency): Likewise.
6612         (_dl_lookup_symbol_x): Likewise.
6613         (_dl_debug_bindings): Likewise.
6614         * elf/dl-open.c (_dl_show_scope): Likewise.
6615         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6616         * elf/dl-version.c (match_symbol): Likewise.
6617         (_dl_check_map_versions): Likewise.
6618         * elf/rtld.c (dl_main): Likewise.
6619         (print_unresolved): Use RTLD_PROGNAME.
6620         (print_missing_version): Likewise.
6621         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6622         (elf_machine_rela): Likewise.
6623         * sysdeps/powerpc/powerpc32/dl-machine.c
6624         (__process_machine_rela): Likewise.
6625         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6626         Likewise.
6627         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6628         Likewise.
6629         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6630         Likewise.
6631         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6632         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6633         Likewise.
6634         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6635         Likewise.
6636         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6638 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
6640         * po/be.po: Add descriptive title.
6641         * po/zh_CN.po: Likewise.
6642         * po/header.pot: Likewise.
6644 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
6646         * locale/programs/locarchive.c (create_archive): Inlucde fname in
6647         error message.
6648         (enlarge_archive): Likewise.
6650 2013-05-28  Ben North  <ben@redfrontdoor.org>
6652         * manual/arith.texi (frexp): It is the magnitude of the return
6653         value which lies in [0.5, 1), not the return value itself.
6655 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6659 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
6661         * stdio-common/bug26.c (main): Correct fscanf template.
6663         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6664         declare _dl_skip_args.
6666         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6667         Don't declare.
6669         * manual/platform.texi: Add missing @end deftypefun.
6671 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6673         [BZ #15529]
6674         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6675         bit of mantissa of 2^16382.
6676         * math/libm-test.inc (hypot_test_data): Add more tests.
6678         * math/libm-test.inc: Add drem and pow10 to list of tested
6679         functions.
6680         (pow10_test): New function.
6681         (drem_test): Likewise.
6682         (drem_test_tonearest): Likewise.
6683         (drem_test_towardzero): Likewise.
6684         (drem_test_downward): Likewise.
6685         (drem_test_upward): Likewise.
6686         (main): Call the new functions.
6688         * math/libm-test.inc (finite_test_data): Remove.
6689         (finite_test): Run tests from isfinite_test_data.
6690         (gamma_test_data): Remove.
6691         (gamma_test): Run tests from lgamma_test_data.
6692         * sysdeps/i386/fpu/libm-test-ulps: Update.
6693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6695 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6697         * manual/platform.texi: Add PowerPC PPR function set documentation.
6698         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6699         implementation.
6701 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
6703         * math/libm-test.inc (MAX_EXP): Define.
6704         (ULPDIFF): Define.
6705         (ulp): New function.
6706         (check_float_internal): Use ULPDIFF.
6707         (cpow_test): Disable failing test.
6708         (check_ulp): Test ulp() implemetnation.
6709         (main): Call check_ulp before starting tests.
6711 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6713         * math/gen-libm-test.pl (generate_testfile): Do not handle
6714         START_DATA and END_DATA.
6715         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6716         END_DATA.
6717         (acos_tonearest_test_data): Likewise.
6718         (acos_towardzero_test_data): Likewise.
6719         (acos_downward_test_data): Likewise.
6720         (acos_upward_test_data): Likewise.
6721         (acosh_test_data): Likewise.
6722         (asin_test_data): Likewise.
6723         (asin_tonearest_test_data): Likewise.
6724         (asin_towardzero_test_data): Likewise.
6725         (asin_downward_test_data): Likewise.
6726         (asin_upward_test_data): Likewise.
6727         (asinh_test_data): Likewise.
6728         (atan_test_data): Likewise.
6729         (atanh_test_data): Likewise.
6730         (atan2_test_data): Likewise.
6731         (cabs_test_data): Likewise.
6732         (cacos_test_data): Likewise.
6733         (cacosh_test_data): Likewise.
6734         (carg_test_data): Likewise.
6735         (casin_test_data): Likewise.
6736         (casinh_test_data): Likewise.
6737         (catan_test_data): Likewise.
6738         (catanh_test_data): Likewise.
6739         (cbrt_test_data): Likewise.
6740         (ccos_test_data): Likewise.
6741         (ccosh_test_data): Likewise.
6742         (ceil_test_data): Likewise.
6743         (cexp_test_data): Likewise.
6744         (cimag_test_data): Likewise.
6745         (clog_test_data): Likewise.
6746         (clog10_test_data): Likewise.
6747         (conj_test_data): Likewise.
6748         (copysign_test_data): Likewise.
6749         (cos_test_data): Likewise.
6750         (cos_tonearest_test_data): Likewise.
6751         (cos_towardzero_test_data): Likewise.
6752         (cos_downward_test_data): Likewise.
6753         (cos_upward_test_data): Likewise.
6754         (cosh_test_data): Likewise.
6755         (cosh_tonearest_test_data): Likewise.
6756         (cosh_towardzero_test_data): Likewise.
6757         (cosh_downward_test_data): Likewise.
6758         (cosh_upward_test_data): Likewise.
6759         (cpow_test_data): Likewise.
6760         (cproj_test_data): Likewise.
6761         (creal_test_data): Likewise.
6762         (csin_test_data): Likewise.
6763         (csinh_test_data): Likewise.
6764         (csqrt_test_data): Likewise.
6765         (ctan_test_data): Likewise.
6766         (ctan_tonearest_test_data): Likewise.
6767         (ctan_towardzero_test_data): Likewise.
6768         (ctan_downward_test_data): Likewise.
6769         (ctan_upward_test_data): Likewise.
6770         (ctanh_test_data): Likewise.
6771         (ctanh_tonearest_test_data): Likewise.
6772         (ctanh_towardzero_test_data): Likewise.
6773         (ctanh_downward_test_data): Likewise.
6774         (ctanh_upward_test_data): Likewise.
6775         (erf_test_data): Likewise.
6776         (erfc_test_data): Likewise.
6777         (exp_test_data): Likewise.
6778         (exp_tonearest_test_data): Likewise.
6779         (exp_towardzero_test_data): Likewise.
6780         (exp_downward_test_data): Likewise.
6781         (exp_upward_test_data): Likewise.
6782         (exp10_test_data): Likewise.
6783         (exp2_test_data): Likewise.
6784         (expm1_test_data): Likewise.
6785         (fabs_test_data): Likewise.
6786         (fdim_test_data): Likewise.
6787         (finite_test_data): Likewise.
6788         (floor_test_data): Likewise.
6789         (fma_test_data): Likewise.
6790         (fma_towardzero_test_data): Likewise.
6791         (fma_downward_test_data): Likewise.
6792         (fma_upward_test_data): Likewise.
6793         (fmax_test_data): Likewise.
6794         (fmin_test_data): Likewise.
6795         (fmod_test_data): Likewise.
6796         (fpclassify_test_data): Likewise.
6797         (frexp_test_data): Likewise.
6798         (gamma_test_data): Likewise.
6799         (hypot_test_data): Likewise.
6800         (ilogb_test_data): Likewise.
6801         (isfinite_test_data): Likewise.
6802         (isgreater_test_data): Likewise.
6803         (isgreaterequal_test_data): Likewise.
6804         (isinf_test_data): Likewise.
6805         (isless_test_data): Likewise.
6806         (islessequal_test_data): Likewise.
6807         (islessgreater_test_data): Likewise.
6808         (isnan_test_data): Likewise.
6809         (isnormal_test_data): Likewise.
6810         (issignaling_test_data): Likewise.
6811         (isunordered_test_data): Likewise.
6812         (j0_test_data): Likewise.
6813         (j1_test_data): Likewise.
6814         (jn_test_data): Likewise.
6815         (ldexp_test_data): Likewise.
6816         (lgamma_test_data): Likewise.
6817         (lrint_test_data): Likewise.
6818         (lrint_tonearest_test_data): Likewise.
6819         (lrint_towardzero_test_data): Likewise.
6820         (lrint_downward_test_data): Likewise.
6821         (lrint_upward_test_data): Likewise.
6822         (llrint_test_data): Likewise.
6823         (llrint_tonearest_test_data): Likewise.
6824         (llrint_towardzero_test_data): Likewise.
6825         (llrint_downward_test_data): Likewise.
6826         (llrint_upward_test_data): Likewise.
6827         (log_test_data): Likewise.
6828         (log10_test_data): Likewise.
6829         (log1p_test_data): Likewise.
6830         (log2_test_data): Likewise.
6831         (logb_test_data): Likewise.
6832         (logb_downward_test_data): Likewise.
6833         (lround_test_data): Likewise.
6834         (llround_test_data): Likewise.
6835         (modf_test_data): Likewise.
6836         (nearbyint_test_data): Likewise.
6837         (nextafter_test_data): Likewise.
6838         (nexttoward_test_data): Likewise.
6839         (pow_test_data): Likewise.
6840         (pow_tonearest_test_data): Likewise.
6841         (pow_towardzero_test_data): Likewise.
6842         (pow_downward_test_data): Likewise.
6843         (pow_upward_test_data): Likewise.
6844         (remainder_test_data): Likewise.
6845         (remainder_tonearest_test_data): Likewise.
6846         (remainder_towardzero_test_data): Likewise.
6847         (remainder_downward_test_data): Likewise.
6848         (remainder_upward_test_data): Likewise.
6849         (remquo_test_data): Likewise.
6850         (rint_test_data): Likewise.
6851         (rint_tonearest_test_data): Likewise.
6852         (rint_towardzero_test_data): Likewise.
6853         (rint_downward_test_data): Likewise.
6854         (rint_upward_test_data): Likewise.
6855         (round_test_data): Likewise.
6856         (scalb_test_data): Likewise.
6857         (scalbn_test_data): Likewise.
6858         (scalbln_test_data): Likewise.
6859         (signbit_test_data): Likewise.
6860         (sin_test_data): Likewise.
6861         (sin_tonearest_test_data): Likewise.
6862         (sin_towardzero_test_data): Likewise.
6863         (sin_downward_test_data): Likewise.
6864         (sin_upward_test_data): Likewise.
6865         (sincos_test_data): Likewise.
6866         (sinh_test_data): Likewise.
6867         (sinh_tonearest_test_data): Likewise.
6868         (sinh_towardzero_test_data): Likewise.
6869         (sinh_downward_test_data): Likewise.
6870         (sinh_upward_test_data): Likewise.
6871         (sqrt_test_data): Likewise.
6872         (tan_test_data): Likewise.
6873         (tan_tonearest_test_data): Likewise.
6874         (tan_towardzero_test_data): Likewise.
6875         (tan_downward_test_data): Likewise.
6876         (tan_upward_test_data): Likewise.
6877         (tanh_test_data): Likewise.
6878         (tgamma_test_data): Likewise.
6879         (trunc_test_data): Likewise.
6880         (y0_test_data): Likewise.
6881         (y1_test_data): Likewise.
6882         (yn_test_data): Likewise.
6883         (significand_test_data): Likewise.
6885         * math/gen-libm-test.pl (@functions): Remove variable.
6886         (generate_testfile): Don't handle START and END lines.
6887         * math/libm-test.inc (START): New macro.
6888         (END): Likewise.
6889         (END_COMPLEX): Likewise.
6890         (acos_test): Use END macro without arguments.
6891         (acos_test_tonearest): Likewise.
6892         (acos_test_towardzero): Likewise.
6893         (acos_test_downward): Likewise.
6894         (acos_test_upward): Likewise.
6895         (acosh_test): Likewise.
6896         (asin_test): Likewise.
6897         (asin_test_tonearest): Likewise.
6898         (asin_test_towardzero): Likewise.
6899         (asin_test_downward): Likewise.
6900         (asin_test_upward): Likewise.
6901         (asinh_test): Likewise.
6902         (atan_test): Likewise.
6903         (atanh_test): Likewise.
6904         (atan2_test): Likewise.
6905         (cabs_test): Likewise.
6906         (cacos_test): Use END_COMPLEX macro without arguments.
6907         (cacosh_test): Likewise.
6908         (carg_test): Use END macro without arguments.
6909         (casin_test): Use END_COMPLEX macro without arguments.
6910         (casinh_test): Likewise.
6911         (catan_test): Likewise.
6912         (catanh_test): Likewise.
6913         (cbrt_test): Use END macro without arguments.
6914         (ccos_test): Use END_COMPLEX macro without arguments.
6915         (ccosh_test): Likewise.
6916         (ceil_test): Use END macro without arguments.
6917         (cexp_test): Use END_COMPLEX macro without arguments.
6918         (cimag_test): Use END macro without arguments.
6919         (clog_test): Use END_COMPLEX macro without arguments.
6920         (clog10_test): Likewise.
6921         (conj_test): Likewise.
6922         (copysign_test): Use END macro without arguments.
6923         (cos_test): Likewise.
6924         (cos_test_tonearest): Likewise.
6925         (cos_test_towardzero): Likewise.
6926         (cos_test_downward): Likewise.
6927         (cos_test_upward): Likewise.
6928         (cosh_test): Likewise.
6929         (cosh_test_tonearest): Likewise.
6930         (cosh_test_towardzero): Likewise.
6931         (cosh_test_downward): Likewise.
6932         (cosh_test_upward): Likewise.
6933         (cpow_test): Use END_COMPLEX macro without arguments.
6934         (cproj_test): Likewise.
6935         (creal_test): Use END macro without arguments.
6936         (csin_test): Use END_COMPLEX macro without arguments.
6937         (csinh_test): Likewise.
6938         (csqrt_test): Likewise.
6939         (ctan_test): Likewise.
6940         (ctan_test_tonearest): Likewise.
6941         (ctan_test_towardzero): Likewise.
6942         (ctan_test_downward): Likewise.
6943         (ctan_test_upward): Likewise.
6944         (ctanh_test): Likewise.
6945         (ctanh_test_tonearest): Likewise.
6946         (ctanh_test_towardzero): Likewise.
6947         (ctanh_test_downward): Likewise.
6948         (ctanh_test_upward): Likewise.
6949         (erf_test): Use END macro without arguments.
6950         (erfc_test): Likewise.
6951         (exp_test): Likewise.
6952         (exp_test_tonearest): Likewise.
6953         (exp_test_towardzero): Likewise.
6954         (exp_test_downward): Likewise.
6955         (exp_test_upward): Likewise.
6956         (exp10_test): Likewise.
6957         (exp2_test): Likewise.
6958         (expm1_test): Likewise.
6959         (fabs_test): Likewise.
6960         (fdim_test): Likewise.
6961         (finite_test): Likewise.
6962         (floor_test): Likewise.
6963         (fma_test): Likewise.
6964         (fma_test_towardzero): Likewise.
6965         (fma_test_downward): Likewise.
6966         (fma_test_upward): Likewise.
6967         (fmax_test): Likewise.
6968         (fmin_test): Likewise.
6969         (fmod_test): Likewise.
6970         (fpclassify_test): Likewise.
6971         (frexp_test): Likewise.
6972         (gamma_test): Likewise.
6973         (hypot_test): Likewise.
6974         (ilogb_test): Likewise.
6975         (isfinite_test): Likewise.
6976         (isgreater_test): Likewise.
6977         (isgreaterequal_test): Likewise.
6978         (isinf_test): Likewise.
6979         (isless_test): Likewise.
6980         (islessequal_test): Likewise.
6981         (islessgreater_test): Likewise.
6982         (isnan_test): Likewise.
6983         (isnormal_test): Likewise.
6984         (issignaling_test): Likewise.
6985         (isunordered_test): Likewise.
6986         (j0_test): Likewise.
6987         (j1_test): Likewise.
6988         (jn_test): Likewise.
6989         (ldexp_test): Likewise.
6990         (lgamma_test): Likewise.
6991         (lrint_test): Likewise.
6992         (lrint_test_tonearest): Likewise.
6993         (lrint_test_towardzero): Likewise.
6994         (lrint_test_downward): Likewise.
6995         (lrint_test_upward): Likewise.
6996         (llrint_test): Likewise.
6997         (llrint_test_tonearest): Likewise.
6998         (llrint_test_towardzero): Likewise.
6999         (llrint_test_downward): Likewise.
7000         (llrint_test_upward): Likewise.
7001         (log_test): Likewise.
7002         (log10_test): Likewise.
7003         (log1p_test): Likewise.
7004         (log2_test): Likewise.
7005         (logb_test): Likewise.
7006         (logb_test_downward): Likewise.
7007         (lround_test): Likewise.
7008         (llround_test): Likewise.
7009         (modf_test): Likewise.
7010         (nearbyint_test): Likewise.
7011         (nextafter_test): Likewise.
7012         (nexttoward_test): Likewise.
7013         (pow_test): Likewise.
7014         (pow_test_tonearest): Likewise.
7015         (pow_test_towardzero): Likewise.
7016         (pow_test_downward): Likewise.
7017         (pow_test_upward): Likewise.
7018         (remainder_test): Likewise.
7019         (remainder_test_tonearest): Likewise.
7020         (remainder_test_towardzero): Likewise.
7021         (remainder_test_downward): Likewise.
7022         (remainder_test_upward): Likewise.
7023         (remquo_test): Likewise.
7024         (rint_test): Likewise.
7025         (rint_test_tonearest): Likewise.
7026         (rint_test_towardzero): Likewise.
7027         (rint_test_downward): Likewise.
7028         (rint_test_upward): Likewise.
7029         (round_test): Likewise.
7030         (scalb_test): Likewise.
7031         (scalbn_test): Likewise.
7032         (scalbln_test): Likewise.
7033         (signbit_test): Likewise.
7034         (sin_test): Likewise.
7035         (sin_test_tonearest): Likewise.
7036         (sin_test_towardzero): Likewise.
7037         (sin_test_downward): Likewise.
7038         (sin_test_upward): Likewise.
7039         (sincos_test): Likewise.
7040         (sinh_test): Likewise.
7041         (sinh_test_tonearest): Likewise.
7042         (sinh_test_towardzero): Likewise.
7043         (sinh_test_downward): Likewise.
7044         (sinh_test_upward): Likewise.
7045         (sqrt_test): Likewise.
7046         (tan_test): Likewise.
7047         (tan_test_tonearest): Likewise.
7048         (tan_test_towardzero): Likewise.
7049         (tan_test_downward): Likewise.
7050         (tan_test_upward): Likewise.
7051         (tanh_test): Likewise.
7052         (tgamma_test): Likewise.
7053         (trunc_test): Likewise.
7054         (y0_test): Likewise.
7055         (y1_test): Likewise.
7056         (yn_test): Likewise.
7057         (significand_test): Likewise.
7059 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7061         [BZ #15381]
7062         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7064 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7066         [BZ #14894]
7067         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7068         __ppc_mdoio and __ppc_mdoom.
7069         * manual/platform.texi: Document new functions __ppc_yield,
7070         __ppc_mdoio and __ppc_mdoom.
7072 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7074         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7075         (main): Mention "tls" pseudo-hwcap is legacy.
7076         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7078 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7080         * math/gen-libm-test.pl (parse_args): Output only string of
7081         arguments as text for test name, not full call or descriptions of
7082         tests for extra outputs.
7083         (generate_testfile): Do not pass function name to parse_args.
7084         Generate this_func variable from START.
7085         * math/libm-test.inc (struct test_f_f_data): Rename test_name
7086         field to arg_str.
7087         (struct test_ff_f_data): Likewise.
7088         (test_ff_f_data_nexttoward): Likewise.
7089         (struct test_fi_f_data): Likewise.
7090         (struct test_fl_f_data): Likewise.
7091         (struct test_if_f_data): Likewise.
7092         (struct test_fff_f_data): Likewise.
7093         (struct test_c_f_data): Likewise.
7094         (struct test_f_f1_data): Likewise.  Remove field extra_name.
7095         (struct test_fF_f1_data): Likewise.
7096         (struct test_ffI_f1_data): Likewise.
7097         (struct test_c_c_data): Rename test_name field to arg_str.
7098         (struct test_cc_c_data): Likewise.
7099         (struct test_f_i_data): Likewise.
7100         (struct test_ff_i_data): Likewise.
7101         (struct test_f_l_data): Likewise.
7102         (struct test_f_L_data): Likewise.
7103         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
7104         and extra2_name.
7105         (COMMON_TEST_SETUP): New macro.
7106         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7107         (COMMON_TEST_CLEANUP): Likewise.
7108         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7109         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
7110         macros.
7111         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7112         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
7113         macros.
7114         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7115         (RUN_TEST_fff_f): Take argument string.  Call new setup and
7116         cleanup macros.
7117         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7118         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
7119         macros.
7120         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7121         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
7122         macros.
7123         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7124         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
7125         cleanup macros.
7126         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7127         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
7128         cleanup macros.
7129         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7130         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
7131         cleanup macros.
7132         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7133         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
7134         macros.
7135         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7136         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
7137         macros.
7138         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7139         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
7140         macros.
7141         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7142         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
7143         cleanup macros.
7144         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7145         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
7146         cleanup macros.
7147         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7148         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
7149         macros.
7150         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7151         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
7152         cleanup macros.
7153         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7154         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
7155         macros.
7156         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7157         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
7158         macros.
7159         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7160         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
7161         cleanup macros.
7162         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7164 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7166         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7167         to _sifields.sigfault.
7168         (si_addr_lsb): Define new macro.
7169         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7170         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7171         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7173 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
7175         [BZ #15441]
7176         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7177         returns -1.
7178         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7179         null return -1.
7180         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7181         loading the domain.
7183 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7185         * math/gen-libm-test.pl (parse_args): Do not include expected
7186         result in test name.
7187         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7188         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7189         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7190         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7191         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7194 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7196         * benchtests/Makefile: Sort function entries.
7198         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7199         tanh, asinh, acosh, atanh.
7200         * benchtests/acos-inputs: New file.
7201         * benchtests/acosh-inputs: New file.
7202         * benchtests/asin-inputs: New file.
7203         * benchtests/asinh-inputs: New file.
7204         * benchtests/atanh-inputs: New file.
7205         * benchtests/cosh-inputs: New file.
7206         * benchtests/log-inputs: New file.
7207         * benchtests/sinh-inputs: New file.
7208         * benchtests/tanh-inputs: New file.
7210 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
7212         [BZ #15339]
7213         * posix/tst-getaddrinfo4.c: New test.
7214         * posix/Makefile (tests): Add it.
7216 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7218         [BZ #15339]
7219         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7220         when no services were used.
7221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7222         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7224 2013-05-21  Andreas Schwab  <schwab@suse.de>
7226         [BZ #15014]
7227         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7228         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7229         successful.
7230         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7231         redundant variable declarations and reallocation of buffer when
7232         parsing as IPv6 address.  Always set NSS status when called from
7233         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
7234         buffer too small.  Correct computation of needed size.
7235         * nss/Makefile (tests): Add test-digits-dots.
7236         * nss/test-digits-dots.c: New test.
7238 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7240         * benchtests/Makefile: Remove instructions for adding
7241         benchmark tests.
7242         * benchtests/README: New file to explain how to execute and
7243         enhance the benchmark tests.
7245 2013-05-21  Andreas Schwab  <schwab@suse.de>
7247         [BZ #15493]
7248         * setjmp/Makefile (tests): Add tst-sigsetjmp.
7249         * setjmp/tst-sigsetjmp.c: New test.
7251 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7253         * sysdeps/x86_64/memset.S (memset): New implementation.
7254         (__bzero): Likewise.
7255         (__memset_tail): New function.
7257 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7259         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7260         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7261         __memcpy_sse2_unaligned ifunc selection.
7262         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7263         Add memcpy-sse2-unaligned.S.
7264         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7265         Add: __memcpy_sse2_unaligned.
7267 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
7269         [BZ #15490]
7270         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7271         math_force_eval before restoring floating-point envrionment.
7272         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7273         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7274         Likewise.
7275         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7276         <math_private.h>.
7277         (__nearbyintl): Use math_force_eval before restoring
7278         floating-point environment.
7279         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7281         * math/gen-libm-test.pl (special_functions): Remove.
7282         (parse_args): Don't handle TEST_extra.  Handle functions with no
7283         return value.
7284         * math/libm-test.inc (struct test_sincos_data): Replace with
7285         struct test_fFF_11_data.
7286         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7287         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7288         (sincos_test_data): Change element type to struct
7289         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
7290         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7291         RUN_TEST_LOOP_sincos.
7292         * math/README.libm-test: Don't mention special handling of
7293         individual functions.
7294         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7295         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7296         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7297         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7298         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7301         * math/gen-libm-test.pl (get_variable): Remove function.
7302         (parse_args): Don't show pointer parameters to call in test
7303         names.  Use "extra output N" in test names for extra outputs
7304         rather than naming variables.
7306 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7308         [BZ #15488]
7309         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7310         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7311         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7312         double tests.
7313         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7314         disable.
7315         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7316         check_long_double.
7318         * math/gen-libm-test.pl (@tests): Remove variable.
7319         ($count): Likewise.
7320         (new_test): Remove function.
7321         (show_exceptions): New function.
7322         (special_functions): Use show_exceptions instead of new_test.
7323         (parse_args): Likewise.
7324         (generate_testfile): Pass only function name in generated call to
7325         print_max_error or print_complex_max_error.
7326         (get_ulps): Do not handle complex tests specially.
7327         (output_test): Rename to ...
7328         (get_all_ulps_for_test): ... this.  Return a string rather than
7329         printing to a file.  Require ulps to be present.
7330         (output_ulps): Generate arrays rather than #defines.
7331         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7332         (struct ulp_data): New type.
7333         (BUILD_COMPLEX_ULP): Remove macro.
7334         (compare_ulp_data): New function.
7335         (find_ulps): Likewise.
7336         (find_test_ulps): Likewise.
7337         (find_function_ulps): Likewise.
7338         (find_complex_function_ulps): Likewise.
7339         (print_max_error): Determine allowed ulps using
7340         find_function_ulps.
7341         (print_complex_max_error): Determine allowed ulps using
7342         find_complex_function_ulps.
7343         (check_float_internal): Determine max ulps using find_test_ulps.
7344         (check_float): Do not take max_ulp parameter.  Update call to
7345         check_float_internal.
7346         (check_complex): Likewise.
7347         (check_int): Do not take max_ulp parameter.
7348         (check_long): Likewise.
7349         (check_bool): Likewise.
7350         (check_longlong): Likewise.
7351         (struct test_f_f_data): Remove max_ulp field.
7352         (struct test_ff_f_data): Likewise.
7353         (struct test_ff_f_data_nexttoward): Likewise.
7354         (struct test_fi_f_data): Likewise.
7355         (struct test_fl_f_data): Likewise.
7356         (struct test_if_f_data): Likewise.
7357         (struct test_fff_f_data): Likewise.
7358         (struct test_c_f_data): Likewise.
7359         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7360         (struct test_fF_f1_data): Likewise.
7361         (struct test_ffI_f1_data): Likewise.
7362         (struct test_c_c_data): Remove max_ulp field.
7363         (struct test_cc_c_data): Likewise.
7364         (struct test_f_i_data): Likewise.
7365         (struct test_ff_i_data): Likewise.
7366         (struct test_f_l_data): Likewise.
7367         (struct test_f_L_data): Likewise.
7368         (struct test_sincos_data): Likewise.
7369         (RUN_TEST_f_f): Do not handle ulps.
7370         (RUN_TEST_LOOP_f_f): Likewise.
7371         (RUN_TEST_2_f): Likewise.
7372         (RUN_TEST_LOOP_2_f): Likewise.
7373         (RUN_TEST_fff_f): Likewise.
7374         (RUN_TEST_LOOP_fff_f): Likewise.
7375         (RUN_TEST_c_f): Likewise.
7376         (RUN_TEST_LOOP_c_f): Likewise.
7377         (RUN_TEST_f_f1): Likewise.
7378         (RUN_TEST_LOOP_f_f1): Likewise.
7379         (RUN_TEST_fF_f1): Likewise.
7380         (RUN_TEST_LOOP_fF_f1): Likewise.
7381         (RUN_TEST_fI_f1): Likewise.
7382         (RUN_TEST_LOOP_fI_f1): Likewise.
7383         (RUN_TEST_ffI_f1): Likewise.
7384         (RUN_TEST_LOOP_ffI_f1): Likewise.
7385         (RUN_TEST_c_c): Likewise.
7386         (RUN_TEST_LOOP_c_c): Likewise.
7387         (RUN_TEST_cc_c): Likewise.
7388         (RUN_TEST_LOOP_cc_c): Likewise.
7389         (RUN_TEST_f_i): Likewise.
7390         (RUN_TEST_LOOP_f_i): Likewise.
7391         (RUN_TEST_f_i_tg): Likewise.
7392         (RUN_TEST_LOOP_f_i_tg): Likewise.
7393         (RUN_TEST_ff_i_tg): Likewise.
7394         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7395         (RUN_TEST_f_b): Likewise.
7396         (RUN_TEST_LOOP_f_b): Likewise.
7397         (RUN_TEST_f_b_tg): Likewise.
7398         (RUN_TEST_LOOP_f_b_tg): Likewise.
7399         (RUN_TEST_f_l): Likewise.
7400         (RUN_TEST_LOOP_f_l): Likewise.
7401         (RUN_TEST_f_L): Likewise.
7402         (RUN_TEST_LOOP_f_L): Likewise.
7403         (RUN_TEST_sincos): Likewise.
7404         (RUN_TEST_LOOP_sincos): Likewise.
7406 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7408         [BZ #15480]
7409         [BZ #15485]
7410         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7411         main case of finite arguments, set rounding mode to FE_TONEAREST
7412         and discard exceptions.
7413         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7414         exceptions.
7415         (remainder_tonearest_test_data): New variable.
7416         (remainder_test_tonearest): New function.
7417         (remainder_towardzero_test_data): New variable.
7418         (remainder_test_towardzero): New function.
7419         (remainder_downward_test_data): New variable.
7420         (remainder_test_downward): New function.
7421         (remainder_upward_test_data): New variable.
7422         (remainder_test_upward): New function.
7423         (main): Call the new test functions.
7425         * math/libm-test.inc (struct test_f_f1_data): Remove field
7426         extra_init.
7427         (struct test_fF_f1_data): Likewise.
7428         (struct test_ffI_f1_data): Likewise.
7429         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7430         based on value of EXTRA_EXPECTED.
7431         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7432         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7433         EXTRA_VAR based on value of EXTRA_EXPECTED.
7434         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7435         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7436         EXTRA_VAR based on value of EXTRA_EXPECTED.
7437         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7438         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7439         EXTRA_VAR based on value of EXTRA_EXPECTED.
7440         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7441         * math/gen-libm-test.pl (parse_args): Don't output initializers
7442         for extra output values.
7444         * math/libm-test.inc (check_int): Expect result to be exactly
7445         equal to expected value and do not handle ulps.
7446         (check_long): Likewise.
7447         (check_longlong): Likewise.
7449         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7450         exceptions.
7451         (cimag_test_data): Likewise.
7452         (conj_test_data): Likewise.
7453         (copysign_test_data): Likewise.
7454         (cproj_test_data): Likewise.
7455         (creal_test_data): Likewise.
7456         (fabs_test_data): Likewise.
7457         (fdim_test_data): Likewise.
7458         (finite_test_data): Likewise.
7459         (floor_test_data): Likewise.
7460         (fmax_test_data): Likewise.
7461         (fmin_test_data): Likewise.
7462         (fmod_test_data): Likewise.
7463         (fpclassify_test_data): Likewise.
7464         (frexp_test_data): Likewise.
7465         (ilogb_test_data): Likewise.
7466         (isfinite_test_data): Likewise.
7467         (isgreater_test_data): Likewise.
7468         (isgreaterequal_test_data): Likewise.
7469         (isinf_test_data): Likewise.
7470         (isless_test_data): Likewise.
7471         (islessequal_test_data): Likewise.
7472         (islessgreater_test_data): Likewise.
7473         (isnan_test_data): Likewise.
7474         (isnormal_test_data): Likewise.
7475         (issignaling_test_data): Likewise.
7476         (isunordered_test_data): Likewise.
7477         (ldexp_test_data): Likewise.
7478         (lrint_test_data): Likewise.
7479         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7480         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7481         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7482         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7483         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7484         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7485         test input.
7486         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7487         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7488         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7489         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7490         that test input.
7491         (lrint_downward_test_data): Test for "inexact" exceptions.
7492         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7493         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7494         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7495         test input.
7496         (lrint_upward_test_data): Test for "inexact" exceptions.
7497         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7498         test input.
7499         (llrint_test_data): Test for "inexact" exceptions.
7500         (llrint_test_data) [TEST_FLOAT]: Disable one test.
7501         (llrint_tonearest_test_data): Test for "inexact" exceptions.
7502         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7503         (llrint_towardzero_test_data): Test for "inexact" exceptions.
7504         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7505         (llrint_downward_test_data): Test for "inexact" exceptions.
7506         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7507         (llrint_upward_test_data): Test for "inexact" exceptions.
7508         (logb_test_data): Likewise.
7509         (logb_downward_test_data): Likewise.
7510         (nextafter_test_data): Likewise.
7511         (nexttoward_test_data): Likewise.
7512         (remainder_test_data): Likewise.
7513         (remquo_test_data): Likewise.
7514         (scalbn_test_data): Likewise.
7515         (scalbln_test_data): Likewise.
7516         (signbit_test_data): Likewise.
7517         (sqrt_test_data): Likewise.
7518         (significand_test_data): Likewise.
7520 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7522         [BZ #15424]
7523         * benchtests/bench-modf.c (struct args): Mark arg0 as
7524         volatile.
7525         * scripts/bench.pl: Mark members of struct args as volatile.
7527 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7529         [BZ # 15497]
7530         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7531         negative infinity on POWER6 or lower.
7532         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7534 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7536         [BZ #15442]
7537         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7538         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7539         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7540         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7541         (_FP_SETQNAN): New macro.
7542         (_FP_SETQNAN_SEMIRAW): Likewise.
7543         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7544         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7545         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7546         (FP_EXTEND): Use _FP_FRAC_SNANP.
7547         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7548         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7549         into account.
7550         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7551         New macro.
7552         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7553         Likewise.
7555 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7557         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7558         with DIVIDE_BY_ZERO_EXCEPTION.
7559         (gamma_test_data): Likewise.
7560         (lgamma_test_data): Likewise.
7561         (log_test_data): Likewise.
7562         (log10_test_data): Likewise.
7563         (log2_test_data): Likewise.
7564         (tgamma_test_data): Likewise.
7566         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7567         (acos_test_tonearest): Likewise.
7568         (acos_test_towardzero): Likewise.
7569         (acos_test_downward): Likewise.
7570         (acos_test_upward): Likewise.
7571         (acosh_test): Likewise.
7572         (asin_test): Likewise.
7573         (asin_test_tonearest): Likewise.
7574         (asin_test_towardzero): Likewise.
7575         (asin_test_downward): Likewise.
7576         (asin_test_upward): Likewise.
7577         (asinh_test): Likewise.
7578         (atan_test): Likewise.
7579         (atanh_test): Likewise.
7580         (atan2_test): Likewise.
7581         (cabs_test): Likewise.
7582         (cacos_test): Likewise.
7583         (cacosh_test): Likewise.
7584         (casin_test): Likewise.
7585         (casinh_test): Likewise.
7586         (catan_test): Likewise.
7587         (catanh_test): Likewise.
7588         (cbrt_test): Likewise.
7589         (ccos_test): Likewise.
7590         (ccosh_test): Likewise.
7591         (cexp_test): Likewise.
7592         (clog_test): Likewise.
7593         (clog10_test): Likewise.
7594         (cos_test): Likewise.
7595         (cos_test_tonearest): Likewise.
7596         (cos_test_towardzero): Likewise.
7597         (cos_test_downward): Likewise.
7598         (cos_test_upward): Likewise.
7599         (cosh_test): Likewise.
7600         (cosh_test_tonearest): Likewise.
7601         (cosh_test_towardzero): Likewise.
7602         (cosh_test_downward): Likewise.
7603         (cosh_test_upward): Likewise.
7604         (cpow_test): Likewise.
7605         (csin_test): Likewise.
7606         (csinh_test): Likewise.
7607         (csqrt_test): Likewise.
7608         (ctan_test): Likewise.
7609         (ctan_test_tonearest): Likewise.
7610         (ctan_test_towardzero): Likewise.
7611         (ctan_test_downward): Likewise.
7612         (ctan_test_upward): Likewise.
7613         (ctanh_test): Likewise.
7614         (ctanh_test_tonearest): Likewise.
7615         (ctanh_test_towardzero): Likewise.
7616         (ctanh_test_downward): Likewise.
7617         (ctanh_test_upward): Likewise.
7618         (erf_test): Likewise.
7619         (erfc_test): Likewise.
7620         (exp_test): Likewise.
7621         (exp_test_tonearest): Likewise.
7622         (exp_test_towardzero): Likewise.
7623         (exp_test_downward): Likewise.
7624         (exp_test_upward): Likewise.
7625         (exp10_test): Likewise.
7626         (exp2_test): Likewise.
7627         (expm1_test): Likewise.
7628         (fmod_test): Likewise.
7629         (gamma_test): Likewise.
7630         (hypot_test): Likewise.
7631         (j0_test): Likewise.
7632         (j1_test): Likewise.
7633         (jn_test): Likewise.
7634         (lgamma_test): Likewise.
7635         (log_test): Likewise.
7636         (log10_test): Likewise.
7637         (log1p_test): Likewise.
7638         (log2_test): Likewise.
7639         (logb_test_downward): Likewise.
7640         (pow_test): Likewise.
7641         (pow_test_tonearest): Likewise.
7642         (pow_test_towardzero): Likewise.
7643         (pow_test_downward): Likewise.
7644         (pow_test_upward): Likewise.
7645         (remainder_test): Likewise.
7646         (remquo_test): Likewise.
7647         (sin_test): Likewise.
7648         (sin_test_tonearest): Likewise.
7649         (sin_test_towardzero): Likewise.
7650         (sin_test_downward): Likewise.
7651         (sin_test_upward): Likewise.
7652         (sincos_test): Likewise.
7653         (sinh_test): Likewise.
7654         (sinh_test_tonearest): Likewise.
7655         (sinh_test_towardzero): Likewise.
7656         (sinh_test_downward): Likewise.
7657         (sinh_test_upward): Likewise.
7658         (sqrt_test): Likewise.
7659         (tan_test): Likewise.
7660         (tan_test_tonearest): Likewise.
7661         (tan_test_towardzero): Likewise.
7662         (tan_test_downward): Likewise.
7663         (tan_test_upward): Likewise.
7664         (tanh_test): Likewise.
7665         (tgamma_test): Likewise.
7666         (y0_test): Likewise.
7667         (y1_test): Likewise.
7668         (yn_test): Likewise.
7670         * math/gen-libm-test.pl (adjust_arg): Remove function.
7671         (special_function): Remove argument $in_func.  Only handle
7672         generating output for tables of tests, not inside functions.
7673         (parse_args): Likewise.
7674         (generate_testfile): Remove variable $in_func.  Update call to
7675         parse_args.
7676         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7677         (MINUS_ZERO_INIT): Rename macro to minus_zero.
7678         (PLUS_INFTY_INIT): Rename macro to plus_infty.
7679         (MINUS_INFTY_INIT): Rename macro to minus_infty.
7680         (QNAN_VALUE_INIT): Rename macro to qnan_value.
7681         (MAX_VALUE_INIT): Rename macro to max_value.
7682         (MIN_VALUE_INIT): Rename macro to min_value.
7683         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7684         (plus_zero): Remove variable.
7685         (minus_zero): Likewise.
7686         (plus_infty): Likewise.
7687         (minus_infty): Likewise.
7688         (qnan_value): Likewise.
7689         (max_value): Likewise.
7690         (min_value): Likewise.
7691         (min_subnorm_value): Likewise.
7693 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7695         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7696         uint64_t or uint32_t usage.
7697         * crypt/sha256-block.c: Likewise.
7698         * crypt/sha256-crypt.c: Likewise.
7699         * crypt/sha256.c: Likewise.
7700         * crypt/sha512-block.c: Likewise.
7701         * crypt/sha512-crypt.c: Likewise.
7702         * crypt/sha512.c: Likewise.
7703         * debug/backtrace-tst.c: Likewise.
7704         * debug/pcprofiledump.c: Likewise.
7705         * elf/cache.c: Likewise.
7706         * elf/dl-cache.c: Likewise.
7707         * elf/dl-misc.c: Likewise.
7708         * elf/dl-profile.c: Likewise.
7709         * elf/dl-support.c: Likewise.
7710         * elf/ldconfig.c: Likewise.
7711         * elf/sprof.c: Likewise.
7712         * iconv/dummy-repertoire.c: Likewise.
7713         * iconv/iconv_charmap.c: Likewise.
7714         * iconv/skeleton.c: Likewise.
7715         * iconvdata/8bit-generic.c: Likewise.
7716         * iconvdata/cp737.h: Likewise.
7717         * iconvdata/cp775.h: Likewise.
7718         * iconvdata/ibm1008.h: Likewise.
7719         * iconvdata/ibm1025.h: Likewise.
7720         * iconvdata/ibm1046.h: Likewise.
7721         * iconvdata/ibm1097.h: Likewise.
7722         * iconvdata/ibm1112.h: Likewise.
7723         * iconvdata/ibm1122.h: Likewise.
7724         * iconvdata/ibm1123.h: Likewise.
7725         * iconvdata/ibm1124.h: Likewise.
7726         * iconvdata/ibm1129.h: Likewise.
7727         * iconvdata/ibm1130.h: Likewise.
7728         * iconvdata/ibm1132.h: Likewise.
7729         * iconvdata/ibm1133.h: Likewise.
7730         * iconvdata/ibm1137.h: Likewise.
7731         * iconvdata/ibm1140.h: Likewise.
7732         * iconvdata/ibm1141.h: Likewise.
7733         * iconvdata/ibm1142.h: Likewise.
7734         * iconvdata/ibm1143.h: Likewise.
7735         * iconvdata/ibm1144.h: Likewise.
7736         * iconvdata/ibm1145.h: Likewise.
7737         * iconvdata/ibm1146.h: Likewise.
7738         * iconvdata/ibm1147.h: Likewise.
7739         * iconvdata/ibm1148.h: Likewise.
7740         * iconvdata/ibm1149.h: Likewise.
7741         * iconvdata/ibm1153.h: Likewise.
7742         * iconvdata/ibm1154.h: Likewise.
7743         * iconvdata/ibm1155.h: Likewise.
7744         * iconvdata/ibm1156.h: Likewise.
7745         * iconvdata/ibm1157.h: Likewise.
7746         * iconvdata/ibm1158.h: Likewise.
7747         * iconvdata/ibm1160.h: Likewise.
7748         * iconvdata/ibm1161.h: Likewise.
7749         * iconvdata/ibm1162.h: Likewise.
7750         * iconvdata/ibm1163.h: Likewise.
7751         * iconvdata/ibm1164.h: Likewise.
7752         * iconvdata/ibm1166.h: Likewise.
7753         * iconvdata/ibm1167.h: Likewise.
7754         * iconvdata/ibm12712.h: Likewise.
7755         * iconvdata/ibm1390.h: Likewise.
7756         * iconvdata/ibm1399.h: Likewise.
7757         * iconvdata/ibm16804.h: Likewise.
7758         * iconvdata/ibm4517.h: Likewise.
7759         * iconvdata/ibm4899.h: Likewise.
7760         * iconvdata/ibm4909.h: Likewise.
7761         * iconvdata/ibm4971.h: Likewise.
7762         * iconvdata/ibm5347.h: Likewise.
7763         * iconvdata/ibm803.h: Likewise.
7764         * iconvdata/ibm856.h: Likewise.
7765         * iconvdata/ibm901.h: Likewise.
7766         * iconvdata/ibm902.h: Likewise.
7767         * iconvdata/ibm9030.h: Likewise.
7768         * iconvdata/ibm9066.h: Likewise.
7769         * iconvdata/ibm921.h: Likewise.
7770         * iconvdata/ibm922.h: Likewise.
7771         * iconvdata/ibm9448.h: Likewise.
7772         * iconvdata/isiri-3342.h: Likewise.
7773         * iconvdata/jis0201.h: Likewise.
7774         * include/link.h: Likewise.
7775         * include/netdb.h: Likewise.
7776         * inet/check_native.c: Likewise.
7777         * inet/check_pf.c: Likewise.
7778         * inet/getipv4sourcefilter.c: Likewise.
7779         * inet/getnameinfo.c: Likewise.
7780         * inet/getsourcefilter.c: Likewise.
7781         * inet/htonl.c: Likewise.
7782         * inet/setipv4sourcefilter.c: Likewise.
7783         * inet/setsourcefilter.c: Likewise.
7784         * inet/test-inet6_opt.c: Likewise.
7785         * inet/tst-network.c: Likewise.
7786         * locale/C-collate.c: Likewise.
7787         * locale/C-ctype.c: Likewise.
7788         * locale/C-time.c: Likewise.
7789         * locale/C-translit.h: Likewise.
7790         * locale/loadarchive.c: Likewise.
7791         * locale/programs/3level.h: Likewise.
7792         * locale/programs/charmap.c: Likewise.
7793         * locale/programs/charmap.h: Likewise.
7794         * locale/programs/ld-address.c: Likewise.
7795         * locale/programs/ld-collate.c: Likewise.
7796         * locale/programs/ld-ctype.c: Likewise.
7797         * locale/programs/ld-identification.c: Likewise.
7798         * locale/programs/ld-measurement.c: Likewise.
7799         * locale/programs/ld-messages.c: Likewise.
7800         * locale/programs/ld-monetary.c: Likewise.
7801         * locale/programs/ld-name.c: Likewise.
7802         * locale/programs/ld-numeric.c: Likewise.
7803         * locale/programs/ld-paper.c: Likewise.
7804         * locale/programs/ld-telephone.c: Likewise.
7805         * locale/programs/ld-time.c: Likewise.
7806         * locale/programs/linereader.c: Likewise.
7807         * locale/programs/locale.c: Likewise.
7808         * locale/programs/locarchive.c: Likewise.
7809         * locale/programs/locfile.h: Likewise.
7810         * locale/programs/repertoire.c: Likewise.
7811         * locale/programs/simple-hash.c: Likewise.
7812         * locale/programs/simple-hash.h: Likewise.
7813         * malloc/memusage.c: Likewise.
7814         * malloc/memusagestat.c: Likewise.
7815         * nis/nis_defaults.c: Likewise.
7816         * nis/nis_hash.c: Likewise.
7817         * nis/nis_print.c: Likewise.
7818         * nis/nis_xdr.c: Likewise.
7819         * nscd/connections.c: Likewise.
7820         * nscd/hstcache.c: Likewise.
7821         * nscd/nscd_gethst_r.c: Likewise.
7822         * nscd/nscd_getserv_r.c: Likewise.
7823         * nscd/nscd_helper.c: Likewise.
7824         * nscd/servicescache.c: Likewise.
7825         * nss/makedb.c: Likewise.
7826         * nss/nss_db/db-XXX.c: Likewise.
7827         * nss/nss_db/db-initgroups.c: Likewise.
7828         * nss/nss_db/db-netgrp.c: Likewise.
7829         * nss/nss_files/files-network.c: Likewise.
7830         * nss/nss_files/files-parse.c: Likewise.
7831         * posix/bug-regex5.c: Likewise.
7832         * posix/fnmatch_loop.c: Likewise.
7833         * posix/regcomp.c: Likewise.
7834         * posix/regexec.c: Likewise.
7835         * posix/tst-rfc3484-2.c: Likewise.
7836         * posix/tst-rfc3484-3.c: Likewise.
7837         * posix/tst-rfc3484.c: Likewise.
7838         * resolv/nss_dns/dns-canon.c: Likewise.
7839         * resolv/nss_dns/dns-network.c: Likewise.
7840         * resolv/res_init.c: Likewise.
7841         * resolv/res_mkquery.c: Likewise.
7842         * resolv/tst-aton.c: Likewise.
7843         * stdlib/cxa_atexit.c: Likewise.
7844         * stdlib/cxa_finalize.c: Likewise.
7845         * stdlib/gen-fpioconst.c: Likewise.
7846         * stdlib/strtol_l.c: Likewise.
7847         * string/tst-endian.c: Likewise.
7848         * sunrpc/auth_des.c: Likewise.
7849         * sunrpc/clnt_udp.c: Likewise.
7850         * sunrpc/rtime.c: Likewise.
7851         * sunrpc/svcauth_des.c: Likewise.
7852         * sunrpc/xdr.c: Likewise.
7853         * sunrpc/xdr_intXX_t.c: Likewise.
7854         * sunrpc/xdr_rec.c: Likewise.
7855         * sysdeps/generic/ldconfig.h: Likewise.
7856         * sysdeps/generic/ldsodefs.h: Likewise.
7857         * sysdeps/generic/memusage.h: Likewise.
7858         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7859         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7860         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7861         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7862         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7863         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7864         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7865         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7866         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7867         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7868         * sysdeps/posix/getaddrinfo.c: Likewise.
7869         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7870         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7871         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7872         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7873         * sysdeps/powerpc/test-gettimebase.c: Likewise.
7874         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7875         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7876         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7877         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7878         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7879         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7880         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7881         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7882         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7883         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7884         * sysdeps/x86_64/dl-tls.h: Likewise.
7885         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7886         * time/alt_digit.c: Likewise.
7887         * time/era.c: Likewise.
7888         * wcsmbs/tst-c16c32-1.c: Likewise.
7890 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7892         * math/libm-test.inc (struct test_sincos_data): New type.
7893         (RUN_TEST_LOOP_sincos): New macro.
7894         (sincos_test_data): New variable.
7895         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7897 2013-05-16  Richard Henderson  <rth@redhat.com>
7899         * math/atest-exp2.c (LIMB64): New macro.
7900         (CONSTSZ): New macro.
7901         (mp_exp1, mp_exp_m1, mp_log2): New variables.
7902         (hexdig): Move ...
7903         (print_mpn_fp): ... to function scope.
7904         (read_mpn_hex): Remove.
7905         (get_log2): Remove.
7906         (exp2_mpn): Use mp_log2.
7907         (main): Use mp_exp1.
7909 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7911         * math/libm-test.inc: Remove comment about not testing "inexact"
7912         exceptions.
7913         (INEXACT_EXCEPTION): New macro.
7914         (NO_INEXACT_EXCEPTION): Likewise.
7915         (INVALID_EXCEPTION_OK): Update value.
7916         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7917         (OVERFLOW_EXCEPTION_OK): Likewise.
7918         (UNDERFLOW_EXCEPTION_OK): Likewise.
7919         (IGNORE_ZERO_INF_SIGN): Likewise.
7920         (ERRNO_UNCHANGED): Likewise.
7921         (ERRNO_EDOM): Likewise.
7922         (ERRNO_ERANGE): Likewise.
7923         (test_exceptions): Handle testing "inexact" exceptions.
7924         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7925         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7926         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7927         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7928         INEXACT_EXCEPTION.
7929         (rint_towardzero_test_data): Likewise.
7930         (rint_downward_test_data): Likewise.
7931         (rint_upward_test_data): Likewise.
7933         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7934         with OVERFLOW_EXCEPTION.
7935         (exp10_test_data): Likewise.
7936         (exp2_test_data): Likewise.
7937         (expm1_test_data): Likewise.
7938         (lgamma_test_data): Likewise.
7939         (pow_test_data): Likewise.
7940         (tgamma_test_data): Likewise.
7941         (yn_test_data): Remove duplicate test of overflow.
7943         * math/libm-test.inc (struct test_cc_c_data): New type.
7944         (RUN_TEST_LOOP_cc_c): New macro.
7945         (cpow_test_data): New variable.
7946         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7948         * math/libm-test.inc (struct test_f_L_data): New type.
7949         (RUN_TEST_LOOP_f_L): New macro.
7950         (llrint_test_data): New variable.
7951         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7952         (llrint_tonearest_test_data): New variable.
7953         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7954         (llrint_towardzero_test_data): New variable.
7955         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7956         (llrint_downward_test_data): New variable.
7957         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7958         (llrint_upward_test_data): New variable.
7959         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7960         (llround_test_data): New variable.
7961         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7963 2013-05-13  Peter Collingbourne  <pcc@google.com>
7965         * math/atest-exp2.c (get_log2): Remove const attribute.
7967 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
7969         * math/libm-test.inc (struct test_f_l_data): New type.
7970         (RUN_TEST_LOOP_f_l): New macro.
7971         (lrint_test_data): New variable.
7972         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7973         (lrint_tonearest_test_data): New variable.
7974         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7975         (lrint_towardzero_test_data): New variable.
7976         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7977         (lrint_downward_test_data): New variable.
7978         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7979         (lrint_upward_test_data): New variable.
7980         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7981         (lround_test_data): New variable.
7982         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7984 2013-05-15  Peter Collingbourne  <pcc@google.com>
7986         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7987         (EXTRACT_WORDS64) Use where appropriate.
7988         (INSERT_WORDS64) Likewise.
7990         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7991         constraints with x constraints.
7992         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7994         * malloc/obstack.c (_obstack_compat): Add initializer.
7996 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7998         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7999         si_trapno and add si_addr_lsb to _sifields.sigfault.
8000         (si_trapno): Remove macro.
8001         (si_addr_lsb): Define new macro.
8002         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8004 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8006         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8007         instead of TEST_f_l.
8008         (llrint_test_tonearest): Likewise.
8009         (llrint_test_towardzero): Likewise.
8010         (llrint_test_downward): Likewise.
8011         (llrint_test_upward): Likewise.
8012         (llround_test): Likewise.
8014         * math/libm-test.inc (struct test_f_i_data): Add comment.
8015         (RUN_TEST_LOOP_f_b): New macro.
8016         (RUN_TEST_LOOP_f_b_tg): Likewise.
8017         (finite_test_data): New variable.
8018         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8019         (isfinite_test_data): New variable.
8020         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8021         (isinf_test_data): New variable.
8022         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8023         (isnan_test_data): New variable.
8024         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8025         (isnormal_test_data): New variable.
8026         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8027         (issignaling_test_data): New variable.
8028         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8029         (signbit_test_data): New variable.
8030         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8032         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8033         with INVALID_EXCEPTION.
8034         (acosh_test_data): Likewise.
8035         (asin_test_data): Likewise.
8036         (atanh_test_data): Likewise.
8037         (fmod_test_data): Likewise.
8038         (log_test_data): Likewise.
8039         (log10_test_data): Likewise.
8040         (log2_test_data): Likewise.
8041         (pow_test_data): Likewise.
8042         (sqrt_test_data): Likewise.
8043         (y0_test_data): Likewise.
8044         (y1_test_data): Likewise.
8045         (yn_test_data): Likewise.
8047         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8048         function contents.
8050         * math/libm-test.inc (struct test_ff_i_data): New type.
8051         (RUN_TEST_LOOP_ff_i_tg): New macro.
8052         (isgreater_test_data): New variable.
8053         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8054         (isgreaterequal_test_data): New variable.
8055         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8056         (isless_test_data): New variable.
8057         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8058         (islessequal_test_data): New variable.
8059         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8060         (islessgreater_test_data): New variable.
8061         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8062         (isunordered_test_data): New variable.
8063         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8065 2013-05-14  David S. Miller  <davem@davemloft.net>
8067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8069 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8071         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8073         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8074         extra_test to int.
8075         (struct test_f_i_data): Change type of max_ulp to int.
8077         * math/libm-test.inc (test_ffI_f1_data): New type.
8078         (RUN_TEST_LOOP_ffI_f1): New macro.
8079         (remquo_test_data): New variable.
8080         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8082         * setjmp/tst-setjmp-fp.c: New file.
8083         * setjmp/Makefile (tests): Add tst-setjmp-fp.
8084         (link-libm): New variable.
8085         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8087         * math/libm-test.inc (struct test_f_i_data): New type.
8088         (RUN_TEST_LOOP_f_i): New macro.
8089         (RUN_TEST_LOOP_f_i_tg): Likewise.
8090         (fpclassify_test_data): New variable.
8091         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8092         (ilogb_test_data): New variable.
8093         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8095         * math/libm-test.inc (scalbln_test): Correct function name in END
8096         call.
8098         * math/libm-test.inc (struct test_f_f1_data): Add comment.
8099         (RUN_TEST_LOOP_fI_f1): New macro.
8100         (frexp_test_data): New variable.
8101         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8103         * math/libm-test.inc (struct test_fF_f1_data): New type.
8104         (RUN_TEST_LOOP_fF_f1): New macro.
8105         (modf_test_data): New variable.
8106         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8108         * math/libm-test.inc (struct test_f_f1_data): New type.
8109         (RUN_TEST_LOOP_f_f1): New macro.
8110         (gamma_test_data): New variable.
8111         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8112         (lgamma_test_data): New variable.
8113         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8115 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
8117         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8118         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8119         (main): Comment "tls" pseudo-hwcap.
8121 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
8123         * math/libm-test.inc (struct test_fl_f_data): New type.
8124         (RUN_TEST_LOOP_fl_f): New variable.
8125         (scalbln_test_data): New variable.
8126         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8128         * math/libm-test.inc (struct test_fi_f_data): New type.
8129         (RUN_TEST_LOOP_fi_f): New macro.
8130         (ldexp_test_data): New variable.
8131         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8132         (scalbn_test_data): New variable.
8133         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8135         * math/libm-test.inc (struct test_c_f_data): New type.
8136         (RUN_TEST_LOOP_c_f): New macro.
8137         (cabs_test_data): New variable.
8138         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8139         (carg_test_data): New variable.
8140         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8141         (cimag_test_data): New variable.
8142         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8143         (creal_test_data): New variable.
8144         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8146         * math/libm-test.inc (struct test_if_f_data): New type.
8147         (RUN_TEST_LOOP_if_f): New macro.
8148         (jn_test_data): New variable.
8149         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8150         (yn_test_data): New variable.
8151         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8153         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8155 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8157         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8158         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8160 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8162         * benchtests/Makefile (CPPFLAGS-nonlib): Add
8163         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8164         (bench-deps): Add bench-timing.h.
8165         * benchtests-bench-skeleton.c: Include bench-timing.h.
8166         (main): Use TIMING_* macros instead of clock_gettime.
8167         * benchtests/bench-timing.h: New file.
8169         [BZ #14582]
8170         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8171         Renamed from _LIB_VERSION.
8172         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8174 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
8176         * math/libm-test.inc (struct test_fff_f_data): New type.
8177         (RUN_TEST_LOOP_fff_f): New macro.
8178         (fma_test_data): New variable.
8179         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8180         (fma_towardzero_test_data): New variable.
8181         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8182         (fma_downward_test_data): New variable.
8183         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8184         (fma_upward_test_data): New variable.
8185         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8187         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8188         (struct test_c_c_data): New type.
8189         (RUN_TEST_LOOP_c_c): New macro.
8190         (cacos_test_data): New variable.
8191         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8192         (cacosh_test_data): New variable.
8193         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8194         (casin_test_data): New variable.
8195         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8196         (casinh_test_data): New variable.
8197         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8198         (catan_test_data): New variable.
8199         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8200         (catanh_test_data): New variable.
8201         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8202         (ccos_test_data): New variable.
8203         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8204         (ccosh_test_data): New variable.
8205         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8206         (cexp_test_data): New variable.
8207         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8208         (clog_test_data): New variable.
8209         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8210         (clog10_test_data): New variable.
8211         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8212         (conj_test_data): New variable.
8213         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8214         (cproj_test_data): New variable.
8215         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8216         (csin_test_data): New variable.
8217         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8218         (csinh_test_data): New variable.
8219         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8220         (csqrt_test_data): New variable.
8221         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8222         (ctan_test_data): New variable.
8223         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8224         (ctan_tonearest_test_data): New variable.
8225         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8226         (ctan_towardzero_test_data): New variable.
8227         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8228         (ctan_downward_test_data): New variable.
8229         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8230         (ctan_upward_test_data): New variable.
8231         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8232         (ctanh_test_data): New variable.
8233         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8234         (ctanh_tonearest_test_data): New variable.
8235         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8236         (ctanh_towardzero_test_data): New variable.
8237         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8238         (ctanh_downward_test_data): New variable.
8239         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8240         (ctanh_upward_test_data): New variable.
8241         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8242         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8243         of BUILD_COMPLEX.
8245         * math/libm-test.inc (struct test_ff_f_data): New type.
8246         (struct test_ff_f_data_nexttoward): Likewise.
8247         (RUN_TEST_LOOP_2_f): New macro.
8248         (RUN_TEST_LOOP_ff_f): Likewise.
8249         (atan2_test_data): New variable.
8250         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8251         (copysign_test_data): New variable.
8252         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8253         (fdim_test_data): New variable.
8254         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8255         (fmax_test_data): New variable.
8256         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8257         (fmin_test_data): New variable.
8258         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8259         (fmod_test_data): New variable.
8260         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8261         (hypot_test_data): New variable.
8262         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8263         (nextafter_test_data): New variable.
8264         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8265         (nexttoward_test_data): New variable.
8266         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8267         (pow_test_data): New variable.
8268         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8269         (pow_tonearest_test_data): New variable.
8270         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8271         (pow_towardzero_test_data): New variable.
8272         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8273         (pow_downward_test_data): New variable.
8274         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8275         (pow_upward_test_data): New variable.
8276         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8277         (remainder_test_data): New variable.
8278         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8279         (scalb_test_data): New variable.
8280         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8281         * sysdeps/i386/fpu/libm-test-ulps: Update.
8283 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
8285         * math/libm-test.inc (fma_test): Use max_value instead of local
8286         variable fltmax.
8287         (nextafter_test): Likewise.
8289         * math/libm-test.inc (acos_towardzero_test_data): New variable.
8290         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8291         (acos_downward_test_data): New variable.
8292         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8293         (acos_upward_test_data): New variable.
8294         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8295         (acosh_test_data): New variable.
8296         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8297         (asin_test_data): New variable.
8298         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8299         (asin_tonearest_test_data): New variable.
8300         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8301         (asin_towardzero_test_data): New variable.
8302         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8303         (asin_downward_test_data): New variable.
8304         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8305         (asin_upward_test_data): New variable.
8306         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8307         (asinh_test_data): New variable.
8308         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8309         (atan_test_data): New variable.
8310         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8311         (atanh_test_data): New variable.
8312         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8313         (cbrt_test_data): New variable.
8314         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8315         (ceil_test_data): New variable.
8316         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8317         (cos_test_data): New variable.
8318         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8319         (cos_tonearest_test_data): New variable.
8320         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8321         (cos_towardzero_test_data): New variable.
8322         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8323         (cos_downward_test_data): New variable.
8324         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8325         (cos_upward_test_data): New variable.
8326         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8327         (cosh_test_data): New variable.
8328         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8329         (cosh_tonearest_test_data): New variable.
8330         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8331         (cosh_towardzero_test_data): New variable.
8332         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8333         (cosh_downward_test_data): New variable.
8334         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8335         (cosh_upward_test_data): New variable.
8336         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8337         (erf_test_data): New variable.
8338         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8339         (erfc_test_data): New variable.
8340         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8341         (exp_test_data): New variable.
8342         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8343         (exp_tonearest_test_data): New variable.
8344         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8345         (exp_towardzero_test_data): New variable.
8346         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8347         (exp_downward_test_data): New variable.
8348         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8349         (exp_upward_test_data): New variable.
8350         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8351         (exp10_test_data): New variable.
8352         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8353         (exp2_test_data): New variable.
8354         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8355         (expm1_test_data): New variable.
8356         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8357         (fabs_test_data): New variable.
8358         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8359         (floor_test_data): New variable.
8360         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8361         (j0_test_data): New variable.
8362         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8363         (j1_test_data): New variable.
8364         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8365         (log_test_data): New variable.
8366         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8367         (log10_test_data): New variable.
8368         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8369         (log1p_test_data): New variable.
8370         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8371         (log2_test_data): New variable.
8372         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8373         (logb_test_data): New variable.
8374         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8375         (logb_downward_test_data): New variable.
8376         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8377         (nearbyint_test_data): New variable.
8378         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8379         (rint_test_data): New variable.
8380         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8381         (rint_tonearest_test_data): New variable.
8382         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8383         (rint_towardzero_test_data): New variable.
8384         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8385         (rint_downward_test_data): New variable.
8386         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8387         (rint_upward_test_data): New variable.
8388         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8389         (round_test_data): New variable.
8390         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8391         (sin_test_data): New variable.
8392         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8393         (sin_tonearest_test_data): New variable.
8394         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8395         (sin_towardzero_test_data): New variable.
8396         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8397         (sin_downward_test_data): New variable.
8398         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8399         (sin_upward_test_data): New variable.
8400         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8401         (sinh_test_data): New variable.
8402         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8403         (sinh_tonearest_test_data): New variable.
8404         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8405         (sinh_towardzero_test_data): New variable.
8406         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8407         (sinh_downward_test_data): New variable.
8408         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8409         (sinh_upward_test_data): New variable.
8410         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8411         (sqrt_test_data): New variable.
8412         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8413         (tan_test_data): New variable.
8414         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8415         (tan_tonearest_test_data): New variable.
8416         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8417         (tan_towardzero_test_data): New variable.
8418         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8419         (tan_downward_test_data): New variable.
8420         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8421         (tan_upward_test_data): New variable.
8422         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8423         (tanh_test_data): New variable.
8424         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8425         (tgamma_test_data): New variable.
8426         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8427         (trunc_test_data): New variable.
8428         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8429         (y0_test_data): New variable.
8430         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8431         (y1_test_data): New variable.
8432         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8433         (significand_test_data): New variable.
8434         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8436 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8438         [BZ #12387]
8439         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8441 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8443         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8445 2013-05-10  Andreas Jaeger  <aj@suse.de>
8447         [BZ #15448]
8448         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8449         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8451 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8453         * math/gen-libm-test.pl (adjust_arg): New function.
8454         (special_functions): Handle generating output in both functions
8455         and arrays.
8456         (parse_args): Likewise.
8457         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8458         $in_func argument to parse_args.
8459         * math/libm-test.inc (struct test_f_f_data): New type.
8460         (IF_ROUND_INIT_): New macro.
8461         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8462         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8463         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8464         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8465         (ROUND_RESTORE_): Likewise.
8466         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8467         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8468         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8469         (ROUND_RESTORE_FE_UPWARD): Likewise.
8470         (RUN_TEST_LOOP_f_f): New macro.
8471         (acos_test_data): New variable.
8472         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8473         (acos_tonearest_test_data): New variable.
8474         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8476 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8478         * benchtests/bench-skeleton.c (startup): Fix coding style.
8480 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8482         [BZ #6809]
8483         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8484         negative infinity argument.
8485         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8486         negative infinity argument.
8487         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8488         negative infinity argument.
8489         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8490         domain errors.
8492 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8494         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8495         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8496         * iconv/iconv_prog.c (main): Likewise.
8497         * locale/programs/charmap-dir.c (charmap_readdir)
8498         (fopen_uncompressed): Likewise.
8499         * locale/programs/locfile.c (siblings_uncached)
8500         (write_locale_data): Use lstat64 instead of lstat.
8501         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8502         stat.
8504 2013-05-10  Andreas Jaeger  <aj@suse.de>
8506         [BZ #15395]
8507         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8508         localization.
8509         Include <locale.h>.
8511 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
8513         * elf/dl-close.c (_dl_close_worker): Add comments.
8515 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
8517         [BZ #15359]
8518         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8519         high part of pi/2.
8520         (__ieee754_rem_pio2l): Update comments.
8522         [BZ #15429]
8523         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8524         high part of pi/2.
8525         (__ieee754_rem_pio2l): Update comments.
8527         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8528         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8530         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8531         M_PI_4l.
8533         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8534         (M_PI_34_LOG10El): Likewise.
8535         (M_PI2_LOG10El): Likewise.
8536         (M_PI4_LOG10El): Likewise.
8537         (M_PI_LOG10El): Likewise.
8539 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8543 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
8545         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8546         (MINUS_ZERO_INIT): Likewise.
8547         (PLUS_INFTY_INIT): Likewise.
8548         (MINUS_INFTY_INIT): Likewise.
8549         (QNAN_VALUE_INIT): Likewise.
8550         (MAX_VALUE_INIT): Likewise.
8551         (MIN_VALUE_INIT): Likewise.
8552         (MIN_SUBNORM_VALUE_INIT): Likewise.
8553         (plus_zero): Initialize with PLUS_ZERO_INIT.
8554         (minus_zero): Initialize with MINUS_ZERO_INIT.
8555         (plus_infty): Initialize with PLUS_INFTY_INIT.
8556         (minus_infty): Initialize with MINUS_INFTY_INIT.
8557         (qnan_value): Initialize with QNAN_VALUE_INIT.
8558         (max_value): Initialize with MAX_VALUE_INIT.
8559         (min_value): Initialize with MIN_VALUE_INIT.
8560         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8562         * math/libm-test.inc (RUN_TEST_if_f): New macro.
8563         (jn_test): Use TEST_if_f instead of TEST_ff_f.
8564         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8565         (yn_test): Use TEST_if_f instead of TEST_ff_f.
8567         * math/libm-test.inc (RUN_TEST_f_f): New macro.
8568         (RUN_TEST_2_f): Likewise.
8569         (RUN_TEST_ff_f): Likewise.
8570         (RUN_TEST_fi_f): Likewise.
8571         (RUN_TEST_fl_f): Likewise.
8572         (RUN_TEST_fff_f): Likewise.
8573         (RUN_TEST_c_f): Likewise.
8574         (RUN_TEST_f_f1): Likewise.
8575         (RUN_TEST_fF_f1): Likewise.
8576         (RUN_TEST_fI_f1): Likewise.
8577         (RUN_TEST_ffI_f1): Likewise.
8578         (RUN_TEST_c_c): Likewise.
8579         (RUN_TEST_cc_c): Likewise.
8580         (RUN_TEST_f_i): Likewise.
8581         (RUN_TEST_f_i_tg): Likewise.
8582         (RUN_TEST_ff_i_tg): Likewise.
8583         (RUN_TEST_f_b): Likewise.
8584         (RUN_TEST_f_b_tg): Likewise.
8585         (RUN_TEST_f_l): Likewise.
8586         (RUN_TEST_f_L): Likewise.
8587         (RUN_TEST_sincos): Likewise.
8588         * math/gen-libm-test.pl (new_test): Take new argument to indicate
8589         whether to show exceptions.  Do not include ");\n" in return
8590         value.
8591         (special_functions): Output call to RUN_TEST_sincos instead of
8592         check_float calls.  Update calls to new_test.
8593         (parse_args): Output call to single RUN_TEST_* macro instead of
8594         check_* calls and other assignments.  Update calls to new_test.
8596         [BZ #2546]
8597         [BZ #2560]
8598         [BZ #5159]
8599         [BZ #15426]
8600         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8601         input to result for tgamma overflow.
8602         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8603         (gamma_coeff): New variable.
8604         (NCOEFF): New macro.
8605         (gamma_positive): New function.
8606         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8607         underflow here.  Use gamma_positive instead of exp (lgamma) for
8608         other arguments.
8609         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8610         (gamma_coeff): New variable.
8611         (NCOEFF): New macro.
8612         (gammaf_positive): New function.
8613         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8614         underflow here.  Use gamma_positive instead of exp (lgamma) for
8615         other arguments.
8616         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8617         (gamma_coeff): New variable.
8618         (NCOEFF): New macro.
8619         (gammal_positive): New function.
8620         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8621         underflow here.  Use gamma_positive instead of exp (lgamma) for
8622         other arguments.
8623         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8624         (gamma_coeff): New variable.
8625         (NCOEFF): New macro.
8626         (gammal_positive): New function.
8627         (__ieee754_gammal_r): Handle positive infinity, overflow and
8628         underflow here.  Handle NaN the same as positive infinity.  Remove
8629         check x < 0xffffffff for negative integers.  Use gamma_positive
8630         instead of exp (lgamma) for other arguments.
8631         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8632         (gamma_coeff): New variable.
8633         (NCOEFF): New macro.
8634         (gammal_positive): New function.
8635         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8636         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8637         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8638         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8639         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8640         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8641         * sysdeps/generic/math_private.h (__gamma_productf): New
8642         prototype.
8643         (__gamma_product): Likewise.
8644         (__gamma_productl): Likewise.
8645         * math/Makefile (libm-calls): Add gamma_product.
8646         * math/libm-test.inc (tgamma_test): Add more tests.
8647         * sysdeps/i386/fpu/libm-test-ulps: Update.
8648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8650 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
8652         * benchtests/bench-skeleton.c (main): Preheat CPU.
8654 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
8656         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8658 2013-05-07  Roland McGrath  <roland@hack.frob.com>
8660         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8661         and _dl_skip_args_internal.
8663 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
8665         * manual/message.texi (Message Translation): Talk about users.
8666         Message to key mapping impacts design.
8668 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8670         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8672         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8674         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8675         * sysdeps/wordsize-64/glob64.c: ... here.
8677         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8678         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8679         New macros.
8681         * debug/getlogin_r_chk.c: Moved to ...
8682         * login/getlogin_r_chk.c: ... here.
8683         * debug/Makefile (routines): Move getlogin_r_chk to ...
8684         * login/Makefile (routines): ... here.
8685         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8686         * login/Versions (libc: GLIBC_2.4): ... here.
8688         * io/poll.c (__poll): Renamed from poll.
8689         Add libc_hidden_def.
8690         (poll): Define as weak alias.
8692         * debug/ptsname_r_chk.c: Moved to ...
8693         * login/ptsname_r_chk.c: ... here.
8694         * debug/Makefile (routines): Move ptsname_r_chk to ...
8695         * login/Makefile (routines): ... here.
8696         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8697         * login/Versions (libc: GLIBC_2.4): ... here.
8699         * posix/getlogin.c: Moved to ...
8700         * login/getlogin.c: ... here.
8701         * posix/getlogin_r.c: Moved to ...
8702         * login/getlogin_r.c: ... here.
8703         * posix/getlogin_r.c: Moved to ...
8704         * login/getlogin_r.c: ... here.
8705         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8706         * login/Makefile (routines): ... here.
8707         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8708         * login/Versions (libc: GLIBC_2.0): ... here.
8710         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8711         (setrlimit): Define as weak alias.
8713         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8714         Call __ names for open, ftruncate, and close.
8715         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8716         (truncate): Define as weak alias.
8718 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
8720         * math/gen-libm-test.pl (parse_args): Initialize x before each
8721         test of frexp, modf and remquo.
8723         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8724         test signgam value.
8726 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8728         [BZ #15418]
8729         [BZ #15419]
8730         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8731         internal tests.
8732         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8734 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8736         * elf/dl-writev.h: New file.
8737         * elf/dl-misc.c: Include it.
8738         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8739         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8741 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
8743         * math/libm-test.inc (noXFails): Remove variable.
8744         (noXPasses): Likewise.
8745         (BUILD_COMPLEX_INT): Remove macro.
8746         (print_screen): Remove xfail argument.
8747         (print_screen_max_error): Likewise.
8748         (update_stats): Likewise.
8749         (print_max_error): Likewise.  Update calls to other affected
8750         functions.
8751         (print_complex_max_error): Likewise.
8752         (test_single_exception): Update calls to print_screen.
8753         (test_single_errno): Likewise.
8754         (check_float_internal): Remove xfail argument.  Update calls to
8755         other affected functions.
8756         (check_float): Likewise.
8757         (check_complex): Likewise.
8758         (check_int): Likewise.
8759         (check_long): Likewise.
8760         (check_bool): Likewise.
8761         (check_longlong): Likewise.
8762         (main): Don't print noXFails and noXPasses.
8763         * math/gen-libm-test.pl (top level): Don't mention expected
8764         failure handling in comment.
8765         (new_test): Don't handle expected failures.
8766         (parse_args): Don't mention expected failure handling in comment.
8767         (generate_testfile): Don't handle expected failures.
8768         (parse_ulps): Likewise.
8769         (print_ulps_file): Likewise.
8770         (get_failure): Remove function.
8771         (output_test): Don't handle expected failures.
8772         * make/README.libm-test: Don't mention expected failure handling.
8774         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
8775         (minus_zero): Likewise.
8776         (plus_infty): Likewise.
8777         (minus_infty): Likewise.
8778         (qnan_value): Likewise.
8779         (max_value): Likewise.
8780         (min_value): Likewise.
8781         (min_subnorm_value): Likewise.
8782         (initialize): Do not initialize those variables dynamically.
8784 2013-05-03  Roland McGrath  <roland@hack.frob.com>
8786         * io/open.c (__open_2): Moved to ...
8787         * io/open_2.c: ... this new file.
8788         * io/open64.c (__open64_2): Moved to ...
8789         * io/open64_2.c: ... this new file.
8790         * io/openat.c (__openat_2): Moved to ...
8791         * io/openat_2.c: ... this new file.
8792         * io/openat64.c (__openat64_2): Moved to ...
8793         * io/openat64_2.c: ... this new file.
8794         * io/Makefile (routines): Add them.
8795         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8796         * sysdeps/unix/sysv/linux/open_2.c: File removed.
8797         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8798         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8799         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8800         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8801         (__openat64): Add hidden_ver.
8802         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8803         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8805         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8806         Separately conditionalize setting of GLRO(dl_sysinfo) so
8807         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8808         as well, but the actual setting is only under [NEED_DL_SYSINFO].
8810 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8812         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8813         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8814         definition.
8815         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8816         * sysdeps/unix/sysv/linux/powerpc/init-first.c
8817         (_libc_vdso_platform_setup): Add __vdso_time initialization.
8818         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8819         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8821 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
8823         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8824         test signgam value.
8826         * math/libm-test.inc (hypot_test): Do not use
8827         IGNORE_ZERO_INF_SIGN.
8829 2013-05-03  Andreas Jaeger  <aj@suse.de>
8831         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8832         Linux 3.9.
8833         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8834         (PF_MAX): Adjust for VSOCK change.
8836 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8840 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
8842         [BZ #15264]
8843         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8844         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8845         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8847 2013-05-02  David S. Miller  <davem@davemloft.net>
8849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8851 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
8853         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8855 2013-05-01  Roland McGrath  <roland@hack.frob.com>
8857         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8859 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
8861         [BZ #14952]
8862         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8863         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8864         Use __attribute__ ((__gnu_inline__)).
8865         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8866         Don't use __attribute__ ((__gnu_inline__)).
8868 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
8870         [BZ #15423]
8871         * math/s_catan.c (__catan): Handle small real or imaginary part of
8872         input specially to avoid spurious underflow.
8873         * math/s_catanf.c (__catanf): Likewise.
8874         * math/s_catanh.c (__catanh): Likewise.
8875         * math/s_catanhf.c (__catanhf): Likewise.
8876         * math/s_catanhl.c (__catanhl): Likewise.
8877         * math/s_catanl.c (__catanl): Likewise.
8878         * math/libm-test.inc (catan_test): Add more tests.
8879         (catanh_test): Likewise.
8880         * sysdeps/i386/fpu/libm-test-ulps: Update.
8881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8883 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8887 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
8889         [BZ #15416]
8890         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8891         accurately for denominator in atan2.
8892         * math/s_catanf.c (__catanf): Likewise.
8893         * math/s_catanh.c (__catanh): Likewise.
8894         * math/s_catanhf.c (__catanhf): Likewise.
8895         * math/s_catanhl.c (__catanhl): Likewise.
8896         * math/s_catanl.c (__catanl): Likewise.
8897         * math/libm-test.inc (catan_test): Add more tests.
8898         (catanh_test): Likewise.
8899         * sysdeps/i386/fpu/libm-test-ulps: Update.
8900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8902 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8904         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8906         * benchtests/Makefile (bench): Remove slow benchmarks.
8907         * benchtests/atan-inputs: Add slow benchmark inputs.
8908         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8909         (BENCH_FUNC): Accept variant offset.
8910         (VARIANT): Define.
8911         * benchtests/bench-skeleton.c (main): Run benchmark for each
8912         variant.
8913         * benchtests/cos-inputs: Add slow benchmark inputs.
8914         * benchtests/exp-inputs: Likewise.
8915         * benchtests/pow-inputs: Likewise.
8916         * benchtests/sin-inputs: Likewise.
8917         * benchtests/slowatan-inputs: Remove.
8918         * benchtests/slowatan.c: Remove.
8919         * benchtests/slowcos-inputs: Remove.
8920         * benchtests/slowcos.c: Remove.
8921         * benchtests/slowexp-inputs: Remove.
8922         * benchtests/slowexp.c: Remove.
8923         * benchtests/slowpow-inputs: Remove.
8924         * benchtests/slowpow.c: Remove.
8925         * benchtests/slowsin-inputs: Remove.
8926         * benchtests/slowsin.c: Remove.
8927         * benchtests/slowtan-inputs: Remove.
8928         * benchtests/slowtan.c: Remove.
8929         * benchtests/tan-inputs: Add slow benchmark inputs.
8930         * scripts/bench.pl: Parse comments and directives.
8932         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
8933         in CPPFLAGS.
8934         ($(objpfx)bench-%.c): Remove *-ITER.
8935         * benchtests/bench-modf.c: Remove definition of ITER.
8936         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8937         (main): Loop for DURATION seconds instead of fixed number of
8938         iterations.
8939         * scripts/bench.pl: Don't expect iterations in parameters.
8941 2013-04-29  Roland McGrath  <roland@hack.frob.com>
8943         * io/fchdir.c (__fchdir): Renamed from fchdir.
8944         (fchdir): Define as weak alias.
8946 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
8948         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8949         (ERRNO_EDOM): Likewise.
8950         (ERRNO_ERANGE): Likewise.
8951         (noErrnoTests): New variable.
8952         (init_max_error): Set errno to 0.
8953         (test_single_errno): New function.
8954         (test_errno): Likewise.
8955         (check_float_internal): Call test_errno.  Set errno to 0.
8956         (check_complex): Refer to errno tests in comment.
8957         (check_int): Call test_errno.  Set errno to 0.
8958         (check_long): Likewise.
8959         (check_bool): Likewise.
8960         (check_longlong): Likewise.
8961         (cos_test): Use ERRNO_* flags for errno tests instead of
8962         check_int.
8963         (expm1_test): Likewise.
8964         (fmod_test): Likewise.
8965         (ilogb_test): Likewise.
8966         (lgamma_test): Likewise.
8967         (pow_test): Likewise.
8968         (remainder_test): Likewise.
8969         (sin_test): Likewise.
8970         (tan_test): Likewise.
8971         (yn_test): Likewise.
8972         (initialize): Set errno to 0.
8973         (main): Print number of errno tests.
8974         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8976 2013-04-29  Andreas Jaeger  <aj@suse.de>
8978         [BZ #15084]
8979         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8980         and RES_USEVC.
8982         [BZ #15085]
8983         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8984         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8985         unimplemented.
8987         [BZ #15380]
8988         * stdlib/random.c (__initstate): Return NULL if
8989         __initstate fails.
8991         [BZ #15086]
8992         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8993         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8994         RES_SNGLKUPREOP.
8996 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9000 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9002         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9003         of individual tests.
9004         (casin_test): Likewise.
9005         (casinh_test): Likewise.
9007 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9009         [BZ #15409]
9010         * math/s_catan.c (__catan): Handle arguments with large real or
9011         imaginary part separately without squaring.
9012         * math/s_catanf.c (__catanf): Likewise.
9013         * math/s_catanh.c (__catanh): Likewise.
9014         * math/s_catanhf.c (__catanhf): Likewise.
9015         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9016         and redefine.
9017         (__catanhl): Handle arguments with large real or imaginary part
9018         separately without squaring.
9019         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9020         and redefine.
9021         (__catanl): Handle arguments with large real or imaginary part
9022         separately without squaring.
9023         * math/libm-test.inc (catan_test): Add more tests.
9024         (catanh_test): Likewise.
9025         * sysdeps/i386/fpu/libm-test-ulps: Update.
9026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9028 2013-04-27  Andreas Jaeger  <aj@suse.de>
9030         [BZ #15007]
9031         * stdlib/stdlib.h: Update guards for qecvt.
9032         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9033         <stdlib.h>.
9035 2013-04-27  Allan McRae  <allan@archlinux.org>
9037         * sysdeps/i386/fpu/libm-test-ulps: Update.
9039 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9041         [BZ #15406]
9042         * math/s_catan.c: Include <float.h>.
9043         (__catan): Ensure underflow exception occurs for underflowed
9044         result.
9045         * math/s_catanf.c: Include <float.h>.
9046         (__catanf): Ensure underflow exception occurs for underflowed
9047         result.
9048         * math/s_catanh.c: Include <float.h>.
9049         (__catanh): Ensure underflow exception occurs for underflowed
9050         result.
9051         * math/s_catanhf.c: Include <float.h>.
9052         (__catanhf): Ensure underflow exception occurs for underflowed
9053         result.
9054         * math/s_catanhl.c: Include <float.h>.
9055         (__catanhl): Ensure underflow exception occurs for underflowed
9056         result.
9057         * math/s_catanl.c: Include <float.h>.
9058         (__catanl): Ensure underflow exception occurs for underflowed
9059         result.
9060         * math/libm-test.inc (catan_test): Add more tests.
9061         (catanh_test): Likewise.
9063         [BZ #15405]
9064         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9065         underflowed result.
9066         * math/s_ccoshf.c (__ccoshf): Likewise.
9067         * math/s_ccoshl.c (__ccoshl): Likewise.
9068         * math/s_csin.c (__csin): Likewise.
9069         * math/s_csinf.c (__csinf): Likewise.
9070         * math/s_csinh.c (__csinh): Likewise.
9071         * math/s_csinhf.c (__csinhf): Likewise.
9072         * math/s_csinhl.c (__csinhl): Likewise.
9073         * math/s_csinl.c (__csinl): Likewise.
9074         * math/libm-test.inc (ccos_test): Add more tests.
9075         (ccosh_test): Likewise.
9076         (csin_test): Likewise.
9077         (csinh_test): Likewise.
9079 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9081         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9082         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9083         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9084         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9085         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9086         powerpc/power5+/fpu folders.
9087         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9090 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9094 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
9096         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9097         additions to variable.
9098         [$(config-machine) = x86_64] (modules-names): Likewise.
9099         ($(objpfx)tst-audit3): Remove dependency.
9100         ($(objpfx)tst-audit3.out): Likewise.
9101         ($(objpfx)tst-audit4): Likewise.
9102         ($(objpfx)tst-audit4.out): Likewise.
9103         ($(objpfx)tst-audit5): Likewise.
9104         ($(objpfx)tst-audit5.out): Likewise.
9105         ($(objpfx)tst-audit6): Likewise.
9106         ($(objpfx)tst-audit6.out): Likewise.
9107         ($(objpfx)tst-audit7): Likewise.
9108         ($(objpfx)tst-audit7.out): Likewise.
9109         (tst-audit3-ENV): Remove variable.
9110         (tst-audit4-ENV): Likewise.
9111         (tst-audit5-ENV): Likewise.
9112         (tst-audit6-ENV): Likewise.
9113         (tst-audit7-ENV): Likewise.
9114         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9115         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9116         addition to variable.
9117         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9118         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9119         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9120         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9121         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9122         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9123         tst-audit3, tst-audit4 and tst-audit5.
9124         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9125         tst-audit6 and tst-audit7.
9126         [$(subdir) = elf] (modules-names): Add audit modules for those
9127         tests.
9128         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9129         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9130         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9131         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9132         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9133         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9134         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9135         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9136         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9137         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9138         [$(subdir) = elf] (tst-audit3-ENV): New variable.
9139         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9140         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9141         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9142         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9143         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9144         Likewise.
9145         [$(subdir) = elf && $(config-cflags-avx) = yes]
9146         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9147         [$(subdir) = elf && $(config-cflags-avx) = yes]
9148         (CFLAGS-tst-auditmod4a.c): Likewise.
9149         [$(subdir) = elf && $(config-cflags-avx) = yes]
9150         (CFLAGS-tst-auditmod4b.c): Likewise.
9151         [$(subdir) = elf && $(config-cflags-avx) = yes]
9152         (CFLAGS-tst-auditmod6b.c): Likewise.
9153         [$(subdir) = elf && $(config-cflags-avx) = yes]
9154         (CFLAGS-tst-auditmod6c.c): Likewise.
9155         [$(subdir) = elf && $(config-cflags-avx) = yes]
9156         (CFLAGS-tst-auditmod7b.c): Likewise.
9157         * elf/tst-audit3.c: Move to ...
9158         * sysdeps/x86_64/tst-audit3.c: ... here.
9159         * elf/tst-audit4.c: Move to ...
9160         * sysdeps/x86_64/tst-audit4.c: ... here.
9161         * elf/tst-audit5.c: Move to ...
9162         * sysdeps/x86_64/tst-audit5.c: ... here.
9163         * elf/tst-audit6.c: Move to ...
9164         * sysdeps/x86_64/tst-audit6.c: ... here.
9165         * elf/tst-audit7.c: Move to ...
9166         * sysdeps/x86_64/tst-audit7.c: ... here.
9167         * elf/tst-auditmod3a.c: Move to ...
9168         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9169         * elf/tst-auditmod3b.c: Move to ...
9170         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9171         * elf/tst-auditmod4a.c: Move to ...
9172         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9173         * elf/tst-auditmod4b.c: Move to ...
9174         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9175         * elf/tst-auditmod5a.c: Move to ...
9176         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9177         * elf/tst-auditmod5b.c: Move to ...
9178         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9179         * elf/tst-auditmod6a.c: Move to ...
9180         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9181         * elf/tst-auditmod6b.c: Move to ...
9182         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9183         * elf/tst-auditmod6c.c: Move to ...
9184         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9185         * elf/tst-auditmod7a.c: Move to ...
9186         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9187         * elf/tst-auditmod7b.c: Move to ...
9188         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9190 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
9192         [BZ #15366]
9193         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9194         define unconditionally.
9195         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9196         define unconditionally.
9197         (INT8_C, INT16_C, etc.): Likewise.
9199 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
9201         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9202         __ehdr_start with hidden visibility.
9204         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9206 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
9208         * math/libm-test.inc (cos_test): Use accurate hex constants.
9209         (sincost_test): Likewise.
9211 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
9213         * math/libm-test.inc (catan_test): Add more tests.
9214         (catanh_test): Likewise.
9216         * math/s_catanf.c (__catanf): Use suffixed floating-point
9217         constants.
9218         * math/s_catanhf.c (__catanhf): Likewise.
9219         * math/s_catanhl.c (__catanhl): Likewise.
9220         * math/s_catanl.c (__catanl): Likewise.
9222         [BZ #15394]
9223         * math/s_catan.c (__catan): Calculate imaginary part of result
9224         with log1p not log unless computing log of number close to 0.
9225         * math/s_catanf.c (__catanf): Likewise.
9226         * math/s_catanl.c (__catanl): Likewise.
9227         * math/s_catanh.c (__catanh): Calculate real part of result with
9228         log1p not log unless computing log of number close to 0.
9229         * math/s_catanhf.c (__catanhf): Likewise.
9230         * math/s_catanhl.c (__catanhl): Likewise.
9231         * math/libm-test.inc (catan_test): Add more tests.
9232         (catanh_test): Likewise.
9233         * sysdeps/i386/fpu/libm-test-ulps: Update.
9234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9236 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9238         * benchtests/Makefile: Mention files in which fast and slow
9239         paths of math functions are implemented.
9241 2013-04-23  Roland McGrath  <roland@hack.frob.com>
9243         * sysdeps/posix/timespec_get.c: New file.
9245 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9247         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9248         POWER.
9249         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9250         for POWER.
9251         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9252         powerpc/power5/fpu folders.
9253         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9254         * benchtests/Makefile: Add modf testcase.
9255         * benchtests/bench-modf.c: New file: Benchmark test for mo
9257 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9259         [BZ #14888]
9260         * time/Makefile (tests): Add tst-strptime-whitespace.
9261         * time/strptime_l.c (get_number): Use ISSPACE.
9262         (__strptime_internal): Likewise.
9263         * time/tst-strptime-whitespace.c: New test case.
9265 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
9267         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9268         member.
9269         (_nss_files_init): Set it here.
9271 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
9273         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9274         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9275         unsigned.
9277 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
9279         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9281 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9283         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9284         size just once.
9286 2013-04-21  David S. Miller  <davem@davemloft.net>
9288         * po/ru.po: Update Russion translation from translation project.
9290 2013-04-17  Adam Conrad  <adconrad@0c3.net>
9292         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9293         and setfsgid.
9295 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9297         * configure.in: Remove i386 configure warning. Remove i386 case.
9298         * configure: Regenerate.
9299         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9300         Add example to error message.
9301         * sysdeps/i386/configure: Regenerate.
9303 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9305         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9306         slowtan.
9307         * benchtests/cos-inputs: New file.
9308         * benchtests/slowcos-inputs: New file.
9309         * benchtests/slowcos.c: New file.
9310         * benchtests/slowtan-inputs: New file.
9311         * benchtests/slowtan.c: New file.
9312         * benchtests/tan-inputs: New file.
9314 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9316         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9317         considered kosher.
9319 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9321         * benchtests/Makefile: Include cppflags-iterator.mk to add
9322         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9324         * Makefile.in (bench-clean): New target.
9325         * benchtests/Makefile (bench-clean): Likewise.
9327 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9329         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9331 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9333         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9335 2013-04-15  Andreas Schwab  <schwab@suse.de>
9337         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9338         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9339         * nscd/pwdcache.c (cache_addpw): Likewise.
9340         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9341         more than recsize.
9343 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9345         * benchtests/Makefile (bench): Write all output to
9346         bench-out.tmp together.
9348 2013-04-15  Andreas Schwab  <schwab@suse.de>
9350         * nscd/nscd.c (main): Don't fork again after closing files.
9352 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9354         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9356         * benchtests/Rules (bench-deps): Collect dependencies into a
9357         single variable.  Add Makefile to dependencies.
9358         ($(objpfx)bench-%.c): Depend on bench-deps.
9360 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9361             Xavier Roche  <roche+kml2@exalead.com>
9363         [BZ #15361]
9364         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9365         just that it's a file descriptor.
9366         * manual/llio.texi (Synchronizing AIO Operations): Update description
9367         for EBADF error from aio_fsync.
9369 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9371         * Rules (bench): Move target definition...
9372         * benchtests/Makefile: ... here.
9374 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9376         * math/libm-test.inc (cos_test): Fix PI/2 test.
9377         (sincos_test): Likewise.
9378         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9379         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9381 2013-04-11  Andreas Schwab  <schwab@suse.de>
9383         [BZ #13988]
9384         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9385         accept exponent character only when digits were seen.
9386         * stdio-common/Makefile (tests): Add bug26.
9387         * stdio-common/bug26.c: New file.
9389         [BZ #14293]
9390         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9391         non-freeable.
9393 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9395         * Makeconfig (rtld-prefix): Define built linker prefix.
9396         * Rules (run-bench): Use it.
9397         * math/Makefile (run-regen-ulps): Likewise.
9399         * Rules (bench): Remove eval.
9401 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9402             Roland McGrath  <roland@hack.frob.com>
9403             Ondrej Bilka  <neleai@seznam.cz>
9405         [BZ #15346]
9406         * time/getdate.c: Include ctype.h and alloca.h.
9407         (__getdate_r): Trim leading and trailing spaces of input.
9408         * time/tst-getdate.c (tests): Add tests with leading and
9409         trailing spaces.
9411 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9413         [BZ #14280]
9414         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9415         when computing value.
9417 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9419         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9420         Use testrun.sh to run libm tests.
9422         [BZ #15309]
9423         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9425 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9427         [BZ #15264]
9428         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9430 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9432         * Makefile.in (regen-ulps): New target.
9433         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9434         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9435         [ifneq (no,$(PERL)] (regen-ulps): New target.
9436         [ifeq (no,$(PERL)] (regen-ulps): New target.
9437         * math/libm-test.inc (ulps_file_name): Define.
9438         (output_dir): New variable.
9439         (options): Add "output-dir" option.
9440         (parse_opt): Handle 'o' case.
9441         (main): If output_dir is non-NULL use it as a prefix
9442         otherwise use "".
9443         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9445 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9447         [BZ #10060, #10062]
9448         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9449         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9450         fail configure if __sync_val_compare_and_swap is not inlined.
9451         * sysdeps/i386/configure: Regenerate.
9452         * configure.in: Build for i686 when configured for i386.
9453         * configure: Regenerate.
9454         * README: Remove i386 reference.
9456 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9458         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9459         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9461 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9463         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9464         (lmsnanval): New variables.
9465         (F): Add conversion tests.
9466         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9467         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9469         * stdio-common/tstdiomisc.c (F): Properly collect individual
9470         tests' results.
9472         [BZ #14686, #15336]
9473         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9474         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9475         Instead, use input NaN values or generate a qNaN by arithmetic
9476         operation.  Also fix bugs to comply with the standard.
9477         * math/libm-test.inc (remainder_test): Add more tests.
9479         [BZ #15335, #15342]
9480         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9481         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9482         input NaN values or generate a qNaN by arithmetic operation.
9484         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9485         unreachable code.
9487         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9488         definitions.
9490 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9492         [BZ #14478]
9493         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9494         underflowed result.
9495         * math/s_cexpf.c (__cexpf): Likewise.
9496         * math/s_cexpl.c (__cexpl): Likewise.
9497         * math/libm-test.inc (cexp_test): Add more tests.
9499 2013-04-03  Andreas Schwab  <schwab@suse.de>
9501         [BZ #15330]
9502         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9503         order arrays from heap if bigger than alloca cutoff.
9505 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
9507         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9508         (SNAN_TESTS_double): Refer to GCC PR56831.
9509         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9510         GCC PR56828.
9512 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9514         * Rules (bench): Move bench.out after the run is complete.
9516         * Rules (bench): Echo currently running benchmark.
9518         * benchtests/Makefile (bench): Add atan and slowatan.
9519         * benchtests/atan-inputs: New file.
9520         * benchtests/slowatan-inputs: New file.
9521         * benchtests/slowatan.c: New file.
9523         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9524         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9525         its value.
9527         [BZ #15305]
9528         * sysdeps/unix/sysv/linux/kernel-features.h
9529         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9530         __ASSUME_XFS_RESTRICTED_CHOWN.
9531         * sysdeps/unix/sysv/linux/pathconf.c
9532         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9533         Save and restore errno.
9535 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
9537         [BZ #15327]
9538         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9539         arguments using __kernel_casinh.
9540         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9541         arguments using __kernel_casinhf.
9542         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9543         arguments using __kernel_casinhl.
9544         * math/libm-test.inc (cacosh_test): Add more tests.
9545         * sysdeps/i386/fpu/libm-test-ulps: Update.
9546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9548 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9550         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9551         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9553         * bench/Makefile (bench): Add sin and slowsin.
9554         * benchtests/sin-inputs: New file.
9555         * benchtests/slowsin-inputs: New file.
9556         * benchtests/slowsin.c: New file.
9558         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9559         (bench): Add slowexp and slowpow.
9560         (exp-ITER): Increase iterations.
9561         (pow-ITER): Likewise.
9562         * benchtests/exp-inputs: Change input.
9563         * benchtests/pow-inputs: Likewise.
9564         * benchtests/slowexp-inputs: New file.
9565         * benchtests/slowexp.c: New file.
9566         * benchtests/slowpow-inputs: New file.
9567         * benchtests/slowpow.c: New file.
9569 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9571         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9572         instructions.
9573         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9574         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9575         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9576         * benchtests/Makefile: Add rint benchtest.
9577         * benchtests/rint-inputs: Input for rint benchtest.
9579 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9581         * Versions.def (libm): Add GLIBC_2.18.
9582         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9583         hidden libm prototypes.
9584         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9585         * math/Makefile (libm-calls): Add s_issignaling.
9586         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9587         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
9588         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9589         declaration.
9590         * math/math.h [__USE_GNU] (issignaling): New macro.
9591         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9592         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9593         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9594         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9595         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9596         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9597         * manual/arith.texi (issignaling): New section.
9598         * manual/libm-err-tab.pl (@all_functions): Update comment.
9599         * math/gen-libm-test.pl (parse_args): Apply special handling for
9600         issignaling.
9601         * math/libm-test.inc (print_float, issignaling_test): New
9602         functions.
9603         (check_float_internal): Add issignaling checks.
9604         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9605         default definition.
9606         * sysdeps/powerpc/math-tests.h: New file.
9607         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9608         tests.
9609         * math/test-snan.c (TEST_FUNC): Likewise.
9611 2013-03-30  David S. Miller  <davem@davemloft.net>
9613         * po/de.po: Update from translation team.
9615 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
9617         [BZ #10357]
9618         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9619         imaginary part less than 1.0 and real part less than 0.5
9620         specially.
9621         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9622         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9623         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9624         (cacos_test): Add more tests.
9625         (casin_test): Likewise.
9626         (casinh_test): Likewise.
9627         * sysdeps/i386/fpu/libm-test-ulps: Update.
9628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9630 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9632         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9633         ONE with its value.
9635         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9636         (__pow_mp): Replace ONE and MONE with their values.
9637         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9638         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9639         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9640         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9641         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9642         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9644         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9646         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9647         (__pow_mp): Replace ZERO and MZERO with their values.
9648         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9649         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9650         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9651         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9652         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9653         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9654         (__sqr): Likewise.
9656         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9658         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9660 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9662         * include/stdlib.h [!SHARED] (__call_tls_dtors):
9663         Declare with __attribute__ ((weak)).
9664         * stdlib/exit.c (__libc_atexit) [!SHARED]:
9665         Call __call_tls_dtors only if it's not NULL.
9667 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9669         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9670         didn't do it already, then set _dl_phdr and _dl_phnum based on the
9671         magic __ehdr_start linker symbol if it's defined.
9672         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9673         them up here if it was already done.
9675         * elf/dl-support.c (_dl_phdr): Make pointer to const.
9676         (_dl_aux_init): Use const in cast when setting it.
9677         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9678         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9679         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9681         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9682         Declare them here.
9683         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9684         * csu/libc-tls.c: Nor here.
9685         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9687         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9688         (__libc_message): Never call vsyslog.
9690 2013-03-28  Alan Modra  <amodra@gmail.com>
9692         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9693         Define as empty.
9694         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9695         Likewise.
9697 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9699         [BZ #15214]
9700         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9701         underflow.
9702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9704 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9706         [BZ #15304]
9707         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9708         Don't add gid passed as argument.
9710         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9712 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
9714         [BZ #15307]
9715         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9716         imaginary part between 1.0 and 1.5 and real part less than 0.5
9717         specially.
9718         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9719         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9720         * math/libm-test.inc (cacos_test): Add more tests.
9721         (casin_test): Likewise.
9722         (casinh_test): Likewise.
9723         * sysdeps/i386/fpu/libm-test-ulps: Update.
9724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9726 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9728         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9729         constants.
9730         (norm): Likewise.
9731         (denorm): Likewise.
9732         (__dbl_mp): Likewise.
9733         (add_magnitudes): Likewise.
9734         (sub_magnitudes): Likewise.
9735         (__add): Likewise.
9736         (__sub): Likewise.
9737         (__mul): Likewise.
9738         (__sqr): Likewise.
9739         (__inv): Likewise.
9740         (__dvd): Likewise.
9742         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9743         commented code.
9744         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9745         (__dubcos): Likewise.
9746         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9747         (__ieee754_acos): Likewise.
9748         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9749         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9750         (__exp1): Likewise.
9751         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9752         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9753         (log1): Likewise.
9754         (my_log2): Likewise.
9755         (checkint): Likewise.
9756         * sysdeps/ieee754/dbl-64/e_remainder.c
9757         (__ieee754_remainder): Likewise.
9758         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9759         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9760         (bsloww): Likewise.
9761         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9763         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9764         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9765         MANTISSA_STORE_T to store computations on mantissa.  Use
9766         macros for rounding and division.
9767         (denorm): Likewise.
9768         (__dbl_mp): Likewise.
9769         (add_magnitudes): Likewise.
9770         (sub_magnitudes): Likewise.
9771         (__mul): Likewise.
9772         (__sqr): Likewise.
9773         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9774         powers of two in terms of TWOPOW macro.
9775         (mp_no): Make type of mantissa as MANTISSA_T.
9776         [!RADIXI]: Define RADIXI.
9777         [!TWO52]: Define TWO52.
9778         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9780 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9782         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9783         llroundl symbol when building for PPC32.
9785 2013-03-24  Mark H Weaver  <mhw@netris.org>
9787         * manual/arith.texi (Normalization Functions): Fix prototypes for
9788         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9790 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9792         [BZ #13889]
9793         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9794         high value to check if expl overflow.
9795         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9796         to check for underflow and overflow.
9797         * math/libm-test.inc: Add exp test.
9799 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
9801         [BZ #11120]
9802         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9803         with NOT_IN_libc.
9805 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9807         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9808         symbol.
9810 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
9812         * math/gen-libm-test.pl (parse_args, special_functions): Properly
9813         wrap blocks consisting of several statements.
9815         * sysdeps/generic/math-tests.h: New file.
9816         * sysdeps/i386/fpu/math-tests.h: Likewise.
9817         * math/test-snan.c: Include it.
9818         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9820 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9822         [BZ #15285]
9823         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9824         (__ieee754_j0l): Do not improve calculations using cos of twice
9825         input for inputs above LDBL_MAX / 2.0L.
9826         (__ieee754_y0l): Likewise.
9827         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9828         (__ieee754_j1l): Do not improve calculations using cos of twice
9829         input for inputs above LDBL_MAX / 2.0L.
9830         (__ieee754_y1l): Likewise.
9831         * math/libm-test.inc (j0_test): Add another test.
9832         (j1_test): Likewise.
9833         (y0_test): Likewise.
9834         (y1_test): Likewise.
9835         * sysdeps/i386/fpu/libm-test-ulps: Update.
9837 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9839         * Rules ($(objpfx)bench-%.c): Include code from a C source
9840         file.
9842 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9844         [BZ #15287]
9845         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9846         imaginary part 1.0 and real part less than 0.5 specially.
9847         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9848         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9849         * math/libm-test.inc (cacos_test): Add more tests.
9850         (casin_test): Likewise.
9851         (casinh_test): Likewise.
9852         * sysdeps/i386/fpu/libm-test-ulps: Update.
9853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9855 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9857         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9858         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9860 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
9862         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9863         * config.make.in (config-cflags-sse4): Remove variable.
9864         (config-cflags-avx): Likewise.
9865         (config-cflags-sse2avx): Likewise.
9866         (config-cflags-novzeroupper): Likewise.
9867         (config-asflags-i686): Likewise.
9868         (have-mfma4): Likewise.
9869         (have-as-vis3): Likewise.
9870         (MIG): Likewise.
9871         * configure.in (MIG): Do not AC_SUBST.
9872         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9873         (libc_cv_cc_sse4): Do not AC_SUBST.
9874         (libc_cv_cc_avx): Likewise.
9875         (libc_cv_cc_sse2avx): Likewise.
9876         (libc_cv_cc_novzeroupper): Likewise.
9877         (libc_cv_cc_fma4): Likewise.
9878         (libc_cv_as_i686): Likewise.
9879         (libc_cv_sparc_as_vis3): Likewise.
9880         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9881         LIBC_CONFIG_VAR.
9882         (config-asflags-i686): Likewise.
9883         (config-cflags-avx): Likewise.
9884         (config-cflags-sse2avx): Likewise.
9885         (have-mfma4): Likewise.
9886         (config-cflags-novzeroupper): Likewise.
9887         * sysdeps/mach/configure.in (MIG): Likewise.
9888         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9889         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9890         LIBC_CONFIG_VAR.
9891         (config-cflags-avx): Likewise.
9892         (config-cflags-sse2avx): Likewise.
9893         (have-mfma4): Likewise.
9894         (config-cflags-novzeroupper): Likewise.
9895         * configure: Regenerated.
9896         * sysdeps/i386/configure: Likewise.
9897         * sysdeps/mach/configure: Likewise.
9898         * sysdeps/sparc/configure: Likewise.
9899         * sysdeps/x86_64/configure: Likewise.
9901 2013-03-20  Roland McGrath  <roland@hack.frob.com>
9903         [BZ #14812]
9904         * locale/programs/localedef.c (options): Put N_ translation marker
9905         on argument names, not just descriptions.
9907 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9909         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9911 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
9913         [BZ #14176]
9914         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9916 2013-03-19  Roland McGrath  <roland@hack.frob.com>
9918         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9919         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9920         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9921         [!BEFORE_ABORT] (before_abort): New function.
9922         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9923         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9924         (writev_for_fatal): New function.
9925         (WRITEV_FOR_FATAL): New macro; call that.
9926         (backtrace_and_maps): New function.
9927         (BEFORE_ABORT): New macro; call that.
9928         (struct str_list): Type removed.
9929         (__libc_message, __libc_fatal): Functions removed.
9930         Include <sysdeps/posix/libc_fatal.c> instead.
9932 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
9934         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9935         constants.
9936         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9937         double constants.
9939 2013-03-19  Andreas Schwab  <schwab@suse.de>
9941         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9942         * sysdeps/gnu/configure: Regenerate.
9944         * configure.in: Substitute libc_cv_rtlddir.
9945         * configure: Regenerate.
9946         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9947         * Makeconfig (rtlddir, inst_rtlddir): New variables.
9948         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9949         * elf/Makefile (install-others, CFLAGS-interp.c)
9950         (ldso_install, common-ldd-rewrite): Likewise.
9951         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9952         $(inst_slibdir)/$(rtld-installed-name).
9953         * scripts/rellns-sh: Add -p option.
9954         * Makerules (make-shlib-link): Use rellns-sh to get relative name
9955         for source.
9957 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9959         * manual/nptl.texi: Renamed to ...
9960         * manual/threads.texi: ... this.
9961         * manual/Makefile (chapters): Update.
9963 2013-03-18  Roland McGrath  <roland@hack.frob.com>
9965         [BZ #14812]
9966         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9967         on argument names, not just descriptions.
9968         * malloc/memusagestat.c (options): Likewise.
9969         * nss/getent.c (options): Likewise.
9971 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
9973         [BZ #14812]
9974         * iconv/iconv_prog.c (options): Put N_ translation marker
9975         on argument names, not just descriptions.
9976         * iconv/iconvconfig.c (options): Likewise.
9978 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
9980         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9981         implementation which is faster on all x86_64 architectures.
9982         Tested on AMD, Intel Nehalem, SNB, IVB.
9983         * sysdeps/x86_64/strnlen.S: Likewise.
9985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9986         Remove all multiarch strlen and strnlen versions.
9987         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9988         Remove strlen and strnlen related parts.
9990         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9991         Inline strlen part.
9992         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9994         * sysdeps/x86_64/multiarch/strlen.S: Remove.
9995         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9996         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9997         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9998         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9999         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10001 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10003         * manual/memory.texi (Malloc Tunable Parameters):
10004         Sort parameters alphabetically. Add comments for missing entries.
10006 2013-03-17  David S. Miller  <davem@davemloft.net>
10008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10010 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10012         [BZ #15283]
10013         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10014         for arguments at most half maximum finite value.
10015         * math/libm-test.inc (j0_test): Add more tests.
10016         (j1_test): Likewise.
10017         (y0_test): Likewise.
10018         (y1_test): Likewise.
10019         * sysdeps/i386/fpu/libm-test-ulps: Update.
10020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10022         [BZ #14155]
10023         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10024         1 / x and functions P and Q for arguments above 0x1p256L.
10025         (__ieee754_y0l): Likewise.
10026         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10027         (__ieee754_y1l): Likewise.
10028         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10029         (j1_test): Likewise.
10030         (y0_test): Likewise.
10031         (y1_test): Likewise.
10033 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10035         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10036         variable.
10038 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10040         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10041         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10042         zero since it's initialized to EXEC_PAGESIZE.
10044         * sysdeps/unix/sysv/linux/ldsodefs.h
10045         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10046         * sysdeps/generic/ldsodefs.h: ... here.
10048 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10050         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10052         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10053         math/test-snan.c.
10054         * math/test-snan.c: Renamed from
10055         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10056         * math/Makefile (tests): Add test-snan.
10057         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10058         test-powerpc-snan.
10060         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10061         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10062         functions.
10063         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10064         __builtin_nan family of functions.
10065         * math/libm-test.inc (initialize): Initialize qnan_value with
10066         __builtin_nan family of functions.
10067         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10068         Remove variables.
10069         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10070         Remove functions.
10071         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10072         storage class.  Initialize qNaN_var and sNaN_var with
10073         __builtin_nan and __builtin_nans families of functions,
10074         respectively.
10076         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10077         (sqrt_test): Remove duplicate test with qNaN input.
10078         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10079         (round_test, signbit_test, significand_test): Note missing +/-Inf
10080         as well as qNaN tests.
10082         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10083         qNaN_var.  Fix a few strings, too.
10084         * math/libm-test.inc (nan_value): Rename to qnan_value.
10085         * math/gen-libm-test.pl (%beautify): Adjust to that.
10086         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10087         * math/test-misc.c (main): Likewise.
10088         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10089         to __qnan_bytes, and __qnan_union, respectively.
10090         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10091         Likewise.
10092         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10093         and lqnanval, respectively.
10094         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10095         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10096         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10097         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10099         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10100         * math/test-misc.c (main) [__x86_64__]: Enable test for long
10101         doubles.
10103         * math/test-misc.c (main): Fix copy'n'pastos.
10104         * misc/tst-efgcvt.c (special): Likewise.
10106         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10107         Remove declarations.
10109 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10111         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10112         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10113         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10114         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10116 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10118         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10119         macro to return vdso values correctly in IFUNC implementations.
10120         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10121         Optimization by using IFUNC.
10123 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10124             Richard Henderson  <rth@redhat.com>
10125             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10127         * Makefile.in (bench): New target.
10128         * NEWS: Mention the benchmark framework.
10129         * Rules (bench): Likewise.
10130         (binaries-bench): Generate binaries for functions to
10131         benchmark.
10132         * benchtests/Makefile: New makefile for benchmark tests.
10133         * benchtests/bench-skeleton.c: New skeleton file for benchmark
10134         programs.
10135         * benchtests/exp-inputs: New input file for EXP function.
10136         * benchtests/pow-inputs: New input file for POW function.
10137         * scripts/bench.pl: New script to generate source files for
10138         benchmark programs.
10140 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10142         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10143         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10144         computations on mantissa.  Use macros for rounding and
10145         division.
10146         (denorm): Likewise.
10147         (__dbl_mp): Likewise.
10148         (add_magnitudes): Likewise.
10149         (sub_magnitudes): Likewise.
10150         (__mul): Likewise.
10151         (__sqr): Likewise.
10152         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10153         powers of two in terms of TWOPOW macro.
10154         (mp_no): Make type of mantissa as MANTISSA_T.
10155         [!RADIXI]: Define RADIXI.
10156         [!TWO52]: Define TWO52.
10157         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10159         * manual/nptl.texi (cindex): Modify threads to pthreads.
10161 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
10163         * sysdeps/x86_64/preconfigure: Regenerated.
10165 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
10167         [BZ #14155]
10168         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10169         0x1p28 and above.
10170         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10171         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10172         0x1p28 and above.
10173         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10174         * math/libm-test.inc (j0_test): Do not allow one spurious
10175         underflow exception.
10176         (y1_test): Likewise.
10178 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10180         * manual/Makefile (chapters): Add nptl.
10181         * manual/debug.texi (Debugging Support): Add link to Threads
10182         chapter.
10183         * manual/nptl.texi: New file.
10185         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10187 2013-03-14  Petr Baudis  <pasky@ucw.cz>
10189         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10190         for non-NULL pointer before the memory validity test. Pointed
10191         out by Holger Brunck <holger.brunck@keymile.com>.
10193 2013-03-13  Andreas Schwab  <schwab@suse.de>
10195         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10196         instead of .os.
10198 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
10200         * timezone/zic.c: Update from tzcode 2013b.
10202 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
10204         * manual/install.texi (Configuring and compiling):
10205         Mention i686 and i586.
10206         * INSTALL: Regenerate.
10208 2013-03-12  Roland McGrath  <roland@hack.frob.com>
10210         * sysdeps/init_array/elf-init.c: New file.
10211         * csu/elf-init.c
10212         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10213         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10215         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10216         __gmon_start__ as global, but as static with a .preinit_array pointer.
10217         * sysdeps/init_array/gmon-start.c: New file.  Use that.
10218         * sysdeps/init_array/crti.S: New file, empty except for comments.
10219         * sysdeps/init_array/crtn.S: Likewise.
10221 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
10223         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10224         definining bcopy.
10225         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10226         Remove Prefer_SSE_for_memop.
10227         * sysdeps/x86_64/multiarch/init-arch.h: Remove
10228         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10229         HAS_PREFER_SSE_FOR_MEMOP.
10230         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10231         memset-x86-64.
10232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10233         Remove bzero, memset ifunc support.
10234         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10235         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10236         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10237         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10239 2013-03-11  Andreas Schwab  <schwab@suse.de>
10241         [BZ #15234]
10242         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10243         by SHLIB_COMPAT.
10244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10245         (GLIBC_2.16): Remove pthread_atfork.
10247 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10249         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10250         (ptestcases.h): Likewise.
10252 2013-03-08  Roland McGrath  <roland@hack.frob.com>
10254         * Makeconfig ($(common-objpfx)config.status): Depend on
10255         sysdeps/*/preconfigure{,.in} too.
10257 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
10259         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10260         (__free_hook): Use void * instead of __malloc_ptr_t.
10261         (__malloc_hook): Likewise.
10262         (__realloc_hook): Likewise.
10263         (__memalign_hook): Likewise.
10264         (__after_morecore_hook): Likewise.
10265         * malloc/arena.c (save_malloc_hook): Likewise.
10266         (save_free_hook): Likewise.
10267         * malloc/hooks.c (malloc_hook_ini): Likewise.
10268         (realloc_hook_ini): Likewise.
10269         (memalign_hook_ini): Likewise.
10270         * malloc/malloc.c (malloc_hook_ini): Likewise.
10271         (realloc_hook_ini): Likewise.
10272         (memalign_hook_ini): Likewise.
10273         (__free_hook): Likewise.
10274         (__malloc_hook): Likewise.
10275         (__realloc_hook): Likewise.
10276         (__memalign_hook): Likewise.
10277         (__libc_malloc): Likewise.
10278         (__libc_free): Likewise.
10279         (__libc_realloc): Likewise.
10280         (__libc_memalign): Likewise.
10281         (__libc_valloc): Likewise.
10282         (__libc_pvalloc): Likewise.
10283         (__libc_calloc): Likewise.
10284         (__posix_memalign): Likewise.
10285         * malloc/morecore.c (__sbrk): Likewise.
10286         (__default_morecore): Likewise.
10288         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10290         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10291         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10292         __malloc_ptrdiff_t.
10294         * malloc/malloc.h (__malloc_size_t): Remove macro.
10295         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10296         __malloc_size_t.
10297         (old_memalign_hook): Likewise.
10298         (old_realloc_hook): Likewise.
10299         (struct hdr): Likewise.
10300         (flood): Likewise.
10301         (mallochook): Likewise.
10302         (memalignhook): Likewise.
10303         (reallochook): Likewise.
10304         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10305         (tr_old_realloc_hook): Likewise.
10306         (tr_old_memalign_hook): Likewise.
10307         (tr_mallochook): Likewise.
10308         (tr_reallochook): Likewise.
10309         (tr_memalignhook): Likewise.
10311 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10313         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10314         default_ldbl_pack and using as default implementation.
10315         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10316         implementation.
10317         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10318         redundant definition.
10319         (ldbl_insert_mantissa): Likewise.
10320         (ldbl_canonicalize): Likewise.
10321         (ldbl_nearbyint): Likewise.
10322         (ldbl_pack): Rename to ldbl_pack_ppc.
10323         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10324         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10325         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10327 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10329         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10330         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10331         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10332         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10334         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10335         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10336         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10338 2013-03-07  Andreas Jaeger  <aj@suse.de>
10340         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10341         bits/mman-linux.h.
10343 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10345         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10346         Include mpa.h and declare __MPEXP.
10347         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10348         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10349         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10350         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10351         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10352         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10353         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10355         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10356         (__slowpow): Use long double EXPL and LOGL functions to
10357         compute POW.
10358         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10359         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10360         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10361         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10362         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10363         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10366         intermediate variable to calculate exponent.
10367         (__sqr): Likewise.
10368         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10369         Likewise.
10370         (__sqr): Likewise.
10372         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10373         [!NO__SQR]: Define __sqr.
10374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10375         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10376         sysdeps/ieee754/dbl-64/mpa.c.
10377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10379         [BZ #12723]
10380         * posix/Makefile (tests): Add tst-pathconf.
10381         * posix/tst-pathconf.c: New test case.
10382         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10383         _PC_PIPE_BUF.
10384         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10386 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10388         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10390 2013-03-06  Andreas Jaeger  <aj@suse.de>
10392         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10393         definition via __MAP_ANONYMOUS.
10395         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10396         it's not part of Linux headers.
10398         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10399         (MAP_HUGE_MASK): Define.
10401         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10402         Define.
10403         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10404         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10405         Define.
10406         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10407         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10408         Define.
10409         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10410         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10411         Define.
10412         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10414         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10415         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10416         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10417         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10418         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10419         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10421         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10422         Handle f2fs.
10424         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10425         Handle f2fs and efivarfs.
10427         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10428         f2fs.
10430         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10431         (EFIVARFS_MAGIC): Add.
10432         (F2FS_LINK_MAX): Add.
10434 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10436         * stdio-common/vfprintf.c: Replace __builtin_expect with
10437         __glibc_unlikely.
10439 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10441         [BZ #13550]
10442         * sysdeps/generic/bp-sym.h: Remove file.
10443         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10444         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10445         <bp-sym.h> and <bp-asm.h>.
10446         (__longjmp): Don't use BP_SYM.
10447         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10448         and <bp-asm.h>.
10449         (memcpy): Don't use BP_SYM.
10450         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10451         <bp-sym.h> and <bp-asm.h>.
10452         (memcpy): Don't use BP_SYM.
10453         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10454         <bp-asm.h>.
10455         (memcpy): Don't use BP_SYM.
10456         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10457         <bp-asm.h>.
10458         (memset): Don't use BP_SYM.
10459         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10460         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10461         (__bzero): Don't use BP_SYM.
10462         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10463         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10464         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10465         <bp-sym.h> and <bp-asm.h>.
10466         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10467         pointers.
10468         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10469         <bp-sym.h> and <bp-asm.h>.
10470         (memcpy): Don't use BP_SYM.
10471         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10472         <bp-sym.h> and <bp-asm.h>.
10473         (memset): Don't use BP_SYM.
10474         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10475         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10476         (__bzero): Don't use BP_SYM.
10477         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10478         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10479         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10480         <bp-sym.h> and <bp-asm.h>.
10481         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10482         pointers.
10483         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10484         <bp-sym.h> and <bp-asm.h>.
10485         (memcpy): Don't use BP_SYM.
10486         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10487         <bp-sym.h> and <bp-asm.h>.
10488         (memset): Don't use BP_SYM.
10489         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10490         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10491         (__bzero): Don't use BP_SYM.
10492         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10493         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10494         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10495         <bp-sym.h> and <bp-asm.h>.
10496         (__memchr): Don't use BP_SYM.
10497         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10498         <bp-sym.h> and <bp-asm.h>.
10499         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10500         pointers.
10501         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10502         <bp-sym.h> and <bp-asm.h>.
10503         (memcpy): Don't use BP_SYM.
10504         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10505         <bp-sym.h> and <bp-asm.h>.
10506         (__mempcpy): Don't use BP_SYM.
10507         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10508         <bp-sym.h> and <bp-asm.h>.
10509         (__memrchr): Don't use BP_SYM.
10510         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10511         <bp-sym.h> and <bp-asm.h>.
10512         (memset): Don't use BP_SYM.
10513         (__bzero): Likewise.
10514         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10515         <bp-sym.h> and <bp-asm.h>.
10516         (__rawmemchr): Don't use BP_SYM.
10517         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10518         <bp-sym.h> and <bp-asm.h>.
10519         (__STRCMP): Don't use BP_SYM.
10520         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10521         <bp-sym.h> and <bp-asm.h>.
10522         (strchr): Don't use BP_SYM.
10523         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10524         <bp-sym.h> and <bp-asm.h>.
10525         (__strchrnul): Don't use BP_SYM.
10526         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10527         <bp-sym.h> and <bp-asm.h>.
10528         (strlen): Don't use BP_SYM.
10529         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10530         <bp-sym.h> and <bp-asm.h>.
10531         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10532         pointers.
10533         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10534         <bp-sym.h> and <bp-asm.h>.
10535         (__strnlen): Don't use BP_SYM.
10536         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10537         <bp-sym.h> and <bp-asm.h>.
10538         (__GI__setjmp): Don't use BP_SYM.
10539         (_setjmp): Likewise.
10540         (__sigsetjmp): Likewise.
10541         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10542         (L(start_addresses)): Don't use BP_SYM.
10543         (_start): Likewise.
10544         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10545         <bp-asm.h>.
10546         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10547         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10548         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10549         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10550         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10551         <bp-asm.h>.
10552         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10553         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
10554         about bounded pointers.
10555         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10556         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10557         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10558         <bp-asm.h>.
10559         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10560         about bounded pointers.  Remove GKM FIXME comments.
10561         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10562         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10563         <bp-asm.h>.
10564         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10565         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
10566         Remove GKM FIXME comments.
10567         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10568         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10569         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10570         <bp-asm.h>.
10571         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10572         about bounded pointers.  Remove GKM FIXME comment.
10573         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10574         and <bp-asm.h>.
10575         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10576         pointers.
10577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10578         <bp-sym.h> and <bp-asm.h>.
10579         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10581         <bp-sym.h> and <bp-asm.h>.
10582         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10583         comment.
10585 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10587         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10588         call free(NULL).
10590 2013-03-05  David S. Miller  <davem@davemloft.net>
10592         * po/es.po: Update from translation team.
10594 2013-03-05  Andreas Jaeger  <aj@suse.de>
10596         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10597         <bits/mman-linux.h>.
10598         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10599         is fine.
10600         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10601         <bits/mman-linux.h> to end of file.
10602         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10603         is fine.
10604         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10605         <bits/mman-linux.h> to end of file.
10606         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10607         is fine.
10608         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10609         <bits/mman-linux.h> to end of file.
10611         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10612         (MCL_CURRENT, MCL_FUTURE): Define here.
10614 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10616         [BZ #15232]
10617         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10618         attribute_hidden.
10619         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10621 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10623         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10624         fourth parameter needed for rt_sigprocmask syscall.
10625         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10626         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10627         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10628         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10629         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10630         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10632 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
10634         [BZ #13550]
10635         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10636         comment about bounded pointers.
10637         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10638         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10640 2013-03-04  Andreas Jaeger  <aj@suse.de>
10642         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10643         common definitions.
10645         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10646         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10647         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10648         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10649         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10650         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10652 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10654         [BZ #15055]
10655         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10656         __ieee754_sqrl instead of __sqrl.
10658 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
10660         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10661         * sysdeps/powerpc/fpu_control.h: ... here.
10662         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10663         * sysdeps/powerpc/bits/fenvinline.h: ... here.
10664         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10665         * sysdeps/powerpc/bits/mathinline.h: ... here.
10667 2013-03-01  Roland McGrath  <roland@hack.frob.com>
10669         * elf/dl-hwcaps.c (_dl_important_hwcaps):
10670         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10671         to just [NEED_DL_SYSINFO_DSO].
10672         * elf/dl-support.c: Likewise.
10673         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10674         * elf/rtld.c (dl_main): Likewise.
10675         * elf/setup-vdso.h (setup_vdso): Likewise.
10676         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10677         * sysdeps/unix/sysv/linux/dl-sysdep.c
10678         (_dl_discover_osversion): Likewise.
10680 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
10682         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10683         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10685 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10687         * NEWS: Mention libm performance improvements and non-x86 PI
10688         futex support.
10690         * csu/libc-start.c (__pthread_initialize_minimal): Change
10691         function arguments.
10692         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10694 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
10696         [BZ #13550]
10697         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10698         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10699         <bp-sym.h> and <bp-asm.h>.
10700         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10701         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10702         and <bp-asm.h>.
10703         (memcpy): Don't use BP_SYM.
10704         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10705         <bp-asm.h>.
10706         (__mpn_add_n): Don't use BP_SYM.
10707         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10708         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10709         and <bp-asm.h>.
10710         (__mpn_addmul_1): Don't use BP_SYM.
10711         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10712         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10713         <bp-sym.h>.
10714         (_setjmp): Don't use BP_SYM.
10715         (__novmx_setjmp): Likewise.
10716         (__GI__setjmp): Likewise.
10717         (__vmx_setjmp): Likewise.
10718         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10719         <bp-sym.h>.
10720         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10721         (__bzero): Don't use BP_SYM.
10722         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10723         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10724         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10725         <bp-sym.h> and <bp-asm.h>.
10726         (memcpy): Don't use BP_SYM.
10727         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10728         <bp-sym.h> and <bp-asm.h>.
10729         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10730         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10731         <bp-sym.h> and <bp-asm.h>.
10732         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10733         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10734         <bp-asm.h>.
10735         (__mpn_lshift): Don't use BP_SYM.
10736         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10737         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10738         <bp-asm.h>.
10739         (memset): Don't use BP_SYM.
10740         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10741         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10742         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10743         <bp-asm.h>.
10744         (__mpn_mul_1): Don't use BP_SYM.
10745         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10746         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10747         <bp-sym.h> and <bp-asm.h>.
10748         (memcmp): Don't use BP_SYM.
10749         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10750         <bp-sym.h> and <bp-asm.h>.
10751         (memcpy): Don't use BP_SYM.
10752         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10753         <bp-sym.h> and <bp-asm.h>.
10754         (memset): Don't use BP_SYM.
10755         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10756         <bp-sym.h> and <bp-asm.h>.
10757         (strncmp): Don't use BP_SYM.
10758         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10759         <bp-sym.h> and <bp-asm.h>.
10760         (memcpy): Don't use BP_SYM.
10761         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10762         <bp-sym.h> and <bp-asm.h>.
10763         (memset): Don't use BP_SYM.
10764         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10765         <bp-sym.h> and <bp-asm.h>.
10766         (__memchr): Don't use BP_SYM.
10767         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10768         <bp-sym.h> and <bp-asm.h>.
10769         (memcmp): Don't use BP_SYM.
10770         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10771         <bp-sym.h> and <bp-asm.h>.
10772         (memcpy): Don't use BP_SYM.
10773         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10774         <bp-sym.h> and <bp-asm.h>.
10775         (__mempcpy): Don't use BP_SYM.
10776         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10777         <bp-sym.h> and <bp-asm.h>.
10778         (__memrchr): Don't use BP_SYM.
10779         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10780         <bp-sym.h> and <bp-asm.h>.
10781         (memset): Don't use BP_SYM.
10782         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10783         <bp-sym.h> and <bp-asm.h>.
10784         (__rawmemchr): Don't use BP_SYM.
10785         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10786         <bp-sym.h> and <bp-asm.h>.
10787         (__STRCMP): Don't use BP_SYM.
10788         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10789         <bp-sym.h> and <bp-asm.h>.
10790         (strchr): Don't use BP_SYM.
10791         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10792         <bp-sym.h> and <bp-asm.h>.
10793         (__strchrnul): Don't use BP_SYM.
10794         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10795         <bp-sym.h> and <bp-asm.h>.
10796         (strlen): Don't use BP_SYM.
10797         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10798         <bp-sym.h> and <bp-asm.h>.
10799         (strncmp): Don't use BP_SYM.
10800         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10801         <bp-sym.h> and <bp-asm.h>.
10802         (__strnlen): Don't use BP_SYM.
10803         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10804         <bp-asm.h>.
10805         (__mpn_rshift): Don't use BP_SYM.
10806         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10807         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10808         <bp-sym.h> and <bp-asm.h>.
10809         (__sigsetjmp): Don't use BP_SYM.
10810         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10811         (L(start_addresses)): Don't use BP_SYM.
10812         (_start): Likewise.
10813         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10814         <bp-asm.h>.
10815         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10816         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10817         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10818         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10819         <bp-asm.h>.
10820         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10821         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10822         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10823         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10824         <bp-asm.h>.
10825         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10826         comments.
10827         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10828         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10829         <bp-asm.h>.
10830         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
10831         FIXME comments.
10832         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10833         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10834         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10835         <bp-asm.h>.
10836         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10837         comment.
10838         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10839         and <bp-asm.h>.
10840         (strncmp): Don't use BP_SYM,
10841         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10842         <bp-asm.h>.
10843         (__mpn_sub_n): Don't use BP_SYM.
10844         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10845         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10846         and <bp-asm.h>.
10847         (__mpn_submul_1): Don't use BP_SYM.
10848         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10850         <bp-sym.h> and <bp-asm.h>.
10851         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10853         <bp-sym.h> and <bp-asm.h>.
10854         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10855         comment.
10857 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10860         Use ZK to minimize writes to Z.
10861         (sub_magnitudes): Simplify code a bit.
10862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10863         Use ZK to minimize writes to Z.
10864         (sub_magnitudes): Simplify code a bit.
10866 2013-02-27  Roland McGrath  <roland@hack.frob.com>
10868         * csu/gmon-start.c: Add special exception to license text.
10870 2013-02-27  Richard Henderson  <rth@redhat.com>
10872         * scripts/config.guess: Update from config.git.
10873         * scripts/config.sub: Likewise.
10875 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10877         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10879         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10881         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10883         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10885         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10887 2013-02-26  Roland McGrath  <roland@hack.frob.com>
10889         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10890         [$(build-shared = yes].
10892 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10894         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10895         (__mul): Reduce iterations for calculating mantissa.
10897         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10898         MPTWO.
10899         (__mpranred): Likewise.
10901         [BZ #15160]
10902         * malloc/memusagestat.c (main): Draw graphs for heap and stack
10903         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10905 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
10907         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10908         Define __attribute__.
10910 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10912         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10913         unused.
10914         * posix/regex_internal.h (__attribute): Remove.
10915         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10916         (re_string_context_at): Likewise.
10917         (bitset_not): Use __attribute__ and mark function as possibly
10918         unused.
10919         (bitset_merge): Likewise.
10920         (bitset_mask): Likewise.
10921         (re_string_char_size_at): Likewise.
10922         (re_string_wchar_at): Likewise.
10923         (re_string_elem_size_at): Likewise.
10925 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10927         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10928         code.
10929         (cc32): Likewise.
10931         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10932         (__acr): Likewise.
10933         (__cpy): Likewise.
10934         (norm): Likewise.
10935         (denorm): Likewise.
10936         (__dbl_mp): Likewise.
10937         (add_magnitudes): Likewise.
10938         (sub_magnitudes): Likewise.
10939         (__mul): Likewise.
10940         (__inv): Likewise.
10942         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10943         style.
10945         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10946         style.
10948         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10949         code.
10951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10952         up changes with default code.
10953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10954         Likewise.
10956 2013-02-24  Allan McRae  <allan@archlinux.org>
10958         * manual/socket.texi (The Internet Namespace): Order menu items
10959         to match that in the file.
10961         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10962         node listing of the info page menu.
10964 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
10966         [BZ #13550]
10967         * sysdeps/i386/bp-asm.h: Remove file.
10968         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10969         (PARMS): Do not use macros from bp-asm.h.
10970         (S1): Likewise.
10971         (S2): Likewise.
10972         (SIZE): Likewise.
10973         (__mpn_add_n): Do not use BP_SYM
10974         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10975         "bp-asm.h".
10976         (PARMS): Do not use macros from bp-asm.h.
10977         (S1): Likewise.
10978         (SIZE): Likewise.
10979         (__mpn_addmul_1): Do not use BP_SYM
10980         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10981         "bp-asm.h".
10982         (PARMS): Do not use macros from bp-asm.h.
10983         (SIGMSK): Likewise.
10984         (_setjmp): Likewise.  Do not use BP_SYM.
10985         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10986         "bp-asm.h".
10987         (PARMS): Do not use macros from bp-asm.h.
10988         (SIGMSK): Likewise.
10989         (setjmp): Likewise.  Do not use BP_SYM.
10990         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10991         "bp-asm.h".
10992         (PARMS): Do not use macros from bp-asm.h.
10993         (__frexp): Do not use BP_SYM.
10994         (frexp): Likewise.
10995         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10996         "bp-asm.h".
10997         (PARMS): Do not use macros from bp-asm.h.
10998         (__frexpf): Do not use BP_SYM.
10999         (frexpf): Likewise.
11000         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11001         "bp-asm.h".
11002         (PARMS): Do not use macros from bp-asm.h.
11003         (__frexpl): Do not use BP_SYM.
11004         (frexpl): Likewise.
11005         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11006         "bp-asm.h".
11007         (PARMS): Do not use macros from bp-asm.h.
11008         (__remquo): Do not use BP_SYM.
11009         (remquo): Likewise.
11010         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11011         "bp-asm.h".
11012         (PARMS): Do not use macros from bp-asm.h.
11013         (__remquof): Do not use BP_SYM.
11014         (remquof): Likewise.
11015         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11016         "bp-asm.h".
11017         (PARMS): Do not use macros from bp-asm.h.
11018         (__remquol): Do not use BP_SYM.
11019         (remquol): Likewise.
11020         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11021         "bp-asm.h".
11022         (PARMS): Do not use macros from bp-asm.h.
11023         (DEST): Likewise.
11024         (SRC): Likewise.
11025         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11026         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11027         "bp-asm.h".
11028         (PARMS): Do not use macros from bp-asm.h.
11029         (strlen): Do not use BP_SYM.
11030         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11031         "bp-asm.h".
11032         (PARMS): Do not use macros from bp-asm.h.
11033         (S1): Likewise.
11034         (S2): Likewise.
11035         (SIZE): Likewise.
11036         (__mpn_add_n): Do not use BP_SYM.
11037         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11038         "bp-asm.h".
11039         (PARMS): Do not use macros from bp-asm.h.
11040         (S1): Likewise.
11041         (SIZE): Likewise.
11042         (__mpn_addmul_1): Do not use BP_SYM.
11043         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11044         weak_alias.
11045         (bzero): Likewise.
11046         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11047         "bp-asm.h".
11048         (PARMS): Do not use macros from bp-asm.h.
11049         (S): Likewise.
11050         (SIZE): Likewise.
11051         (__mpn_lshift): Do not use BP_SYM.
11052         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11053         "bp-asm.h".
11054         (PARMS): Do not use macros from bp-asm.h.
11055         (DEST): Likewise.
11056         (SRC): Likewise.
11057         (LEN): Likewise.
11058         (memcpy): Likewise.  Do not use BP_SYM.
11059         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11060         libc_hidden_def and weak_alias.
11061         (mempcpy): Do not use BP_SYM in weak_alias.
11062         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11063         "bp-asm.h".
11064         (PARMS): Do not use macros from bp-asm.h.
11065         (DEST): Likewise.
11066         (LEN): Likewise.
11067         [!BZERO_P] (CHR): Likewise.
11068         (memset): Likewise.  Do not use BP_SYM.
11069         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11070         "bp-asm.h".
11071         (PARMS): Do not use macros from bp-asm.h.
11072         (S1): Likewise.
11073         (SIZE): Likewise.
11074         (__mpn_mul_1): Do not use BP_SYM.
11075         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11076         "bp-asm.h".
11077         (PARMS): Do not use macros from bp-asm.h.
11078         (S): Likewise.
11079         (SIZE): Likewise.
11080         (__mpn_rshift): Do not use BP_SYM.
11081         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11082         "bp-asm.h".
11083         (PARMS): Do not use macros from bp-asm.h.
11084         (STR): Likewise.
11085         (CHR): Likewise.
11086         (strchr): Likewise.  Do not use BP_SYM.
11087         (index): Do not use BP_SYM in weak_alias.
11088         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11089         "bp-asm.h".
11090         (PARMS): Do not use macros from bp-asm.h.
11091         (DEST): Likewise.
11092         (SRC): Likewise.
11093         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
11094         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11095         "bp-asm.h".
11096         (PARMS): Do not use macros from bp-asm.h.
11097         (strlen): Do not use BP_SYM.
11098         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11099         "bp-asm.h".
11100         (PARMS): Do not use macros from bp-asm.h.
11101         (S1): Likewise.
11102         (S2): Likewise.
11103         (SIZE): Likewise.
11104         (__mpn_sub_n): Do not use BP_SYM.
11105         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11106         "bp-asm.h".
11107         (PARMS): Do not use macros from bp-asm.h.
11108         (S1): Likewise.
11109         (SIZE): Likewise.
11110         (__mpn_submul_1): Do not use BP_SYM.
11111         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11112         "bp-asm.h".
11113         (PARMS): Do not use macros from bp-asm.h.
11114         (S1): Likewise.
11115         (S2): Likewise.
11116         (SIZE): Likewise.
11117         (__mpn_add_n): Do not use BP_SYM.
11118         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11119         weak_alias.
11120         (bzero): Likewise.
11121         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11122         "bp-asm.h".
11123         (PARMS): Do not use macros from bp-asm.h.
11124         (BLK2): Likewise.
11125         (LEN): Likewise.
11126         (memcmp): Do not use BP_SYM.
11127         (bcmp): Do not use BP_SYM in weak_alias.
11128         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11129         "bp-asm.h".
11130         (PARMS): Do not use macros from bp-asm.h.
11131         (DEST): Likewise.
11132         (SRC): Likewise.
11133         (LEN): Likewise.
11134         (memcpy): Likewise.  Do not use BP_SYM.
11135         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11136         "bp-asm.h".
11137         (PARMS): Do not use macros from bp-asm.h.
11138         (DEST): Likewise.
11139         (SRC): Likewise.
11140         (LEN): Likewise.
11141         (memmove): Likewise.  Do not use BP_SYM.
11142         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11143         "bp-asm.h".
11144         (PARMS): Do not use macros from bp-asm.h.
11145         (DEST): Likewise.
11146         (SRC): Likewise.
11147         (LEN): Likewise.
11148         (__mempcpy): Likewise.  Do not use BP_SYM.
11149         (mempcpy): Do not use BP_SYM in weak_alias.
11150         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11151         "bp-asm.h".
11152         (PARMS): Do not use macros from bp-asm.h.
11153         (DEST): Likewise.
11154         (LEN): Likewise.
11155         [!BZERO_P] (CHR): Likewise.
11156         (memset): Likewise.  Do not use BP_SYM.
11157         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11158         "bp-asm.h".
11159         (PARMS): Do not use macros from bp-asm.h.
11160         (STR2): Likewise.
11161         (strcmp): Do not use BP_SYM.
11162         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11163         "bp-asm.h".
11164         (PARMS): Do not use macros from bp-asm.h.
11165         (STR): Likewise.
11166         (DELIM): Likewise.
11167         [USE_AS_STRTOK_R] (SAVE): Likewise.
11168         (FUNCTION): Likewise.  Do not use BP_SYM.
11169         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11170         aliases.
11171         (strtok_r): Likewise.
11172         (__GI___strtok_r): Likewise.
11173         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11174         (PARMS): Do not use macros from bp-asm.h.
11175         (S): Likewise.
11176         (SIZE): Likewise.
11177         (__mpn_lshift): Do not use BP_SYM.
11178         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11179         (PARMS): Do not use macros from bp-asm.h.
11180         (STR): Likewise.
11181         (CHR): Likewise.
11182         (__memchr): Do not use BP_SYM.
11183         (memchr): Do not use BP_SYM in weak_alias.
11184         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11185         (PARMS): Do not use macros from bp-asm.h.
11186         (BLK2): Likewise.
11187         (LEN): Likewise.
11188         (memcmp): Do not use BP_SYM.
11189         (bcmp): Do not use BP_SYM in weak_alias.
11190         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11191         (PARMS): Do not use macros from bp-asm.h.
11192         (S1): Likewise.
11193         (SIZE): Likewise.
11194         (__mpn_mul_1): Do not use BP_SYM.
11195         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11196         "bp-asm.h".
11197         (PARMS): Do not use macros from bp-asm.h.
11198         (STR): Likewise.
11199         (CHR): Likewise.
11200         (__rawmemchr): Do not use BP_SYM.
11201         (rawmemchr): Do not use BP_SYM in weak_alias.
11202         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11203         (PARMS): Do not use macros from bp-asm.h.
11204         (S): Likewise.
11205         (SIZE): Likewise.
11206         (__mpn_rshift): Do not use BP_SYM.
11207         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11208         (PARMS): Do not use macros from bp-asm.h.
11209         (SIGMSK): Likewise.
11210         (__sigsetjmp): Likewise.  Do not use BP_SYM.
11211         * sysdeps/i386/start.S: Do not include "bp-sym.h".
11212         (_start): Do not use BP_SYM.
11213         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11214         (PARMS): Do not use macros from bp-asm.h.
11215         (DEST): Likewise.
11216         (SRC): Likewise.
11217         (__stpcpy): Likewise.  Do not use BP_SYM.
11218         (stpcpy): Do not use BP_SYM in weak_alias.
11219         * sysdeps/i386/stpncpy.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         (__stpncpy): Likewise.  Do not use BP_SYM.
11226         (stpncpy): Do not use BP_SYM in weak_alias.
11227         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11228         (PARMS): Do not use macros from bp-asm.h.
11229         (STR): Likewise.
11230         (CHR): Likewise.
11231         (strchr): Likewise.  Do not use BP_SYM.
11232         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11233         "bp-asm.h".
11234         (PARMS): Do not use macros from bp-asm.h.
11235         (STR): Likewise.
11236         (CHR): Likewise.
11237         (__strchrnul): Likewise.  Do not use BP_SYM.
11238         (strchrnul): Do not use BP_SYM in weak_alias.
11239         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11240         "bp-asm.h".
11241         (PARMS): Do not use macros from bp-asm.h.
11242         (STOP): Likewise.
11243         (strcspn): Do not use BP_SYM.
11244         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11245         "bp-asm.h".
11246         (PARMS): Do not use macros from bp-asm.h.
11247         (STR): Likewise.
11248         (STOP): Likewise.
11249         (strpbrk): Likewise.  Do not use BP_SYM.
11250         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11251         "bp-asm.h".
11252         (PARMS): Do not use macros from bp-asm.h.
11253         (STR): Likewise.
11254         (CHR): Likewise.
11255         (strrchr): Likewise.  Do not use BP_SYM.
11256         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11257         (PARMS): Do not use macros from bp-asm.h.
11258         (SKIP): Likewise.
11259         (strspn): Do not use BP_SYM.
11260         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11261         (PARMS): Do not use macros from bp-asm.h.
11262         (STR): Likewise.
11263         (DELIM): Likewise.
11264         (SAVE): Likewise.
11265         (FUNCTION): Likewise.  Do not use BP_SYM.
11266         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11267         aliases.
11268         (strtok_r): Likewise.
11269         (__GI___strtok_r): Likewise.
11270         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11271         (PARMS): Do not use macros from bp-asm.h.
11272         (S1): Likewise.
11273         (S2): Likewise.
11274         (SIZE): Likewise.
11275         (__mpn_sub_n): Do not use BP_SYM.
11276         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11277         "bp-asm.h".
11278         (PARMS): Do not use macros from bp-asm.h.
11279         (S1): Likewise.
11280         (SIZE): Likewise.
11281         (__mpn_submul_1): Do not use BP_SYM.
11282         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11283         <bp-sym.h>.
11284         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11285         and <bp-asm.h>.
11286         (PARMS): Do not use macros from bp-asm.h.
11287         (FLAGS): Likewise.
11288         (PTID): Likewise.
11289         (TLS): Likewise.
11290         (CTID): Likewise.
11291         (__clone): Do not use BP_SYM.
11292         (clone): Do not use BP_SYM in weak_alias.
11293         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11294         and <bp-asm.h>.
11295         (PARMS): Do not use macros from bp-asm.h.
11296         (LEN): Likewise.
11297         (__mmap64): Do not use BP_SYM.
11298         (mmap64): Do not use BP_SYM in weak_alias.
11299         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11300         <bp-sym.h> and <bp-asm.h>.
11301         (PARMS): Do not use macros from bp-asm.h.
11302         (__posix_fadvise64_l64): Do not use BP_SYM.
11303         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11304         (PARMS): Do not use macros from bp-asm.h.
11305         (NSOPS): Likewise.
11306         (semtimedop): Do not use BP_SYM.
11307         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11308         and <bp-asm.h>.
11310 2013-02-21  Allan McRae  <allan@archlinux.org>
11312         * manual/message.texi (Charset conversion in gettext):
11313         Move @end statement to beginning of line.
11315 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11317         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11318         static.
11319         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11320         Likewise.
11322         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11323         (denorm): Likewise.
11324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11325         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11327 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11329         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11330         tail-call to the resolved function if pltexit isn't needed.
11332 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11335         or Y being zero as being unlikely.
11336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11337         Likewise.
11339 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11341         * manual/nss.texi (System Databases and Name Service Switch):
11342         Remove frobnicate @pxref.
11344 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11346         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11347         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11349 2013-02-20  Petr Machata  <pmachata@redhat.com>
11351         * elf/elf.h (R_ARM_TARGET1): New macro.
11352         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11353         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11354         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11355         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11356         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11357         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11358         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11359         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11360         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11361         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11362         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11363         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11364         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11365         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11366         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11367         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11368         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11369         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11370         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11371         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11372         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11373         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11374         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11375         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11376         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11377         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11378         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11379         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11380         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11381         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11382         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11383         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11384         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11385         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11386         (R_ARM_THM_GOT_BREL12): Likewise.
11387         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11388         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11389         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11390         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11391         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11392         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11393         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11394         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11395         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11397 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11399         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11400         __attribute_used__ to __attribute__ ((unused)).
11402 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11404         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11405         powerpc mpa.c.
11406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11407         comment formatting.
11408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11410 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11412         [BZ #13550]
11413         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11414         Remove macro.
11415         (ENTER): Remove both macro definitions.
11416         (LEAVE): Likewise.
11417         (CHECK_BOUNDS_LOW): Likewise.
11418         (CHECK_BOUNDS_HIGH): Likewise.
11419         (CHECK_BOUNDS_BOTH): Likewise.
11420         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11421         (RETURN_BOUNDED_POINTER): Likewise.
11422         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11423         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11424         (POP_ERRNO_LOCATION_RETURN): Likewise.
11425         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11426         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11427         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11428         macros.
11429         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11430         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11431         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11432         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11433         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11434         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11435         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11436         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11437         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11438         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11439         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11440         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11441         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11442         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11443         removed macros.
11444         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11445         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11446         macros.
11447         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11448         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11449         * sysdeps/i386/i586/memset.S (memset): Likewise.
11450         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11451         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11452         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11453         macros.
11454         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11455         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11456         Change uses of L(2) to L(out).
11457         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11458         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11459         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11460         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11461         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11462         removed macros.
11463         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11464         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11465         macros.
11466         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11467         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11468         (RETURN): Do not use macro LEAVE.
11469         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11470         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11471         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11472         * sysdeps/i386/i686/memset.S (memset): Likewise.
11473         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11474         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11475         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11476         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11477         Likewise.
11478         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11479         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11480         L(1_2) and L(1_3) into L(1).
11481         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11482         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11483         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11484         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11485         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11486         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11487         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11488         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11489         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11490         macros.
11491         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11492         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11493         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11494         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11495         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11496         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11497         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11498         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11499         * sysdeps/i386/strcspn.S (strcspn): Likewise.
11500         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11501         * sysdeps/i386/strrchr.S (strrchr): Likewise.
11502         * sysdeps/i386/strspn.S (strspn): Likewise.
11503         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11504         conditional code.
11505         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11506         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11507         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11508         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
11509         L(1_3) into L(1_1).
11510         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11511         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11512         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11513         macros.
11514         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11516 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
11518         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11519         macro.
11521 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11523         * math/atest-exp.c (exp_mpn): Remove ROUND.
11524         * math/atest-exp2.c (exp_mpn): Likewise.
11525         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11527         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11528         * stdlib/tst-tls-atexit-lib.c: Likewise.
11529         * stdlib/tst-tls-atexit.c: Likewise.
11531 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11533         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11534         and __attribute_alloc_size__.
11536 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11538         * include/programs/xmalloc.h: Change __attribute_alloc_size to
11539         __attribute_alloc_size__.
11540         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11541         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11543 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11545         * include/programs/xmalloc.h: New file.
11546         * catgets/gencat.c: Include it.
11547         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11548         * elf/pldd.c: Likewise.
11549         * iconv/iconv_charmap.c: Likewise.
11550         * iconv/iconvconfig.c: Likewise.
11551         * iconv/strtab.c: Likewise.
11552         * locale/programs/locale.c: Likewise.
11553         * locale/programs/localedef.h: Likewise.
11554         * locale/programs/simple-hash.c: Likewise.
11555         * nscd/nscd.h: Likewise.
11556         * nss/makedb.c: Likewise.
11557         * sysdeps/generic/ldconfig.h: Likewise.
11559 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11561         * Versions.def: Add GLIBC_2.18.
11562         * include/link.h (struct link_map): New member l_tls_dtor_count.
11563         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11564         (__call_tls_dtors): Likewise.
11565         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11566         __cxa_thread_atexit_impl.
11567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11568         Likewise.
11569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11570         Likewise.
11571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11572         Likewise.
11573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11574         Likewise.
11575         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11577         Likewise.
11578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11579         Likewise.
11580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11582         Likewise.
11583         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11584         (tests): Add test case tst-tls-atexit.
11585         (modules-names): Add shared library for tst-tls-atexit.
11586         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11587         (GLIBC_PRIVATE): Add __call_tls_dtors.
11588         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11589         for libstdc++.
11590         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11591         * stdlib/tst-tls-atexit.c: New test case.
11592         * stdlib/tst-tls-atexit-lib.c: New test case.
11594         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11596         * elf/Versions (ld): Add _dl_find_dso_for_object.
11597         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11598         * elf/dl-open.c (_dl_find_dso_for_object): New function.
11599         (dl_open_worker): Use _dl_find_dso_for_object.
11600         * elf/dl-sym.c (do_sym): Likewise.
11601         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11603 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11605         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11606         Syntactic changes only.
11607         (_dl_runtime_profile): Do a tail-call to the resolved function.
11609 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
11611         [BZ #13550]
11612         * sysdeps/x86_64/bp-asm.h: Remove file.
11613         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11614         <bp-sym.h> and <bp-asm.h>.
11615         (__clone): Do not use BP_SYM.
11616         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11617         <bp-sym.h> and <bp-asm.h>.
11618         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11619         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11620         "bp-asm.h".
11621         (_setjmp): Do not use BP_SYM.
11622         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11623         "bp-asm.h".
11624         (setjmp): Do not use BP_SYM.
11625         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11626         libc_hidden_def.
11627         (mempcpy): Do not use BP_SYM in weak_alias.
11628         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11629         "bp-asm.h".
11630         (strchr): Do not use BP_SYM.
11631         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11632         "bp-asm.h".
11633         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11634         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11635         (_start): Do not use BP_SYM.
11636         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11637         "bp-asm.h".
11638         (strcat): Do not use BP_SYM.
11639         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11640         "bp-asm.h".
11641         (STRCMP): Do not use BP_SYM.
11642         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11643         "bp-asm.h".
11644         (STRCPY): Do not use BP_SYM.
11645         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11646         "bp-asm.h".
11647         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11648         "bp-asm.h".
11649         (FUNCTION): Do not use BP_SYM.
11650         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11651         weak_alias.
11652         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11654 2013-02-17  Andreas Jaeger  <aj@suse.de>
11656         * time/Versions: Sort entries.
11657         * string/Versions: Likewise.
11658         * resolv/Versions: Likewise.
11659         * posix/Versions: Likewise.
11660         * iconv/Versions: Likewise.
11661         * elf/Versions: Likewise.
11662         * wcsmbs/Versions: Likewise.
11664 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11666         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11667         loop termination condition.
11669         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11670         variable to calculate EZ.
11671         (__sqr): Likewise.
11673         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11674         the lower precision input.
11676 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
11678         [BZ #13550]
11679         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11680         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11681         (run-via-rtld-prefix): Do not handle %-bp tests.
11682         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11683         (all-object-suffixes): Remove .ob.
11684         (bppfx): Remove variable.
11685         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11686         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11687         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11688         [$(build-bounded) = yes] (libtype.ob): Likewise.
11689         * Makerules (elide-routines.ob): Remove variable.
11690         (do-tests-clean): Do not handle *-bp.out.
11691         (common-mostlyclean): Do not handle *-bp and *-bp.out.
11692         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11693         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11694         (tests): Do not include $(tests-bp.out).
11695         (xtests): Do not include $(xtests-bp.out).
11696         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11697         [$(build-bounded) = yes] ($(addprefix
11698         $(objpfx),$(binaries-bounded))): Remove rule.
11699         ($(objpfx)%-bp.out): Remove rule.
11700         * config.make.in (build-bounded): Remove variable.
11701         * crypt/Makefile [$(build-bounded) = yes]
11702         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11703         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11704         append to variable.
11705         [$(build-bounded) = yes] (install-lib): Likewise.
11706         [$(build-bounded) = yes] (generated): Likewise.
11707         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11708         Remove rule.
11709         * intl/Makefile [$(build-bounded) = yes]
11710         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11711         * math/Makefile [$(build-bounded) = yes]
11712         ($(tests:%=$(objpfx)%-bp): Likewise.
11713         * misc/Makefile [$(build-bounded) = yes]
11714         ($(objpfx)tst-tsearch-bp): Likewise.
11715         * nptl/Makeconfig (bounded-thread-library): Remove variable.
11716         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11717         Remove dependency.
11718         * string/Makefile (o-objects.ob): Remove variable.
11719         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11720         (CFLAGS-.ob): Remove variable.
11721         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11722         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11723         both definitions of variable.
11724         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11725         (ASFLAGS-.ob): Remove variable.
11727 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
11729         [BZ #13550]
11730         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11731         Remove __BOUNDED_POINTERS__ from condition.
11732         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11733         * string/bits/string2.h [!__NO_STRING_INLINES &&
11734         !__BOUNDED_POINTERS__]: Likewise.
11735         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11736         Likewise.
11737         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11738         Remove conditional code.
11739         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11740         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11741         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11742         condition.
11744         [BZ #13550]
11745         * csu/libc-start.c: Do not include <bp-sym.h>.
11746         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11747         * elf/dl-open.c: Do not include <bp-sym.h>.
11748         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11749         * math/fegetenv.c: Do not include <bp-sym.h>.
11750         (fegetenv): Do not use BP_SYM in versioned symbols.
11751         * nptl/sysdeps/pthread/bits/libc-lockP.h
11752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11753         <bp-sym.h>.
11754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11755         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11757         (__pthread_mutex_destroy): Likewise.
11758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11759         (__pthread_mutex_lock): Likewise.
11760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11761         (__pthread_mutex_trylock): Likewise.
11762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11763         (__pthread_mutex_unlock): Likewise.
11764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11765         (__pthread_mutexattr_init): Likewise.
11766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11767         (__pthread_mutexattr_destroy): Likewise.
11768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11769         (__pthread_mutexattr_settype): Likewise.
11770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11771         (__pthread_rwlock_init): Likewise.
11772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11773         (__pthread_rwlock_destroy): Likewise.
11774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11775         (__pthread_rwlock_rdlock): Likewise.
11776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11777         (__pthread_rwlock_tryrdlock): Likewise.
11778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11779         (__pthread_rwlock_wrlock): Likewise.
11780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11781         (__pthread_rwlock_trywrlock): Likewise.
11782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11783         (__pthread_rwlock_unlock): Likewise.
11784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11785         (__pthread_key_create): Likewise.
11786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11787         (__pthread_setspecific): Likewise.
11788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11789         (__pthread_getspecific): Likewise.
11790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11791         Likewise.
11792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11793         (_pthread_cleanup_push_defer): Likewise.
11794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11795         (_pthread_cleanup_pop_restore): Likewise.
11796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11797         (pthread_setcancelstate): Likewise.
11798         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11799         <bp-sym.h>.
11800         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11801         (memchr): Do not use BP_SYM in weak_alias.
11802         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11803         (fegetenv): Do not use BP_SYM in versioned symbols.
11804         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11805         (fesetenv): Do not use BP_SYM in versioned symbols.
11806         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11807         (feupdateenv): Do not use BP_SYM in versioned symbols.
11808         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11809         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11810         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11811         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11812         (open64): Do not use BP_SYM in weak_alias.
11813         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11814         (fegetenv): Do not use BP_SYM in versioned symbols.
11815         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11816         (fesetenv): Do not use BP_SYM in versioned symbols.
11817         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11818         (feupdateenv): Do not use BP_SYM in versioned symbols.
11819         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11820         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11821         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11822         (feraiseexcept): Do not use BP_SYM in versioned symbols.
11823         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11824         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11825         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11826         <bp-sym.h>.
11827         (__libc_start_main): Do not use BP_SYM.
11829 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11832         redundant return line.
11833         (norm): Likewise.
11834         (denorm): Likewise.
11835         (dbl_mp): Likewise.
11836         (sub_magnitudes): Likewise.
11837         (__add): Likewise.
11838         (__sub): Likewise.
11839         (__mul): Likewise.
11840         (__inv): Likewise.
11841         (__dvd): Likewise.
11842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11843         (norm): Likewise.
11844         (denorm): Likewise.
11845         (dbl_mp): Likewise.
11846         (sub_magnitudes): Likewise.
11847         (__add): Likewise.
11848         (__sub): Likewise.
11849         (__mul): Likewise.
11850         (__inv): Likewise.
11851         (__dvd): Likewise.
11853         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11854         instead of __mul.
11855         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11856         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11857         (cc32): Likewise.
11859         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11860         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11861         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11862         of __mul for squares.
11863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11864         function
11865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11866         Likewise.
11867         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11868         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11870 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
11872         [BZ #13550]
11873         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11874         code.
11875         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11876         prototype or function definition.  Rename ubp_* variables and
11877         parameters.  Remove argv definitions conditional on
11878         [__BOUNDED_POINTERS__].
11879         * debug/backtrace.c (__backtrace): Do not use __unbounded.
11880         * elf/dl-runtime.c (_dl_fixup): Likewise.
11881         * include/set-hooks.h (RUN_HOOK): Likewise.
11882         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11883         definition.
11884         * string/strcpy.c (strcpy): Do not use __unbounded.
11885         * sysdeps/generic/frame.h (struct layout): Likewise.
11886         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11887         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11888         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11889         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11890         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11891         (__backtrace): Likewise.
11892         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11893         use __ptrvalue.
11894         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11895         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11896         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11897         Likewise.
11898         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11899         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11900         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11901         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11902         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11903         Do not use __unbounded.
11904         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11905         Rename __unboundedrlimits parameter to rlimits in prototype.
11906         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11907         Do not use __unbounded.
11908         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11909         not use __ptrvalue.
11910         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11911         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11912         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11913         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11914         __ptrvalue or __unbounded.
11915         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11916         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11917         use __unbounded.
11918         (__new_msgctl): Do not use __ptrvalue.
11919         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11920         __unbounded.
11921         (__libc_msgrcv): Do not use __ptrvalue.
11922         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11923         startup_info): Do not use __unbounded.
11924         (__libc_start_main): Likewise.  Rename ubp_* variables and
11925         parameters.  Remove argv definitions conditional on
11926         [__BOUNDED_POINTERS__].
11927         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11928         __ptrvalue.
11929         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11930         use __unbounded.
11931         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11932         or __ptrvalue.
11933         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11934         use __unbounded.
11935         (__new_shmctl): Do not use __ptrvalue.
11936         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11937         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11938         Likewise.
11939         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11940         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11941         (__libc_sigaction): Likewise.
11942         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11943         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11944         Likewise.
11945         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11947 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
11949         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11951         * string/mempcpy.c: Implement by calling memcpy.
11953 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11955         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11958         evaluation.
11960         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11961         values in the mantissa.
11963         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11964         minimize writes to Z.
11965         (sub_magnitudes): Simplify code a bit.
11967 2013-02-12  Roland McGrath  <roland@hack.frob.com>
11969         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11970         from the message.  The linker prefixes all warnings with that already.
11972 2013-02-12  Andreas Schwab  <schwab@suse.de>
11974         [BZ #15078]
11975         * posix/regexec.c (extend_buffers): Add parameter min_len.
11976         (check_matching): Pass minimum needed length.
11977         (clean_state_log_if_needed): Likewise.
11978         (get_subexp): Likewise.
11979         * posix/Makefile (tests): Add bug-regex34.
11980         (bug-regex34-ENV): Define.
11981         * posix/bug-regex34.c: New file.
11983         [BZ #11561]
11984         * posix/regcomp.c (parse_bracket_exp): When looking up collating
11985         elements compare against the byte sequence of it, not its name.
11986         * posix/Makefile (tests): Add bug-regex35.
11987         (bug-regex35-ENV): Define.
11988         * posix/bug-regex35.c: New file.
11990 2013-02-11  Tom de Vries  <tom@codesourcery.com>
11992         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
11993         comment.
11994         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11995         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11996         (CHECK_EOL): Add undef.
11998 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12000         * bits/stdlib-bsearch.h: New file.
12001         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12002         * stdlib/stdlib.h: Likewise.
12004 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12006         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12007         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12008         declaration.
12009         * manual/search.texi (Array Search Function): Add missing const in
12010         lfind prototype.
12011         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12012         declaration to use rlim_t.
12013         (Basic Scheduling Functions): Remove erroneous const from
12014         sched_getparam prototype.  Remove erroneous * from
12015         sched_get_priority_max and sched_get_priority_min prototypes.
12016         (Resource Usage): Fix summary @comment on vtimes to refer to
12017         sys/vtimes.h rather than vtimes.h.
12018         Add missing *s in vtimes prototype.
12019         (Limits on Resources): Fix ulimit prototype to return long int.
12020         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12021         prototypes to use long int rather than double.
12022         (BSD Random): Fix initstate and setstate to use char *, not void *.
12023         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12024         prototype to make second argument 'struct aiocb64 *const[]'.
12025         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12026         (Status of AIO Operations): Remove erroneous const in aio_return and
12027         aio_return64 prototypes.
12028         (Synchronizing I/O): Fix sync prototype to return void.
12029         * manual/startup.texi (Suboptions): Remove an erroneous const in
12030         getsubopt prototype.
12031         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12032         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12033         use size_t rather than int.
12034         (Scanning All Users): Likewise for getpwent_r.
12035         (Setting Groups): Add missing const to setgroups prototype.
12036         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12037         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12038         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12039         'const void *' rather than 'const char *'.
12040         (Host Address Functions): Likewise for inet_ntop.
12041         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12042         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12043         ssize_t for return value.
12044         (Sending Data): Likewise for send, sendto, sendmsg.
12045         (Socket Option Functions): Add a missing const in setsockopt prototype.
12046         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12047         use wchar_t for the argument.
12048         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12049         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12050         take no arguments.
12051         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12052         double/float/long double for second argument.
12053         Fix return types of significand, significandf, significandl.
12054         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12055         argument in fchmod prototype.
12056         (File Owner): Use uid_t and gid_t in fchown prototype.
12057         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12058         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12059         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12060         use 'const struct dirent **' as argument types to CMP function pointer
12061         argument.
12062         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12063         (File Times): Fix summary magic @comment for struct utimbuf and utime
12064         to refer to utime.h, not time.h.
12065         * manual/string.texi (Argz Functions): Add missing const in
12066         argz_extract and argz_next prototypes.
12067         (Finding Tokens in a String): Likewise for basename.
12068         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12069         (Copying and Concatenation): Fix typo in wmemmove prototype.
12070         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12071         (Signal Stack): Remove erroneous const in sigstack prototype.
12072         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12073         prototype.
12074         (Simple Calendar Time): Likewise for stime.
12075         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12076         prototype.
12077         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12078         say sys/sysctl.h instead.
12079         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12080         and vsyslog prototypes.
12082 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12084         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12085         Remove.
12087 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12089         * misc/sys/mman.h: Fix typo in mremap comment.
12091 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12093         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12094         the '\0' terminator.
12096 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12098         [BZ #13550]
12099         * debug/segfault.c: Don't include <bp-checks.h>.
12100         * sysdeps/generic/bp-checks.h: Remove file.
12101         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12102         (__GETDENTS): Don't use CHECK_N.
12103         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12104         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12105         (__getgroups): Don't use CHECK_N.
12106         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12107         (setgroups): Don't use CHECK_N.
12108         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12109         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12110         (__libc_msgrcv): Don't use CHECK_N.
12111         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12112         (__libc_msgsnd): Don't use CHECK_N.
12113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12114         <bp-checks.h>.
12115         (__libc_pread): Don't use CHECK_N.
12116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12117         include <bp-checks.h>.
12118         (__libc_pread64): Don't use CHECK_N.
12119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12120         include <bp-checks.h>.
12121         (__libc_pwrite): Don't use CHECK_N.
12122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12123         include <bp-checks.h>.
12124         (__libc_pwrite64): Don't use CHECK_N.
12125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12126         <bp-checks.h>.
12127         (__libc_pread): Don't use CHECK_N.
12128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12129         include <bp-checks.h>.
12130         (__libc_pread64): Don't use CHECK_N.
12131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12132         include <bp-checks.h>.
12133         (__libc_pwrite): Don't use CHECK_N.
12134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12135         include <bp-checks.h>.
12136         (__libc_pwrite64): Don't use CHECK_N.
12137         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12138         (do_pread): Don't use CHECK_N.
12139         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12140         (do_pread64): Don't use CHECK_N.
12141         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12142         (do_pwrite): Don't use CHECK_N.
12143         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12144         (do_pwrite64): Don't use CHECK_N.
12145         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12146         (__libc_readv): Don't use CHECK_N.
12147         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12148         (semop): Don't use CHECK_N.
12149         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12150         <bp-checks.h>.
12151         (semtimedop): Don't use CHECK_N.
12152         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12153         (__libc_pread): Don't use CHECK_N.
12154         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12155         <bp-checks.h>.
12156         (__libc_pread64): Don't use CHECK_N.
12157         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12158         <bp-checks.h>.
12159         (__libc_pwrite): Don't use CHECK_N.
12160         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12161         <bp-checks.h>.
12162         (__libc_pwrite64): Don't use CHECK_N.
12163         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12164         <bp-checks.h>.
12165         (__libc_msgrcv): Don't use CHECK_N.
12166         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12167         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
12168         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12169         (__libc_writev): Don't use CHECK_N.
12171 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12173         * string/strcpy.c: Removed unused variable.
12175         * Makeconfig (+sysdep-includes): Define with := rather than =.
12176         Use an existing include/ subdir of each sysdeps dir before it.
12178 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12180         * nscd/connection.c (register_traced_file): Comment function.
12181         [HAVE_INOTIFY] (union __inev): Define.
12182         [HAVE_INOTIFY] (inotify_check_files): New function.
12183         [HAVE_INOTIFY] (clear_db_cache): Likewise.
12184         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12185         clear_db_cache.
12186         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12188 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12190         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12191         loaded if not already and that a failure is permanent.
12193 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12195         [BZ #15006]
12196         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12197         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12199 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12201         [BZ #13550]
12202         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12203         (CHECK_1_NULL_OK): Likewise.
12204         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12205         (__fxstat): Do not use CHECK_1.
12206         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12207         <bp-checks.h>.
12208         (___fxstat64): Do not use CHECK_1.
12209         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12210         <bp-checks.h>.
12211         (__fxstatat): Do not use CHECK_1.
12212         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12213         <bp-checks.h>.
12214         (__fxstatat64): Do not use CHECK_1.
12215         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12216         <bp-checks.h>.
12217         (__fxstat): Do not use CHECK_1.
12218         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12219         <bp-checks.h>.
12220         (__fxstatat): Do not use CHECK_1.
12221         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12222         <bp-checks.h>.
12223         (__getresgid): Do not use CHECK_1.
12224         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12225         <bp-checks.h>.
12226         (__getresuid): Do not use CHECK_1.
12227         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12228         <bp-checks.h>.
12229         (__lxstat): Do not use CHECK_1.
12230         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12231         <bp-checks.h>.
12232         (__old_msgctl): Do not use CHECK_1.
12233         (__new_msgctl): Likewise.
12234         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12235         <bp-checks.h>.
12236         (__new_setrlimit): Do not use CHECK_1.
12237         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12238         <bp-checks.h>.
12239         (__old_shmctl): Do not use CHECK_1.
12240         (__new_shmctl): Likewise.
12241         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12242         <bp-checks.h>.
12243         (__xstat): Do not use CHECK_1.
12244         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12245         (__lxstat): Do not use CHECK_1.
12246         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12247         <bp-checks.h>.
12248         (___lxstat64): Do not use CHECK_1.
12249         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12250         (__old_msgctl): Do not use CHECK_1.
12251         (__new_msgctl): Likewise.
12252         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12253         <bp-checks.h>.
12254         (__gettimeofday): Do not use CHECK_1.
12255         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12256         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12257         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12258         <bp-checks.h>.
12259         (__gettimeofday): Do not use CHECK_1.
12260         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12261         (__old_shmctl): Do not use CHECK_1_NULL_OK.
12262         (__new_shmctl): Do not use CHECK_1.
12263         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12264         <bp-checks.h>.
12265         (do_sigtimedwait): Do not use CHECK_1.
12266         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12267         <bp-checks.h>.
12268         (do_sigwaitinfo): Do not use CHECK_1.
12269         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12270         <bp-checks.h>.
12271         (msgctl): Do not use CHECK_1.
12272         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12273         <bp-checks.h>.
12274         (shmctl): Do not use CHECK_1.
12275         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12276         (ustat): Do not use CHECK_1.
12277         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12278         <bp-checks.h>.
12279         (__fxstat): Do not use CHECK_1.
12280         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12281         <bp-checks.h>.
12282         (__fxstatat): Do not use CHECK_1.
12283         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12284         <bp-checks.h>.
12285         (__lxstat): Do not use CHECK_1.
12286         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12287         <bp-checks.h>.
12288         (__xstat): Do not use CHECK_1.
12289         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12290         (__xstat): Do not use CHECK_1.
12291         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12292         (___xstat64): Do not use CHECK_1.
12294         [BZ #13550]
12295         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12296         definitions.
12297         (CHECK_BOUNDS_HIGH): Likewise.
12298         * string/strcpy.c: Do not include <bp-checks.h>.
12299         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12301 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12303         * nscd/nscd-client.h (__nscd_drop_map_ref):
12304         Add __attribute__ ((unused)).
12305         * nis/nss-nisplus.h (niserr2nss): Likewise.
12307         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12308         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12310         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12311         Remove inline keyword.
12312         * include/rounding-mode.h (round_away): Likewise.
12313         * libio/wfileops.c (adjust_wide_data): Likewise.
12314         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12315         (__m128i_strloadu_tolower): Likewise.
12316         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12317         (__m128i_strloadu_tolower): Likewise.
12318         * time/mktime.c (ydhms_diff): Likewise.
12319         * locale/elem-hash.h (elem_hash): Likewise.
12320         * locale/setlocale.c (setdata): Likewise.
12321         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12322         (re_string_wchar_at): Likewise.
12323         (bitset_not, bitset_merge, bitset_mask): Likewise.
12324         [!(__GNUC__ > 3)] (inline): Remove macro.
12325         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12326         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12327         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12328         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12329         * string/memcmp.c (memcmp_bytes): Likewise.
12330         * locale/programs/locarchive.c (compute_hashval): Likewise.
12331         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12332         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12333         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12334         * nss/getent.c (print_rpc, print_protocols): Likewise.
12335         (print_passwd, print_group, print_aliases): Likewise.
12336         * nis/nss-nisplus.h (niserr2nss): Likewise.
12337         * nscd/connections.c (restart_p): Likewise.
12338         Change return type to bool.
12340 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12342         * Makeconfig (all-Depend-files): Add existing
12343         $(sorted-subdirs:=/Depend) files.
12344         (all-subdirs): Remove nss.
12345         * sysdeps/unix/inet/Subdirs: Add it here instead.
12346         * hesiod/Depend: New file.
12348         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12349         instead of calling alloca.
12351         * io/lseek.c (__lseek): Rename to __libc_lseek.
12352         Define __lseek as an alias.
12354         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12356 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12358         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12359         else clause and remove check for non-standard endianness.
12361 2013-02-04  David S. Miller  <davem@davemloft.net>
12363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12365 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12367         [BZ #13550]
12368         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12369         (__ubp_memchr): Remove prototype.
12370         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12371         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12372         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12373         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12374         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12375         Remove alias.
12376         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12377         (__ubp_memchr): Likewise.
12378         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12379         (__ubp_memchr): Likewise.
12380         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12381         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12382         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12383         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12384         CHECK_STRING.
12385         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12386         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12387         (__getcwd): Do not use CHECK_STRING.
12388         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12389         <bp-checks.h>.
12390         (__real_chown): Do not use CHECK_STRING.
12391         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12392         <bp-checks.h>.
12393         (fchownat): Do not use CHECK_STRING.
12394         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12395         CHECK_STRING.
12396         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12397         <bp-checks.h>.
12398         (__lchown): Do not use CHECK_STRING.
12399         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12400         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12401         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12402         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12404         include <bp-checks.h>.
12405         (truncate64): Do not use CHECK_STRING.
12406         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12407         <bp-checks.h>.
12408         (__real_chown): Do not use CHECK_STRING.
12409         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12410         <bp-checks.h>.
12411         (__lchown): Do not use CHECK_STRING.
12412         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12413         <bp-checks.h>.
12414         (__chown): Do not use CHECK_STRING.
12415         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12416         <bp-checks.h>.
12417         (truncate64): Do not use CHECK_STRING.
12418         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12419         Likewise.
12420         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12421         (__xmknod): Do not use CHECK_STRING.
12422         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12423         <bp-checks.h>.
12424         (__xmknodat): Do not use CHECK_STRING.
12425         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12426         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12428 2013-02-04  Andreas Schwab  <schwab@suse.de>
12430         [BZ #14142]
12431         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12432         * include/netdb.h: Likewise for h_errno.
12433         * elf/tst-stackguard1.c: Include <tls.h>.
12435 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12437         * elf/link.h (struct link_map): Extend the l_addr comment.
12438         * include/link.h (struct link_map): Likewise.
12440 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12442         [BZ #13550]
12443         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12444         (BOUNDED_1): Remove macro.
12445         * debug/backtrace.c: Don't include <bp-checks.h>.
12446         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12447         (__backtrace): Likewise.
12448         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12449         <bp-checks.h>.
12450         (__backtrace): Don't use BOUNDED_1.
12451         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12452         <bp-checks.h>.
12453         (__backtrace): Don't use BOUNDED_1.
12454         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12455         (__backtrace): Don't use BOUNDED_1.
12456         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12457         (shmat): Don't use BOUNDED_N.
12459 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12461         [BZ #13550]
12462         * sysdeps/generic/bp-start.h: Remove file.
12463         * csu/libc-start.c: Don't include <bp-start.h>.
12464         (LIBC_START_MAIN): Set up __environ directly instead of using
12465         INIT_ARGV_and_ENVIRON.
12466         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12467         <bp-start.h>.
12469         [BZ #13550]
12470         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12471         definitions.
12472         (CHECK_FCNTL): Likewise.
12473         (CHECK_N_PAGES): Likewise.
12475         [BZ #13550]
12476         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12477         definitions.
12478         (CHECK_SIGSET_NULL_OK): Likewise.
12479         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12480         <bp-checks.h>.
12481         (sigpending): Don't use CHECK_SIGSET.
12482         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12483         <bp-checks.h>.
12484         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12485         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12486         <bp-checks.h>.
12487         (do_sigsuspend): Don't use CHECK_SIGSET.
12488         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12489         use CHECK_SIGSET.
12490         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12491         (do_sigwait): Don't use CHECK_SIGSET.
12492         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12493         use CHECK_SIGSET.
12494         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12495         include <bp-checks.h>.
12496         (sigpending): Don't use CHECK_SIGSET.
12497         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12498         include <bp-checks.h>.
12499         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12500         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12501         <bp-checks.h>.
12502         (sigpending): Don't use CHECK_SIGSET.
12503         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12504         <bp-checks.h>.
12505         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12507         [BZ #13550]
12508         * sysdeps/generic/bp-semctl.h: Remove file.
12509         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12510         <bp-checks.h> and <bp-semctl.h>.
12511         (__old_semctl): Don't use CHECK_SEMCTL.
12512         (__new_semctl): Likewise.
12513         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12514         and <bp-semctl.h>.
12515         (__old_semctl): Don't use CHECK_SEMCTL.
12516         (__new_semctl): Likewise.
12517         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12518         <bp-checks.h> and <bp-semctl.h>.
12519         (__old_semctl): Don't use CHECK_SEMCTL.
12520         (__new_semctl): Likewise.
12521         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12522         <bp-checks.h> and <bp-semctl.h>.
12523         (semctl): Don't use CHECK_SEMCTL.
12525         [BZ #13550]
12526         * Makerules (elide-bp-thunks): Remove variable.
12527         (elide-routines.oS): Don't use $(elide-bp-thunks).
12528         (elide-routines.os): Likewise.
12529         (elide-routines.o): Likewise.
12530         (elide-routines.op): Likewise.
12531         (elide-routines.og): Likewise.
12532         (objects): Don't use $(bp-thunks).
12533         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12534         include.
12535         (common-generated): Do not add s-proto-bp.d.
12536         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12537         (int): Likewise.
12538         (typ): Likewise.
12539         Do not generate makefile rules for bounded-pointer thunks.
12540         * sysdeps/generic/bp-thunks.h: Remove file.
12541         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12542         * sysdeps/unix/s-proto-bp.S: Likewise.
12544         [BZ #15062]
12545         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12546         parts of result separately when argument is not close to line from
12547         -i to i and one part of argument is small.
12548         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12549         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12550         * math/libm-test.inc (cacos_test): Add more tests.
12551         (casin_test): Likewise.
12552         (casinh_test): Likewise.
12553         * sysdeps/i386/fpu/libm-test-ulps: Update.
12554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12556 2013-01-31  David S. Miller  <davem@davemloft.net>
12558         * po/de.po: Update from translation team.
12560 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
12562         * time/tzfile.c: Include stdint.h for SIZE_MAX.
12564 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
12566         * configure.in (_AC_PROG_CC_C89): New definition.
12567         * configure: Regenerate.
12569         * configure.in (AC_PROG_CPP): New definition.
12570         * configure: Regenerate.
12572 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12574         * debug/tst-backtrace.h: New file.
12575         * debug/tst-backtrace2.c: Include tst-backtrace.h.
12576         (ret): Remove variable.
12577         (x): Likewise.
12578         (FAIL): Remove macro.
12579         (NO_INLINE): Likewise.
12580         (fn1): Use match function instead of strstr.
12581         * debug/tst-backtrace3.c: Include tst-backtrace.h.
12582         (ret): Remove variable.
12583         (x): Likewise.
12584         (FAIL): Remove macro.
12585         (NO_INLINE): Likewise.
12586         (fn): Use match function instead of strstr.
12587         * debug/tst-backtrace4.c: Include tst-backtrace.h.
12588         (ret): Remove variable.
12589         (x): Likewise.
12590         (FAIL): Remove macro.
12591         (NO_INLINE): Likewise.
12592         (handle_signal): Use match function instead of strstr.
12593         * debug/tst-backtrace5.c: Include tst-backtrace.h.
12594         (ret): Remove variable.
12595         (x): Likewise.
12596         (FAIL): Remove macro.
12597         (NO_INLINE): Likewise.
12598         (handle_signal): Use match function instead of strstr.
12600 2013-01-23  Roland McGrath  <roland@hack.frob.com>
12602         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12604 2013-01-23  David S. Miller  <davem@davemloft.net>
12606         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12607         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12608         argument of CAS if possible.
12609         * sysdeps/sparc/sparc64/bits/atomic.h
12610         (__arch_compare_and_exchange_val_32_acq): Likewise.
12611         (__arch_compare_and_exchange_val_64_acq): Likewise.
12613 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
12615         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12616         * sysdeps/posix/ulimit.c: ... this.
12617         Include <limits.h>.
12618         * sysdeps/unix/bsd/ulimit.c: Remove file.
12620 2013-01-23  Adam Conrad  <adconrad@0c3.net>
12622         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12623         (LDFLAGS-tst-array5): Likewise.
12625 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12627         [BZ #15036]
12628         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12629         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12630         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12631         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12633 2013-01-21  David S. Miller  <davem@davemloft.net>
12635         * sysdeps/sparc/backtrace.c: New file.
12636         * sysdeps/sparc/sparc32/backtrace.h: New file.
12637         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12638         * sysdeps/sparc/sparc64/backtrace.h: New file.
12639         * sysdeps/sparc/sparc64/backtrace.c: Delete.
12640         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12641         -funwind-tables.
12643 2013-01-21  Andreas Schwab  <schwab@suse.de>
12645         [BZ #15020]
12646         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12647         closed its stdout.
12649 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
12651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12652         "mpa2.h".
12653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12655 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
12656             Mark Mitchell  <mark@codesourcery.com>
12657             Tom de Vries  <tom@codesourcery.com>
12658             Paul Pluzhnikov  <ppluzhnikov@google.com>
12660         * debug/tst-backtrace2.c: New file.
12661         * debug/tst-backtrace3.c: Likewise.
12662         * debug/tst-backtrace4.c: Likewise.
12663         * debug/tst-backtrace5.c: Likewise.
12664         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12665         (CFLAGS-tst-backtrace3.c): Likewise.
12666         (CFLAGS-tst-backtrace4.c): Likewise.
12667         (CFLAGS-tst-backtrace5.c): Likewise.
12668         (LDFLAGS-tst-backtrace2): Likewise.
12669         (LDFLAGS-tst-backtrace3): Likewise.
12670         (LDFLAGS-tst-backtrace4): Likewise.
12671         (LDFLAGS-tst-backtrace5): Likewise.
12672         (tests): Add new tests tst-backtrace2, tst-backtrace3,
12673         tst-backtrace4 and tst-backtrace5.
12675 2013-01-18  Anton Blanchard  <anton@samba.org>
12676             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12678         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12679         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12680         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12681         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12683         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12684         "+r" and remove output regs list as redundant.  Add explicit inline
12685         asm to specify register of return val to work around compiler codegen
12686         bug.  Remove (int) cast on return value.  Add return type parameter to
12687         use in macro so that this macro does not truncate return value for
12688         64-bit values.
12689         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12690         pass to INTERNAL_VSYSCALL_NCS.
12691         (INLINE_VSYSCALL): Add 'long int' as return type to
12692         INTERNAL_VSYSCALL_NCS macro invocation.
12693         (INTERNAL_VSYSCALL): Add 'long int' as return type to
12694         INTERNAL_VSYSCALL_NCS macro invocation.
12695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12697 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12699         [BZ #14496]
12700         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12701         Fix application of SIMD FP exception mask.
12703         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12704         mp_no from a power of two.
12705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12706         __mpexp_twomm1.  Use __pow_mp.
12708         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12709         multiplication.
12711 2013-01-17  David S. Miller  <davem@davemloft.net>
12713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12715 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12717         [BZ #15023]
12718         * include/complex.h: Condition contents on [!_COMPLEX_H].
12719         (__kernel_casinhf): New prototype.
12720         (__kernel_casinh): Likewise.
12721         (__kernel_casinhl): Likewise.
12722         * math/Makefile (libm_calls): Add k_casinh.
12723         * math/k_casinh.c: New file.
12724         * math/k_casinhf.c: Likewise.
12725         * math/k_casinhl.c: Likewise.
12726         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12727         finite nonzero arguments.
12728         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12729         finite nonzero arguments.
12730         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12731         finite nonzero arguments.
12732         * math/s_casinh.c: Do not include <float.h>.
12733         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12734         * math/s_casinhf.c: Do not include <float.h>.
12735         (__casinhf): Move code for finite nonzero arguments to
12736         k_casinhf.c.
12737         * math/s_casinhl.c: Do not include <float.h>.
12738         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12739         redefine.
12740         (__casinhl): Move code for finite nonzero arguments to
12741         k_casinhl.c.
12742         * math/libm-test.inc (cacos_test): Add more tests.
12743         * sysdeps/i386/fpu/libm-test-ulps: Update.
12744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12746 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
12748         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12749         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12750         [!HAVE_MREMAP]: Remove [defined linux] case.
12751         * malloc/arena.c: Do not include <malloc-sysdep.h>.
12753 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12755         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12757 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
12759         * elf/elf.h (R_386_SIZE32): New relocation.
12760         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12761         R_386_SIZE32.
12762         (elf_machine_rela): Likewise.
12763         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12764         R_X86_64_SIZE64 and R_X86_64_SIZE32.
12766 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12768         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12769         (FP_FAST_FMA): Do not define.
12770         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12771         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12772         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12773         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12774         !_SOFT_FLOAT]: Likewise.
12775         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12776         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12777         value.
12778         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12779         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12780         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12781         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12782         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12783         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12784         file.
12786 2013-01-16  Andreas Schwab  <schwab@suse.de>
12788         [BZ #14327]
12789         * include/stdlib.h (__mktemp): Add declaration.
12790         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12791         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12793 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12795         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12796         definitions.
12797         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12798         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12799         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12800         definitions here.
12801         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12802         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12803         definitions.
12804         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12805         and ONE.
12806         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12807         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12808         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12809         definitions.
12810         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12811         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12812         definitions.
12813         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12815         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12817 2013-01-15  David S. Miller  <davem@davemloft.net>
12819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12820         trunc{,f} to libm-sysdep_routes.
12821         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12823         file.
12824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12826         file.
12827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12828         file.
12829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12831         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12832         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12833         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12834         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12835         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12836         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12839         nearbyint{,f} to libm-sysdep_routes.
12840         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12842         New file.
12843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12844         file.
12845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12846         New file.
12847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12848         file.
12849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12851         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12852         file.
12853         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12854         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12855         file.
12856         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12857         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12858         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12860         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12861         libc_feholdexcept and libc_fesetenv.
12863 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
12865         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12867 2013-01-14  David S. Miller  <davem@davemloft.net>
12869         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12870         (SPARC_ASM_VIS2_IFUNC): Likewise.
12871         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12873         use of 'siam' instruction.
12874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12875         Likewise.
12876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12877         Likewise.
12878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12879         Likewise.
12880         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12881         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12882         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12883         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12885         file.
12886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12887         file.
12888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12889         file.
12890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12891         file.
12892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12895         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12897         new VIS2 routines.
12898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12901         Likewise.
12902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12905         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12907         routines to libm-sysdep_routines.
12908         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12911         fdim/fdimf to libm-sysdep_routines.
12912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12913         file.
12914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12916         file.
12917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12920         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12921         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12922         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12923         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12925 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12927         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12928         to optimize copies.
12930         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12935         local variable MPTWO.
12936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12937         Likewise.
12939 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12941         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12942         GLOB_NOESCAPE.
12944 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12946         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12948 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12950         * manual/pattern.texi (glob_t): Document gl_flags.
12951         (glob64_t): Likewise.
12953 2013-01-11  David S. Miller  <davem@davemloft.net>
12955         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12956         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12957         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
12958         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12959         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12960         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12961         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12962         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12963         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12964         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12965         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12966         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12967         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12969         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12970         sparc V9 rather than using V8 code.
12971         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12972         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12974         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12975         Move to...
12976         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12977         Here.
12979 2013-01-11  Roland McGrath  <roland@hack.frob.com>
12981         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12982         not in the main loop.
12983         * configure: Regenerated.
12985 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
12987         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12988         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12989         to just #else.
12990         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
12991         [!__GLIBC_HAVE_LONG_LONG] case.
12992         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12993         condition to just #else.
12994         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12995         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12996         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12997         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12998         unconditional.
12999         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13000         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13001         #elif condition to just #else.
13002         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13003         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13004         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13005         #elif condition to just #else.
13007 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13009         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13010         (EF_MIPS_ARCH_64): Fix value.
13011         (EF_MIPS_ARCH_32R2): New.
13012         (EF_MIPS_ARCH_64R2): New.
13014 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13016         * Makeconfig (+link-pie-before-libc): New.
13017         (+link-pie-after-libc): Likewise.
13018         (+link-pie-tests): Likewise.
13019         (+link-pie): Rewritten.
13020         (link-before-libc): Remove $(config-LDFLAGS).
13021         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13022         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13023         (config-LDFLAGS): Renamed to ...
13024         (rtld-LDFLAGS): This.
13025         (rtld-tests-LDFLAGS): New macro.
13026         (link-libc-rpath-link): Likewise.
13027         (link-libc-tests-rpath-link): Likewise.
13028         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13029         (link-libc): Prepand $(link-libc-rpath-link).
13030         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13031         (test-program-prefix): New macro.
13032         (test-via-rtld-prefix): Likewise.
13033         (test-program-cmd): Likewise.
13034         (host-test-program-cmd): Likewise.
13035         * Makefile ($(common-objpfx)testrun.sh): Replace
13036         $(run-program-prefix) with $(test-program-prefix).
13037         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13038         $(rtld-LDFLAGS).
13039         ($(common-objpfx)shlib.lds): Likewise.
13040         (build-module-helper): Likewise.
13041         ($(common-objpfx)format.lds): Likewise.
13042         * Rules (binaries-pie-tests): New.
13043         (binaries-pie-notests): Likewise.
13044         (binaries-pie): Rewritten.
13045         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13046         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13047         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13048         (make-test-out): Replace $(host-built-program-cmd) with
13049         $(host-test-program-cmd).
13050         * config.make.in (build-hardcoded-path-in-tests): New variable.
13051         * configure.in (--enable-hardcoded-path-in-tests): New configure
13052         option.
13053         (hardcoded_path_in_tests): New AC_SUBST.
13054         * configure: Regenerated.
13055         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13056         $(built-program-cmd) with $(test-program-cmd).
13057         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13058         (test_program_cmd): This.
13059         * elf/Makefile ($(objpfx)order.out): Run test with
13060         $(test-program-prefix).
13061         ($(objpfx)order2.out): Likewise.
13062         ($(objpfx)tst-initorder.out): Likewise.
13063         ($(objpfx)tst-initorder2.out): Likewise.
13064         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13065         $(test-program-cmd).
13066         ($(objpfx)tst-array1-static.out): Likewise.
13067         ($(objpfx)tst-array2.out): Likewise.
13068         ($(objpfx)tst-array3.out): Likewise.
13069         ($(objpfx)tst-array4.out): Likewise.
13070         ($(objpfx)tst-array5.out): Likewise.
13071         ($(objpfx)tst-array5-static.out): Likewise.
13072         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13073         $(test-program-cmd).
13074         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13075         $(run-program-prefix) with $(test-program-prefix).
13076         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13077         (test_program_prefix): This.
13078         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13079         $(run-program-prefix) with $(test-program-prefix).
13080         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13081         (test_program_prefix): This.
13082         * iconvdata/tst-tables.sh: Likewise.
13083         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13084         $(run-program-prefix) with $(test-program-prefix).
13085         ($(objpfx)tst-translit.out): Likewise.
13086         ($(objpfx)tst-gettext2.out): Likewise.
13087         ($(objpfx)tst-gettext4.out): Likewise.
13088         ($(objpfx)tst-gettext6.out): Likewise.
13089         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13090         (test_program_prefix): This.
13091         * intl/tst-gettext2.sh: Likewise.
13092         * intl/tst-gettext4.sh  Likewise.
13093         * intl/tst-gettext6.sh: Likewise.
13094         * intl/tst-translit.sh: Likewise.
13095         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13096         with $(test-program-cmd).
13097         * libio/Makefile ($(objpfx)test-freopen.out): Replace
13098         $(run-program-prefix) with $(test-program-prefix).
13099         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13100         (test_program_prefix): This.
13101         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13102         $(run-program-prefix) with $(test-program-prefix).
13103         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13104         (test_program_prefix): This.
13105         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13106         * posix/Makefile ($(objpfx)globtest.out): Replace
13107         $(run-via-rtld-prefix) and $(test-wrapper) with
13108         $(test-program-prefix) and $(test-via-rtld-prefix).
13109         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13110         $(test-program-prefix).
13111         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13112         $(host-test-program-cmd).
13113         (tst-spawn-ARGS): Likewise.
13114         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13115         $(test-program-prefix).
13116         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13117         (test_via_rtld_prefix): This.
13118         (test_wrapper): Renamed to ...
13119         (test_program_prefix): This.
13120         (run_program_prefix): Replaced by test_program_prefix.
13121         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13122         (test_program_prefix): This.
13123         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13124         with $(host-test-program-cmd).
13125         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13126         $(run-program-prefix) with $(test-program-prefix).
13127         ($(objpfx)tst-printf.out): Likewise.
13128         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13129         $(test-program-cmd).
13130         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13131         (test_program_prefix): This.
13132         * stdio-common/tst-unbputc.sh: Likewise.
13133         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13134         $(run-program-prefix) with $(test-program-prefix).
13135         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13136         (test_program_prefix): This.
13137         * string/Makefile ($(objpfx)tst-svc.out):  Replace
13138         $(built-program-cmd) with $(test-program-cmd).
13140 2013-01-11  Andreas Jaeger  <aj@suse.de>
13142         [BZ #15003]
13143         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13144         value. Sync with Linux 3.7.
13146 2013-01-10  David S. Miller  <davem@davemloft.net>
13148         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13149         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13150         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13152 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13154         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13155         never set.
13156         * configure: Regenerated.
13158 2013-01-10  David S. Miller  <davem@davemloft.net>
13160         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13161         sparc V9 rather than using V8 code.
13162         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13163         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13165 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13167         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13168         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13169         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13170         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13171         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13172         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13173         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13174         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13175         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13176         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13177         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13178         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13179         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13180         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13181         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13182         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13183         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13184         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13185         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13186         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13187         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13188         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13189         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13190         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13191         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13192         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13193         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13195 2013-01-10  David S. Miller  <davem@davemloft.net>
13197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13199 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13201         * posix/Makefile (tests-static): New variable.
13202         (tests): Add $(tests-static).
13203         (tst-exec-static-ARGS): New variable.
13204         (tst-spawn-static-ARGS): Likewise.
13205         * posix/tst-exec-static.c: New file.
13206         * posix/tst-spawn-static.c: Likewise.
13207         * posix/tst-exec.c: Support run directly.
13208         * posix/tst-spawn.c: Likewise.
13210 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
13212         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13213         long.
13214         * math/bits/mathcalls.h (llrint): Likewise.
13215         (llround): Likewise.
13216         * stdlib/stdlib.h (struct drand48_data): Likewise.
13217         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13218         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13219         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13220         Likewise.
13221         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13222         Likewise.
13223         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13224         (elf_greg_t): Likewise.
13225         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13226         (__jmp_buf): Likewise.
13227         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13228         definitions.
13229         (llrint): Likewise, for all definitions.
13230         (llrintl): Likewise.
13232         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13233         Remove [__GNUC__] condition.
13234         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13235         condition to just [__USE_ISOC99].
13236         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13238 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13240         [BZ #14200]
13241         * sysdeps/unix/sysv/linux/x86/bits/environments.h
13242         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13243         defined.
13244         (_POSIX_V6_ILP32_OFF32): Likewise.
13245         (_XBS5_ILP32_OFF32): Likewise.
13246         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13247         (__ILP32_OFFBIG_LDFLAGS): Likewise.
13249 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13251         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13253         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13254         doubles __mpexp_twomm1.  Adjust usage.
13255         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13256         Remove.
13258 2013-01-10  Andreas Schwab  <schwab@suse.de>
13260         [BZ #14964]
13261         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13262         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13264 2013-01-09  David S. Miller  <davem@davemloft.net>
13266         [BZ #15003]
13267         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13268         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13269         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13270         TCP_FASTOPEN): Define.
13271         (tcp_repair_opt): New structure.
13272         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13273         enum values.
13274         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13275         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13276         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13277         (tcp_cookie_transactions): New structure.
13279 2013-01-09  Anton Blanchard  <anton@samba.org>
13281         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13282         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13283         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13284         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13286 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
13288         * include/features.h (__USE_ANSI): Remove.
13290 2013-01-09  Roland McGrath  <roland@hack.frob.com>
13292         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13294         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13296 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13298         * sysdeps/s390/fpu/libm-test-ulps: Update.
13300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13302         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13303         (__acr): Likewise.
13304         (__cpy): Likewise.
13305         (norm): Likewise.
13306         (denorm): Likewise.
13307         (__mp_dbl): Likewise.
13308         (__dbl_mp): Likewise.
13309         (add_magnitudes): Likewise.
13310         (sub_magnitudes): Likewise.
13311         (__add): Likewise.
13312         (__sub): Likewise.
13313         (__mul): Likewise.
13314         (__inv): Likewise.
13315         (__dvd): Likewise.
13316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13317         (__acr): Likewise.
13318         (__cpy): Likewise.
13319         (norm): Likewise.
13320         (denorm): Likewise.
13321         (__mp_dbl): Likewise.
13322         (__dbl_mp): Likewise.
13323         (add_magnitudes): Likewise.
13324         (sub_magnitudes): Likewise.
13325         (__add): Likewise.
13326         (__sub): Likewise.
13327         (__mul): Likewise.
13328         (__inv): Likewise.
13329         (__dvd): Likewise.
13330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13331         (__acr): Likewise.
13332         (__cpy): Likewise.
13333         (norm): Likewise.
13334         (denorm): Likewise.
13335         (__mp_dbl): Likewise.
13336         (__dbl_mp): Likewise.
13337         (add_magnitudes): Likewise.
13338         (sub_magnitudes): Likewise.
13339         (__add): Likewise.
13340         (__sub): Likewise.
13341         (__mul): Likewise.
13342         (__inv): Likewise.
13343         (__dvd): Likewise.
13345 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13347         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13348         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13349         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13350         2 && __USE_EXTERN_INLINES]: Likewise.
13352 2013-01-08  Andreas Jaeger  <aj@suse.de>
13354         [BZ# 14985]
13355         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13356         Remove.
13357         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13358         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13360 2013-01-07  Anton Blanchard  <anton@samba.org>
13362         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13363         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13364         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13365         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13366         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13367         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13368         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13369         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13371         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13372         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13373         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13374         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13375         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13376         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13377         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13378         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13379         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13380         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13381         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13382         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13383         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13384         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13385         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13386         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13387         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13388         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13389         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13390         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13391         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13392         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13394         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13395         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13396         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13397         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13398         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13399         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13400         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13401         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13402         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13403         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13404         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13406 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13408         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13409         (__MALLOC_PMT): Likewise.
13410         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13411         [__GNUC__], only on [_LIBC].
13412         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13413         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13414         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13415         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13416         forward declaration.
13417         (realloc_hook_ini): Likewise.
13418         (memalign_hook_ini): Likewise.
13419         (__libc_memalign): Do not use __MALLOC_PMT in variable
13420         declaration.
13421         (__libc_valloc): Likewise.
13422         (__libc_pvalloc): Likewise.
13423         (__libc_calloc): Likewise.
13424         (__posix_memalign): Likewise.
13426         [BZ #14996]
13427         * math/s_casinh.c: Include <float.h>.
13428         (__casinh): Do not do computation with squaring and square root
13429         for large arguments.
13430         * math/s_casinhf.c: Include <float.h>.
13431         (__casinhf): Do not do computation with squaring and square root
13432         for large arguments.
13433         * math/s_casinhl.c: Include <float.h>.
13434         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13435         (__casinhl): Do not do computation with squaring and square root
13436         for large arguments.
13437         * math/libm-test.inc (casin_test): Add more tests.
13438         (casinh_test): Likewise.
13439         * sysdeps/i386/fpu/libm-test-ulps: Update.
13440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13442 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13444         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13445         (__x86_64_raw_data_cache_size): Likewise.
13446         (__x86_64_data_cache_size_half): Likewise.
13447         (__x86_64_raw_data_cache_size_half): Likewise.
13448         (__x86_64_shared_cache_size): Likewise.
13449         (__x86_64_raw_shared_cache_size): Likewise.
13450         (__x86_64_shared_cache_size_half): Likewise.
13451         (__x86_64_raw_shared_cache_size_half): Likewise.
13452         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13453         to ...
13454         (__x86_data_cache_size): This.
13455         (__x86_64_raw_data_cache_size): Renamed to ...
13456         (__x86_raw_data_cache_size): This.
13457         (__x86_64_data_cache_size_half): Renamed to ...
13458         (__x86_data_cache_size_half): This.
13459         (__x86_64_raw_data_cache_size_half): Renamed to ...
13460         (__x86_raw_data_cache_size_half): This.
13461         (__x86_64_shared_cache_size): Renamed to ...
13462         (__x86_shared_cache_size): This.
13463         (__x86_64_raw_shared_cache_size): Renamed to ...
13464         (__x86_raw_shared_cache_size): This.
13465         (__x86_64_shared_cache_size_half): Renamed to ...
13466         (__x86_shared_cache_size_half): This.
13467         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13468         (__x86_raw_shared_cache_size_half): This.
13469         * sysdeps/x86_64/memcpy.S: Updated.
13470         * sysdeps/x86_64/memset.S: Likewise.
13471         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13472         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13473         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13475 2013-01-04  David S. Miller  <davem@davemloft.net>
13477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13479 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13481         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13482         1 to avoid redefinition warning.
13483         (__USE_GNU): Don't define.
13484         (init_signaling_nan): Protoize.
13486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13488 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13490         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13492         (__cpymn): Likewise.
13493         (norm): Remove commented code.
13494         (denorm): Likewise.
13495         (__mp_dbl): Likewise.
13496         (__inv): Likewise.
13497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13498         (__cpymn): Likewise.
13499         (norm): Remove commented code.
13500         (denorm): Likewise.
13501         (__mp_dbl): Likewise.
13502         (__inv): Likewise.
13504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13505         mp_no value for 1.0 and 2.0.
13506         (norm): Use RADIXI instead of radixi.d.
13507         (denorm): Likewise.
13508         (__mul): Use 0.0 instead of zero.d.
13509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13510         mp_no value for 1.0 and 2.0.
13511         (norm): Use RADIXI instead of radixi.d.
13512         (denorm): Likewise.
13513         (__mul): Use 0.0 instead of zero.d.
13515 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
13517         [BZ #14994]
13518         * math/s_casinh.c (__casinh): Reduce finite argument to first
13519         quadrant then set signs of results at the end.
13520         * math/s_casinhf.c (__casinhf): Likewise.
13521         * math/s_casinhl.c (__casinhl): Likewise.
13522         * math/libm-test.inc (casin_test): Add more tests.
13523         (casinh_test): Likewise.
13524         * sysdeps/i386/fpu/libm-test-ulps: Update.
13525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13527 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13529         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13531         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13533         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13534         declarations.
13535         (denorm): Likewise.
13536         (__mp_dbl): Likewise.
13537         (__inv): Likewise.
13539         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13540         and adjust the header comment.
13542         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13543         variable name from declaration.
13545 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
13547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13548         Initialize COMMON_CPUID_INDEX_7 element.
13549         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13550         (CPUID_RTM): Likewise.
13551         (HAS_RTM): Likewise.
13552         (COMMON_CPUID_INDEX_7): New enum.
13554 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
13556         [BZ #14981]
13557         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13558         size is zero, record memory as freed.
13560 2013-01-03  Andreas Jaeger  <aj@suse.de>
13562         * po/ia.po: Add new Interlingua translation.
13564 2012-01-03  Allan McRae  <allan@archlinux.org>
13566         * locale/programs/localedef.c: Fix description of '--posix' flag.
13568 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
13570         * NEWS: Update dates in second copyright notice.
13571         * README: Update copyright dates in example.
13572         * manual/libc.texinfo: Update copyright dates.
13573         * scripts/test-installation.pl: Update copyright date in --version
13574         output.
13576         * hurd/ctty-input.c: Fix copyright notice formatting.
13577         * hurd/ctty-output.c: Likewise.
13578         * hurd/dtable.c: Likewise.
13579         * hurd/hurd-raise.c: Likewise.
13580         * hurd/hurdprio.c: Likewise.
13581         * hurd/msgportdemux.c: Likewise.
13582         * misc/sys/file.h: Likewise.
13583         * misc/sys/ioctl.h: Likewise.
13584         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13585         * sysdeps/mach/hurd/chdir.c: Likewise.
13586         * sysdeps/mach/hurd/fchdir.c: Likewise.
13587         * sysdeps/mach/hurd/rename.c: Likewise.
13588         * sysdeps/mach/hurd/rmdir.c: Likewise.
13589         * sysdeps/mach/hurd/seekdir.c: Likewise.
13590         * sysdeps/mach/hurd/setsid.c: Likewise.
13591         * sysdeps/posix/wait3.c: Likewise.
13593         * All files with FSF copyright notices: Update copyright dates
13594         using scripts/update-copyrights.
13595         * intl/plural.c: Regenerated.
13596         * locale/programs/charmap-kw.h: Likewise.
13597         * locale/programs/locfile-kw.h: Likewise.
13599 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13601         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13602         four values.
13604         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13605         calculation loop and add branch prediction.
13607         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13608         check access beyond bounds of m1np.
13610         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13611         MPTWO.
13612         (__inv): Remove local variable MPTWO to use the global
13613         constant.
13614         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13615         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13616         variable MPTWO.
13617         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13618         MP3HALFS static const.
13620 2013-01-01  David S. Miller  <davem@davemloft.net>
13622         * po/ca.po: Update from translation team.
13624 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
13626         * scripts/update-copyrights: New file.
13627         * Makeconfig: Reformat copyright notice.
13628         * ctype/ctype.h: Likewise.
13629         * debug/swprintf_chk.c: Likewise.
13630         * elf/dl-cache.c: Likewise.
13631         * elf/dl-debug.c: Likewise.
13632         * elf/dl-object.c: Likewise.
13633         * grp/initgroups.c: Likewise.
13634         * hurd/Makefile: Likewise.
13635         * hurd/hurd/signal.h: Likewise.
13636         * hurd/hurdfault.c: Likewise.
13637         * hurd/hurdioctl.c: Likewise.
13638         * hurd/hurdlookup.c: Likewise.
13639         * hurd/intr-msg.c: Likewise.
13640         * iconv/gconv_open.c: Likewise.
13641         * libio/swprintf.c: Likewise.
13642         * locale/lc-ctype.c: Likewise.
13643         * locale/nl_langinfo.c: Likewise.
13644         * mach/Machrules: Likewise.
13645         * mach/Makefile: Likewise.
13646         * malloc/obstack.h: Likewise.
13647         * manual/Makefile: Likewise.
13648         * manual/tsort.awk: Likewise.
13649         * misc/bits/stab.def: Likewise.
13650         * nis/nis_print_group_entry.c: Likewise.
13651         * nis/nis_table.c: Likewise.
13652         * nis/nss_compat/compat-pwd.c: Likewise.
13653         * nis/nss_compat/compat-spwd.c: Likewise.
13654         * po/Makefile: Likewise.
13655         * posix/fnmatch.c: Likewise.
13656         * posix/regex.h: Likewise.
13657         * resolv/Makefile: Likewise.
13658         * resolv/nss_dns/dns-network.c: Likewise.
13659         * resolv/res_hconf.c: Likewise.
13660         * scripts/gen-sorted.awk: Likewise.
13661         * soft-fp/soft-fp.h: Likewise.
13662         * stdio-common/printf.h: Likewise.
13663         * stdlib/monetary.h: Likewise.
13664         * stdlib/random.c: Likewise.
13665         * stdlib/random_r.c: Likewise.
13666         * sysdeps/generic/Makefile: Likewise.
13667         * sysdeps/gnu/Makefile: Likewise.
13668         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13669         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13670         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13671         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13672         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13673         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13674         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13675         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13676         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13677         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13678         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13679         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13680         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13681         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13682         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13683         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13684         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13685         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13686         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13687         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13688         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13689         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13690         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13691         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13692         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13693         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13694         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13695         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13696         * sysdeps/mach/hurd/errnos.awk: Likewise.
13697         * sysdeps/mach/hurd/fork.c: Likewise.
13698         * sysdeps/mach/hurd/getcwd.c: Likewise.
13699         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13700         * sysdeps/mach/hurd/mmap.c: Likewise.
13701         * sysdeps/mach/hurd/utimes.c: Likewise.
13702         * sysdeps/mach/hurd/xmknod.c: Likewise.
13703         * sysdeps/posix/profil.c: Likewise.
13704         * sysdeps/posix/readdir_r.c: Likewise.
13705         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13706         * sysdeps/powerpc/bits/setjmp.h: Likewise.
13707         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13708         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13710         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13711         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13712         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13714         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13715         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13716         * sysdeps/pthread/lio_listio.c: Likewise.
13717         * sysdeps/sparc/dl-procinfo.h: Likewise.
13718         * sysdeps/unix/i386/sysdep.S: Likewise.
13719         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13720         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13721         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13722         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13724         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13725         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13726         * sysdeps/unix/sysv/linux/speed.c: Likewise.
13727         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13728         * sysdeps/wordsize-32/divdi3.c: Likewise.
13729         * time/sys/time.h: Likewise.
13730         * wcsmbs/Makefile: Likewise.
13732 2013-01-01  David S. Miller  <davem@davemloft.net>
13734         * po/fr.po: Update from translation team.
13736         * catgets/gencat.c: Update copyright year.
13737         * csu/version.c: Likewise.
13738         * debug/catchsegv.sh: Likewise.
13739         * debug/pcprofiledump.c: Likewise.
13740         * debug/xtrace.sh: Likewise.
13741         * elf/ldconfig.c: Likewise.
13742         * elf/ldd.bash.in: Likewise.
13743         * elf/pldd.c: Likewise.
13744         * elf/sotruss.ksh: Likewise.
13745         * elf/sprof.c: Likewise.
13746         * iconv/iconv_prog.c: Likewise.
13747         * iconv/iconvconfig.c: Likewise.
13748         * locale/programs/locale.c: Likewise.
13749         * locale/programs/localedef.c: Likewise.
13750         * login/programs/pt_chown.c: Likewise.
13751         * malloc/memusage.sh: Likewise.
13752         * malloc/memusagestat.c: Likewise.
13753         * malloc/mtrace.pl: Likewise.
13754         * nscd/nscd.c: Likewise.
13755         * nss/getent.c: Likewise.
13756         * nss/makedb.c: Likewise.
13757         * posix/getconf.c: Likewise.
13759 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13761         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13762         numbers.
13764 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
13766         * math/bits/mathcalls.h (modf): Use __nonnull.
13768 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13770         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13771         (split): Use macro CN instead of the bare value.
13772         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13773         could be used.
13774         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13775         instead of the bare value.
13776         (power1): Likewise.
13778 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13780         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13781         __ATAN_TWOM.
13782         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13784         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13785         their values.
13786         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13787         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13788         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13789         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13791 2012-12-28  Andreas Jaeger  <aj@suse.de>
13793         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
13794         values are from Linux 3.7.
13796         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13797         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
13799 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13801         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13802         TRUE case.
13804         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13805         (norm): Likewise.
13806         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13807         variables with preprocessor constants.
13808         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13809         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13810         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13812 2012-12-27  Bruno Haible  <bruno@clisp.org>
13814         [BZ #14317]
13815         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13816         only if needed.
13818 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13821         and use variable directly.
13822         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13824         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13825         MPONE.
13826         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13827         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13828         variable MPONE.
13829         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13830         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13831         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13832         include directive.  Remove local variable MPONE.
13833         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13834         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13835         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13837 2012-12-25  David S. Miller  <davem@davemloft.net>
13839         * version.h (RELEASE): Set to "development".
13840         (VERSION): Set to "2.17.90".
13841         * NEWS: Add 2.18 section.
13843 2012-12-21  David S. Miller  <davem@davemloft.net>
13845         * po/hr.po: Update from translation team.
13847 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13849         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13851 2012-12-19  Steve Ellcey  <sellcey@mips.com>
13853         * NEWS:  Mention new memcpy for MIPS.
13855 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13857         * manual/contrib.texi (Contributors): Spelling correction.
13859 2012-12-15  David S. Miller  <davem@davemloft.net>
13861         * po/ru.po: Update from translation team.
13863 2012-12-13  David S. Miller  <davem@davemloft.net>
13865         * NEWS: Mention IFUNC testsuite enhancements.
13867         * po/pl.po: Update from translation team.
13868         * po/bg.po: Likewise.
13870         * manual/contrib.texi (Contributors): Update entries for Hongjiu
13871         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
13873 2012-12-11  David S. Miller  <davem@davemloft.net>
13875         * po/sv.po: Update from translation team.
13877         * po/vi.po: Update from translation team.
13879         * po/cs.po: Update from translation team.
13881         * po/de.po: Update from translation team.
13882         * po/eo.po: Likewise.
13883         * po/nl.po: Likewise.
13885 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13887         [BZ #14246]
13888         * manual/argp.texi (Argp Helper Functions): Move node to follow
13889         Argp Parsing State.
13891         [BZ #14872]
13892         * manual/conf.texi (Limits on File System Capacity): Mention if
13893         terminating null is included in the max size.
13895 2012-12-10  Andreas Jaeger  <aj@suse.de>
13897         * po/cs.po: Update from translation team.
13899 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13901         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13902         void pointer and cast to uintptr_t.
13903         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13904         path.
13905         * sysdeps/s390/s390-64/memcpy.S: Likewise.
13906         * sysdeps/s390/s390-64/memset.S: Likewise.
13908 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
13910         [BZ #14833]
13911         * menual/message.texi (Message Translation): Fix typos.
13912         (Helper programs for gettext): Likewise.
13914 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
13916         [BZ #14898]
13917         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13918         Change to -1.
13920 2012-12-07  David S. Miller  <davem@davemloft.net>
13922         * po/libc.pot: Update.
13924 2012-12-07  Richard Henderson  <rth@redhat.com>
13926         [BZ #10114]
13927         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13928         normal/normal case to before the switch.
13929         (_FP_DIV): Likewise.
13931 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
13932             Mike Frysinger  <vapier@gentoo.org>
13934         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13935         check for __NR_fadvise64_64.
13937 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
13939         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13940         0, not just to plain "0" as a statement.
13941         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13942         with cw.
13944 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
13946         * NEWS: Use sourceware.org in Bugzilla URL.
13948 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13951         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13953         * stdio-common/tst-put-error.c (do_test): Add newline to the
13954         padded test to ensure flush.
13956 2012-12-05  Jeff Law  <law@redhat.com>
13958         * sunrpc/etc.rpc (fedfs_admin): Add entry.
13960 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
13962         * README: Don't refer to ports add-on as distributed separately.
13963         Mention AArch64 in list of systems supported in the ports add-on.
13965         * LICENSES: Add more non-FSF copyright and license notices.
13967         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13968         ((unused)).
13970         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13972         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13973         10000 as width of padded output.
13975 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
13977         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13979         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13980         variable LX with __attribute__ ((unused)).
13981         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13982         Likewise.
13983         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13984         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13985         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13986         with __attribute__ ((unused)).
13988 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
13990         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13992 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
13994         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13995         (CFLAGS-nldbl-acos.c): New variable.
13996         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13997         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13998         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13999         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14000         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14001         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14002         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14003         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14004         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14005         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14006         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14007         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14008         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14009         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14010         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14011         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14012         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14013         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14014         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14015         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14016         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14017         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14018         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14019         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14020         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14021         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14022         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14023         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14024         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14025         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14026         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14027         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14028         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14029         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14030         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14031         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14032         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14033         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14034         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14035         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14036         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14037         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14038         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14039         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14040         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14041         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14042         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14043         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14044         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14045         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14046         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14047         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14048         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14049         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14050         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14051         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14052         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14053         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14054         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14055         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14056         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14057         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14058         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14059         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14060         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14061         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14062         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14063         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14064         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14065         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14066         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14067         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14068         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14069         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14070         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14071         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14072         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14073         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14074         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14075         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14076         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14077         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14078         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14079         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14080         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14081         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14082         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14083         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14084         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14085         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14086         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14087         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14088         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14089         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14090         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14091         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14092         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14095         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14097         [BZ #14914]
14098         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14099         whole low double instead of just low 47 bits when splitting values
14100         into two parts.
14102 2012-12-03  Allan McRae  <allan@archlinux.org>
14104         * manual/stdio.texi (Predefined Printf Handlers): Remove
14105         @hsep and @vsep usage.
14107 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
14109         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14110         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14112 2012-12-03  Jeff Law  <law@redhat.com>
14114         * time/sys/time.h (settimeofday): Do not mark TV argument
14115         as __nonnull.
14117 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
14119         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14120         when currently writing and seek to current position when not.
14121         * libio/Makefile (tests): Remove bug-fclose1.
14122         * libio/bug-fclose1.c: Delete.
14124 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
14126         * manual/arith.texi (feenableexcept): Fix typo.
14127         (fedisableexcept): Likewise.
14129 2012-11-30  Roland McGrath  <roland@hack.frob.com>
14131         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14132         second, differently-typed declaration, rather than a cast.
14134 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14136         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14137         * include/rpc/svc.h: ... here.
14139 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
14141         [BZ #13013]
14142         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14143         depending n and resplen2 to catch cases where answer
14144         equals answerp2.
14146 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
14148         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14149         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14151 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
14153         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14155 2012-11-29  Roland McGrath  <roland@hack.frob.com>
14157         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14159 2012-11-28  Jeff Law  <law@redhat.com>
14161         [BZ #13761]
14162         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14163         dataset_temporary.  Track alloca usage into alloca_used.
14164         If dataset is large allocate and release it via malloc/free.
14166 2012-06-04  Florian Weimer  <fweimer@redhat.com>
14168         [BZ #14197]
14169         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14171 2012-11-28  David S. Miller  <davem@davemloft.net>
14173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14175 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14177         [BZ #14803]
14178         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14179         of pi/2 rounded to nearest to 64 bits.
14180         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14181         nearest to 64 bits.
14182         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14183         bits.
14185 2012-11-28  Jeff Law <law@redhat.com>
14186             Martin Osvald <mosvald@redhat.com>
14188         [BZ #14889]
14189         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14190         * sunrpc/svc.c: Include time.h.
14191         (__svc_accept_failed): New function.
14192         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14193         any reason other than EINTR, call __svc_accept_failed.
14194         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14195         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14197 2012-11-28  Andreas Schwab  <schwab@suse.de>
14199         * scripts/abilist.awk: Also handle indirect functions in .opd
14200         section.
14202 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14204         [BZ #13881]
14205         * sysdeps/x86/fpu/powl_helper.c: New file.
14206         * sysdeps/x86/fpu/Makefile: Likewise.
14207         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14208         (p3): New object.
14209         (__ieee754_powl): Use __powl_helper for finite arguments except
14210         integer exponents below 8.
14211         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14212         (p3): New object.
14213         (__ieee754_powl): Use __powl_helper for finite arguments except
14214         integer exponents below 8.
14215         * math/libm-test.inc (pow_test): Add more tests and enable some
14216         previously disabled tests.
14217         * sysdeps/i386/fpu/libm-test-ulps: Update.
14218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14220 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14221             Carlos O'Donell  <carlos_odonell@mentor.com>
14223         * nss/makedb.c (is_prime): Assert that input is odd and greater
14224         than 4.  Note that fact in a comment too.
14225         (next_prime): Add 4 to input.
14227 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14229         [BZ #11741]
14230         * libio/Makefile (tests): Add test case tst-fwrite-error.
14231         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14232         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14233         * libio/tst-fwrite-error.c: New test case.
14235 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
14237         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14238         before casting to void *.
14239         * include/libc-internal.h (__pointer_type): New macro.
14240         (__integer_if_pointer_type_sub): Likewise.
14241         (__integer_if_pointer_type): Likewise.
14242         (cast_to_integer): Likewise.
14243         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14244         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14245         before casting to atomic64_t.
14246         (atomic_exchange_acq): Likewise.
14247         (__arch_exchange_and_add_body): Likewise.
14248         (__arch_add_body): Likewise.
14249         (atomic_add_negative): Likewise.
14250         (atomic_add_zero): Likewise.
14252 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
14254         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14255         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14256         (add_fdes): Likewise.
14257         (linear_search_fdes): Likewise.
14258         (binary_search_unencoded_fdes): Likewise.
14260 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
14262         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14264 2012-11-24  Adam Conrad  <adconrad@0c3.net>
14266         * configure.in: Autodetect C++ header directories.
14267         * configure: Regenerated.
14269 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
14271         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14273 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
14275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14277 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
14279         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14280         LDBL_MANT_DIG == 106]: Disable some tests.
14281         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14282         Likewise.
14283         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14284         Likewise.
14286         [BZ #14871]
14287         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14288         input for small inputs.  Return +/- pi/2 for large inputs.
14289         * math/libm-test.inc (atan_test): Add more tests.
14291         * sysdeps/generic/unwind-dw2-fde-glibc.c
14292         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14293         __attribute__ ((unused)).
14295         [BZ #14645]
14296         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14297         x * y if x and y are nonzero and z is zero.
14299         [BZ #14811]
14300         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14301         nonzero exponents with absolute value below 0x1p-117 to +/-
14302         0x1p-117.
14304         [BZ #14869]
14305         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14306         up arguments below 2**-450, not just those below 2**-500.
14307         * math/libm-test.inc (hypot_test): Add another test.
14309         [BZ #14868]
14310         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14311         Return a+b for ratio over 2**120, not 2**60.
14312         * math/libm-test.inc (hypot_test): Add another test.
14314         * math/libm-test.inc (clog_test): Use
14315         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14316         (clog10_test): Likewise.
14318         [BZ #6778]
14319         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14321 2012-11-22  Andreas Schwab  <schwab@suse.de>
14323         * sysdeps/i386/fpu/libm-test-ulps: Update.
14325 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14327         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14328         printf output with newline.
14330 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14332         [BZ #14865]
14333         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14334         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14335         -z nodlopen, -z initfirst and -z execstack support.
14336         * configure: Regenerated.
14338         * elf/elf.h (DF_1_NODIRECT): New macro.
14339         (DF_1_IGNMULDEF): Likewise.
14340         (DF_1_NOKSYMS): Likewise.
14341         (DF_1_NOHDR): Likewise.
14342         (DF_1_EDITED): Likewise.
14343         (DF_1_NORELOC): Likewise.
14344         (DF_1_SYMINTPOSE): Likewise.
14345         (DF_1_GLOBAUDIT): Likewise.
14346         (DF_1_SINGLETON): Likewise.
14347         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14348         DT_1_SUPPORTED_MASK bits.
14349         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14351 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14353         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14355 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14357         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14358         macro.
14360         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14361         (sendmmsg): Move declarations...
14362         * socket/sys/socket.h: ... here.
14363         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14364         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14365         include it from...
14366         * socket/recvmmsg.c: ... this new file.
14367         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14368         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14369         definition of __sendmmsg hidden.
14370         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14371         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14372         Move ENOSYS stub into and include it from...
14373         * socket/sendmmsg.c: ... this new file.
14374         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14375         (sysdep_routines): Move recvmmsg and sendmmsg...
14376         * socket/Makefile (routines): ... here.
14377         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14378         (GLIBC_PRIVATE): Add __sendmmsg.
14379         * include/sys/socket.h (__sendmmsg): Add declarations.
14380         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14381         sendmmsg.
14383 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14385         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14386         variable I1 with __attribute__ ((unused)).
14387         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14389 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14391         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14392         DUMMY variables with __attribute__ ((unused)).
14394         * bits/byteswap.h: Include <bits/types.h>.
14395         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14397 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14399         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14400         string_t.  Do not manually set errno.
14401         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14402         length with __strnlen.  Make sure to both set errno and return it on
14403         failure.
14405 2012-11-19  David S. Miller  <davem@davemloft.net>
14407         With help from Joseph Myers.
14408         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14409         very large arguments properly.
14410         * math/libm-test.inc (atan_test): New tests.
14411         (atan2_test): New tests.
14412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14415 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14417         [BZ #14856]
14418         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14419         Define to 3.
14421         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14422         [POSIX] (EADDRNOTAVAIL): Likewise.
14423         [POSIX] (EAFNOSUPPORT): Likewise.
14424         [POSIX] (EALREADY): Likewise.
14425         [POSIX] (ECONNABORTED): Likewise.
14426         [POSIX] (ECONNREFUSED): Likewise.
14427         [POSIX] (ECONNRESET): Likewise.
14428         [POSIX] (EDESTADDRREQ): Likewise.
14429         [POSIX] (EDQUOT): Likewise.
14430         [POSIX] (EHOSTUNREACH): Likewise.
14431         [POSIX] (EIDRM): Likewise.
14432         [POSIX] (EISCONN): Likewise.
14433         [POSIX] (ELOOP): Likewise.
14434         [POSIX] (EMULTIHOP): Likewise.
14435         [POSIX] (ENETDOWN): Likewise.
14436         [POSIX] (ENETUNREACH): Likewise.
14437         [POSIX] (ENOBUFS): Likewise.
14438         [POSIX] (ENODATA): Likewise.
14439         [POSIX] (ENOLINK): Likewise.
14440         [POSIX] (ENOMSG): Likewise.
14441         [POSIX] (ENOPROTOOPT): Likewise.
14442         [POSIX] (ENOSR): Likewise.
14443         [POSIX] (ENOSTR): Likewise.
14444         [POSIX] (ENOTCONN): Likewise.
14445         [POSIX] (ENOTSOCK): Likewise.
14446         [POSIX] (EOPNOTSUPP): Likewise.
14447         [POSIX] (EOVERFLOW): Likewise.
14448         [POSIX] (EPROTO): Likewise.
14449         [POSIX] (EPROTONOSUPPORT): Likewise.
14450         [POSIX] (EPROTOTYPE): Likewise.
14451         [POSIX] (ESTALE): Likewise.
14452         [POSIX] (ETIME): Likewise.
14453         [POSIX] (ETXTBSY): Likewise.
14454         [POSIX] (EWOULDBLOCK): Likewise.
14455         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14456         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14457         [POSIX] (SEEK_CUR): Likewise.
14458         [POSIX] (SEEK_END): Likewise.
14459         [POSIX || UNIX98] (mode_t): Do not require.
14460         [POSIX] (off_t): Likewise.
14461         [POSIX] (pid_t): Likewise.
14462         [POSIX] (sys/stat.h): Do not allow header.
14463         [POSIX] (unistd.h): Likewise.
14464         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14465         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14466         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14467         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14468         require.
14469         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14470         sigevent): Specify elements.
14471         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14472         entry.
14473         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14474         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14476         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14477         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14478         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14479         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14480         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14481         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14482         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14483         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14484         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14485         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14486         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14487         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14488         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14489         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14490         Likewise.
14491         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14492         Likewise.
14493         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14494         Likewise.
14495         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14496         Likewise.
14497         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14498         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14499         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14500         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14501         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14502         Specify lower bound on value.
14503         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14504         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14505         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14506         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14507         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14508         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14509         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14510         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14511         value.
14512         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14513         as optional.
14514         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14515         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14516         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14517         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14518         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14519         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14520         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14521         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14522         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14523         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14524         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14525         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14526         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14527         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14528         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14529         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14530         entry.
14531         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14532         optional.
14533         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14534         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14535         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14536         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14537         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14538         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14539         Likewise.
14540         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14541         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14542         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14543         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14544         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
14545         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14546         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14547         as optional.
14548         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14549         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14550         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14551         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14552         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14553         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14554         specify as optional.
14555         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14556         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14557         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14558         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14559         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14560         [XPG3] (NL_LANGMAX): Likewise.
14561         [POSIX || XPG3] (NL_MSGMAX): Likewise.
14562         [POSIX || XPG3] (NL_NMAX): Likewise.
14563         [POSIX || XPG3] (NL_SETMAX): Likewise.
14564         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14565         [XPG3] (NZERO): Likewise.
14566         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14567         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14568         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14569         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14570         (REG_ERANGE): Expect.
14571         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14572         optional-constant.
14573         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14574         Use (void) in prototype.
14575         [POSIX] (*_t): Allow.
14576         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14577         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14578         (WRDE_BADVAL): Expect.
14580         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14581         expect.
14582         [XPG3 || XPG4] (O_RSYNC): Likewise.
14583         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14584         Likewise.
14585         [XPG3 || XPG4] (pthread_sigmask): Likewise.
14586         [XPG3 || XPG4] (sigqueue): Likewise.
14587         [XPG3 || XPG4] (sigtimedwait): Likewise.
14588         [XPG3 || XPG4] (sigwaitinfo): Likewise.
14589         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14590         [XPG3 || XPG4] (vsnprintf): Likewise.
14591         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14592         Likewise.
14593         [XPG3 || XPG4] (blksize_t): Likewise.
14594         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14595         Likewise.
14596         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14597         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14598         [XPG3 || XPG4] (struct itimerspec): Likewise.
14599         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14600         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14601         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14602         [XPG3 || XPG4] (clockid_t): Likewise.
14603         [XPG3 || XPG4] (timer_t): Likewise.
14604         [XPG3 || XPG4] (clock_getres): Likewise.
14605         [XPG3 || XPG4] (clock_gettime): Likewise.
14606         [XPG3 || XPG4] (clock_settime): Likewise.
14607         [XPG3 || XPG4] (nanosleep): Likewise.
14608         [XPG3 || XPG4] (timer_create): Likewise.
14609         [XPG3 || XPG4] (timer_delete): Likewise.
14610         [XPG3 || XPG4] (timer_gettime): Likewise.
14611         [XPG3 || XPG4] (timer_getoverrun): Likewise.
14612         [XPG3 || XPG4] (timer_settime): Likewise.
14613         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14614         [XPG3 || XPG4] (getlogin_r): Likewise.
14615         [XPG3 || XPG4] (pread): Likewise.
14616         [XPG3 || XPG4] (pthread_atfork): Likewise.
14617         [XPG3 || XPG4] (pwrite): Likewise.
14619         [BZ #14835]
14620         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14621         <bits/siginfo.h>.
14623 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14625         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14626         finalizing MALLSTREAM.
14628         * sysdeps/mach/hurd/syncfs.c: New file.
14630 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14632         [BZ #14719]
14633         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14634         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14635         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14636         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14637         (_nss_dns_gethostbyname4_r): Likewise.
14638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14639         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14641 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
14643         [BZ #13763]
14644         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14646 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
14648         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14649         * elf/cache.c (print_entry): Print ",AArch64" for
14650         FLAG_AARCH64_LIB64
14652         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14653         * elf/cache.c (print_entry): Print ",hard-float" for
14654         FLAG_ARM_LIBHF.
14656 2012-11-18  David S. Miller  <davem@davemloft.net>
14658         With help from Joseph Myers.
14659         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14660         cutoff to 2**-13.
14661         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14662         cutoff to 2**-25.
14663         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14664         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14665         small.
14666         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14667         * math/libm-test.inc (y0_test): New tests.
14668         (y1_test): New tests.
14669         * sysdeps/i386/fpu/libm-test-ulps: Update.
14670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14673 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
14675         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14676         64-bit targets.
14677         * configure: Regenerated.
14679 2012-11-17  David S. Miller  <davem@davemloft.net>
14681         [BZ #14811]
14682         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14683         nonzero exponents with absolute value below 0x1p-128 to +/-
14684         0x1p-128.
14686 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
14688         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14690         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14692         * posix/getconf-speclist.c: New file.
14693         * posix/posix-envs.def: Likewise.
14694         * posix/confstr.c (START_ENV_GROUP): New macro.
14695         (END_ENV_GROUP): Likewise.
14696         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14697         (KNOWN_PRESENT_ENV_STRING): Likewise.
14698         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14699         (UNKNOWN_ENVIRONMENT): Likewise.
14700         (confstr): Include posix-envs.def instead of handling
14701         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14702         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14703         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14704         (END_ENV_GROUP): Likewise.
14705         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14706         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14707         (UNKNOWN_ENVIRONMENT): Likewise.
14708         (__sysconf): Include posix-envs.def instead of handling associated
14709         cases directly here.
14710         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14711         preprocessing getconf-speclist.c rather than running getconf or
14712         generating empty file.
14714 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
14716         * scripts/check-local-headers.sh: Ignore 'mach' headers.
14718 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
14720         [BZ #14672]
14721         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14723 2012-11-16  David S. Miller  <davem@davemloft.net>
14725         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14726         smaller than LDBL_EPSILON/2.0L, just return xm1.
14728 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
14730         * elf/tst-array1.c (init): Set constructor priority to 1000.
14731         (fini): Set destructor priority to 1000.
14732         * elf/tst-array2dep.c: Likewise.
14734 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14736         [BZ #11741]
14737         * libio/fileops.c (_IO_new_file_write): Correctly return error.
14738         (_IO_new_file_xsputn): Also return EOF if none of the input
14739         data was written when overflow failed.
14740         * libio/iopadn.c (_IO_padn): Likewise.
14741         * libio/iowpadn.c (_IO_wpadn): Likewise.
14742         * stdio-common/tst-put-error.c: Add copyright notice.
14743         (do_test): Add case for printing padded string.
14744         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14745         _IO_padn returned error.
14746         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14747         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14748         return EOF.
14750 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14752         * libio/libioP.h: Add comment note that the references to C++
14753         bits are now obsolete.
14755 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14757         * math/libm-test.inc (check_complex): Use asprintf.
14759 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
14761         * debug/pcprofiledump.c (print_version): Update copyright year.
14762         * malloc/memusagestat.c (print_version): Likewise.
14764 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
14766         [BZ #14831]
14767         * elf/Makefile (tests): Add tst-audit8.
14768         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14769         ($(objpfx)tst-audit8.out): New target.
14770         (tst-audit8-ENV): New variable.
14771         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14772         audit if l_reloc_result is NULL.
14773         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14774         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14775         * elf/tst-audit8.c: New file.
14777 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14779         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14780         * misc/Makefile (CFLAGS-select.c): Define.
14781         * posix/Makefile (CFLAGS-pause.c): Define.
14783 2012-11-13  David S. Miller  <davem@davemloft.net>
14785         * crypt/Makefile: Move test targets after toplevel Rules
14786         inclusion.  Grab any necessary sysdep routines when linking.
14787         * crypt/md5.c (md5_process_block): Remove define, we will always
14788         name it __md5_process_block.
14789         (md5_finish_ctx): Update md5_process_block call.
14790         (md5_stream): Likewise.
14791         (md5_process_bytes): Likewise.
14792         (md5_process_block): Rename to __md5_process_block and move to ...
14793         * crypt/md5-block.c: ... here.
14794         * crypt/sha256.c (sha256_process_block): Move to ...
14795         * crypt/sha256-block.c: ... here.
14796         * crypt/sha512.c (sha512_process_block): Move to ...
14797         * crypt/sha512-block.c: ... here.
14798         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14799         path.
14800         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14801         * sysdeps/sparc/sparc64/multiarch/Makefile
14802         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14803         crypt subdir.
14804         (localedef-aux): Add md5 crypto assembler when in locale subdir.
14805         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14806         multiarch changes.
14807         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14808         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14809         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14810         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14811         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14812         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14813         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14814         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14815         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14816         file.
14817         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14818         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14819         file.
14820         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14822 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
14824         * timezone/tzselect.ksh: Update from tzcode git revision
14825         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14826         * timezone/zdump.c: Likewise.
14827         * timezone/zic.c: Likewise.
14828         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14829         in TZVERSION setting, not $(PKGVERSION).
14830         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
14831         REPORT_BUGS_TO settings.
14833         [BZ #14838]
14834         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14835         macro.
14837 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14839         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14840         detection to immediately after _FP_ROUND().
14841         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14842         bits are 0.
14844 2012-11-11  David S. Miller  <davem@davemloft.net>
14846         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14847         inttypes.h
14848         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14849         __close rather than their public counterparts.
14851 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
14853         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14854         file.
14855         [UNIX98] (sem_timedwait): Do not expect.
14856         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14857         [XPG4 || UNIX98] (sockatmark): Do not expect.
14858         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14859         (clock_getcpuclockid): Do not expect.
14860         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14861         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14862         Do not expect.
14863         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14864         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14865         [UNIX98] (vwscanf): Likewise.
14866         [UNIX98] (vswscanf): Likewise.
14868 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
14870         * timezone/version.h: Remove file.
14871         * timezone/README: Do not refer to version.h.
14872         * timezone/Makefile ($(objpfx)zic.o): New dependency on
14873         $(objpfx)version.h.
14874         ($(objpfx)zdump.o): Likewise.
14875         ($(objpfx)version.h): New target.
14877         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14878         2012i.
14879         * timezone/README: Don't mention modification to tzselect.ksh.
14880         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14881         work on unmodified tzselect.ksh.  Substitute version numbers in
14882         tzselect.ksh.
14884         * Makefile (format-me): Remove.
14885         (INSTALL): Adjust indentation.  Use commands directly instead of
14886         using $(format-me).
14888         * aclocal.m4 (ACX_PKGVERSION): New macro.
14889         (ACX_BUGURL): Likewise.
14890         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14891         (PKGVERSION): New AC_DEFINE_UNQUOTED.
14892         (REPORT_BUGS_TO): Likewise.
14893         * configure: Regenerated.
14894         * config.h.in (PKGVERSION): New macro.
14895         (REPORT_BUGS_TO): Likewise.
14896         * config.make.in (PKGVERSION): New variable.
14897         (PKGVERSION_TEXI): Likewise.
14898         (REPORT_BUGS_TO): Likewise.
14899         (REPORT_BUGS_TEXI): Likewise.
14900         * Makefile (format-me): Use -I$(common-objpfx)manual.
14901         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14902         ($(common-objpfx)manual/%): New target.
14903         (manual/%): Remove target.
14904         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14905         (print_version): Use PKGVERSION.
14906         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14907         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14908         and REPORT_BUGS_TO.
14909         ($(objpfx)xtrace): Likewise.
14910         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14911         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14912         (print_version): Use PKGVERSION.
14913         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14914         (do_version): Use PKGVERSION.
14915         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14916         REPORT_BUGS_TO.
14917         (common-ldd-rewrite): Likewise.
14918         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14919         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14920         (print_version): Use PKGVERSION.
14921         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14922         * elf/pldd.c (argp_program_bug_address): Remove variable.
14923         (more_help): New function.
14924         (argp): Use more_help.
14925         (print_version): Use PKGVERSION.
14926         * elf/sln.c (main): Use PKGVERSION.
14927         (usage): Use REPORT_BUGS_TO.
14928         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14929         (top level): Use PKGVERSION.
14930         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14931         (print_version): Use PKGVERSION.
14932         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14933         (print_version): Use PKGVERSION.
14934         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14935         (print_version): Use PKGVERSION.
14936         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14937         (print_version): Use PKGVERSION.
14938         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14939         (print_version): Use PKGVERSION.
14940         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14941         (print_version): Use PKGVERSION.
14942         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14943         and BUGURL.
14944         ($(objpfx)memusage): Likewise.
14945         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14946         (do_version): Use PKGVERSION.
14947         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14948         (print_version): Use PKGVERSION.
14949         * malloc/mtrace.pl ($PACKAGE): Remove variable.
14950         ($PKGVERSION): New variable.
14951         ($REPORT_BUGS_TO): Likewise.
14952         (usage): Use $REPORT_BUGS_TO.
14953         (top level): Use $PKGVERSION.
14954         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14955         ($(objpfx)pkgvers.texi): New rule.
14956         ($(objpfx)stamp-pkgvers): Likewise.
14957         * manual/install.texi: Include pkgvers.texi.
14958         (--with-pkgversion): Document new configure option.
14959         (--with-bugurl): Likewise.
14960         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14961         than necessarily for this particular distribution.  Use
14962         REPORT_BUGS_TO for where to report bugs.
14963         * INSTALL: Regenerated.
14964         * manual/libc.texinfo: Include pkgvers.texi.
14965         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14966         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14967         (print_version): Use PKGVERSION.
14968         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14969         (print_version): Use PKGVERSION.
14970         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14971         (print_version): Use PKGVERSION.
14972         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14973         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14974         macro.
14975         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14976         (print_version): Use PKGVERSION.
14977         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14978         (print_version): Use PKGVERSION.
14979         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14980         and PKGVERSION.
14982         * timezone/checktab.awk: Update from tzcode 2012i.
14983         * timezone/ialloc.c: Likewise.
14984         * timezone/private.h: Likewise.
14985         * timezone/scheck.c: Likewise.
14986         * timezone/tzfile.h: Likewise.
14987         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14988         (TZVERSION): Hardcode tzcode version number.
14989         * timezone/zdump.c: Update from tzcode 2012i.
14990         * timezone/zic.c: Likewise.
14991         * timezone/version.h: New file.
14992         * timezone/README: Describe version.h.  Update upstream location.
14994         [BZ #14824]
14995         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14996         (mktemp): Enable declaration.
14997         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14999         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15001         Likewise.
15002         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15003         Likewise.
15004         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15005         Likewise.
15006         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15007         Likewise.
15008         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15009         Likewise.
15010         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15011         Likewise.
15013         [BZ #14821]
15014         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15015         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15016         for copies of such integer values.
15017         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15018         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15020 2012-11-09  Andreas Jaeger  <aj@suse.de>
15022         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15023         definitions and declarations that are provided by
15024         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15026 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15028         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15029         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15030         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15031         definition.
15033 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15035         * elf/elf.h: Update comment before AArch64 relocations.
15037 2012-11-07  David S. Miller  <davem@davemloft.net>
15039         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15040         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15041         (__start_context): Declare.
15042         (__makecontext_ret): Delete.
15043         (__makecontext): Hook up __start_context instead of
15044         __makecontext_ret.
15045         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15046         (sysdep_routines): Add __start_context when in stdlib.
15048 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15050         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15051         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15052         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15053         hardcoded "nm".
15054         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15055         (READELF): New variable.  Use it instead of hardcoded "readelf".
15057 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15059         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15060         * sysdeps/x86/Makefile: Here.
15061         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15062         * sysdeps/x86/tst-xmmymm.sh: This.
15064 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15066         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15067         expectations.
15068         [UNIX98] (pthread_barrier_t): Do not expect.
15069         [UNIX98] (pthread_barrierattr_t): Likewise.
15070         [UNIX98] (pthread_spinlock_t): Likewise.
15071         [UNIX98] (pthread_barrier_destroy): Likewise.
15072         [UNIX98] (pthread_barrier_init): Likewise.
15073         [UNIX98] (pthread_barrier_wait): Likewise.
15074         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15075         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15076         [UNIX98] (pthread_barrierattr_init): Likewise.
15077         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15078         [UNIX98] (pthread_getcpuclockid): Likewise.
15079         [UNIX98] (pthread_mutex_timedlock): Likewise.
15080         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15081         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15082         [UNIX98] (pthread_sigmask): Likewise.
15083         [UNIX98] (pthread_spin_destroy): Likewise.
15084         [UNIX98] (pthread_spin_init): Likewise.
15085         [UNIX98] (pthread_spin_lock): Likewise.
15086         [UNIX98] (pthread_spin_trylock): Likewise.
15087         [UNIX98] (pthread_spin_unlock): Likewise.
15088         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15089         Do not expect.
15090         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15091         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15092         [XPG3 || XPG4] (pthread_cond_t): Likewise.
15093         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15094         [XPG3 || XPG4] (pthread_key_t): Likewise.
15095         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15096         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15097         [XPG3 || XPG4] (pthread_once_t): Likewise.
15098         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15099         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15100         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15101         [XPG3 || XPG4] (pthread_t): Likewise.
15103         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15104         not expect.
15105         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15107         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15108         Change function return type to int.
15110         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15111         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15112         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15113         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15114         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15115         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15116         [!POSIX] (posix_madvise): Likewise.
15117         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15118         && !UNIX98].
15119         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15120         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15121         (mode_t): Likewise.
15122         (posix_mem_offset): Likewise.
15123         (posix_typed_mem_get_info): Likewise.
15124         (posix_typed_mem_open): Likewise.
15126         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15127         Change condition to [XOPEN2K8].
15129         * conform/conformtest.pl: Preprocess allow-header data with -x c
15130         instead of from stdin.
15131         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15132         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15133         [C99-based standards] (cerfc): Likewise.
15134         [C99-based standards] (cexp2): Likewise.
15135         [C99-based standards] (cexpm1): Likewise.
15136         [C99-based standards] (clog10): Likewise.
15137         [C99-based standards] (clog1p): Likewise.
15138         [C99-based standards] (clog2): Likewise.
15139         [C99-based standards] (clgamma): Likewise.
15140         [C99-based standards] (ctgamma): Likewise.
15141         [C99-based standards] (cerff): Likewise.
15142         [C99-based standards] (cerfcf): Likewise.
15143         [C99-based standards] (cexp2f): Likewise.
15144         [C99-based standards] (cexpm1f): Likewise.
15145         [C99-based standards] (clog10f): Likewise.
15146         [C99-based standards] (clog1pf): Likewise.
15147         [C99-based standards] (clog2f): Likewise.
15148         [C99-based standards] (clgammaf): Likewise.
15149         [C99-based standards] (ctgammaf): Likewise.
15150         [C99-based standards] (cerfl): Likewise.
15151         [C99-based standards] (cerfcl): Likewise.
15152         [C99-based standards] (cexp2l): Likewise.
15153         [C99-based standards] (cexpm1l): Likewise.
15154         [C99-based standards] (clog10l): Likewise.
15155         [C99-based standards] (clog1pl): Likewise.
15156         [C99-based standards] (clog2l): Likewise.
15157         [C99-based standards] (clgammal): Likewise.
15158         [C99-based standards] (ctgammal): Likewise.
15159         * conform/data/inttypes.h-data [C99-based standards]: Include
15160         stdint.h-data.  Remove all expectations for stdint.h contents.
15161         [C99-based standards] (PRI*): Do not allow.
15162         [C99-based standards] (SCN*): Likewise.
15163         [C99-based standards] (*_t): Likewise.
15164         [C99-based-standards] (PRId8): Expect macro.
15165         [C99-based-standards] (PRIi8): Likewise.
15166         [C99-based-standards] (PRIo8): Likewise.
15167         [C99-based-standards] (PRIu8): Likewise.
15168         [C99-based-standards] (PRIx8): Likewise.
15169         [C99-based-standards] (PRIX8): Likewise.
15170         [C99-based-standards] (SCNd8): Likewise.
15171         [C99-based-standards] (SCNi8): Likewise.
15172         [C99-based-standards] (SCNo8): Likewise.
15173         [C99-based-standards] (SCNu8): Likewise.
15174         [C99-based-standards] (SCNx8): Likewise.
15175         [C99-based-standards] (PRIdLEAST8): Likewise.
15176         [C99-based-standards] (PRIiLEAST8): Likewise.
15177         [C99-based-standards] (PRIoLEAST8): Likewise.
15178         [C99-based-standards] (PRIuLEAST8): Likewise.
15179         [C99-based-standards] (PRIxLEAST8): Likewise.
15180         [C99-based-standards] (PRIXLEAST8): Likewise.
15181         [C99-based-standards] (SCNdLEAST8): Likewise.
15182         [C99-based-standards] (SCNiLEAST8): Likewise.
15183         [C99-based-standards] (SCNoLEAST8): Likewise.
15184         [C99-based-standards] (SCNuLEAST8): Likewise.
15185         [C99-based-standards] (SCNxLEAST8): Likewise.
15186         [C99-based-standards] (PRIdFAST8): Likewise.
15187         [C99-based-standards] (PRIiFAST8): Likewise.
15188         [C99-based-standards] (PRIoFAST8): Likewise.
15189         [C99-based-standards] (PRIuFAST8): Likewise.
15190         [C99-based-standards] (PRIxFAST8): Likewise.
15191         [C99-based-standards] (PRIXFAST8): Likewise.
15192         [C99-based-standards] (SCNdFAST8): Likewise.
15193         [C99-based-standards] (SCNiFAST8): Likewise.
15194         [C99-based-standards] (SCNoFAST8): Likewise.
15195         [C99-based-standards] (SCNuFAST8): Likewise.
15196         [C99-based-standards] (SCNxFAST8): Likewise.
15197         [C99-based-standards] (PRId16): Likewise.
15198         [C99-based-standards] (PRIi16): Likewise.
15199         [C99-based-standards] (PRIo16): Likewise.
15200         [C99-based-standards] (PRIu16): Likewise.
15201         [C99-based-standards] (PRIx16): Likewise.
15202         [C99-based-standards] (PRIX16): Likewise.
15203         [C99-based-standards] (SCNd16): Likewise.
15204         [C99-based-standards] (SCNi16): Likewise.
15205         [C99-based-standards] (SCNo16): Likewise.
15206         [C99-based-standards] (SCNu16): Likewise.
15207         [C99-based-standards] (SCNx16): Likewise.
15208         [C99-based-standards] (PRIdLEAST16): Likewise.
15209         [C99-based-standards] (PRIiLEAST16): Likewise.
15210         [C99-based-standards] (PRIoLEAST16): Likewise.
15211         [C99-based-standards] (PRIuLEAST16): Likewise.
15212         [C99-based-standards] (PRIxLEAST16): Likewise.
15213         [C99-based-standards] (PRIXLEAST16): Likewise.
15214         [C99-based-standards] (SCNdLEAST16): Likewise.
15215         [C99-based-standards] (SCNiLEAST16): Likewise.
15216         [C99-based-standards] (SCNoLEAST16): Likewise.
15217         [C99-based-standards] (SCNuLEAST16): Likewise.
15218         [C99-based-standards] (SCNxLEAST16): Likewise.
15219         [C99-based-standards] (PRIdFAST16): Likewise.
15220         [C99-based-standards] (PRIiFAST16): Likewise.
15221         [C99-based-standards] (PRIoFAST16): Likewise.
15222         [C99-based-standards] (PRIuFAST16): Likewise.
15223         [C99-based-standards] (PRIxFAST16): Likewise.
15224         [C99-based-standards] (PRIXFAST16): Likewise.
15225         [C99-based-standards] (SCNdFAST16): Likewise.
15226         [C99-based-standards] (SCNiFAST16): Likewise.
15227         [C99-based-standards] (SCNoFAST16): Likewise.
15228         [C99-based-standards] (SCNuFAST16): Likewise.
15229         [C99-based-standards] (SCNxFAST16): Likewise.
15230         [C99-based-standards] (PRId32): Likewise.
15231         [C99-based-standards] (PRIi32): Likewise.
15232         [C99-based-standards] (PRIo32): Likewise.
15233         [C99-based-standards] (PRIu32): Likewise.
15234         [C99-based-standards] (PRIx32): Likewise.
15235         [C99-based-standards] (PRIX32): Likewise.
15236         [C99-based-standards] (SCNd32): Likewise.
15237         [C99-based-standards] (SCNi32): Likewise.
15238         [C99-based-standards] (SCNo32): Likewise.
15239         [C99-based-standards] (SCNu32): Likewise.
15240         [C99-based-standards] (SCNx32): Likewise.
15241         [C99-based-standards] (PRIdLEAST32): Likewise.
15242         [C99-based-standards] (PRIiLEAST32): Likewise.
15243         [C99-based-standards] (PRIoLEAST32): Likewise.
15244         [C99-based-standards] (PRIuLEAST32): Likewise.
15245         [C99-based-standards] (PRIxLEAST32): Likewise.
15246         [C99-based-standards] (PRIXLEAST32): Likewise.
15247         [C99-based-standards] (SCNdLEAST32): Likewise.
15248         [C99-based-standards] (SCNiLEAST32): Likewise.
15249         [C99-based-standards] (SCNoLEAST32): Likewise.
15250         [C99-based-standards] (SCNuLEAST32): Likewise.
15251         [C99-based-standards] (SCNxLEAST32): Likewise.
15252         [C99-based-standards] (PRIdFAST32): Likewise.
15253         [C99-based-standards] (PRIiFAST32): Likewise.
15254         [C99-based-standards] (PRIoFAST32): Likewise.
15255         [C99-based-standards] (PRIuFAST32): Likewise.
15256         [C99-based-standards] (PRIxFAST32): Likewise.
15257         [C99-based-standards] (PRIXFAST32): Likewise.
15258         [C99-based-standards] (SCNdFAST32): Likewise.
15259         [C99-based-standards] (SCNiFAST32): Likewise.
15260         [C99-based-standards] (SCNoFAST32): Likewise.
15261         [C99-based-standards] (SCNuFAST32): Likewise.
15262         [C99-based-standards] (SCNxFAST32): Likewise.
15263         [C99-based-standards] (PRId64): Likewise.
15264         [C99-based-standards] (PRIi64): Likewise.
15265         [C99-based-standards] (PRIo64): Likewise.
15266         [C99-based-standards] (PRIu64): Likewise.
15267         [C99-based-standards] (PRIx64): Likewise.
15268         [C99-based-standards] (PRIX64): Likewise.
15269         [C99-based-standards] (SCNd64): Likewise.
15270         [C99-based-standards] (SCNi64): Likewise.
15271         [C99-based-standards] (SCNo64): Likewise.
15272         [C99-based-standards] (SCNu64): Likewise.
15273         [C99-based-standards] (SCNx64): Likewise.
15274         [C99-based-standards] (PRIdLEAST64): Likewise.
15275         [C99-based-standards] (PRIiLEAST64): Likewise.
15276         [C99-based-standards] (PRIoLEAST64): Likewise.
15277         [C99-based-standards] (PRIuLEAST64): Likewise.
15278         [C99-based-standards] (PRIxLEAST64): Likewise.
15279         [C99-based-standards] (PRIXLEAST64): Likewise.
15280         [C99-based-standards] (SCNdLEAST64): Likewise.
15281         [C99-based-standards] (SCNiLEAST64): Likewise.
15282         [C99-based-standards] (SCNoLEAST64): Likewise.
15283         [C99-based-standards] (SCNuLEAST64): Likewise.
15284         [C99-based-standards] (SCNxLEAST64): Likewise.
15285         [C99-based-standards] (PRIdFAST64): Likewise.
15286         [C99-based-standards] (PRIiFAST64): Likewise.
15287         [C99-based-standards] (PRIoFAST64): Likewise.
15288         [C99-based-standards] (PRIuFAST64): Likewise.
15289         [C99-based-standards] (PRIxFAST64): Likewise.
15290         [C99-based-standards] (PRIXFAST64): Likewise.
15291         [C99-based-standards] (SCNdFAST64): Likewise.
15292         [C99-based-standards] (SCNiFAST64): Likewise.
15293         [C99-based-standards] (SCNoFAST64): Likewise.
15294         [C99-based-standards] (SCNuFAST64): Likewise.
15295         [C99-based-standards] (SCNxFAST64): Likewise.
15296         [C99-based-standards] (PRIdMAX): Likewise.
15297         [C99-based-standards] (PRIiMAX): Likewise.
15298         [C99-based-standards] (PRIoMAX): Likewise.
15299         [C99-based-standards] (PRIuMAX): Likewise.
15300         [C99-based-standards] (PRIxMAX): Likewise.
15301         [C99-based-standards] (PRIXMAX): Likewise.
15302         [C99-based-standards] (SCNdMAX): Likewise.
15303         [C99-based-standards] (SCNiMAX): Likewise.
15304         [C99-based-standards] (SCNoMAX): Likewise.
15305         [C99-based-standards] (SCNuMAX): Likewise.
15306         [C99-based-standards] (SCNxMAX): Likewise.
15307         [C99-based-standards] (PRIdPTR): Likewise.
15308         [C99-based-standards] (PRIiPTR): Likewise.
15309         [C99-based-standards] (PRIoPTR): Likewise.
15310         [C99-based-standards] (PRIuPTR): Likewise.
15311         [C99-based-standards] (PRIxPTR): Likewise.
15312         [C99-based-standards] (PRIXPTR): Likewise.
15313         [C99-based-standards] (SCNdPTR): Likewise.
15314         [C99-based-standards] (SCNiPTR): Likewise.
15315         [C99-based-standards] (SCNoPTR): Likewise.
15316         [C99-based-standards] (SCNuPTR): Likewise.
15317         [C99-based-standards] (SCNxPTR): Likewise.
15318         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15319         allow.
15320         * conform/data/stdint.h-data: Update comments to clarify
15321         requirements.
15322         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15323         type.
15324         [C99-based standards] (INT8_MAX): Likewise.
15325         [C99-based standards] (INT16_MIN): Likewise.
15326         [C99-based standards] (INT16_MAX): Likewise.
15327         [C99-based standards] (INT32_MIN): Likewise.
15328         [C99-based standards] (INT32_MAX): Likewise.
15329         [C99-based standards] (INT64_MIN): Likewise.
15330         [C99-based standards] (INT64_MAX): Likewise.
15331         [C99-based standards] (UINT8_MAX): Likewise.
15332         [C99-based standards] (UINT16_MAX): Likewise.
15333         [C99-based standards] (UINT32_MAX): Likewise.
15334         [C99-based standards] (UINT64_MAX): Likewise.
15335         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15336         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15337         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15338         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15339         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15340         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15341         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15342         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15343         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15344         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15345         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15346         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15347         [C99-based standards] (INT_FAST8_MIN): Likewise.
15348         [C99-based standards] (INT_FAST8_MAX): Likewise.
15349         [C99-based standards] (INT_FAST16_MIN): Likewise.
15350         [C99-based standards] (INT_FAST16_MAX): Likewise.
15351         [C99-based standards] (INT_FAST32_MIN): Likewise.
15352         [C99-based standards] (INT_FAST32_MAX): Likewise.
15353         [C99-based standards] (INT_FAST64_MIN): Likewise.
15354         [C99-based standards] (INT_FAST64_MAX): Likewise.
15355         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15356         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15357         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15358         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15359         [C99-based standards] (INTPTR_MIN): Likewise.
15360         [C99-based standards] (INTPTR_MAX): Likewise.
15361         [C99-based standards] (UINTPTR_MAX): Likewise.
15362         [C99-based standards] (INTMAX_MIN): Likewise.
15363         [C99-based standards] (INTMAX_MAX): Likewise.
15364         [C99-based standards] (UINTMAX_MAX): Likewise.
15365         [C99-based standards] (PTRDIFF_MIN): Likewise.
15366         [C99-based standards] (PTRDIFF_MAX): Likewise.
15367         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15368         [C99-based standards] (SIZE_MAX): Likewise.
15369         [C99-based standards] (WCHAR_MAX): Likewise.
15370         [C99-based standards] (WINT_MAX): Likewise.
15371         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15372         constraint on value.
15373         [C99-based standards] (WCHAR_MIN): Likewise.
15374         [C99-based standards] (WINT_MIN): Likewise.
15375         [C99-based standards] (*_t): Allow.
15376         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15377         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15378         Include math.h-data and complex.h-data.  Remove all expectations
15379         of math.h and complex.h contents.
15380         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15381         at end of line.
15382         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15383         (struct tm): Expect tag.
15384         [C99-based-standards] (wcstof): Expect function.
15385         [C99-based-standards] (wcstold): Likewise.
15386         [C99-based-standards] (wcstoll): Likewise.
15387         [C99-based-standards] (wcstoull): Likewise.
15388         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15389         macro-int-constant.  Specify type.
15390         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15391         constraint on value.
15392         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15393         Specify type.
15394         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15395         Specify value.
15396         [ISO C standards]: Do not allow headers.
15397         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15398         wcs[abcdefghijklmnopqrstuvwxyz]*.
15399         [ISO C standards] (*_t): Do not allow.
15400         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15401         Expect function.
15402         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15403         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15404         Specify type.
15405         [ISO C standards]: Do not allow headers.
15406         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15407         is[abcdefghijklmnopqrstuvwxyz]*.
15408         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15409         to[abcdefghijklmnopqrstuvwxyz]*.
15410         [ISO C standards] (*_t): Do not allow.
15411         * conform/data/stdalign.h-data: New file.
15412         * conform/data/stdbool.h-data: Likewise.
15413         * conform/data/stdnoreturn.h-data: Likewise.
15415 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15417         [BZ #14815]
15418         * manual/filesys.texi (Directory Entries): Typo fix.
15419         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15421 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15423         * elf/elf.h (EM_AARCH64): New macro.
15424         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15425         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15426         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15427         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15428         (R_AARCH64_TLSDESC): Likewise.
15429         (NT_ARM_TLS): Likewise.
15430         (NT_ARM_HW_BREAK): Likewise.
15431         (NT_ARM_HW_WATCH): Likewise.
15433 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15435         [BZ #14811]
15436         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15437         (__ieee754_powl): Saturate nonzero exponents with absolute value
15438         below 0x1p-79 to +/- 0x1p-79.
15439         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15440         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15441         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15442         nonzero exponents with absolute value below 0x1p-32 to +/-
15443         0x1p-32.
15444         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15445         (__ieee754_powl): Saturate nonzero exponents with absolute value
15446         below 0x1p-79 to +/- 0x1p-79.
15447         * math/libm-test.inc (pow_test): Add more tests.
15449 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15451         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15452         _dl_s390_cap_flags with kernel. Increase string length.
15453         (_dl_s390_platforms): Add z196 and zEC12.
15455 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15457         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15458         Change XOPEN21K to XOPEN2K.
15460 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15462         * string/memmove.c: Use memcpy when possible.
15464 2012-11-06  Andreas Jaeger  <aj@suse.de>
15466         * po/eo.po: Update from translation team.
15468 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15470         [BZ #14793]
15471         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15472         exponent and small x and y exponents, scale x or y up.  Increase
15473         by 2 the exponent used in scaling up.
15474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15476         * math/libm-test.inc (fma_test): Add more tests.
15477         (fma_test_towardzero): Likewise.
15478         (fma_test_downward): Likewise.
15479         (fma_test_upward): Likewise.
15481 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15483         [BZ #14805]
15484         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15485         fenv_t *.
15487         [BZ #14801]
15488         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15489         namespace for names of struct fields.
15490         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15491         fenv_t fields.
15492         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15493         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15495 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15497         [BZ #3665]
15498         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15500 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15502         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15503         PTR_DEMANGLE.
15505         [BZ #5246]
15506         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15507         PTR_DEMANGLE.
15509 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
15511         [BZ #14797]
15512         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15513         definitely overflow as x * y not x * y + z.
15514         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15516         * math/libm-test.inc (fma_test): Add more tests.
15517         (fma_test_towardzero): Likewise.
15518         (fma_test_downward): Likewise.
15519         (fma_test_upward): Likewise.
15521 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15523         [BZ #157]
15525         * include/stub-tag.h: Remove file.
15526         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15527         '#include' of it.
15528         * manual/maint.texi (Porting): Don't reference it.
15529         * Makerules ($(objpfx)stubs): Likewise.
15530         * dirent/closedir.c: Don't include <stub-tag.h>.
15531         * dirent/dirfd.c: Likewise.
15532         * dirent/fdopendir.c: Likewise.
15533         * dirent/getdents.c: Likewise.
15534         * dirent/getdents64.c: Likewise.
15535         * dirent/opendir.c: Likewise.
15536         * dirent/readdir.c: Likewise.
15537         * dirent/readdir64.c: Likewise.
15538         * dirent/readdir64_r.c: Likewise.
15539         * dirent/readdir_r.c: Likewise.
15540         * dirent/rewinddir.c: Likewise.
15541         * dirent/seekdir.c: Likewise.
15542         * dirent/telldir.c: Likewise.
15543         * gmon/profil.c: Likewise.
15544         * grp/setgroups.c: Likewise.
15545         * inet/if_index.c: Likewise.
15546         * io/access.c: Likewise.
15547         * io/chdir.c: Likewise.
15548         * io/chmod.c: Likewise.
15549         * io/chown.c: Likewise.
15550         * io/close.c: Likewise.
15551         * io/dup.c: Likewise.
15552         * io/dup2.c: Likewise.
15553         * io/dup3.c: Likewise.
15554         * io/euidaccess.c: Likewise.
15555         * io/faccessat.c: Likewise.
15556         * io/fchdir.c: Likewise.
15557         * io/fchmod.c: Likewise.
15558         * io/fchmodat.c: Likewise.
15559         * io/fchown.c: Likewise.
15560         * io/fchownat.c: Likewise.
15561         * io/fcntl.c: Likewise.
15562         * io/flock.c: Likewise.
15563         * io/fstatfs.c: Likewise.
15564         * io/fstatfs64.c: Likewise.
15565         * io/fstatvfs.c: Likewise.
15566         * io/fstatvfs64.c: Likewise.
15567         * io/futimens.c: Likewise.
15568         * io/fxstat.c: Likewise.
15569         * io/fxstat64.c: Likewise.
15570         * io/fxstatat.c: Likewise.
15571         * io/fxstatat64.c: Likewise.
15572         * io/getcwd.c: Likewise.
15573         * io/isatty.c: Likewise.
15574         * io/lchmod.c: Likewise.
15575         * io/lchown.c: Likewise.
15576         * io/link.c: Likewise.
15577         * io/linkat.c: Likewise.
15578         * io/lseek.c: Likewise.
15579         * io/lseek64.c: Likewise.
15580         * io/lxstat64.c: Likewise.
15581         * io/mkdir.c: Likewise.
15582         * io/mkdirat.c: Likewise.
15583         * io/mkfifo.c: Likewise.
15584         * io/mkfifoat.c: Likewise.
15585         * io/open.c: Likewise.
15586         * io/open64.c: Likewise.
15587         * io/openat.c: Likewise.
15588         * io/openat64.c: Likewise.
15589         * io/pipe.c: Likewise.
15590         * io/pipe2.c: Likewise.
15591         * io/poll.c: Likewise.
15592         * io/posix_fadvise.c: Likewise.
15593         * io/posix_fadvise64.c: Likewise.
15594         * io/posix_fallocate.c: Likewise.
15595         * io/posix_fallocate64.c: Likewise.
15596         * io/read.c: Likewise.
15597         * io/readlink.c: Likewise.
15598         * io/readlinkat.c: Likewise.
15599         * io/rmdir.c: Likewise.
15600         * io/sendfile.c: Likewise.
15601         * io/sendfile64.c: Likewise.
15602         * io/statfs.c: Likewise.
15603         * io/statfs64.c: Likewise.
15604         * io/statvfs.c: Likewise.
15605         * io/statvfs64.c: Likewise.
15606         * io/symlink.c: Likewise.
15607         * io/symlinkat.c: Likewise.
15608         * io/ttyname.c: Likewise.
15609         * io/ttyname_r.c: Likewise.
15610         * io/umask.c: Likewise.
15611         * io/unlink.c: Likewise.
15612         * io/unlinkat.c: Likewise.
15613         * io/utime.c: Likewise.
15614         * io/utimensat.c: Likewise.
15615         * io/write.c: Likewise.
15616         * io/xmknod.c: Likewise.
15617         * io/xmknodat.c: Likewise.
15618         * io/xstat.c: Likewise.
15619         * io/xstat64.c: Likewise.
15620         * login/getpt.c: Likewise.
15621         * login/grantpt.c: Likewise.
15622         * login/unlockpt.c: Likewise.
15623         * math/e_acoshl.c: Likewise.
15624         * math/e_acosl.c: Likewise.
15625         * math/e_asinl.c: Likewise.
15626         * math/e_atan2l.c: Likewise.
15627         * math/e_atanhl.c: Likewise.
15628         * math/e_coshl.c: Likewise.
15629         * math/e_expl.c: Likewise.
15630         * math/e_fmodl.c: Likewise.
15631         * math/e_gammal_r.c: Likewise.
15632         * math/e_hypotl.c: Likewise.
15633         * math/e_j0l.c: Likewise.
15634         * math/e_j1l.c: Likewise.
15635         * math/e_jnl.c: Likewise.
15636         * math/e_lgammal_r.c: Likewise.
15637         * math/e_log10l.c: Likewise.
15638         * math/e_log2l.c: Likewise.
15639         * math/e_logl.c: Likewise.
15640         * math/e_powl.c: Likewise.
15641         * math/e_rem_pio2l.c: Likewise.
15642         * math/e_sinhl.c: Likewise.
15643         * math/e_sqrtl.c: Likewise.
15644         * math/fclrexcpt.c: Likewise.
15645         * math/fedisblxcpt.c: Likewise.
15646         * math/feenablxcpt.c: Likewise.
15647         * math/fegetenv.c: Likewise.
15648         * math/fegetexcept.c: Likewise.
15649         * math/fegetround.c: Likewise.
15650         * math/feholdexcpt.c: Likewise.
15651         * math/fesetenv.c: Likewise.
15652         * math/fesetround.c: Likewise.
15653         * math/feupdateenv.c: Likewise.
15654         * math/fgetexcptflg.c: Likewise.
15655         * math/fraiseexcpt.c: Likewise.
15656         * math/fsetexcptflg.c: Likewise.
15657         * math/ftestexcept.c: Likewise.
15658         * math/k_cosl.c: Likewise.
15659         * math/k_rem_pio2l.c: Likewise.
15660         * math/k_sinl.c: Likewise.
15661         * math/k_tanl.c: Likewise.
15662         * math/s_asinhl.c: Likewise.
15663         * math/s_atanl.c: Likewise.
15664         * math/s_cbrtl.c: Likewise.
15665         * math/s_erfl.c: Likewise.
15666         * math/s_expm1l.c: Likewise.
15667         * math/s_log1pl.c: Likewise.
15668         * math/s_tanhl.c: Likewise.
15669         * misc/acct.c: Likewise.
15670         * misc/brk.c: Likewise.
15671         * misc/chflags.c: Likewise.
15672         * misc/chroot.c: Likewise.
15673         * misc/fchflags.c: Likewise.
15674         * misc/fgetxattr.c: Likewise.
15675         * misc/flistxattr.c: Likewise.
15676         * misc/fremovexattr.c: Likewise.
15677         * misc/fsetxattr.c: Likewise.
15678         * misc/fsync.c: Likewise.
15679         * misc/ftruncate.c: Likewise.
15680         * misc/futimes.c: Likewise.
15681         * misc/futimesat.c: Likewise.
15682         * misc/getdomain.c: Likewise.
15683         * misc/getdtsz.c: Likewise.
15684         * misc/gethostid.c: Likewise.
15685         * misc/gethostname.c: Likewise.
15686         * misc/getloadavg.c: Likewise.
15687         * misc/getpagesize.c: Likewise.
15688         * misc/getsysstats.c: Likewise.
15689         * misc/getxattr.c: Likewise.
15690         * misc/gtty.c: Likewise.
15691         * misc/ioctl.c: Likewise.
15692         * misc/lgetxattr.c: Likewise.
15693         * misc/listxattr.c: Likewise.
15694         * misc/llistxattr.c: Likewise.
15695         * misc/lremovexattr.c: Likewise.
15696         * misc/lsetxattr.c: Likewise.
15697         * misc/lutimes.c: Likewise.
15698         * misc/madvise.c: Likewise.
15699         * misc/mincore.c: Likewise.
15700         * misc/mlock.c: Likewise.
15701         * misc/mlockall.c: Likewise.
15702         * misc/mmap.c: Likewise.
15703         * misc/mprotect.c: Likewise.
15704         * misc/msync.c: Likewise.
15705         * misc/munlock.c: Likewise.
15706         * misc/munlockall.c: Likewise.
15707         * misc/munmap.c: Likewise.
15708         * misc/preadv.c: Likewise.
15709         * misc/preadv64.c: Likewise.
15710         * misc/ptrace.c: Likewise.
15711         * misc/pwritev.c: Likewise.
15712         * misc/pwritev64.c: Likewise.
15713         * misc/readv.c: Likewise.
15714         * misc/reboot.c: Likewise.
15715         * misc/remap_file_pages.c: Likewise.
15716         * misc/removexattr.c: Likewise.
15717         * misc/revoke.c: Likewise.
15718         * misc/select.c: Likewise.
15719         * misc/setdomain.c: Likewise.
15720         * misc/setegid.c: Likewise.
15721         * misc/seteuid.c: Likewise.
15722         * misc/sethostid.c: Likewise.
15723         * misc/sethostname.c: Likewise.
15724         * misc/setregid.c: Likewise.
15725         * misc/setreuid.c: Likewise.
15726         * misc/setxattr.c: Likewise.
15727         * misc/sstk.c: Likewise.
15728         * misc/stty.c: Likewise.
15729         * misc/swapoff.c: Likewise.
15730         * misc/swapon.c: Likewise.
15731         * misc/sync.c: Likewise.
15732         * misc/syncfs.c: Likewise.
15733         * misc/syscall.c: Likewise.
15734         * misc/truncate.c: Likewise.
15735         * misc/ualarm.c: Likewise.
15736         * misc/usleep.c: Likewise.
15737         * misc/ustat.c: Likewise.
15738         * misc/utimes.c: Likewise.
15739         * misc/vhangup.c: Likewise.
15740         * misc/writev.c: Likewise.
15741         * posix/_exit.c: Likewise.
15742         * posix/alarm.c: Likewise.
15743         * posix/execve.c: Likewise.
15744         * posix/fexecve.c: Likewise.
15745         * posix/fork.c: Likewise.
15746         * posix/fpathconf.c: Likewise.
15747         * posix/getaddrinfo.c: Likewise.
15748         * posix/getegid.c: Likewise.
15749         * posix/geteuid.c: Likewise.
15750         * posix/getgid.c: Likewise.
15751         * posix/getgroups.c: Likewise.
15752         * posix/getlogin.c: Likewise.
15753         * posix/getlogin_r.c: Likewise.
15754         * posix/getpgid.c: Likewise.
15755         * posix/getpid.c: Likewise.
15756         * posix/getppid.c: Likewise.
15757         * posix/getresgid.c: Likewise.
15758         * posix/getresuid.c: Likewise.
15759         * posix/getsid.c: Likewise.
15760         * posix/getuid.c: Likewise.
15761         * posix/glob64.c: Likewise.
15762         * posix/nanosleep.c: Likewise.
15763         * posix/pathconf.c: Likewise.
15764         * posix/pause.c: Likewise.
15765         * posix/posix_madvise.c: Likewise.
15766         * posix/pread.c: Likewise.
15767         * posix/pread64.c: Likewise.
15768         * posix/pwrite.c: Likewise.
15769         * posix/pwrite64.c: Likewise.
15770         * posix/sched_getaffinity.c: Likewise.
15771         * posix/sched_getp.c: Likewise.
15772         * posix/sched_gets.c: Likewise.
15773         * posix/sched_primax.c: Likewise.
15774         * posix/sched_primin.c: Likewise.
15775         * posix/sched_rr_gi.c: Likewise.
15776         * posix/sched_setaffinity.c: Likewise.
15777         * posix/sched_setp.c: Likewise.
15778         * posix/sched_sets.c: Likewise.
15779         * posix/sched_yield.c: Likewise.
15780         * posix/setgid.c: Likewise.
15781         * posix/setlogin.c: Likewise.
15782         * posix/setpgid.c: Likewise.
15783         * posix/setresgid.c: Likewise.
15784         * posix/setresuid.c: Likewise.
15785         * posix/setsid.c: Likewise.
15786         * posix/setuid.c: Likewise.
15787         * posix/sleep.c: Likewise.
15788         * posix/spawni.c: Likewise.
15789         * posix/sysconf.c: Likewise.
15790         * posix/times.c: Likewise.
15791         * posix/wait.c: Likewise.
15792         * posix/wait3.c: Likewise.
15793         * posix/wait4.c: Likewise.
15794         * posix/waitpid.c: Likewise.
15795         * resolv/gai_sigqueue.c: Likewise.
15796         * resource/getpriority.c: Likewise.
15797         * resource/getrlimit.c: Likewise.
15798         * resource/getrusage.c: Likewise.
15799         * resource/nice.c: Likewise.
15800         * resource/setpriority.c: Likewise.
15801         * resource/setrlimit.c: Likewise.
15802         * resource/ulimit.c: Likewise.
15803         * rt/aio_cancel.c: Likewise.
15804         * rt/aio_fsync.c: Likewise.
15805         * rt/aio_read.c: Likewise.
15806         * rt/aio_sigqueue.c: Likewise.
15807         * rt/aio_suspend.c: Likewise.
15808         * rt/aio_write.c: Likewise.
15809         * rt/clock_getres.c: Likewise.
15810         * rt/clock_gettime.c: Likewise.
15811         * rt/clock_nanosleep.c: Likewise.
15812         * rt/clock_settime.c: Likewise.
15813         * rt/lio_listio.c: Likewise.
15814         * rt/mq_close.c: Likewise.
15815         * rt/mq_getattr.c: Likewise.
15816         * rt/mq_notify.c: Likewise.
15817         * rt/mq_open.c: Likewise.
15818         * rt/mq_receive.c: Likewise.
15819         * rt/mq_send.c: Likewise.
15820         * rt/mq_setattr.c: Likewise.
15821         * rt/mq_timedreceive.c: Likewise.
15822         * rt/mq_timedsend.c: Likewise.
15823         * rt/mq_unlink.c: Likewise.
15824         * rt/shm_open.c: Likewise.
15825         * rt/shm_unlink.c: Likewise.
15826         * rt/timer_create.c: Likewise.
15827         * rt/timer_delete.c: Likewise.
15828         * rt/timer_getoverr.c: Likewise.
15829         * rt/timer_gettime.c: Likewise.
15830         * rt/timer_settime.c: Likewise.
15831         * setjmp/__longjmp.c: Likewise.
15832         * setjmp/setjmp.c: Likewise.
15833         * signal/kill.c: Likewise.
15834         * signal/killpg.c: Likewise.
15835         * signal/raise.c: Likewise.
15836         * signal/sigaction.c: Likewise.
15837         * signal/sigaltstack.c: Likewise.
15838         * signal/sigblock.c: Likewise.
15839         * signal/sigignore.c: Likewise.
15840         * signal/sigintr.c: Likewise.
15841         * signal/signal.c: Likewise.
15842         * signal/sigpause.c: Likewise.
15843         * signal/sigpending.c: Likewise.
15844         * signal/sigqueue.c: Likewise.
15845         * signal/sigreturn.c: Likewise.
15846         * signal/sigset.c: Likewise.
15847         * signal/sigsetmask.c: Likewise.
15848         * signal/sigstack.c: Likewise.
15849         * signal/sigsuspend.c: Likewise.
15850         * signal/sigtimedwait.c: Likewise.
15851         * signal/sigvec.c: Likewise.
15852         * signal/sigwait.c: Likewise.
15853         * signal/sigwaitinfo.c: Likewise.
15854         * signal/sysv_signal.c: Likewise.
15855         * socket/accept.c: Likewise.
15856         * socket/accept4.c: Likewise.
15857         * socket/bind.c: Likewise.
15858         * socket/connect.c: Likewise.
15859         * socket/getpeername.c: Likewise.
15860         * socket/getsockname.c: Likewise.
15861         * socket/getsockopt.c: Likewise.
15862         * socket/isfdtype.c: Likewise.
15863         * socket/listen.c: Likewise.
15864         * socket/recv.c: Likewise.
15865         * socket/recvfrom.c: Likewise.
15866         * socket/recvmsg.c: Likewise.
15867         * socket/send.c: Likewise.
15868         * socket/sendmsg.c: Likewise.
15869         * socket/sendto.c: Likewise.
15870         * socket/setsockopt.c: Likewise.
15871         * socket/shutdown.c: Likewise.
15872         * socket/sockatmark.c: Likewise.
15873         * socket/socket.c: Likewise.
15874         * socket/socketpair.c: Likewise.
15875         * stdio-common/ctermid.c: Likewise.
15876         * stdio-common/cuserid.c: Likewise.
15877         * stdio-common/remove.c: Likewise.
15878         * stdio-common/rename.c: Likewise.
15879         * stdio-common/renameat.c: Likewise.
15880         * stdio-common/tempname.c: Likewise.
15881         * stdlib/getcontext.c: Likewise.
15882         * stdlib/makecontext.c: Likewise.
15883         * stdlib/setcontext.c: Likewise.
15884         * stdlib/swapcontext.c: Likewise.
15885         * stdlib/system.c: Likewise.
15886         * streams/fattach.c: Likewise.
15887         * streams/fdetach.c: Likewise.
15888         * streams/getmsg.c: Likewise.
15889         * streams/getpmsg.c: Likewise.
15890         * streams/putmsg.c: Likewise.
15891         * streams/putpmsg.c: Likewise.
15892         * sysdeps/unix/bsd/getpt.c: Likewise.
15893         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15894         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15895         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15897         Likewise.
15898         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15899         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15900         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15901         * sysvipc/msgctl.c: Likewise.
15902         * sysvipc/msgget.c: Likewise.
15903         * sysvipc/msgrcv.c: Likewise.
15904         * sysvipc/msgsnd.c: Likewise.
15905         * sysvipc/semctl.c: Likewise.
15906         * sysvipc/semget.c: Likewise.
15907         * sysvipc/semop.c: Likewise.
15908         * sysvipc/semtimedop.c: Likewise.
15909         * sysvipc/shmat.c: Likewise.
15910         * sysvipc/shmctl.c: Likewise.
15911         * sysvipc/shmdt.c: Likewise.
15912         * sysvipc/shmget.c: Likewise.
15913         * termios/tcdrain.c: Likewise.
15914         * termios/tcflow.c: Likewise.
15915         * termios/tcflush.c: Likewise.
15916         * termios/tcgetattr.c: Likewise.
15917         * termios/tcgetpgrp.c: Likewise.
15918         * termios/tcsendbrk.c: Likewise.
15919         * termios/tcsetattr.c: Likewise.
15920         * termios/tcsetpgrp.c: Likewise.
15921         * time/adjtime.c: Likewise.
15922         * time/clock.c: Likewise.
15923         * time/getitimer.c: Likewise.
15924         * time/gettimeofday.c: Likewise.
15925         * time/setitimer.c: Likewise.
15926         * time/settimeofday.c: Likewise.
15927         * time/stime.c: Likewise.
15928         * time/time.c: Likewise.
15930 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
15932         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15933         /usr/old/bin.
15935         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15936         instead of spaces.
15937         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15939 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
15941         [BZ #14796]
15942         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15943         FE_TONEAREST before applying Dekker multiplication and Knuth
15944         addition.  Clear inexact exceptions and check for exact zero
15945         results afterwards.
15946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15947         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15948         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15949         * math/libm-test.inc (fma_test): Add more tests.
15950         (fma_test_towardzero): Likewise.
15951         (fma_test_downward): Likewise.
15952         (fma_test_upward): Likewise.
15953         * sysdeps/generic/math_private.h (default_libc_fesetround): New
15954         function.
15955         (libc_fesetround): New macro.
15956         (libc_fesetroundf): Likewise.
15957         (libc_fesetroundl): Likewise.
15958         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15959         function.
15960         (libc_fesetround_387): Likewise.
15961         (libc_fesetroundf): New macro.
15962         (libc_fesetround): Likewise.
15963         (libc_fesetroundl): Likewise.
15964         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15965         function.
15966         (libc_fesetroundf): New macro.
15967         (libc_fesetround): Likewise.
15968         (libc_fesetroundl): Likewise.
15969         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15970         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15971         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15972         libm_hidden_ver.
15973         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15974         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15975         libm_hidden_def.
15976         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15977         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15978         libm_hidden_ver.
15979         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15980         libm_hidden_def.
15982         [BZ #3439]
15983         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15984         integer constant usable in #if and use that to give value to enum
15985         constant.
15986         (FE_DIVBYZERO): Likewise.
15987         (FE_UNDERFLOW): Likewise.
15988         (FE_OVERFLOW): Likewise.
15989         (FE_INVALID): Likewise.
15990         (FE_INVALID_SNAN): Likewise.
15991         (FE_INVALID_ISI): Likewise.
15992         (FE_INVALID_IDI): Likewise.
15993         (FE_INVALID_ZDZ): Likewise.
15994         (FE_INVALID_IMZ): Likewise.
15995         (FE_INVALID_COMPARE): Likewise.
15996         (FE_INVALID_SOFTWARE): Likewise.
15997         (FE_INVALID_SQRT): Likewise.
15998         (FE_INVALID_INTEGER_CONVERSION): Likewise.
15999         (FE_TONEAREST): Likewise.
16000         (FE_TOWARDZERO): Likewise.
16001         (FE_UPWARD): Likewise.
16002         (FE_DOWNWARD): Likewise.
16003         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16004         (FE_DIVBYZERO): Likewise.
16005         (FE_OVERFLOW): Likewise.
16006         (FE_UNDERFLOW): Likewise.
16007         (FE_INEXACT): Likewise.
16008         (FE_TONEAREST): Likewise.
16009         (FE_DOWNWARD): Likewise.
16010         (FE_UPWARD): Likewise.
16011         (FE_TOWARDZERO): Likewise.
16012         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16013         (FE_UNDERFLOW): Likewise.
16014         (FE_OVERFLOW): Likewise.
16015         (FE_DIVBYZERO): Likewise.
16016         (FE_INVALID): Likewise.
16017         (FE_TONEAREST): Likewise.
16018         (FE_TOWARDZERO): Likewise.
16019         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16020         (FE_OVERFLOW): Likewise.
16021         (FE_UNDERFLOW): Likewise.
16022         (FE_DIVBYZERO): Likewise.
16023         (FE_INEXACT): Likewise.
16024         (FE_TONEAREST): Likewise.
16025         (FE_TOWARDZERO): Likewise.
16026         (FE_UPWARD): Likewise.
16027         (FE_DOWNWARD): Likewise.
16028         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16029         (FE_DIVBYZERO): Likewise.
16030         (FE_OVERFLOW): Likewise.
16031         (FE_UNDERFLOW): Likewise.
16032         (FE_INEXACT): Likewise.
16033         (FE_TONEAREST): Likewise.
16034         (FE_DOWNWARD): Likewise.
16035         (FE_UPWARD): Likewise.
16036         (FE_TOWARDZERO): Likewise.
16038 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16040         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16042 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16044         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16045         commands.  Quote $PWD.
16046         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16047         -x" by "export".
16048         (remove_newlines): Remove.
16050 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16052         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16053         * stdlib/stdlib.h (atof): Moved to ...
16054         * include/bits/stdlib-float.h: Here.  New file.
16055         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16056         * stdlib/bits/stdlib-float.h: New file.
16057         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16058         -mno-sse -mno-mmx.
16059         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16060         <xmmintrin.h>.
16062 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16064         * conform/conformtest.pl (@headers): Add fenv.h.
16065         * conform/data/fenv.h-data: New file.
16066         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16067         include of <math/fenv.h>.
16069         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16070         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16071         && !UNIX98].  Enables tests for XOPEN2K8.
16072         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16073         POSIX2008]: Likewise.
16075         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16076         (struct rusage): Do not expect type or its members.
16078         [BZ #3439]
16079         * math/math.h (FP_NAN): Define macro to integer constant usable in
16080         #if and use that to give value to enum constant.
16081         (FP_INFINITE): Likewise.
16082         (FP_ZERO): Likewise.
16083         (FP_SUBNORMAL): Likewise.
16084         (FP_NORMAL): Likewise.
16086 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
16088         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16089         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16090         arguments.
16092 2012-11-02  Roland McGrath  <roland@hack.frob.com>
16094         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16095         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16096         autoconf-time if not.
16097         * configure.in: Remove AC_PREREQ.
16099 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16101         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16102         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16103         of the internal implementation.
16105 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16107         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16108         except include of <misc/sys/syslog.h>.
16110 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16113         function returns with a NULL context exit with zero.
16115 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16117         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16119 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
16121         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16122         (run_program_cmd): This.
16123         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16124         (tst_langinfo): New variable.  Use it.
16126 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
16128         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16129         floating point opcodes.
16131 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16133         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16134         variable.
16136         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16138         * sysdeps/mach/hurd/powerpc: Remove directory.
16139         * sysdeps/mach/powerpc: Likewise.
16141 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16143         * scripts/check-local-headers.sh: Ignore c++ headers.
16145 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16147         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16148         __libc_cleanup_region_start argument.
16150 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
16152         [BZ #14784]
16153         [BZ #14785]
16154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16155         x * y using scaling, not as x * y + z.
16156         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16157         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16158         * math/libm-test.inc (fma_test): Add more tests.
16159         (fma_test_towardzero): Likewise.
16160         (fma_test_downward): Likewise.
16161         (fma_test_upward): Likewise.
16163 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16165         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16167 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16169         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16170         New variable.
16172 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
16174         * rt/tst-shm.c (worker): Correct checking for mmap failure.
16176 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16179         Fix sort order.
16180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16181         Likewise.
16183 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16186         Fix the order of the list for glibc 2.17.
16187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16188         Likewise.
16190 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16194 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16196         [BZ #14610]
16197         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16198         for low part of x being zero before using __atanl (y).
16199         * math/libm-test.inc (atan2_test): Add another test.
16201         * manual/install.texi (Configuring and compiling): Document
16202         general use of test-wrapper and test-wrapper-env.
16203         * INSTALL: Regenerated.
16205         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16206         (__fma): Do not extract and scale down low bits on after-rounding
16207         systems when result rounded to normal precision would have normal
16208         exponent.
16209         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16210         (__fmal): Do not extract and scale down low bits on after-rounding
16211         systems when result rounded to normal precision would have normal
16212         exponent.
16213         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16214         (__fmal): Do not extract and scale down low bits on after-rounding
16215         systems when result rounded to normal precision would have normal
16216         exponent.
16217         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16218         macro.
16219         (fma_test): Add more tests.
16220         (fma_test_towardzero): Likewise.
16221         (fma_test_downward): Likewise.
16222         (fma_test_upward): Likewise.
16224 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
16226         * sysdeps/i386/tininess.h: Renamed to ...
16227         * sysdeps/x86/tininess.h: This.
16228         * sysdeps/x86_64/tininess.h: Removed.
16230 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16232         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16233         input.  Use $(build-program-cmd).
16234         ($(objpfx)tst-array1-static.out): Likewise.
16235         ($(objpfx)tst-array2.out): Likewise.
16236         ($(objpfx)tst-array3.out): Likewise.
16237         ($(objpfx)tst-array4.out): Likewise.
16238         ($(objpfx)tst-array5.out): Likewise.
16239         ($(objpfx)tst-array5-static.out): Likewise.
16241 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
16243         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16244         if defined.
16246         * nss/nsswitch.h (nss_interface_function): Provide new
16247         macro for use with NSS functions.
16248         * grp/initgroups.c: Use new macro.
16249         * nss/getXXbyYY.c: Likewise.
16250         * nss/getXXbyYY_r.c: Likewise.
16251         * nss/getXXent.c: Likewise.
16252         * nss/getXXent_r.c: Likewise.
16253         * sysdeps/posix/getaddrinfo.c: Likewise.
16255 2012-10-30  Andreas Jaeger  <aj@suse.de>
16257         * po/ru.po: Update Russion translation from translation project.
16259 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16261         [BZ #14152]
16262         [BZ #14783]
16263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16264         result and shift together with sticky bit instead of replicating
16265         round-to-nearest rounding.
16266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16268         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
16269         missing underflow exceptions.
16270         (fma_test_towardzero): Add more tests.
16271         (fma_test_downward): Likewise.
16272         (fma_test_upward): Likewise.
16274         [BZ #14047]
16275         * sysdeps/generic/tininess.h: New file.
16276         * sysdeps/i386/tininess.h: Likewise.
16277         * sysdeps/sh/tininess.h: Likewise.
16278         * sysdeps/x86_64/tininess.h: Likewise.
16279         * stdlib/tst-strtod-underflow.c: Likewise.
16280         * stdlib/tst-tininess.c: Likewise.
16281         * stdlib/strtod_l.c: Include <tininess.h>.
16282         (round_and_return): Do not set errno for exact underflow cases.
16283         Force an underflow exception when setting errno for underflow.
16284         Determine underflow based on rounding to normal precision if
16285         TININESS_AFTER_ROUNDING.
16286         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16287         ERANGE for exact underflow cases.
16288         * stdlib/Makefile (tests): Add tst-tininess and
16289         tst-strtod-underflow.
16290         ($(objpfx)tst-tininess): Use $(link-libm).
16291         ($(objpfx)tst-strtod-underflow): Likewise.
16293 2012-10-30  Andreas Jaeger  <aj@suse.de>
16295         [BZ#14767]
16296         * elf/Makefile (tests): Remove conditional for have-initfini-array
16297         since this is now always required and the variable does not exist
16298         anymore.
16299         (tests-static): Likewise.
16300         (modules-names): Likewise.
16302         * po/eo.po: Add Esperanto translation from translation project.
16304         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16305         merged with constructor/destructor.
16306         (init_array): Likewise.
16307         * elf/tst-array2dep.c (fini_array): Likewise.
16308         (init_array): Likewise.
16310 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16312         * manual/message.texi: Delete @cartouche tags.
16314 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16316         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16317         EOPNOTSUPP.
16318         * sysdeps/mach/hurd/fsync.c: Likewise.
16320         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16321         [_POSIX_REALTIME_SIGNALS]: Change condition to
16322         [_POSIX_REALTIME_SIGNALS > 0].
16324 2012-10-27  Andreas Jaeger  <aj@suse.de>
16326         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16327         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16328         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16329         [__WORDSIZE != 64]: Likewise.
16331 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16333         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16334         *  iconvdata/tst-tables.sh: Likewise.
16336 2012-10-25  David S. Miller  <davem@davemloft.net>
16338         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16339         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16340         of strtoull.
16342         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16343         ifunc-impl-list.c
16344         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16345         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16346         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16347         file.
16349 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16351         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16352         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16353         __getdirentries.
16355 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16356             Jim Blandy  <jimb@codesourcery.com>
16358         * scripts/cross-test-ssh.sh: New file.
16359         * manual/install.texi (Configuring and compiling): Document use of
16360         cross-test-ssh.sh.
16361         * INSTALL: Regenerated.
16363 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16365         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16366         EOPNOTSUPP.
16368 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16370         * Makeconfig (run-program-prefix): Fix comment.
16372 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16373             Jim Blandy  <jimb@codesourcery.com>
16375         * Makeconfig (test-wrapper): New variable,
16376         (test-wrapper-env): Likewise.
16377         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16378         (run-built-tests): Define to yes.
16379         (run-program-prefix): Use $(test-wrapper).
16380         (built-program-cmd): Likewise.
16381         * Rules (make-test-out): Use $(test-wrapper-env) and
16382         $(host-built-program-cmd).
16383         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16384         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16385         tst-pathopt.sh.
16386         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16387         $(test-wrapper-env) to tst-rtld-load-self.sh.
16388         ($(objpfx)order2.out): Use $(test-wrapper).
16389         ($(objpfx)tst-initorder.out): Likewise.
16390         ($(objpfx)tst-initorder2.out): Likewise.
16391         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16392         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16393         (test_wrapper_env): New variable.  Use it to run ld.so.
16394         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16395         Use it to run ld.so.
16396         (test_wrapper_env): Likewise.
16397         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16398         $(test-wrapper) to run-iconv-test.sh.
16399         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16400         (ICONV): Use $test_wrapper.
16401         * posix/Makefile ($(objpfx)globtest.out): Pass
16402         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16403         globtest.sh, not $(run-program-prefix).
16404         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16405         (test_wrapper): Likewise.
16406         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16407         set together with run_via_rtld_prefix.
16408         (run_program_prefix): Define in terms of test_wrapper and
16409         run_via_rtld_prefix.
16411 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16413         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16414         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16415         Targets removed.
16417         [BZ #14743]
16418         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16419         Declare __clock_getres, __clock_gettime, __clock_settime,
16420         __clock_nanosleep, and __clock_getcpuclockid.
16421         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16422         Remove librt_hidden_def (clock_gettime).
16423         * sysdeps/unix/clock_gettime.c: Likewise.
16424         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16425         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16426         * rt/clock_getres.c: Define __clock_getres as an alias.
16427         * sysdeps/posix/clock_getres.c: Likewise.
16428         * rt/clock_settime.c: Define __clock_settime as an alias.
16429         * sysdeps/unix/clock_settime.c: Likewise.
16430         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16431         * sysdeps/unix/clock_nanosleep.c: Likewise.
16432         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16433         * rt/clock-compat.c: New file.
16434         * rt/Makefile (librt-routines): Add clock-compat and move
16435         $(clock-routines) to ...
16436         (routines): ... here, new variable.
16437         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16438         Don't add get_clockfreq here.
16439         * rt/Versions (libc: GLIBC_2.17): New version set.
16440         Add clock_* symbols here.
16441         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16442         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16443         (GLIBC_2.17): Add clock_* symbols.
16444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16446         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16448         Likewise.
16449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16450         Likewise.
16451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16455         * NEWS: Mention the move.
16457         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16458         Use __open, __read, __close rather than their public counterparts.
16459         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16460         (__get_clockfreq_via_cpuinfo): Likewise.
16461         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16462         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16464         * config.h.in (HAVE_IFUNC): New #undef.
16465         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16466         was successful.
16467         * configure: Regenerated.
16469 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16471         * configure.in: Move READELF check to start of file.
16472         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16473         libc_cv_asm_gnu_indirect_function in the process.
16474         * configure: Regenerated.
16476 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16478         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16479         send the output to /dev/null.
16480         (libc_cv_cc_with_libunwind): Likewise.
16481         (libc_cv_as_noexecstack): Likewise.
16482         * configure: Regenerate.
16484 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16486         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16488         * posix/globtest.sh (TMPDIR): Do not set.
16489         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16490         (testout): Likewise.
16492 2012-10-24  Andreas Jaeger  <aj@suse.de>
16494         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16495         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16496         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16497         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16498         posix_fadvise64, posix_fallocate64.
16500         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16501         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16502         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16503         Likewise.
16504         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16505         Likewise.
16506         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16508         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16509         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16510         <bits/fcntl-linux.h>.
16511         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16513         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16514         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16515         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16516         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16517         [__WORDSIZE != 64]: Likewise.
16519 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16521         * Makeconfig (run-built-tests): New variable.
16522         * Rules [$(cross-compiling) = yes]: Change condition to
16523         [$(run-built-tests) = no].
16524         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16525         to [$(run-built-tests) = yes].
16526         * elf/Makefile [$(cross-compiling) = no]: Likewise
16527         * grp/Makefile [$(cross-compiling) = no]: Likewise.
16528         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16529         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16530         * intl/Makefile [$(cross-compiling) = no]: Likewise.
16531         * io/Makefile [$(cross-compiling) = no]: Likewise.
16532         * libio/Makefile [$(cross-compiling) = no]: Likewise.
16533         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16534         * misc/Makefile [$(cross-compiling) = no]: Likewise.
16535         * posix/Makefile [$(cross-compiling) = no]: Likewise.
16536         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16537         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16538         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16539         * string/Makefile [$(cross-compiling) = no]: Likewise.
16541         * posix/Makefile ($(objpfx)globtest.out): Pass
16542         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16543         $(rtld-installed-name).
16544         * posix/globtest.sh (elf_objpfx): Remove variable.
16545         (rtld_installed_name): Likewise.
16546         (library_path): Likewise.
16547         (run_program_prefix): New variable.  Use for running globtest
16548         binary.
16550 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
16551             Joseph Myers  <joseph@codesourcery.com>
16553         * Makeconfig (host-built-program-cmd): New variable.
16554         * elf/Makefile (tst-stackguard1-ARGS): Use
16555         $(host-built-program-cmd).
16556         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16557         (tst-spawn-ARGS): Likewise.
16558         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16560 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16561             Jim Blandy  <jimb@codesourcery.com>
16563         * Makeconfig (run-via-rtld-prefix): New variable.
16564         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16565         (built-program-cmd): Likewise.
16567 2012-10-22  Andreas Jaeger  <aj@suse.de>
16569         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16570         __O_RSYNC if it exists, otherwise to O_SYNC.
16572 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
16573             Joseph Myers  <joseph@codesourcery.com>
16575         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16576         /dev/null.
16577         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16578         from /dev/null
16579         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16580         /dev/null.
16582 2012-10-22  Andreas Jaeger  <aj@suse.de>
16584         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16585         Define always.
16586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16589         bits/fcntl-linux.h.
16591         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16592         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16595         to __O_LARGEFILE.
16596         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16597         to __O_LARGEFILE.
16599 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
16600             Joseph Myers  <joseph@codesourcery.com>
16602         * config.make.in (NM): New variable.
16604 2012-10-21  Andreas Jaeger  <aj@suse.de>
16606         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16607         definitions and declarations that are provided by
16608         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16610 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16612         [BZ #14683]
16613         * elf/Makefile (tests-static): Add tst-leaks1-static.
16614         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16615         ($(objpfx)tst-leaks1-static): New rule.
16616         ($(objpfx)tst-leaks1-static-mem): Likewise.
16617         (tst-leaks1-static-ENV): New macro.
16618         * elf/dl-open.c (dl_open_worker): Check the main application
16619         only if SHARED is defined.
16620         * elf/tst-leaks1-static.c: New file.
16622 2012-10-20  Andreas Jaeger  <aj@suse.de>
16624         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16625         generic values for Linux.
16626         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16627         and declarations that are provided by <bits/fcntl-linux.h> and
16628         include <bits/fcntl-linux.h>.
16629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16630         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16632 2012-10-20  Roland McGrath  <roland@hack.frob.com>
16634         * io/fcntl.h: Move include of <bits/types.h> to the top and
16635         include it unconditionally.
16637 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16639         * wcsmbs/Makefile (tests-ifunc): New variable.
16640         (tests): Add $(tests-ifunc).
16641         * wcsmbs/test-wcschr-ifunc.c: New file.
16642         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16643         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16644         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16645         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16646         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16648         * string/Makefile (tests-ifunc): New variable.
16649         (tests): Add $(tests-ifunc).
16650         * string/test-memccpy.c (TEST_NAME): New macro.
16651         * string/test-memchr.c (TEST_NAME): Likewise.
16652         * string/test-memcmp.c (TEST_NAME): Likewise.
16653         * string/test-memcpy.c (TEST_NAME): Likewise.
16654         * string/test-memmem.c (TEST_NAME): Likewise.
16655         * string/test-memmove.c (TEST_NAME): Likewise.
16656         * string/test-memset.c (TEST_NAME): Likewise.
16657         * string/test-rawmemchr.c (TEST_NAME): Likewise.
16658         * string/test-stpcpy.c (TEST_NAME): Likewise.
16659         * string/test-stpncpy.c (TEST_NAME): Likewise.
16660         * string/test-strcasecmp.c (TEST_NAME): Likewise.
16661         * string/test-strcasestr.c (TEST_NAME): Likewise.
16662         * string/test-strcat.c (TEST_NAME): Likewise.
16663         * string/test-strchr.c (TEST_NAME): Likewise.
16664         * string/test-strcmp.c(TEST_NAME): Likewise.
16665         * string/test-strcpy.c (TEST_NAME): Likewise.
16666         * string/test-strcspn.c (TEST_NAME): Likewise.
16667         * string/test-strlen.c (TEST_NAME): Likewise.
16668         * string/test-strncasecmp.c (TEST_NAME): Likewise.
16669         * string/test-strncmp.c (TEST_NAME): Likewise.
16670         * string/test-strncpy.c (TEST_NAME): Likewise.
16671         * string/test-strnlen.c (TEST_NAME): Likewise.
16672         * string/test-strpbrk.c (TEST_NAME): Likewise.
16673         * string/test-strrchr.c (TEST_NAME): Likewise.
16674         * string/test-strspn.c (TEST_NAME): Likewise.
16675         * string/test-strstr.c (TEST_NAME): Likewise.
16676         * string/test-bcopy-ifunc.c: New file.
16677         * string/test-bzero-ifunc.c: Likewise.
16678         * string/test-memccpy-ifunc.c: Likewise.
16679         * string/test-memchr-ifunc.c: Likewise.
16680         * string/test-memcmp-ifunc.c: Likewise.
16681         * string/test-memcpy-ifunc.c: Likewise.
16682         * string/test-memmem-ifunc.c: Likewise.
16683         * string/test-memmove-ifunc.c: Likewise.
16684         * string/test-mempcpy-ifunc.c: Likewise.
16685         * string/test-memset-ifunc.c: Likewise.
16686         * string/test-rawmemchr-ifunc.c: Likewise.
16687         * string/test-stpcpy-ifunc.c: Likewise.
16688         * string/test-stpncpy-ifunc.c: Likewise.
16689         * string/test-strcasecmp-ifunc.c: Likewise.
16690         * string/test-strcasestr-ifunc.c: Likewise.
16691         * string/test-strcat-ifunc.c: Likewise.
16692         * string/test-strchr-ifunc.c: Likewise.
16693         * string/test-strchrnul-ifunc.c: Likewise.
16694         * string/test-strcmp-ifunc.c: Likewise.
16695         * string/test-strcpy-ifunc.c: Likewise.
16696         * string/test-strcspn-ifunc.c: Likewise.
16697         * string/test-strlen-ifunc.c: Likewise.
16698         * string/test-strncasecmp-ifunc.c: Likewise.
16699         * string/test-strncat-ifunc.c: Likewise.
16700         * string/test-strncmp-ifunc.c: Likewise.
16701         * string/test-strncpy-ifunc.c: Likewise.
16702         * string/test-strnlen-ifunc.c: Likewise.
16703         * string/test-strpbrk-ifunc.c: Likewise.
16704         * string/test-strrchr-ifunc.c: Likewise.
16705         * string/test-strspn-ifunc.c: Likewise.
16706         * string/test-strstr-ifunc.c: Likewise.
16708         * debug/Makefile (tests-ifunc): New variable.
16709         (tests): Add $(tests-ifunc).
16710         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16711         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16712         * debug/test-stpcpy_chk-ifunc.c: New file.
16713         * debug/test-strcpy_chk-ifunc.c: Likewise.
16715 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16717         [BZ #13601]
16718         * elf/dl-load.c (open_verify): Retry read if the entire ELF
16719         header is not read in.
16721 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
16723         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
16724         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
16725         directly.  Pass built executable to script as
16726         $(built-program-cmd).
16727         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
16728         $testprogram without using LD_LIBRARY_PATH and $ldso.
16730         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16731         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16732         $(rtld-installed-name).
16733         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16734         (rtld_installed_name): Likewise.
16735         (library_path): Likewise.
16736         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
16737         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16738         $(run-program-prefix) to tst-tables.sh.
16739         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
16740         it to run tst-table-from and tst-table-to.
16741         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16742         Pass it to tst-table.sh.
16743         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16744         $(run-program-prefix) to tst-gettext.sh.
16745         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16746         tst-translit.sh.
16747         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16748         tst-gettext2.sh.
16749         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
16750         to run tst-gettext.
16751         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
16752         to run tst-gettext2.
16753         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
16754         to run tst-translit.
16755         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16756         $(run-program-prefix) to tst-mtrace.sh.
16757         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
16758         to run tst-mtrace.
16759         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16760         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16761         $(rtld-installed-name).
16762         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16763         (rtld_installed_name): Likewise.
16764         (run_program_prefix): New variable.  Use it to run wordexp-test.
16766         * Makeconfig (ARCH): Remove all definitions.
16767         (machine): Likewise.
16768         [ARCH]: Remove conditional code.
16769         [!objdir]: Give error.
16770         [!objdir] (objpfx): Remove.
16771         [!objdir] (common-objpfx): Likewise.
16772         [!objdir] (common-objdir): Likewise.
16773         * configure.in (config_makefile): Remove.  Hardcode Makefile in
16774         AC_CONFIG_FILES call.
16775         * configure: Regenerated.
16777         [BZ #13888]
16778         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16779         or TMPDIR.
16780         (testout): Likewise.
16782         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16783         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16784         $(rtld-installed-name).
16785         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16786         (rtld_installed_name): Likwise.
16787         (runit): Remove function.
16788         (run_getconf): New variable,  Use it for running getconf binary.
16790 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
16792         [BZ #14716]
16793         * string/test-memmem.c (check_result): New function.
16794         (do_one_test): Use it.
16795         (check1): New function.
16796         (test_main): Use it.
16798 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
16800         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16802 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
16804         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16805         (_G_LSEEK64): Likewise.
16806         (_G_MMAP64): Likewise.
16807         (_G_FSTAT64): Likewise.
16808         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16809         (_G_LSEEK64): Likewise.
16810         (_G_MMAP64): Likewise.
16811         (_G_FSTAT64): Likewise.
16812         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16813         unconditional.  Call __mmap64 directly.
16814         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16815         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
16816         __lseek64 directly.
16817         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16818         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
16819         __mmap64 directly.
16820         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16821         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16822         __lseek64 directly.
16823         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16824         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16825         __lseek64 directly.
16826         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16827         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
16828         __lseek64 directly.
16829         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16830         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
16831         __fxstat64 directly.
16832         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16833         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16834         unconditional.
16835         (freopen64) [!_G_OPEN64]: Remove conditional code.
16836         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16837         unconditional.
16838         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16839         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16840         unconditional.
16841         (ftello64) [!_G_LSEEK64]: Remove conditional code.
16842         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16843         unconditional.
16844         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16845         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16846         unconditional.
16847         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16848         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16849         unconditional.
16850         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16851         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16852         unconditional.
16853         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16854         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16855         unconditional.
16856         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16858 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16860         [BZ #12140]
16861         * manual/memory.texi (Malloc Tunable Parameters): Add note
16862         about free list pointers overwriting some perturb bytes.
16863         Wording suggested by Roland McGrath.
16865 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
16867         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16868         (lgamma_test): Likewise.
16869         (tgamma_test): Likewise.
16871 2012-10-16  Florian Weimer  <fweimer@redhat.com>
16873         [BZ #14700]
16874         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16875         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16877 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
16879         * NEWS: Mention BZ #14716.
16880         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16881         when removing AVAILABLE1_USES_J macro.
16883 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
16885         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16886         (__bswap_64): __uint64_t for unsigned 64-bit int.
16888 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
16890         * include/string.h (memmem): Declare libc hidden alias.
16891         * string/memmem.c (memmem): Define libc hidden alias.
16892         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16893         __read, __close instead of open, read, close.
16895 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
16897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16898         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16899         global and hidden.
16900         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16901         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16902         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16903         Likewise.
16904         (__rawmemchr_sse2): Likewise.
16905         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16906         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16907         (__strchr_sse2): Likewise.
16908         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16909         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16910         (__strcasecmp_sse2): Likewise.
16911         (__strncasecmp_sse2): Likewise.
16912         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16913         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16914         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16915         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16916         (__strrchr_sse2): Likewise.
16917         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16918         ifunc-impl-list.c.
16919         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16920         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16921         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16922         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16923         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16924         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16925         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16926         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16927         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16928         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16929         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16930         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16931         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16932         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16933         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16934         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16935         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16936         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16937         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16938         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16939         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16940         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16941         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16942         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16943         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16944         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16945         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16946         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16947         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16948         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16950         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16951         global and hidden.
16952         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16953         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16954         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16955         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16956         Likewise.
16957         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16958         Likewise.
16959         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16960         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16961         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16962         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16963         ifunc-impl-list.c.
16964         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16965         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16966         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16967         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16968         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16969         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16970         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16971         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16972         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16973         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16974         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16975         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16976         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16977         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16978         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16979         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16980         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16981         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16982         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16983         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16984         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16985         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16986         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16987         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16988         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16989         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16990         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16991         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16992         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16993         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16994         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16995         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16996         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16997         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16998         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16999         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17000         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17001         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17002         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17003         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17004         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17006         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17007         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17008         * include/ifunc-impl-list.h: New file.
17009         * misc/ifunc-impl-list.c: Likewise.
17010         * misc/Makefile (routines): Add ifunc-impl-list.
17011         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17012         * string/test-string.h: Include <ifunc-impl-list.h>.
17013         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17014         impl_array): New variables.
17015         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17016         are defined.
17017         (test_init): Call __libc_ifunc_impl_list to initialize
17018         func_list if TEST_IFUNC and TEST_NAME are defined.
17020         * string/Makefile (strop-tests): Add bcopy and bzero.
17021         * string/test-bcopy.c: New file.
17022         * string/test-bzero.c: Likewise.
17023         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17024         defined.
17025         * string/test-memset.c: Support bzero test if TEST_BZERO is
17026         defined.
17027         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17028         __libc_memmove.
17029         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17030         __libc_memset.
17031         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17032         of memset.
17034 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17036         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17037         * configure: Regenerated.
17039         * Makeconfig (+link-static-before-libc): Don't include
17040         $(link-static-libc).
17042         * libio/libio.h (_IO_pos_t): Remove.
17044 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17046         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17047         McGrath.
17049 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17051         * crypt/crypt-entry.c: Include fips-private.h.
17052         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17053         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17054         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17055         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17057 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17059         * crypt/crypt-private.h: Include stdbool.h.
17060         (_ufc_setup_salt_r): Return bool.
17061         * crypt/crypt-entry.c: Include errno.h.
17062         (__crypt_r): Return NULL with EINVAL for bad salt.
17063         * crypt/crypt_util.c (bad_for_salt): New.
17064         (_ufc_setup_salt_r): Check that salt is long enough and within
17065         the specified alphabet.
17066         * crypt/badsalttest.c: New file.
17067         * crypt/Makefile (tests): Add it.
17068         ($(objpfx)badsalttest): New.
17070 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17072         * NEWS: Add entry for BZ #14602.
17074 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17076         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17077         type-generic.
17078         * math/libm-test.inc: Update comment listing what functions and
17079         macros are tested.
17080         (isgreater_test): New function.
17081         (isgreaterequal_test): Likewise.
17082         (isless_test): Likewise.
17083         (islessequal_test): Likewise.
17084         (islessgreater_test): Likewise.
17085         (isunordered_test): Likewise.
17086         (main): Call the new functions.
17088 2012-10-09  Roland McGrath  <roland@hack.frob.com>
17090         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17091         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17092         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17093         * sysdeps/i386/configure: Regenerated.
17094         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17095         * sysdeps/mach/configure: Regenerated.
17096         * sysdeps/mach/hurd/configure: Regenerated.
17097         * sysdeps/powerpc/configure: Regenerated.
17098         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17099         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17100         * sysdeps/s390/s390-32/configure: Regenerated.
17101         * sysdeps/s390/s390-64/configure: Regenerated.
17102         * sysdeps/sh/configure: Regenerated.
17103         * sysdeps/sparc/configure: Regenerated.
17104         * sysdeps/unix/sysv/linux/configure: Regenerated.
17105         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17106         * sysdeps/x86_64/configure: Regenerated.
17108         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17109         defined.  Don't check if MAP is NULL.
17111 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17113         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17114         (_G_stat64): Likewise.
17115         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17116         (_G_stat64): Likewise.
17117         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17118         instead of struct _G_stat64.
17119         * libio/fileops.c (mmap_remap_check): Likewise.
17120         (decide_maybe_mmap): Likewise.
17121         (_IO_new_file_seekoff): Likewise.
17122         (_IO_file_stat): Likewise.
17123         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17124         _G_off64_t.
17125         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17126         instead of struct _G_stat64.
17127         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17129 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
17131         [BZ #14602]
17132         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17133         Replace with ...
17134         (CHECK_EOL): New macro.
17135         (two_way_short_needle): Check beginning of haystack for EOL.  Use
17136         CHECK_EOL.
17137         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17138         Replace with CHECK_EOL.
17139         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17140         Replace with CHECK_EOL.
17142 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
17144         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17145         type-generic.
17146         * math/libm-test.inc: Update comment listing what functions and
17147         macros are tested.
17148         (finite_test): New function.
17149         (isinf_test): Likewise.
17150         (isnan_test): Likewise.
17151         (fpclassify_test): Test subnormal input.
17152         (isfinite_test): Likewise.
17153         (isnormal_test): Likewise.
17154         (main): Call the new functions.
17156 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
17158         [BZ #14660]
17159         * Makerules (%.dynsym): Force C locale when running
17160         $(OBJDUMP) --dynamic-syms.
17162 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
17164         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17165         <stdint.h>.
17167 2012-10-06  David S. Miller  <davem@davemloft.net>
17169         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17170         upper 32-bits of the length value in %o2 since we use branch-on-register
17171         tests which consider the entire 64-bit register.
17173 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
17175         * string/test-strstr.c (check2): Add a test for page boundary.
17177 2012-10-05  David S. Miller  <davem@davemloft.net>
17179         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17180         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17181         file.
17182         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17183         sysdep_routines.
17184         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17185         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17186         and bzero when HWCAP_SPARC_CRYPTO is present.
17188 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
17190         [BZ #14602]
17191         * string/test-strstr.c (check2): New function.
17192         (test_main): Call check2.
17194         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17195         and bug-strchr1.
17196         * string/bug-strcasestr1.c (do_test): Moved to ...
17197         * string/test-strcasestr.c (check1): Here.  New function.
17198         (do_one_test): Break out result checking code into ...
17199         (check_result): This.  New function.
17200         (do_one_test): Call check_result.
17201         (test_main): Call check1.
17202         * string/bug-strchr1.c (do_test): Moved to ...
17203         * string/test-strchr.c (check1): Here.  New function.
17204         (do_one_test): Break out result checking code into ...
17205         (check_result): This.  New function.
17206         (do_one_test): Call check_result.
17207         (test_main): Call check1.
17208         * string/bug-strstr1.c (main): Moved to ...
17209         * string/test-strstr.c (check1): Here.  New function.
17210         (do_one_test): Break out result checking code into ...
17211         (check_result): This.  New function.
17212         (do_one_test): Call check_result.
17213         (test_main): Call check1.
17214         * string/bug-strcasestr1.c: Removed.
17215         * string/bug-strchr1.c: Likewise.
17216         * string/bug-strstr1.c: Likewise.
17218         * elf/Makefile (dl-routines): Add hwcaps.
17219         * elf/dl-support.c (_dl_important_hwcaps): Removed.
17220         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17221         (_dl_important_hwcaps): Moved to ...
17222         * elf/dl-hwcaps.c: Here.  New file.
17223         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17225         [BZ #14557]
17226         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17227         if IS_IN_rtld isn't defined.
17229         * elf/dl-support.c (_dl_sysinfo_map): New.
17230         Include "get-dynamic-info.h" and "setup-vdso.h".
17231         (_dl_non_dynamic_init): Call setup_vdso.
17232         * elf/dynamic-link.h: Don't include <assert.h>.
17233         (elf_get_dynamic_info): Moved to ...
17234         * elf/get-dynamic-info.h: Here.  New file.
17235         * elf/dynamic-link.h: Include "get-dynamic-info.h".
17236         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17237         * elf/setup-vdso.h: Here.  New file.
17238         * elf/rtld.c: Include "setup-vdso.h".
17239         (dl_main): Call setup_vdso.
17241 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
17243         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17244         creal in comment listing functions tested.  List finite, isinf,
17245         isnan, isless, islessequal, isgreater, isgreaterequal,
17246         islessgreater, isunordered, lgamma_r and pow10 as functions and
17247         macros not tested.  Mention which functions not tested are aliases
17248         for other functions.  Fix typo.  Note that signs of NaNs are not
17249         tested.
17251         * scripts/config.guess: Update from config.git.
17252         * scripts/config.sub: Likewise.
17254 2012-10-04  Roland McGrath  <roland@hack.frob.com>
17256         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17257         * misc/madvise.c (madvise): Renamed to __madvise.
17258         Make madvise a weak alias.
17259         * include/sys/mman.h: Declare __madvise.
17260         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17261         * sysdeps/unix/syscalls.list
17262         (madvise): Make __madvise the strong name, and madvise a weak alias.
17263         * sysdeps/unix/sysv/linux/syscalls.list
17264         (madvise, mmap): Remove redundant entries.
17265         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17266         * malloc/malloc.c (mtrim): Likewise.
17267         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17269 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17271         * sysdeps/mach/hurd/dl-cache.c: File removed.
17272         * config.h.in (USE_LDCONFIG): New #undef.
17273         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17274         * configure: Regenerated.
17275         * elf/Makefile (dl-routines): Add dl-cache only under
17276         [$(use-ldconfig) = yes].
17277         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17278         cache on [USE_LDCONFIG].
17279         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17280         [USE_LDCONFIG].
17281         * elf/rtld.c (dl_main): Likewise.
17283 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
17285         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17286         _SC_LEVEL4_CACHE_LINESIZE.
17288 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17290         * sysdeps/unix/bsd/confstr.h: File removed.
17292 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
17294         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17295         sys/sdt-config.h.
17297 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17299         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17300         Make 'mapoff' field ElfW(Off) rather than off_t.
17302 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17304         * nscd/Makefile: Remove nscd-cflags and all its users.
17305         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17306         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17308         [BZ #10631]
17309         * malloc.c (malloc_printerr): Clarify error message.
17311 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17313         [BZ #14648]
17314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17315         Set bit_FMA_Usable if FMA is supported.
17316         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17317         macro.
17318         (bit_FMA4_Usable): Updated.
17319         (index_FMA_Usable): New macro.
17320         (CPUID_FMA): Likewise
17321         (HAS_FMA): Defined with bit_FMA_Usable.
17323 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17325         * bits/types.h (__swblk_t): Type removed.
17326         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17327         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17328         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17329         (__SWBLK_T_TYPE): Likewise.
17330         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17331         (__SWBLK_T_TYPE): Likewise.
17332         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17333         (__SWBLK_T_TYPE): Likewise.
17334         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17335         (__SWBLK_T_TYPE): Likewise.
17337 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17338             Honza Horak <hhorak@redhat.com>
17340         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17341         (xdr_mapname): Use YPMAXMAP as maxsize.
17342         (xdr_peername): Use YPMAXPEER as maxsize.
17343         (xdr_keydat): Use YPAXRECORD as maxsize.
17344         (xdr_valdat): Use YPMAXRECORD as maxsize.
17346 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17348         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17350         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17351         * csu/init-first.c: ... here.
17352         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17353         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17354         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17355         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17356         * sysdeps/i386/init-first.c: File removed.
17357         * sysdeps/sh/init-first.c: File removed.
17359 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17361         [BZ #14645]
17362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17363         if x * y might underflow to zero and z is zero.
17364         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17365         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17366         * math/libm-test.inc (min_subnorm_value): New variable.
17367         (fma_test): Add more tests.
17368         (fma_test_towardzero): Likewise.
17369         (fma_test_downward): Likewise
17370         (fma_test_upward): Likewise.
17371         (initialize): Set min_subnorm_value.
17373 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17375         [BZ #14638]
17376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17377         0 + 0.
17378         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17379         mode for addition resulting in exact zero.
17380         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17382         exact 0 + 0.
17383         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17384         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17385         * math/libm-test.inc (fma_test): Add more tests.
17386         (fma_test_towardzero): New function.
17387         (fma_test_downward): Likewise.
17388         (fma_test_upward): Likewise.
17389         (main): Call the new functions.
17391 2012-09-28  David S. Miller  <davem@davemloft.net>
17393         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17395 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17397         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17398         instead of SIGALRM.
17400         * sysdeps/gnu/_G_config.h: Moved to ...
17401         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17402         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17403         * sysdeps/generic/_G_config.h: ... here.
17405         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17407         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17409         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17410         Conditionalize target on [libnss_test1.so-version].
17412         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17414         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17415         (elfobjdir): Move out of conditionals.
17417         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17418         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17419         (__nss_lookup_function): Conditionalize label remove_from_tree on
17420         [!DO_STATIC_NSS || SHARED], matching its only use.
17422 2012-09-28  David S. Miller  <davem@davemloft.net>
17424         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17425         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17426         file.
17427         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17428         sysdep_routines.
17429         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17431         when HWCAP_SPARC_CRYPTO is present.
17433 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17435         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17437 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17439         [BZ #6530]
17440         * stdio-common/vfprintf.c (process_string_arg): Revert
17441         2000-07-22 change.
17443 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17445         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17446         for testcase.
17447         * stdio-common/tst-sprintf.c: Include <locale.h>
17448         (main): Test sprintf's handling of incomplete multibyte
17449         characters.
17451 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17453         * elf/dl-runtime.c (VERSYMIDX): Removed.
17454         * elf/dl-version.c (VERSYMIDX): Likewise.
17455         * elf/do-rel.h (VERSYMIDX): Likewise.
17456         (VALIDX): Likewise.
17457         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17458         * elf/rtld.c (VALIDX): Likewise.
17459         (ADDRIDX): Likewise.
17460         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17461         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17462         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17463         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17464         (VALIDX): Likewise.
17465         (ADDRIDX): Likewise.
17467 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17469         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17471 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17473         [BZ #11438]
17474         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17475         to global scope.
17476         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17477         addresses are in the same scope as 192.0.2/24.
17478         * posix/gai.conf: Document new scope table defaults.
17480 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17482         [BZ #5298]
17483         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17484         for ftell.  Compute offsets from write pointers instead.
17485         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17487 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17489         [BZ #14543]
17490         * libio/Makefile (tests): New test case tst-fseek.
17491         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17492         combination works in wide mode.
17493         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17494         state when the external buffer state changes.
17496 2012-09-27  David S. Miller  <davem@davemloft.net>
17498         [BZ #14376]
17499         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17500         pass reloc->r_addend in as the 'high' argument to
17501         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17505 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17507         * rt/tst-aio2.c: Include <pthread.h>.
17508         * rt/tst-aio3.c: Likewise.
17510 2012-09-27  Steve Ellcey  <sellcey@mips.com>
17512         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17514 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
17516         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17517         contents on [SHARED].
17519 2012-09-26  Marek Polacek  <polacek@redhat.com>
17521         [BZ #14530]
17522         [BZ #13741]
17523         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17524         for C++ and GCC <4.3 as well as for non GCC compilers.
17526 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17530 2012-09-25  Roland McGrath  <roland@hack.frob.com>
17532         * Makefile.in (all, install): Declare with .PHONY.
17533         Reported by Michael Hope <michael.hope@linaro.org>.
17535 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17537         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17538         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17539         system header.
17540         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17541         Likewise.
17542         (sydep_routines): Add the new and the internal functions.
17543         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17544         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17546         (GLIBC_2.17): Add the new function.
17547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17548         (GLIBC_2.17): Likewise.
17549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17550         (GLIBC_2.17): Likewise.
17551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17552         (GLIBC_2.17): Likewise.
17553         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17555 2012-09-25  Alan Modra  <amodra@gmail.com>
17557         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17558         Add release barrier before setting once_control to say
17559         initialisation is done.  Add hints on lwarx.  Use macro in
17560         place of isync.
17561         (clear_once_control): Add release barrier.
17563 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17565         [BZ #13629]
17566         * math/s_clog.c (__clog): Handle more values close to |z| = 1
17567         specially.
17568         * math/s_clog10.c (__clog10): Likewise.
17569         * math/s_clog10f.c (__clog10f): Likewise.
17570         * math/s_clog10l.c (__clog10l): Likewise.
17571         * math/s_clogf.c (__clogf): Likewise.
17572         * math/s_clogl.c (__clogl): Likewise.
17573         * math/Makefile (libm-calls): Add x2y2m1.
17574         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17575         (__x2y2m1): Likewise.
17576         (__x2y2m1l): Likewise.
17577         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17578         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17579         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17580         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17581         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17582         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17583         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17584         * sysdeps/i386/fpu/libm-test-ulps: Update.
17585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17587         [BZ #14621]
17588         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17589         int as type of variable DEPTH.
17590         (glob): Use size_t instead of int as type of variables NEWCOUNT
17591         and OLD_PATHC.
17593 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17595         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17596         Add s_sincosf-sse2.
17597         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17598         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17599         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17600         macros for using routine as __sincosf_ia32.
17601         Use macro for function declaration and weak_alias.
17602         * sysdeps/i386/fpu/libm-test-ulps: Update.
17604         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17607         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17608         subnormal argument.
17609         * math/s_cexpf.c (__cexpf): Likewise.
17610         * math/s_csinf.c (__csinf): Likewise.
17611         * math/s_csinhf.c (__csinhf): Likewise.
17612         * math/s_ctanf.c (__ctanf): Likewise.
17613         * math/s_ctanhf.c (__ctanhf): Likewise.
17614         * math/s_ccosh.c (__ccoshf): Likewise.
17615         * math/s_cexp.c (__cexpl): Likewise.
17616         * math/s_csin.c (__csin): Likewise.
17617         * math/s_csinh.c (__csinh): Likewise.
17618         * math/s_ctan.c (__ctan): Likewise.
17619         * math/s_ctanh.c (ctanh): Likewise.
17620         * math/s_ccoshl.c (__ccoshl): Likewise.
17621         * math/s_cexpl.c (__cexpl): Likewise.
17622         * math/s_csinl.c (__csinl): Likewise.
17623         * math/s_csinhl.c (__csinhl): Likewise.
17624         * math/s_ctanl.c (__ctanl): Likewise.
17625         * math/s_ctanhl.c (__ctanhl): Likewise.
17627 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17629         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17630         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17631         (_IO_off_t): Define to __off_t, not _G_off_t.
17632         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17633         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17634         (_IO_wint_t): Define to wint_t, not _G_wint_t.
17635         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17636         type of __dummy and __dummy2 fields.
17637         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17638         (_G_ssize_t): Likewise.
17639         (_G_off_t): Likewise.
17640         (_G_pid_t): Likewise.
17641         (_G_uid_t): Likewise.
17642         (_G_wchar_t): Likewise.
17643         (_G_wint_t): Likewise.
17644         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17645         (_G_ssize_t): Likewise.
17646         (_G_off_t): Likewise.
17647         (_G_pid_t): Likewise.
17648         (_G_uid_t): Likewise.
17649         (_G_wchar_t): Likewise.
17650         (_G_wint_t): Likewise.
17651         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17652         (_G_ssize_t): Likewise.
17653         (_G_off_t): Likewise.
17654         (_G_pid_t): Likewise.
17655         (_G_uid_t): Likewise.
17656         (_G_wchar_t): Likewise.
17657         (_G_wint_t): Likewise.
17659 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17661         * malloc/arena.c: Include malloc-sysdep.h.
17662         (shrink_heap): Use check_may_shrink_heap to decide if madvise
17663         is sufficient to shrink the heap or an unmap is needed.
17664         * sysdeps/generic/malloc-sysdep.h: New file.  Define
17665         new function check_may_shrink_heap.
17666         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
17667         new function check_may_shrink_heap.
17669 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17671         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17672         comments.
17674 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
17676         * catgets/test-gencat.sh: Add "set -e".
17677         * elf/tst-pathopt.sh: Likewise.
17678         * grp/tst_fgetgrent.sh: Likewise.
17679         * iconvdata/run-iconv-test.sh: Likewise.
17680         * intl/tst-gettext.sh: Likewise.
17681         * intl/tst-gettext2.sh: Likewise.
17682         * intl/tst-gettext4.sh: Likewise.
17683         * intl/tst-gettext6.sh: Likewise.
17684         * intl/tst-translit.sh: Likewise.
17685         * io/ftwtest-sh: Likewise.
17686         * libio/test-freopen.sh: Likewise.
17687         * malloc/tst-mtrace.sh: Likewise.
17688         * posix/globtest.sh: Likewise.
17689         * posix/tst-getconf.sh: Likewise.
17690         * posix/wordexp-tst.sh: Likewise.
17691         * stdio-common/tst-printf.sh: Likewise.
17692         * stdio-common/tst-unbputc.sh: Likewise.
17693         * stdlib/tst-fmtmsg.sh: Likewise.
17694         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17695         * catgets/Makefile: Do not specify -e option when running
17696         testsuite shell scripts.
17697         * elf/Makefile: Likewise.
17698         * grp/Makefile: Likewise.
17699         * iconvdata/Makefile: Likewise.
17700         * intl/Makefile: Likewise.
17701         * io/Makefile: Likewise.
17702         * libio/Makefile: Likewise.
17703         * malloc/Makefile: Likewise.
17704         * posix/Makefile: Likewise.
17705         * stdio-common/Makefile: Likewise.
17706         * stdlib/Makefile: Likewise.
17707         * sysdeps/x86_64/Makefile: Likewise.
17709         * io/ftwtest-sh: Add copyright header.
17710         * posix/globtest.sh: Likewise.
17711         * posix/tst-getconf.sh: Likewise.
17712         * posix/wordexp-tst.sh: Likewise.
17713         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17715 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
17717         [BZ #13679]
17718         * Makeconfig (+link): Defined as $(+link-static) if
17719         $(build-shared) isn't yes.
17720         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17721         isn't yes.
17722         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17724         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17726         [BZ #14562]
17727         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17728         new chunk size with MALLOC_ALIGN_MASK.
17730 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
17732         [BZ #5044]
17733         * stdio-common/printf_fphex.c: Include <stdbool.h> and
17734         <rounding-mode.h>.
17735         (__printf_fphex): Determine rounding using get_rounding_mode and
17736         round_away.
17737         * stdio-common/tst-printf-round.c (struct hex_test): New
17738         structure.
17739         (hex_tests): New variable.
17740         (test_hex_in_one_mode): New function.
17741         (do_test): Also run tests for hex float output.
17743 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
17745         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17746         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17747         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17748         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17749         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17750         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17751         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17752         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17754 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
17756         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17757         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17758         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17759         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17761 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
17763         [BZ #14579]
17764         * elf/rtld.c (dl_main): Limit the check for self loading to normal
17765         mode only.
17766         * elf/tst-rtld-load-self.sh: New test.
17767         * elf/Makefile: Run it.
17769 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
17771         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17772         (tst-writev-ENV): Remove.
17773         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17775 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
17777         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17779 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
17781         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17782         unconditional.
17783         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17784         Likewise.
17785         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17786         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17787         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17788         Likewise.
17790 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
17792         [BZ #14587]
17793         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17794         * config.make.in (have-cpp-asm-debuginfo): Removed.
17795         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17796         * configure: Regenerated.
17798 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
17800         [BZ #5044]
17801         * stdio-common/printf_fp.c: Include <stdbool.h> and
17802         <rounding-mode.h>.
17803         (___printf_fp): Determine rounding using get_rounding_mode and
17804         round_away.
17805         * stdio-common/tst-printf-round.c: New file.
17806         * stdio-common/Makefile (tests): Add tst-printf-round.
17807         (link-libm): New variable.
17808         ($(objpfx)tst-printf-round): Depend in $(link-libm).
17810 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
17812         [BZ #14576]
17813         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17814         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17815         Likewise.
17816         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17817         Likewise.
17819 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
17821         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17822         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17823         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17824         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17826 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
17828         [BZ #14518]
17829         * include/rounding-mode.h: New file.
17830         * sysdeps/generic/get-rounding-mode.h: Likewise.
17831         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17832         * stdlib/strtod_l.c: Include <rounding-mode.h>.
17833         (MAX_VALUE): New macro.
17834         (MIN_VALUE): Likewise.
17835         (overflow_value): New function.
17836         (underflow_value): Likewise.
17837         (round_and_return): Use overflow_value and underflow_value to
17838         determine return values in overflow and underflow cases.  Use
17839         round_away to determine rounding depending on rounding mode.
17840         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17841         determine return values in overflow and underflow cases.
17842         * stdlib/tst-strtod-round.c: Include <fenv.h>.
17843         (struct test_results): New structure.
17844         (struct test): Use struct test_results to store expected results
17845         for all rounding modes.
17846         (TEST): Include expected results for all rounding modes.
17847         (test_in_one_mode): New function.
17848         (do_test): Use test_in_one_mode to compute and check results.
17849         Check results for all rounding modes.
17850         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17851         $(link-libm).
17853 2012-12-09  Allan McRae  <allan@archlinux.org>
17855         * sysdeps/i386/fpu/libm-test-ulps: Update
17857 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
17859         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17860         (_G_int32_t): Likewise.
17861         (_G_uint16_t): Likewise.
17862         (_G_uint32_t): Likewise.
17863         (_G_HAVE_BOOL): Likewise.
17864         (_G_HAVE_ATEXIT): Likewise.
17865         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17866         (_G_HAVE_IO_FILE_OPEN): Likewise.
17867         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17868         (_G_int32_t): Likewise.
17869         (_G_uint16_t): Likewise.
17870         (_G_uint32_t): Likewise.
17871         (_G_HAVE_BOOL): Likewise.
17872         (_G_HAVE_ATEXIT): Likewise.
17873         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17874         (_G_HAVE_IO_FILE_OPEN): Likewise.
17875         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17876         (_G_int32_t): Likewise.
17877         (_G_uint16_t): Likewise.
17878         (_G_uint32_t): Likewise.
17879         (_G_HAVE_BOOL): Likewise.
17880         (_G_HAVE_ATEXIT): Likewise.
17881         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17882         (_G_HAVE_IO_FILE_OPEN): Likewise.
17884 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
17886         * csu/libc-tls.c: Update copyright years.
17888 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
17890         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17891         [!_G_USING_THUNKS]: Remove conditional code.
17892         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17893         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17895         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17896         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17897         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17898         (_G_VTABLE_LABEL_PREFIX): Likewise.
17899         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17900         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17901         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17902         (_G_VTABLE_LABEL_PREFIX): Likewise.
17903         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17904         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17905         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17906         (_G_VTABLE_LABEL_PREFIX): Likewise.
17907         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17909 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
17911         * libio/Makefile: Include ../Makeconfig before tests.
17912         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17913         only if $(build-shared) is yes.
17915         * iconv/gconv_db.c: Update copyright years.
17917 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17919         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17920         unwind info if defined PIC. Fix special cases description.
17921         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17923         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17924         DP_HI_MASK entry.
17925         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17927 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
17929         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17931         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17932         is NULL.
17934         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17935         (LDLIBS-tst-chk4): This.
17936         (LDFLAGS-tst-chk5): Renamed to ...
17937         (LDLIBS-tst-chk5): This.
17938         (LDFLAGS-tst-chk6): Renamed to ...
17939         (LDLIBS-tst-chk6): This.
17940         (LDFLAGS-tst-lfschk4): Renamed to ...
17941         (LDLIBS-tst-lfschk4): This.
17942         (LDFLAGS-tst-lfschk5): Renamed to ...
17943         (LDLIBS-tst-lfschk5): This.
17944         (LDFLAGS-tst-lfschk6): Renamed to ...
17945         (LDLIBS-tst-lfschk6): This.
17947         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17948         on $(common-objpfx)soversions.mk.
17950 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
17952         [BZ #10014]
17953         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17954         example host name.
17956 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17958         * malloc/arena.c (arena_get_retry): New function that gets
17959         another arena for the caller to try its request on.
17960         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17961         current arena cannot fulfill the request.
17962         (__libc_memalign): Likewise.
17963         (__libc_memalign): Likewise.
17964         (__libc_pvalloc): Likewise.
17965         (__libc_calloc): Likewise.
17967 2012-09-05  John Tobey  <john.tobey@gmail.com>
17969         [BZ #13542]
17970         * manual/arith.texi (Operations on Complex): Fix description
17971         of carg branch cut.
17973 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
17975         [BZ #10014]
17976         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17977         host name.
17979         [BZ #10038]
17980         * manual/memory.texi (Memory): Make order of menu items match
17981         order of sections.
17983 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17985         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17986         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
17987         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17989 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17991         * csu/libc-tls.c (static_dtv): Renamed to ...
17992         (_dl_static_dtv): This.  Make it global.
17993         (_dl_initial_dtv): Removed.
17994         (__libc_setup_tls): Updated.
17995         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17996         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17997         DL_INITIAL_DTV.
17999 2012-09-06  Petr Machata  <pmachata@redhat.com>
18001         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18002         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18003         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18004         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18006 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18008         [BZ #14545]
18009         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18010         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18011         freeing dtv[-1].
18013 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18015         [BZ #14544]
18016         * Makeconfig (link-static-before-libc): Replace $(+prector)
18017         with $(+prectorT).
18018         (link-static-after-libc): Replace $(+postctor) with
18019         $(+postctorT).
18020         (link-bounded): Replace $(+prector)/$(+postctor) with
18021         $(+prectorT)/$(+postctorT).
18022         (+prectorT): New macro.
18023         (+postctorT): Likewise.
18025 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18027         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18028         (round_str): Handle values above the maximum for IBM long double
18029         as inexact.
18030         * stdlib/tst-strtod-round.c (tests): Regenerated.
18032 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18034         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18035         assembler flag.
18036         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18037         zarch_nohighgprs around the zarch optimized routines.
18038         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18039         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18040         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18041         for zarch.
18043 2012-09-05  David S. Miller  <davem@davemloft.net>
18045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18047         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18048         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18049         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18050         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18051         entries.
18053 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18055         * malloc/arena.c: Fold copyright years.
18056         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18058 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18060         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18062 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18064         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18066 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18068         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18069         change internal state upon failure.
18071 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18073         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18074         * malloc/memusage.c (mmap): Likewise.
18075         (mmap64, mremap): Likewise.  Adjust name in comment.
18077 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18079         * libio/fileops.c: Fix typos in comments.
18080         * libio/oldfileops.c: Likewise.
18081         * libio/wfileops.c: Likewise.
18083 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18085         [BZ #1349]
18086         * malloc/Makefile (tests): Add tst-malloc-usable test case.
18087         (tst-malloc-usable-ENV): Set environment for test case.
18088         * malloc/hooks.c (malloc_check_get_size): New function to get
18089         requested size.
18090         * malloc/malloc.c (musable): Use malloc_check_get_size.
18091         * malloc/tst-malloc-usable.c: New test case.
18093 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18095         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18097 2012-09-05  Allan McRae  <allan@archlinux.org>
18099         [BZ #13966]
18100         * configure.in (CXX_SYSINCLUDES): Use compiler output to
18101         determine header location.
18102         * configure: Regenerated.
18104 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18106         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18107         float format.
18108         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18109         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18110         format.
18111         (test): Regenerate.
18113 2012-09-04  David S. Miller  <davem@davemloft.net>
18115         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18116         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18117         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18119 2012-09-04  Florian Weimer  <fweimer@redhat.com>
18121         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18122         failures.
18124         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18126 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
18128         [BZ #9914]
18129         * libio/iogetdelim.c: Include <limits.h>.
18130         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18131         + len + 1 would overflow.
18133 2012-09-03  Andreas Jaeger  <aj@suse.de>
18135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18136         * sysdeps/i386/fpu/libm-test-ulps: Update.
18138 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18140         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18141         Add s_sinf-sse2, s_conf-sse2.
18143         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18144         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18145         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18146         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18148         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18149         for using routine as __sinf_ia32.
18150         Use macro for function declaration and weak_alias.
18151         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18152         for using routine as __cosf_ia32.
18153         Use macro for function declaration and weak_alias.
18155         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18156         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18158         * sysdeps/x86_64/fpu/s_sinf.S: New file.
18159         * sysdeps/x86_64/fpu/s_cosf.S: New file.
18160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18162         * math/libm-test.inc (cos_test): Add more test cases.
18163         (sin_test): Likewise.
18164         (sincos_test): Likewise.
18166 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18168         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18169         (IFUNC_RESOLVE): Make pointers to the specialized implementations
18170         hidden.
18171         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18173 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
18175         [BZ #14538]
18176         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18177         first element of the GOT.
18178         (elf_machine_load_address): Return the difference between
18179         the runtime address of _DYNAMIC and elf_machine_dynamic ().
18181 2012-09-01  Allan McRae  <allan@archlinux.org>
18183         [BZ #13412]
18184         * configure.in (AWK): Require gawk version 3.0 or later.
18185         * configure: Regenerated.
18187 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
18189         * sysdeps/unix/sysv/linux/kernel-features.h
18190         (__ASSUME_POSIX_CPU_TIMERS): Remove.
18191         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18192         [__NR_clock_getres]: Make code unconditional.
18193         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18194         (clock_getcpuclockid): Remove code left unreachable by removal of
18195         conditionals.
18196         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18197         code unconditional.
18198         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18199         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18200         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18201         Make code unconditional.
18202         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18203         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18204         * sysdeps/unix/sysv/linux/clock_settime.c
18205         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18206         conditional code.
18207         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18208         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18210 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
18212         [BZ #14476]
18213         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18214         scripts/test-installation.pl.
18216         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18217         and $ld_so_version if it is set.
18219 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18221         [BZ #14516]
18222         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18223         failure if reading from procfs failed.
18224         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18226 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18228         * sysdeps/unix/sysv/linux/kernel-features.h
18229         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18230         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18231         Remove conditional code.
18232         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18233         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18234         Remove conditional code.
18235         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18236         * sysdeps/unix/sysv/linux/i386/fxstat.c
18237         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18239         * sysdeps/unix/sysv/linux/i386/fxstatat.c
18240         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18242         * sysdeps/unix/sysv/linux/i386/lxstat.c
18243         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18245         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18246         Remove conditional code.
18247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18248         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18249         Remove conditional code.
18250         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18251         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18252         <kernel-features.h>.
18253         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18254         Remove.
18255         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18256         Remove conditional code.
18257         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18258         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18259         Remove conditional.
18261 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
18263         [BZ #5400]
18264         * NEWS: Add fixed bug number.
18266 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18268         [BZ #14519]
18269         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18270         underflowing exponent in case of negative sign.
18271         * stdlib/tst-strtod-round-data: Add more tests.
18272         * stdlib/tst-strtod-round.c (tests): Regenerated.
18274         [BZ #3479]
18275         * stdlib/strtod_l.c (NDIG): Remove.
18276         (HEXNDIG): Likewise.
18277         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18278         smallest representable value.
18279         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18280         lie within an exact representation of 1/2 ulp of the result.
18281         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18282         unconditionally.
18283         (TENS_P9_IDX): Define unconditionally.
18284         (TENS_P9_SIZE): Likewise.
18285         (TENS_P10_IDX): Likewise.
18286         (TENS_P10_SIZE): Likewise.
18287         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18288         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18289         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18290         entries for 10^2^13 and 10^2^14.
18291         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18292         (TENS_P13_IDX): Define.
18293         (TENS_P13_SIZE): Likewise.
18294         (TENS_P14_IDX): Likewise.
18295         (TENS_P14_SIZE): Likewise.
18296         (_fpioconst_pow10): Change array size to
18297         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18298         unconditional.
18299         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18300         1024]: Add entries for 10^2^13 and 10^2^14.
18301         [LAST_POW10 > _LAST_POW10]: Remove #error.
18302         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18303         (_fpioconst_pow10): Change array size to
18304         FPIOCONST_POW10_ARRAY_SIZE.
18305         * stdlib/gen-fpioconst.c: New file.
18306         * stdlib/gen-tst-strtod-round.c: Likewise.
18307         * stdlib/tst-strtod-round-data: Likewise.
18308         * stdlib/tst-strtod-round.c: Likewise.
18309         * stdlib/Makefile (tests): Add tst-strtod-round.
18311         [BZ #14459]
18312         * stdlib/strtod_l.c: Include <stdint.h>.
18313         (NDEBUG): Do not define.
18314         (round_and_return): Change EXPONENT parameter to type intmax_t.
18315         Rearrange calculations to avoid internal overflow possibilities.
18316         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18317         Rearrange calculations to avoid internal overflow possibilities.
18318         Assert that number fits inside MPNSIZE limbs.
18319         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18320         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18321         calculations and add assertions to avoid internal overflow
18322         possibilities.  Add casts to avoid signed/unsigned operations.
18323         * stdlib/tst-strtod-overflow.c: New file.
18324         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18326 2012-08-25  Marek Polacek  <polacek@redhat.com>
18328         * time/time.h: Fix some typos in comments.
18330 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18332         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18333         * posix/tst-rfc3484-2.c: Likewise.
18334         * posix/tst-rfc3484-3.c: Likewise.
18336 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18338         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18339         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18341 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18343         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18344         #include of fxstatat64.c.
18346 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18348         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18349         * shadow/getspent_r.c: Likewise.
18350         * shadow/getspnam.c: Likewise.
18351         * shadow/getspnam_r.c: Likewise.
18352         * gshadow/getsgent.c: Likewise.
18353         * gshadow/getsgent_r.c: Likewise.
18354         * gshadow/getsgnam.c: Likewise.
18355         * gshadow/getsgnam_r.c: Likewise.
18356         * inet/getnetbyad.c: Likewise.
18357         * inet/getnetbyad_r.c: Likewise.
18358         * inet/getnetbynm.c: Likewise.
18359         * inet/getnetbynm_r.c: Likewise.
18360         * inet/getnetent.c: Likewise.
18361         * inet/getnetent_r.c: Likewise.
18362         * inet/getproto.c: Likewise.
18363         * inet/getproto_r.c: Likewise.
18364         * inet/getprtent.c: Likewise.
18365         * inet/getprtent_r.c: Likewise.
18366         * inet/getprtname.c: Likewise.
18367         * inet/getprtname_r.c: Likewise.
18368         * inet/getrpcbyname.c: Likewise.
18369         * inet/getrpcbyname_r.c: Likewise.
18370         * inet/getrpcbynumber.c: Likewise.
18371         * inet/getrpcbynumber_r.c: Likewise.
18372         * inet/getrpcent.c: Likewise.
18373         * inet/getrpcent_r.c: Likewise.
18374         * inet/getaliasent.c: Likewise.
18375         * inet/getaliasent_r.c: Likewise.
18376         * inet/getaliasname.c: Likewise.
18377         * inet/getaliasname_r.c: Likewise.
18378         * nscd/getgrgid_r.c: Likewise.
18379         * nscd/getgrnam_r.c: Likewise.
18380         * nscd/gethstbyad_r.c: Likewise.
18381         * nscd/gethstbynm3_r.c: Likewise.
18382         * nscd/getpwnam_r.c: Likewise.
18383         * nscd/getpwuid_r.c: Likewise.
18384         * nscd/getsrvbynm_r.c: Likewise.
18385         * nscd/getsrvbypt_r.c: Likewise.
18386         * nscd/gai.c: Likewise.
18388         * configure.in (build_nscd): New substituted variable, set
18389         by --disable-build-nscd and defaults to $use_nscd.
18390         * configure: Regenerated.
18391         * config.make.in (build-nscd): New substituted variable.
18392         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18393         Change conditional to require [$(build-nscd) = yes] as well.
18394         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18396         [BZ# 13696]
18397         * configure.in (use_nscd): New substituted variable, set by
18398         --disable-nscd.  If enabled, define USE_NSCD.
18399         * configure: Regenerated.
18400         * config.h.in: Add USE_NSCD.
18401         * config.make.in (use-nscd): New substituted variable.
18402         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18403         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18404         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18405         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18406         (CFLAGS-getgrnam_r.c): Likewise.
18407         (CFLAGS-initgroups.c): Likewise.
18408         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18409         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18410         Variables removed.
18411         * inet/getnetgrent_r.c
18412         (nscd_setnetgrent): New function, broken out of ...
18413         (setnetgrent): ... here.  Call it.
18414         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18415         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18416         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18417         * nscd/Makefile (routines, aux): Move definitions after include of
18418         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18419         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18420         Conditionalize on [USE_NSCD].
18421         (is_nscd, nscd_init_cb): Likewise.
18422         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18423         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18424         * nss/nss_db/db-init.c: Likewise.
18425         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18426         [USE_NSCD].
18427         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18428         (make_request): Use it.
18429         (cache_valid_p): New function.
18430         (__check_pf): Use it.
18431         * NEWS: Add item for --disable-nscd.
18433 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18435         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18436         to support sed >= 4.2.1-20-ga9bf076.
18437         * configure: Regenerated.
18439 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18441         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18442         Conditionalize whole body on [IREL].
18444 2012-08-22  Jeff Law <law@redhat.com>
18446         [BZ #14505]
18447         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18448         if the family is PF_UNSPEC.
18450 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18452         * Makerules (lib-version): Rename from V.
18453         (install-lib-nosubdir): Change V to lib-version.
18455 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18457         [BZ #14252]
18458         * powerpc32/power6/wcschr.c: New file.
18459         * powerpc32/power6/wcscpy.c: New file.
18460         * powerpc32/power6/wcsrchr.c: New file.
18461         * powerpc64/power6/wcschr.c: New file.
18462         * powerpc64/power6/wcscpy.c: New file.
18463         * powerpc64/power6/wcsrchr.c: New file.
18465 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18467         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18468         (two_way_short_needle): Use it.
18469         * string/strstr.c (AVAILABLE1_USES_J): Define.
18470         * string/strcasestr.c: Likewise.
18472         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18473         array references.
18474         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18476         [BZ #11607]
18477         * NEWS: Add an entry.
18478         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18479         define their defaults.
18480         (two_way_short_needle): Detect end-of-string on-the-fly.
18481         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18482         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18483         * string/bug-strcasestr1.c: New test.
18484         * string/Makefile: Run it.
18486 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18488         [BZ #11607]
18489         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18490         the first character.
18492 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18494         * csu/elf-init.c (__libc_csu_irel): Function removed.
18495         * csu/libc-start.c (apply_irel): New function.
18496         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18498 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
18500         * sysdeps/unix/sysv/linux/kernel-features.h
18501         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18502         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18503         <kernel-features.h>.
18504         [__NR_fadvise64_64]: Make code unconditional.
18505         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18506         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18507         !__NR_fadvise64_64)]: Likewise.
18508         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18509         !__NR_fadvise64_64))]: Likewise.
18510         [__NR_fadvise64]: Make code unconditional.
18511         [!__NR_fadvise64]: Remove conditional code.
18512         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18513         <kernel-features.h>.
18514         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18515         unconditional.
18516         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18517         conditional code.
18518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18519         not include <kernel-features.h>.
18520         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18521         unconditional.
18522         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18523         conditional code.
18524         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18525         include <kernel-features.h>.
18526         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18527         unconditional.
18528         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18529         conditional code.
18531 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18533         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18534         slight instruction rearrangements per scrollpipe analysis.
18535         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18537 2012-08-20  Roland McGrath  <roland@hack.frob.com>
18539         * manual/syslog.texi (syslog; vsyslog, closelog):
18540         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18541         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18543         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18544         DSOCAPS to match condition on defining it.
18546 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
18548         * sysdeps/unix/sysv/linux/kernel-features.h
18549         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18551         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18552         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18554         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18555         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18557         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18558         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18560         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18561         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18563         * sysdeps/unix/sysv/linux/kernel-features.h
18564         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18565         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18566         unconditional.
18567         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18568         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18569         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18570         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18571         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18572         Make code unconditional.
18573         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18574         (__mmap64) [!__NR_mmap2]: Likewise.
18575         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18576         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18577         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18578         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18579         [__NR_mmap2]: Make code unconditional.
18580         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18581         (__mmap64) [!__NR_mmap2]: Likewise.
18583 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18585         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18587 2012-08-18  Andreas Jaeger  <aj@suse.de>
18589         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18591 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18593         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18594         * include/unistd.h (__have_sock_cloexec): Likewise.
18595         (__have_pipe2): Likewise.
18596         (__have_dup3): Likewise.
18598 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18600         [BZ #9685]
18601         * include/unistd.h (__have_pipe2): Change define into an extern int.
18602         (__have_dup3): Likewise.
18603         * socket/have_sock_cloexec.c: Include fcntl.h.
18604         (__have_pipe2): New variable.
18605         (__have_dup3): Likewise.
18607 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
18609         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18611 2012-08-17  Marek Polacek  <polacek@redhat.com>
18613         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18614         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18616 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18618         * configure.in: Add AC_SUBST for sysheaders.
18619         * configure: Regenerated.
18620         * config.make.in (sysheaders): New substituted variable.
18622         * sysdeps/unix/mkfifo.c: Moved ...
18623         * sysdeps/posix/mkfifo.c: ... here.
18624         * sysdeps/unix/mkfifoat.c: Moved ...
18625         * sysdeps/posix/mkfifoat.c: ... here.
18627         * sysdeps/unix/utime.c: Moved ...
18628         * sysdeps/posix/utime.c: ... here.
18630         * sysdeps/unix/time.c: Moved ...
18631         * sysdeps/posix/time.c: ... here.
18632         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18633         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18635         * sysdeps/unix/nice.c: Moved ...
18636         * sysdeps/posix/nice.c: ... here.
18638         * sysdeps/unix/alarm.c: Moved ...
18639         * sysdeps/posix/alarm.c: ... here.
18641         * intl/Makefile ($(codeset_mo)): Depend on the input file.
18643 2012-08-17  Jeff Law <law@redhat.com>
18645         * intl/Makefile (codeset_mo): New variable.
18646         ($(codeset_mo)): New target.
18647         (tst-codeset.out): Depend on that.  Remove explicit rule.
18648         (tst-gettext3.out, tst-gettext5.out): Likewise.
18649         (LOCPATH-ENV, tst-codeset-ENV): New variables.
18650         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18651         * intl/tst-codeset.sh: Remove.
18652         * intl/tst-gettext3.sh: Likewise.
18653         * intl/tst-gettext5.sh: Likewise.
18655 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18657         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
18658         * sysdeps/unix/syscalls.list: ... here.
18660         * sysdeps/posix/getaddrinfo.c
18661         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18662         (gaiconf_init, gaiconf_reload): Use them.
18663         [!_STATBUF_ST_NSEC]
18664         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18665         Define using time_t rather than struct timespec.
18667         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18668         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18669         Macros removed.
18670         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18671         [!NO_THREADS].
18672         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18673         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18674         Likewise.
18676         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18677         __libc_cleanup_push argument.
18679         * bits/param.h: New file.
18680         * misc/sys/param.h: New file.
18681         * include/sys/param.h: New file.
18682         * misc/Makefile (headers): Add bits/param.h.
18683         * sysdeps/generic/sys/param.h: File removed.
18684         * sysdeps/unix/sysv/linux/bits/param.h: New file.
18685         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18686         * sysdeps/mach/hurd/bits/param.h: New file.
18687         * sysdeps/mach/hurd/sys/param.h: File removed.
18689         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18690         last change.
18692         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18693         [_IO_MTSAFE_IO].
18694         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18695         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18696         New macros.
18698         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18699         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18700         rather than -D_IO_MTSAFE_IO conditionally.
18701         * stdio-common/Makefile (CPPFLAGS): Likewise.
18702         * wcsmbs/Makefile (CPPFLAGS): Likewise.
18703         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18704         Use $(libio-mtsafe).
18705         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18706         of -D_IO_MTSAFE_IO.
18707         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18708         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18709         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18710         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18711         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18712         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18713         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18714         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18715         (CFLAGS-fread_u_chk.c): Likewise.
18716         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18717         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18718         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18719         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18720         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18721         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18722         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18723         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18724         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18726         * libio/Makefile: Test [$(libc-reentrant) = yes]
18727         instead of [$(filter %REENTRANT, $(defines)) nonempty].
18729         * Makeconfig
18730         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18731         * sysdeps/pthread/configure: File removed.
18732         * sysdeps/pthread/Makeconfig: New file.
18733         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18734         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18736 2012-08-16  Gary Benson  <gbenson@redhat.com>
18738         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18739         unmapping the first object in a namespace.
18741 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18743         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18744         (__internal_setnetgrent): ... this.  Add internal_function to
18745         definition.  Add libc_hidden_def.
18746         (setnetgrent): Update caller.
18747         (internal_endnetgrent): Renamed to ...
18748         (__internal_endnetgrent): ... this.  Add internal_function to
18749         definition.  Add libc_hidden_def.
18750         (endnetgrent): Update caller.
18751         (internal_getnetgrent_r): Renamed to ...
18752         (__internal_getnetgrent_r): ... this.  Add internal_function to
18753         definition.  Add libc_hidden_def.
18754         (__getnetgrent_r): Update caller.
18755         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
18757 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18759         * stdlib/longlong.h: Update from GCC.
18761 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18763         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18764         on _QL, which is set by umul_ppmm but never used.
18765         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18766         variables, which are set by GMP macros but never used.
18767         * stdio-common/_itowa.c (_itowa): Likewise.
18768         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18769         * stdlib/mod_1.c (mpn_mod_1): Likewise.
18771 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
18773         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18774         struct La_sh_regs is not constant.
18775         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18776         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18777         and struct La_sparc64_regs are not constant.
18779 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18781         * sysdeps/unix/sysv/linux/kernel-features.h
18782         (__ASSUME_POSIX_TIMERS): Remove.
18783         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18784         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18785         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18786         Make code unconditional.
18787         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18788         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18789         Make code unconditional.
18790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18791         * sysdeps/unix/sysv/linux/clock_nanosleep.c
18792         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18793         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18794         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18795         Make code unconditional.
18796         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18797         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18798         (__libc_missing_posix_timers): Remove.
18800 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18802         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18803         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18805         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18807         * elf/dl-sym.c: Include <stdlib.h>.
18809         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18810         constants, which avoids warnings in 32-bit builds.
18812         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18813         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18815         * misc/lseek.c: File moved to ...
18816         * io/lseek.c: ... here.
18818         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18820         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18821         shifting LEN more than 31 bits at once.
18823 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18825         [BZ #14195]
18826         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18827         segmentation fault for a case of two empty input strings.
18828         * string/test-strncasecmp.c (check1): Renamed to...
18829         (bz12205): ...this.
18830         (bz14195): Add new testcase for two empty input strings and N > 0.
18831         (test_main): Call new testcase, adapt for renamed function.
18833 2012-08-15  Andreas Jaeger  <aj@suse.de>
18835         [BZ #14090]
18836         * crypt/md5test2.c: New test, based on test supplied by Serge
18837         Belyshev <belyshev@depni.sinp.msu.ru>.
18838         * crypt/Makefile (xtests): Add md5test-giant..
18839         * crypt/Makefile ($(objpfx)md5test-giant): Add.
18841 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
18843         [BZ #14090]
18844         * crypt/md5.c (md5_process_block): Don't assume the buffer
18845         length is less than 2**32.
18846         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18847         length is less than 2**64.
18849 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18851         * string/str-two-way.h: Include <sys/param.h>.
18852         (MAX): Macro removed.
18854         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18855         Move #define and #undef of memmove to just before and after
18856         including <string.h>.
18858         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18859         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18860         and after including <string.h>.  Move declarations of
18861         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18862         to before #include "string/memmove.c".
18864         * include/dirent.h: Declare __getdirentries.
18866         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18867         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18869 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
18871         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18872         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18873         * sysdeps/i386/configure: Regenerated.
18874         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18875         STABS_CURRENT_FILE, and STABS_FUN.
18876         (END): Remove call to STABS_FUN_END.
18877         (STABS_CURRENT_FILE1): Delete.
18878         (STABS_CURRENT_FILE): Likewise.
18879         (STABS_FUN): Likewise.
18880         (STABS_FUN_END): Likewise.
18881         (STABS_FUN2): Likewise.
18882         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18883         * sysdeps/x86_64/configure: Regenerated.
18885 2012-08-14  Roland McGrath  <roland@hack.frob.com>
18887         * elf/dl-open.c: Include <atomic.h>.
18888         * elf/dl-lookup.c: Likewise.
18890 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
18892         * sysdeps/unix/sysv/linux/kernel-features.h
18893         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18894         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18895         unconditionally.
18896         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18897         unconditionally.
18898         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18899         condition on __ASSUME_CLONE_THREAD_FLAGS.
18901 2012-08-14  Andreas Jaeger  <aj@suse.de>
18903         * sysdeps/i386/fpu/libm-test-ulps: Update.
18905 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
18907         * include/atomic.h (atomic_exchange_and_add): Split into ...
18908         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18909         New atomic macros.
18911 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
18913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18915 2012-08-13  Jeff Law <law@redhat.com>
18917         * manual/stdio.texi (snprintf): Clarify handling of the trailing
18918         null byte in the output string.
18920 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
18922         * sysdeps/unix/sysv/linux/kernel-features.h
18923         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18924         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18925         (__ASSUME_ARG_MAX_STACK_BASED): Define.
18926         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18927         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18928         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
18929         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18931 2012-08-09  Jeff Law <law@redhat.com>
18933         [BZ #13939]
18934         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18935         When avoid_arena is set, don't retry in the that arena.  Pick the
18936         next one, whatever it might be.
18937         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18938         (arena_lock): Pass in new parameter to arena_get2.
18939         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18940         arena_get2.
18941         (__libc_malloc): Unify retrying after main arena failure with
18942         __libc_memalign version.
18943         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18945 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18947         [BZ #14166]
18948         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18949         to __redirect_strstr.
18950         (__strstr_sse42): Use typeof __redirect_strstr.
18951         (__strstr_ia32): Likewise.
18952         (__libc_strstr): New prototype.
18953         (strstr): Renamed to ...
18954         (__libc_strstr): This.
18955         (strstr): New strong alias of __libc_strstr.
18956         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18957         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18958         __redirect_time.
18959         Include <time.h>.
18960         (__libc_time): New prototype.
18961         (time_ifunc): Replace time with __libc_time.
18962         (time): New strong alias and hidden definition of __libc_time.
18963         (__GI_time): Remove strong alias.
18964         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18965         Include <stddef.h>.
18966         (memmove): Redefined to __redirect_memmove.
18967         (__memmove_sse2): Use typeof __redirect_memmove.
18968         (__memmove_ssse3): Likewise.
18969         (__memmove_ssse3_back): Likewise.
18970         (__libc_memmove): New prototype.
18971         (memmove): Renamed to ...
18972         (__libc_memmove): This.
18973         (memmove): New strong alias of __libc_memmove.
18975 2012-08-08  Mark Salter  <msalter@redhat.com>
18977         * elf/elf.h
18978         (R_MN10300_TLS_GD): Define.
18979         (R_MN10300_TLS_LD): Likewise.
18980         (R_MN10300_TLS_LDO): Likewise.
18981         (R_MN10300_TLS_GOTIE): Likewise.
18982         (R_MN10300_TLS_IE): Likewise.
18983         (R_MN10300_TLS_LE): Likewise.
18984         (R_MN10300_TLS_DTPMOD): Likewise.
18985         (R_MN10300_TLS_DTPOFF): Likewise.
18986         (R_MN10300_TLS_TPOFF): Likewise.
18987         (R_MN10300_SYM_DIFF): Likewise.
18988         (R_MN10300_ALIGN): Likewise.
18989         (R_MN10300_NUM): Update.
18991 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
18993         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18994         Remove.
18996 2012-08-08  Roland McGrath  <roland@hack.frob.com>
18998         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19000         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19001         sysdeps/unix -> sysdeps/posix move.
19002         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19004 2012-08-07      Allan McRae     <allan@archlinux.org>
19006         [BZ #14303]
19007         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19008         (SUNOS_CPP): Likewise.
19009         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19010         not found.
19011         (open_input): Call CPP using execvp.
19013 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19015         * sysdeps/unix/sysv/linux/kernel-features.h
19016         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19017         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19018         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19019         (__ASSUME_WAITID_SYSCALL): Likewise.
19020         * sysdeps/unix/sysv/linux/dl-execstack.c
19021         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19022         code unconditional.
19023         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19024         conditional code.
19025         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19026         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19027         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19028         code.
19029         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19030         unconditional.
19031         [__ASSUME_WAITID_SYSCALL]: Likewise.
19032         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19034 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19036         * sysdeps/unix/closedir.c: Renamed to ...
19037         * sysdeps/posix/closedir.c: ... here.
19038         * sysdeps/unix/dirfd.c: Renamed to ...
19039         * sysdeps/posix/dirfd.c: ... here.
19040         * sysdeps/unix/dirstream.h: Renamed to ...
19041         * sysdeps/posix/dirstream.h: ... here.
19042         * sysdeps/unix/fdopendir.c: Renamed to ...
19043         * sysdeps/posix/fdopendir.c: ... here.
19044         * sysdeps/unix/opendir.c: Renamed to ...
19045         * sysdeps/posix/opendir.c: ... here.
19046         * sysdeps/unix/readdir.c: Renamed to ...
19047         * sysdeps/posix/readdir.c: ... here.
19048         * sysdeps/unix/readdir_r.c: Renamed to ...
19049         * sysdeps/posix/readdir_r.c: ... here.
19050         * sysdeps/unix/rewinddir.c: Renamed to ...
19051         * sysdeps/posix/rewinddir.c: ... here.
19052         * sysdeps/unix/seekdir.c: Renamed to ...
19053         * sysdeps/posix/seekdir.c: ... here.
19054         * sysdeps/unix/telldir.c: Renamed to ...
19055         * sysdeps/posix/telldir.c: ... here.
19056         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19057         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19058         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19059         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19061         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19062         * bits/fcntl.h: ... here.
19064         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19065         not 0.
19066         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19067         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19068         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19069         (struct flock): Move l_start, l_len to the beginning.
19070         Use __pid_t for l_pid.
19071         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19072         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19073         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19074         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19075         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19076         [__USE_LARGEFILE64] (struct flock64): New type.
19077         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19079         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19080         * bits/dirent.h: ... here.
19082         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19083         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19085 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19087         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19088         Change from 2.6.0 to 2.6.16.
19089         * sysdeps/unix/sysv/linux/configure: Regenerated.
19090         * sysdeps/unix/sysv/linux/kernel-features.h
19091         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19092         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19093         version.
19094         (__ASSUME_UTIMES): Likewise.
19095         (__ASSUME_CLONE_STOPPED): Remove.
19096         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19097         architectures, not kernel version.
19098         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19099         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19100         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19101         (__ASSUME_WAITID_SYSCALL): Likewise.
19102         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19103         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19104         * README: State 2.6.16 as minimum Linux kernel version.  Do not
19105         refer to older versions.
19107 2012-08-06  Roland McGrath  <roland@hack.frob.com>
19109         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19110         Define alphasort64 as an alias.
19111         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19112         Define versionsort64 as an alias.
19113         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19114         Define scandir64 as an alias.
19115         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19116         Define scandirat64 as an alias.
19117         * dirent/alphasort64.c (alphasort64):
19118         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19119         * dirent/versionsort64.c: Likewise.
19120         * dirent/scandir64.c: Likewise.
19121         * dirent/scandirat64.c: Likewise.
19122         * sysdeps/wordsize-64/alphasort.c: File removed.
19123         * sysdeps/wordsize-64/alphasort64.c: File removed.
19124         * sysdeps/wordsize-64/scandir.c: File removed.
19125         * sysdeps/wordsize-64/scandir64.c: File removed.
19126         * sysdeps/wordsize-64/scandirat.c: File removed.
19127         * sysdeps/wordsize-64/scandirat64.c: File removed.
19128         * sysdeps/wordsize-64/versionsort.c: File removed.
19129         * sysdeps/wordsize-64/versionsort64.c: File removed.
19130         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19131         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19132         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19133         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19134         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19135         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19136         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19137         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19139         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19140         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19141         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19142         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19143         [defined __arch64__ || defined __sparcv9]
19144         (__INO_T_MATCHES_INO64_T): New macro.
19145         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19146         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19147         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19148         * sysdeps/unix/sysv/linux/bits/dirent.h
19149         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19150         (_DIRENT_MATCHES_DIRENT64): New macro.
19152         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19153         Define lockf64 as an alias.
19154         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19155         Define fseeko64 as an alias.
19156         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19157         Define ftello64 as an alias.
19158         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19159         Define _IO_fgetpos64 and fgetpos64 as aliases.
19160         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19161         Define _IO_fsetpos64 and fsetpos64 as aliases.
19162         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19163         Conditionalize body on this.
19164         * libio/fseeko64.c: Likewise.
19165         * libio/ftello64.c: Likewise.
19166         * libio/iofgetpos64.c: Likewise.
19167         * libio/iofsetpos64.c: Likewise.
19168         * sysdeps/wordsize-64/lockf.c: File removed.
19169         * sysdeps/wordsize-64/lockf64.c: File removed.
19170         * sysdeps/wordsize-64/fseeko.c: File removed.
19171         * sysdeps/wordsize-64/fseeko64.c: File removed.
19172         * sysdeps/wordsize-64/ftello.c: File removed.
19173         * sysdeps/wordsize-64/ftello64.c: File removed.
19174         * sysdeps/wordsize-64/iofgetpos.c: File removed.
19175         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19176         * sysdeps/wordsize-64/iofsetpos.c: File removed.
19177         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19178         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19179         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19180         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19181         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19182         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19183         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19184         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19185         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19186         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19187         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19189         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19190         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19191         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19192         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19193         [defined __arch64__ || defined __sparcv9]
19194         (__OFF_T_MATCHES_OFF64_T): New macro.
19195         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19196         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19197         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19198         (__OFF_T_MATCHES_OFF64_T): New macro.
19200 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19202         * stdlib/secure-getenv.c (__secure_getenv): Replace
19203         GLIBC_2_16 with GLIBC_2_17.
19205 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19207         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19208         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19210 2012-08-03  David S. Miller  <davem@davemloft.net>
19212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19214 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19216         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19217         Remove.
19218         (__ASSUME_CORRECT_SI_PID): Likewise.
19219         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19220         (__ASSUME_TMPFS_NAME): Likewise.
19221         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19222         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19223         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19224         (HAVE_AUX_SECURE): Make definition unconditional.
19225         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19226         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19228 2012-08-03  Roland McGrath  <roland@hack.frob.com>
19230         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19231         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19232         * sysdeps/mach/hurd/eloop-threshold.h: New file.
19233         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19234         __eloop_threshold instead of SYMLOOP_MAX.
19236         * sysdeps/generic/eloop-threshold.h: New file.
19237         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19238         of MAXSYMLINKS.
19239         * elf/chroot_canon.c (chroot_canon): Likewise.
19241 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19243         [BZ #13717]
19244         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19245         Change to 2.6.0 everywhere.
19246         * sysdeps/unix/sysv/linux/configure: Regenerated.
19247         * sysdeps/unix/sysv/linux/kernel-features.h
19248         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19249         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19250         kernel versions.
19251         (__ASSUME_POSIX_TIMERS): Define unconditionally.
19252         (__ASSUME_FUTEX_REQUEUE): Remove.
19253         (__ASSUME_STATFS64): Define unconditionally.
19254         (__ASSUME_AT_SECURE): Likewise.
19255         (__ASSUME_CORRECT_SI_PID): Likewise.
19256         (__ASSUME_TGKILL): Define without depending on kernel version for
19257         i386.
19258         (__ASSUME_UTIMES): Likewise.
19259         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19260         kernel version.
19261         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19262         (__ASSUME_TMPFS_NAME): Likewise.
19263         * README: Update reference to Linux kernel versions.
19265 2012-08-02  Marek Polacek  <polacek@redhat.com>
19267         [BZ# 14150]
19268         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
19269         libc_cv_asm_type_prefix with %.
19270         * configure: Regenerated.
19271         * include/libc-symbols.h: Remove comment about
19272         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19273         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19274         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19275         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19276         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19277         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19278         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19279         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19280         * elf/tst-unique2mod1.c: Likewise.
19281         * elf/tst-unique1mod2.c: Likewise.
19282         * elf/tst-unique1mod1.c: Likewise.
19283         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19284         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19285         Replace ASM_TYPE_DIRECTIVE with .type.
19286         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19287         * sysdeps/i386/sysdep.h: Likewise.
19288         * sysdeps/x86_64/sysdep.h: Likewise.
19289         * sysdeps/sh/sysdep.h: Likewise.
19290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19291         Do not define ASM_TYPE_DIRECTIVE.
19292         * sysdeps/powerpc/sysdep.h: Likewise.
19293         * sysdeps/powerpc/powerpc32/sysdep.h:
19294         Replace ASM_TYPE_DIRECTIVE with .type.
19295         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19296         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19297         * sysdeps/i386/fpu/e_powf.S: Likewise.
19298         * sysdeps/i386/fpu/e_expl.S: Likewise.
19299         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19300         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19301         * sysdeps/i386/fpu/e_pow.S: Likewise.
19302         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19303         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19304         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19305         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19306         * sysdeps/i386/fpu/e_log2.S: Likewise.
19307         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19308         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19309         * sysdeps/i386/fpu/e_powl.S: Likewise.
19310         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19311         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19312         * sysdeps/i386/fpu/e_logl.S: Likewise.
19313         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19314         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19315         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19316         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19317         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19318         * sysdeps/i386/fpu/e_log.S: Likewise.
19319         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19320         * sysdeps/i386/fpu/e_logf.S: Likewise.
19321         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19322         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19323         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19324         * sysdeps/i386/fpu/e_log10.S: Likewise.
19325         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19326         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19327         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19328         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19329         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19330         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19331         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19332         * sysdeps/i386/i686/strtok.S: Likewise.
19333         * sysdeps/i386/i386-mcount.S: Likewise.
19334         * sysdeps/i386/strtok.S: Likewise.
19335         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19336         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19337         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19338         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19339         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19340         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19341         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19342         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19343         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19344         * sysdeps/x86_64/_mcount.S: Likewise.
19345         * sysdeps/x86_64/strtok.S: Likewise.
19346         * sysdeps/sh/_mcount.S: Likewise.
19348 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19350         * libio/iofopen.c: Include <fcntl.h>.
19351         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19352         (_IO_fopen64, fopen64): Define as aliases.
19353         * libio/iofopen64.c: Include <fcntl.h>.
19354         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19355         Conditionalize body on this.
19356         * sysdeps/wordsize-64/iofopen.c: File removed.
19357         * sysdeps/wordsize-64/iofopen64.c: File removed.
19359 2012-08-01  Marek Polacek  <polacek@redhat.com>
19361         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19362         Use dlfcn directly instead of a variable.
19363         (binfmt-subdir): Do not define.
19364         (dlfcn): Likewise.
19366 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19368         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19369         Remove all definitions.
19370         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19371         <kernel-features.h>.
19372         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19373         (miss_F_GETOWN_EX): Remove all definitions.
19374         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19375         macro definition.
19376         [!__ASSUME_FCNTL64]: Remove conditional code.
19377         [__ASSUME_FCNTL64]: Make code unconditional.
19378         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19379         <kernel-features.h>.
19380         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19381         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19382         (lockf64) [__NR_fcntl64]: Make code unconditional.
19383         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19385         * sysdeps/unix/sysv/linux/kernel-features.h
19386         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19387         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19388         Make code unconditional.
19389         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19390         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19392         [__NR_vfork]: Make code unconditional.
19393         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19394         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19396         [__NR_vfork]: Make code unconditional.
19397         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19398         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19400 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19402         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19403         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19405         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19406         Define mkstemp64 as an alias.
19407         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19408         Define mkstemps64 as an alias.
19409         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19410         Define mkostemp64 as an alias.
19411         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19412         Define mkostemps64 as an alias.
19413         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19414         Conditionalize body on this.
19415         * misc/mkostemp64.c: Likewise.
19416         * misc/mkostemps64.c: Likewise.
19417         * misc/mkstemps64.c: Likewise.
19418         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19419         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19420         * sysdeps/wordsize-64/mkostemp.c: File removed.
19421         * sysdeps/wordsize-64/mkstemp.c: File removed.
19422         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19423         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19424         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19425         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19427         [BZ #14138]
19428         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19429         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19430         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19431         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19433         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19434         compat_symbol macros from <shlib-compat.h> rather than the underlying
19435         default_symbol_version and symbol_version macros, so that DEFAULT
19436         lines in shlib-versions are respected.
19437         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19439 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19441         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19442         Declare with warn_unused_result.
19443         (setgid, setregid, setegid, setresgid): Likewise.
19444         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19445         Likewise.
19446         * WUR-REPORT: Remove set*id functions.
19448 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19450         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19452 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19454         [BZ #10191]
19455         * include/sys/socket.h (__libc_accept, __libc_accept4):
19456         Add attribute_hidden.
19457         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19459         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19460         use of PTR_MANGLE.
19461         * inet/getnetgrent_r.c (setup): Likewise.
19463         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19465 2012-07-31  David S. Miller  <davem@davemloft.net>
19467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19469 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19471         [BZ #13629]
19472         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19473         value between 1.0 and 2.0 and smaller part has absolute value less
19474         than 1.0.
19475         * math/s_clog10.c (__clog10): Likewise.
19476         * math/s_clog10f.c (__clog10f): Likewise.
19477         * math/s_clog10l.c (__clog10l): Likewise.
19478         * math/s_clogf.c (__clogf): Likewise.
19479         * math/s_clogl.c (__clogl): Likewise.
19480         * math/libm-test.inc (clog_test): Add more tests.
19481         (clog10_test): Likewise.
19482         * sysdeps/i386/fpu/libm-test-ulps: Update.
19483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19485 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19487         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19488         Exit with zero in case no suitable GID is found, and write a
19489         message to standard error.
19491 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19493         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19494         rather than to 1.
19495         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19496         (MAXPATHLEN): Removed.
19497         (NOGROUP, NODEV): New macros.
19498         (setbit, clrbit, isset, isclr): New macros.
19499         (howmany, roundup, powerof2): New macros.
19500         (DEV_BSIZE): New macro.
19502         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19503         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19505         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19506         definition on [!__NO_LONG_DOUBLE_MATH].
19508         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19509         PTR_MANGLE and PTR_DEMANGLE.
19511         * socket/accept4.c (accept4): Rename to __libc_accept4.
19512         Define accept4 as a weak alias.
19514         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19515         on [_DIRENT_HAVE_D_TYPE].
19516         * io/ftw.c (ftw_dir): Likewise.
19518         * io/xmknod.c (__xmknod): Don't check PATH for being null.
19520         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19522         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19523         Use the BSD numbers rather than the arbitrary ones we had.
19524         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19525         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19526         (SIGXCPU, SIGXFSZ): New macros.
19527         (_NSIG): Now 32.
19529         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19530         initializer on [_LIBC_REENTRANT].
19532         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19533         definitions inside [_POSIX_MAPPED_FILES].
19535         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19537         * dirent/opendir.c: Include <fcntl.h>.
19539         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19540         (__libc_getspecific): Likewise.
19541         (__libc_key_create): Likewise.
19543         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19544         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19545         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19546         (tmpfile64): Define as alias.
19547         * sysdeps/wordsize-64/tmpfile.c: File removed.
19548         * sysdeps/wordsize-64/tmpfile64.c: File removed.
19549         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19550         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19552         * stdio-common/vfscanf.c: Include <stdbool.h>.
19553         * nss/makedb.c: Likewise.
19554         * stdio-common/_i18n_number.h: Likewise.
19555         * argp/argp-help.c: Likewise.
19556         * posix/wordexp.c: Likewise.
19557         * sysdeps/posix/spawni.c: Likewise.
19558         * nss/nss_files/files-initgroups.c: Likewise.
19559         * stdio-common/reg-modifier.c: Include <stdlib.h>.
19560         * nss/nss_files/files-initgroups.c: Likewise.
19561         * nss/nss_db/db-netgrp.c: Likewise.
19562         * nss/nss_db/db-initgroups.c: Likewise.
19563         * io/fchmodat.c: Include <sys/stat.h>.
19565         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19566         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19568         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19569         [HAVE_MMAP].
19571         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19572         Add multiple inclusion protection.
19574 2012-07-27  David S. Miller  <davem@davemloft.net>
19576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19578 2012-07-27  Gary Benson  <gbenson@redhat.com>
19580         [BZ #14298]
19581         * elf/rtld.c: Include <stap-probe.h>.
19582         (dl_main): Added static probes "init_start" and "init_complete".
19583         * elf/dl-load.c: Include <stap-probe.h>.
19584         (lose): Take new parameter "nsid".
19585         Added static probe "map_failed".
19586         (_dl_map_object_from_fd): Pass namespace id to lose.
19587         Added static probe "map_start".
19588         (open_verify): Pass namespace id to lose.
19589         * elf/dl-open.c: Include <stap-probe.h>.
19590         (dl_open_worker) Added static probes "map_complete", "reloc_start"
19591         and "reloc_complete".
19592         * elf/dl-close.c: Include <stap-probe.h>.
19593         (_dl_close_worker): Added static probes "unmap_start" and
19594         "unmap_complete".
19595         * elf/rtld-debugger-interface.txt: New file documenting the above.
19597 2012-07-26  Roland McGrath  <roland@hack.frob.com>
19599         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19600         rather than a string variable.
19601         * sunrpc/rpc_main.c (h_output): Likewise.
19602         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19604 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
19606         * inet/check_native.c: New file.
19608 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
19610         [BZ #13629]
19611         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19612         if larger part has absolute value 1.0.
19613         * math/s_clog10.c (__clog10): Likewise.
19614         * math/s_clog10f.c (__clog10f): Likewise.
19615         * math/s_clog10l.c (__clog10l): Likewise.
19616         * math/s_clogf.c (__clogf): Likewise.
19617         * math/s_clogl.c (__clogl): Likewise.
19618         * math/libm-test.inc (clog_test): Add more tests.
19619         (clog10_test): Likewise.
19620         * sysdeps/i386/fpu/libm-test-ulps: Update.
19621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19623         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19624         (pltexit): Likewise.
19625         (La_regs): Likewise.
19626         (La_retval): Likewise.
19627         (int_retval): Likewise.
19628         Update #error for removed macros to refer only to definitions in
19629         tst-audit.h.
19630         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19631         macro.
19632         (pltexit): Likewise.
19633         (La_regs): Likewise.
19634         (La_retval): Likewise.
19635         (int_retval): Likewise.
19636         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19637         macro.
19638         (pltexit): Likewise.
19639         (La_regs): Likewise.
19640         (La_retval): Likewise.
19641         (int_retval): Likewise.
19642         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19643         macro.
19644         (pltexit): Likewise.
19645         (La_regs): Likewise.
19646         (La_retval): Likewise.
19647         (int_retval): Likewise.
19648         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19649         macro.
19650         (pltexit): Likewise.
19651         (La_regs): Likewise.
19652         (La_retval): Likewise.
19653         (int_retval): Likewise.
19654         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19655         macro.
19656         (pltexit): Likewise.
19657         (La_regs): Likewise.
19658         (La_retval): Likewise.
19659         (int_retval): Likewise.
19660         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19661         macro.
19662         (pltexit): Likewise.
19663         (La_regs): Likewise.
19664         (La_retval): Likewise.
19665         (int_retval): Likewise.
19666         * sysdeps/generic/tst-audit.h: Update comment to refer only to
19667         macro definitions in tst-audit.h.
19668         * sysdeps/i386/tst-audit.h: New file.
19669         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19670         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19671         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19672         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19673         * sysdeps/sh/tst-audit.h: Likewise.
19674         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19675         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19676         * sysdeps/x86_64/tst-audit.h: Likewise.
19678 2012-07-26  Andreas Jaeger  <aj@suse.de>
19680         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19681         ptrace.
19683         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19684         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19685         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19686         PTRACE_O_MASK.
19687         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19688         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19689         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19691         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19692         value.
19694         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19695         _sigsys.
19696         (si_call_addr, si_syscall, si_arch): Define new macro.
19697         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19698         _sigsys.
19699         (si_call_addr, si_syscall, si_arch): Define new marcro.
19700         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19701         _sigsys.
19702         (si_call_addr, si_syscall, si_arch): Define new macro.
19703         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19704         _sigsys.
19705         (si_call_addr, si_syscall, si_arch): Define new macro.
19707 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19709         [BZ #13717]
19710         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19711         Change to 2.4.21 where previously 2.4.1.
19712         * sysdeps/unix/sysv/linux/configure: Regenerated.
19713         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19714         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19715         Linux kernel version.
19716         (__ASSUME_STD_AUXV): Remove.
19717         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19718         kernel version.
19719         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19720         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19721         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19722         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19723         (__ASSUME_NETLINK_SUPPORT): Likewise.
19724         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19725         (__no_netlink_support): Remove conditional definition.
19726         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19727         Remove.
19728         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19729         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19730         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19731         (if_nameindex_ioctl): Remove.
19732         (if_nameindex_netlink): Do not handle __no_netlink_support.
19733         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19734         code.
19735         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19736         Remove conditional code.
19737         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19738         code.
19739         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19740         unconditional.
19741         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19742         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19743         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19744         Remove.
19745         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19746         [!__ASSUME_STD_AUXV]: Remove conditional code.
19747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19748         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19749         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19751         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19752         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19753         code.
19754         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19756         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19757         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19758         conditional code.
19759         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19761         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19762         code.
19763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19764         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19765         conditional code.
19766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19767         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19768         code unconditional.
19769         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19770         conditional code.
19771         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19772         unconditional.
19773         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19774         conditional code.
19775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19776         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19777         unconditional.
19778         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19779         conditional code.
19780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19781         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19782         code unconditional.
19783         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19784         conditional code.
19785         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19786         unconditional.
19787         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19788         conditional code.
19789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19790         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19791         code unconditional.
19792         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19793         conditional code.
19794         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19795         unconditional.
19796         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19797         conditional code.
19799 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
19801         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19802         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19803         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19804         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19805         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19806         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19807         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19808         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19809         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19810         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19811         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19812         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19813         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19814         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19815         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19816         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19817         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19818         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19819         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19821         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19822         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19823         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19825 2012-07-25  Florian Weimer  <fweimer@redhat.com>
19827         * Versions.def: Add GLIBC_2.17.
19828         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19829         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19830         Introduce __libc_secure_getenv.
19831         * stdlib/Versions (2.17): Add secure_getenv
19832         (GLIBC_PRIVATE): Add __libc_secure_getenv.
19833         * stdlib/secure-getenv.c: Rename __secure_getenv to
19834         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
19835         symbol __secure_getenv for GLIBC_2.0.
19836         * stdlib/tst-secure-getenv.c: New.
19837         * stdlib/Makefile (tests): Add testcase.
19838         * manual/startup.texi (Environment Access): Document
19839         secure_getenv.
19840         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19841         __libc_secure_getenv.
19842         * inet/ruserpass.c (ruserpass): Likewise.
19843         * malloc/mtrace.c (mtrace): Likewise.
19844         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19845         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19846         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19847         * sysdeps/posix/tempname.c: Likewise.  Evaluate
19848         HAVE_SECURE_GETENV.
19849         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19850         __secure_getenv to __libc_secure_getenv.
19851         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19853         Likewise.
19854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19855         Likewise.
19856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19858         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19864 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19866         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19867         (struct La_i86_retval): Likewise.
19868         (struct La_x86_64_regs): Likewise.
19869         (struct La_x86_64_retval): Likewise.
19870         (struct La_x32_regs): Likewise.
19871         (struct La_x32_retval): Likewise.
19872         (struct La_ppc32_regs): Likewise.
19873         (struct La_ppc32_retval): Likewise.
19874         (struct La_ppc64_regs): Likewise.
19875         (struct La_ppc64_retval): Likewise.
19876         (struct La_sh_regs): Likewise.
19877         (struct La_sh_retval): Likewise.
19878         (struct La_s390_32_regs): Likewise.
19879         (struct La_s390_32_retval): Likewise.
19880         (struct La_s390_64_regs): Likewise.
19881         (struct La_s390_64_retval): Likewise.
19882         (struct La_sparc32_regs): Likewise.
19883         (struct La_sparc32_retval): Likewise.
19884         (struct La_sparc64_regs): Likewise.
19885         (struct La_sparc64_retval): Likewise.
19886         (struct audit_ifaces): Remove architecture-specific pltenter and
19887         pltexit members.
19888         * sysdeps/i386/ldsodefs.h: New file.
19889         * sysdeps/powerpc/ldsodefs.h: Likewise.
19890         * sysdeps/s390/ldsodefs.h: Likewise.
19891         * sysdeps/sh/ldsodefs.h: Likewise.
19892         * sysdeps/sparc/ldsodefs.h: Likewise.
19893         * sysdeps/x86_64/ldsodefs.h: Likewise.
19895 2012-07-25  Marek Polacek  <polacek@redhat.com>
19897         [BZ #6808]
19898         * math/libm-test.inc (yn_test): Add another test.
19899         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19900         to ERANGE when the result is +-Inf.
19901         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19902         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19903         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19904         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19906 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
19908         * conform/data/time.h-data (NULL): Use macro-constant.  Require
19909         equal to 0.
19910         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
19911         clock_t.
19912         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
19914 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
19916         * configure.in <sysdeps resolving>: Correct printing
19917         Implies_before.
19918         * configure: Regenerate.
19920 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
19922         * math/w_ilogb.c: Include <limits.h>.
19923         * math/w_ilogbl.c: Likewise.
19925 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
19927         * manual/lang.texi (__va_copy): Document primarily as ISO C99
19928         va_copy.  Document allowing for unavailable va_copy only as
19929         pre-C99 compatibility.
19930         * manual/string.texi (Copying and Concatenation): Use va_copy
19931         instead of __va_copy in concat example.
19933 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
19935         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19936         (__sendto): Use create_address_port.  Initialize APORT and deallocate
19937         it if not null.
19939         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19940         with O_NOLINK passed to __file_name_lookup.
19942         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19943         with O_NOLINK passed to __file_name_lookup.
19945         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19946         negative N or less than NGIDS.
19948         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19949         type to string_t.  Set ERANGE as errno and return it if NAME is not big
19950         enough.  Use memcpy instead of strncpy.
19952 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
19954         * elf/Makefile (check-data): Remove.
19955         (localplt.data): New vpath directive.
19956         ($(objpfx)check-localplt.out): Use localplt.data from vpath
19957         instead of $(check-data).
19958         * scripts/data/localplt-generic.data: Move to ...
19959         * sysdeps/generic/localplt.data: ... here.
19960         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19961         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19962         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19964         ... here.
19965         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19967         ... here.
19968         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19970         ... here.
19971         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19973         ... here.
19974         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19976         ... here.
19977         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19979         ... here.
19981 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19983         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19984         PPC32 and PPC64 files.
19985         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19986         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19988 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19990         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19991         __makecontext_ret to ...
19992         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19993         ... here and call exit if uc_link is NULL.  New file.
19994         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19995         __makecontext_ret.S.
19996         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19997         __makecontext_ret to ...
19998         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19999         ... here and call exit if uc_link is NULL.  New file.
20000         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20001         __makecontext_ret.S.
20003 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20005         * elf/elf.h (R_390_IRELATIVE): New definition.
20006         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20007         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20008         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20009         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20010         (elf_machine_lazy_rel): Likewise.
20011         * sysdeps/s390/dl-irel.h: New file.
20012         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20013         * sysdeps/s390/s390-64/memset.S: New asm code.
20014         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20015         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20016         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20017         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20018         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20019         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20020         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20021         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20022         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20023         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20024         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20025         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20026         * sysdeps/s390/s390-32/memset.S: New asm code.
20027         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20029 2012-07-17  Marek Polacek  <polacek@redhat.com>
20031         [BZ #14349]
20032         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20033         * sysdeps/s390/s390-64/configure.in: Likewise.
20034         * sysdeps/sparc/configure.in: Likewise.
20035         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20036         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20037         * sysdeps/i386/configure.in: Likewise.
20038         * sysdeps/x86_64/configure.in: Likewise.
20039         * sysdeps/sh/configure.in: Likewise.
20040         * sysdeps/s390/s390-32/configure: Regenerated.
20041         * sysdeps/s390/s390-64/configure: Likewise.
20042         * sysdeps/x86_64/configure: Likewise.
20043         * sysdeps/sh/configure: Likewise.
20044         * sysdeps/powerpc/powerpc64/configure: Likewise.
20045         * sysdeps/powerpc/powerpc32/configure: Likewise.
20046         * sysdeps/sparc/configure: Likwise.
20047         * sysdeps/i386/configure: Likewise.
20049         * elf/dl-open.c: Comment fixes.
20051 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20053         * Makefile [CXX] (check-data): Remove.
20054         [CXX] (c++-types.data): New vpath directive.
20055         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20056         vpath.  Do not allow for C++ type data being missing.
20057         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20058         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20059         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20060         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20061         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20062         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20063         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20065         ... here.
20066         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20068         ... here.
20069         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20071         ... here.
20072         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20074         ... here.
20075         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20077         ... here.
20078         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20080         ... here.
20081         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20083         ... here.
20084         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20087         * elf/tls-macros.h (TLS_LE): Move architecture-specific
20088         definitions to architecture-specific files.
20089         (TLS_IE): Likewise.
20090         (TLS_LD): Likewise.
20091         (TLS_GD): Likewise.
20092         * sysdeps/i386/tls-macros.h: New file.
20093         * sysdeps/powerpc/tls-macros.h: Likewise.
20094         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20095         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20096         * sysdeps/sh/tls-macros.h: Likewise.
20097         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20098         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20099         * sysdeps/x86_64/tls-macros.h: Likewise.
20101 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20103         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20104         zero value for regular exit case.
20106         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20107         (__start_context): Preserve zero value for regular exit case.
20109 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20110             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20112         * manual/setjmp.texi (setcontext): Clarify normal process
20113         termination when uc_link is the null pointer.
20114         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20115         exit call.
20117 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
20119         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20120         preprocessor.  Test for each exception mask separately.
20122 2012-07-16  Andreas Jaeger  <aj@suse.de>
20124         * po/ru.po: Update from translation team.
20126 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
20128         * conform/data/string.h-data (NULL): Use macro-constant.  Require
20129         equal to 0.
20130         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20131         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20132         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20133         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20134         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20136 2012-07-13  Andreas Jaeger  <aj@suse.de>
20138         * po/fr.po: Update from translation team.
20140 2012-07-12  Marek Polacek  <polacek@redhat.com>
20142         [BZ #14173]
20143         * math/libm-test.inc (yn_test): Add test for BZ #14173.
20144         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20145         loop condition.
20147 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
20149         [BZ #13717]
20150         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20151         Change to 2.4.1 where previously 2.4.0.
20152         * sysdeps/unix/sysv/linux/configure: Regenerated.
20153         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20154         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20155         version.
20156         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20157         (__ASSUME_AT_CLKTCK): Remove.
20158         (__ASSUME_AT_PAGESIZE): Likewise.
20159         (__ASSUME_AT_XID): Likewise.
20160         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20161         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20162         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20163         unconditionally.
20164         (HAVE_AUX_PAGESIZE): Likewise.
20165         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20166         [__ASSUME_AT_CLKTCK]: Make code unconditional.
20167         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20169 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
20171         [BZ #14307]
20172         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20173         the temporary buffer used to invoke __gethostbyname2_r,
20174         __gethostbyaddr_r and gethostbyname4_r to make room for struct
20175         host_data / struct gaih_addrtuple.
20176         * resolv/nss_dns/dns-host.c (global scope): Move definition of
20177         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20178         header file nss/nsswitch.h.
20179         * nss/nsswitch.h (global scope): Add definition of implementation
20180         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20181         resolv/nss_dns/dns-host.c).
20183 2012-07-11  Andreas Jaeger  <aj@suse.de>
20185         * po/fr.po: Update from translation team.
20187         * po/sv.po: Update from translation team
20188         * po/fr.po: Another update from translation team.
20190 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20192         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20193         for subnormals or multiply small sinh result by itself.
20194         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20197 2012-07-11  David S. Miller  <davem@davemloft.net>
20199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20201 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
20203         [BZ #14347]
20204         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20205         (INTERNAL_MARK): Shift it here.
20207 2012-07-10  Marek Polacek  <polacek@redhat.com>
20209         [BZ #14151]
20210         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
20211         libc_cv_asm_global_directive with .globl.
20212         * configure: Regenerated.
20213         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20214         with .globl.
20215         * sysdeps/i386/configure: Regenerated.
20216         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20217         with .globl.
20218         * sysdeps/x86_64/configure: Regenerated.
20219         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20220         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20221         * elf/tst-unique2mod2.c: Likewise.
20222         * elf/tst-unique2mod1.c: Likewise.
20223         * elf/tst-unique1mod2.c: Likewise.
20224         * elf/tst-unique1mod1.c: Likewise.
20225         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20226         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20227         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20228         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20229         * sysdeps/mach/sysdep.h: Likewise.
20230         * sysdeps/i386/sysdep.h: Likewise.
20231         * sysdeps/i386/i386-mcount.S: Likewise.
20232         * sysdeps/x86_64/_mcount.S: Likewise.
20233         * sysdeps/x86_64/sysdep.h: Likewise.
20234         * sysdeps/sh/_mcount.S: Likewise.
20235         * sysdeps/sh/sysdep.h: Likewise.
20236         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20237         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20238         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20239         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20240         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20241         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20242         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20243         * locale/localeinfo.h: Likewise.
20244         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20245         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20247 2012-07-09  Roland McGrath  <roland@hack.frob.com>
20249         [BZ #14336]
20250         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20251         system".
20252         * manual/message.texi (The Uniforum approach): Likewise.
20253         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20254         (glibc iconv Implementation): Likewise.
20256 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
20258         [BZ #14337]
20259         * math/s_clog.c (__clog): Avoid scaling a value down where that
20260         could result in underflow.
20261         * math/s_clog10.c (__clog10): Likewise.
20262         * math/s_clog10f.c (__clog10f): Likewise.
20263         * math/s_clog10l.c (__clog10l): Likewise.
20264         * math/s_clogf.c (__clogf): Likewise.
20265         * math/s_clogl.c (__clogl): Likewise.
20266         * math/libm-test.inc (clog_test): Add more tests.
20267         (clog10_test): Likewise.
20268         * sysdeps/i386/fpu/libm-test-ulps: Update.
20269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20271 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
20273         [BZ #14283]
20274         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20275         by 7 not 8 to examine high bit of fractional part.
20277         [BZ #14042]
20278         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20279         for call to __mcount_internal.
20280         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20281         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20282         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20284 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
20286         [BZ #14154]
20287         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20288         approximation for values within 0x1p-13f of an odd multiple of
20289         pi/4.
20290         * math/libm-test.inc (tan_test): Do not allow spurious underflow
20291         exception.  Add more tests.
20292         * sysdeps/i386/fpu/libm-test-ulps: Update.
20294         [BZ #6778]
20295         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20296         inputs and return -1 for them.  Do not check for +Inf in case not
20297         reachable for +Inf.
20298         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20299         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20300         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20301         and return -1 for them.  Do not check for +Inf in case not
20302         reachable for +Inf.
20303         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20304         define.
20305         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20306         and return -1 for them.  Do not check for +Inf in case not
20307         reachable for +Inf.
20308         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20309         spurious underflow.
20310         * sysdeps/i386/fpu/libm-test-ulps: Update.
20311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20313 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20315         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20317 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20319         [BZ #14157]
20320         [BZ #14331]
20321         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20322         could result in spurious underflow.  Scale down values above
20323         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20324         * math/s_csqrtf.c (__csqrtf): Likewise.
20325         * math/s_csqrtl.c (__csqrtl): Likewise.
20326         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20327         spurious underflow.
20328         * sysdeps/i386/fpu/libm-test-ulps: Update.
20329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20331 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20333         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20334         xopen-msg.sed.
20335         * catgets/xopen-msg.awk: New file.
20336         * catgets/xopen-msg.sed: Removed.
20338         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20339         po2text.sed.
20340         * intl/po2test.awk: New file.
20341         * intl/po2test.sed: Removed.
20343 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20345         [BZ #14328]
20346         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20347         or multiply small sinh result by itself.
20348         * math/s_ctanf.c (__ctanf): Likewise.
20349         * math/s_ctanh.c (__ctanh): Likewise.
20350         * math/s_ctanhf.c (__ctanhf): Likewise.
20351         * math/s_ctanhl.c (__ctanhl): Likewise.
20352         * math/s_ctanl.c (__ctanl): Likewise.
20353         * math/libm-test.inc (ctan_test_tonearest): New function.
20354         (ctan_test_towardzero): Likewise.
20355         (ctan_test_downward): Likewise.
20356         (ctan_test_upward): Likewise.
20357         (ctanh_test_tonearest): Likewise.
20358         (ctanh_test_towardzero): Likewise.
20359         (ctanh_test_downward): Likewise.
20360         (ctanh_test_upward): Likewise.
20361         (main): Call these new functions.
20362         * sysdeps/i386/fpu/libm-test-ulps: Update.
20363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20365 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20367         * .gitignore: Delete /ports entry.
20369 2012-07-03  Andreas Jaeger  <aj@suse.de>
20371         * po/bg.po: Update from translation team.
20372         * po/cs.po: Likewise.
20373         * po/de.po: Likewise.
20374         * po/hr.po: Likewise.
20375         * po/nl.pl: Likewise.
20376         * po/pl.po: Likewise.
20377         * po/vi.po: Likewise.
20379 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20381         * Makeconfig [!+link] (+link-before-libc): New variable.
20382         [!+link] (+link-after-libc): Likewise.
20383         [!+link] (+link-tests): Likewise.
20384         [!+link] (+link): Define in terms of $(+link-before-libc) and
20385         $(+link-after-libc).
20386         [!+link-static] (+link-static-before-libc): New variable.
20387         [!+link-static] (+link-static-after-libc): Likewise.
20388         [!+link-static] (+link-static-tests): Likewise.
20389         [!+link-static] (+link-static): Define in terms of
20390         $(+link-static-before-libc) and $(+link-static-after-libc).
20391         [build-shared] (link-libc-before-gnulib): New variable.
20392         [build-shared] (link-libc-tests): Likewise.
20393         [build-shared] (link-libc): Define in terms of
20394         $(link-libc-before-gnulib).
20395         [!build-shared] (link-libc-tests): New variable.
20396         (link-libc-static-tests): New variable.
20397         [!gnulib] (gnulib-arch): New variable.
20398         [!gnulib] (gnulib-tests): Likewise.
20399         [!gnulib] (static-gnulib-arch): Likewise.
20400         [!gnulib] (static-gnulib-tests): Likewise.
20401         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20402         Define with "=" instead of ":=".
20403         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20404         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20405         * Rules (binaries-all-notests): New variable.
20406         (binaries-all-tests): Likewise.
20407         (binaries-static-notests): Likewise.
20408         (binaries-static-tests): Likewise.
20409         (binaries-all): Define using $(binaries-all-notests) and
20410         $(binaries-all-tests).
20411         (binaries-static): Define using $(binaries-static-notests) and
20412         $(binaries-static-tests).
20413         (binaries-shared-tests): New variable.
20414         (binaries-shared-notests): Likewise.
20415         (binaries-shared): Remove variable.
20416         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20417         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20418         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20419         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20420         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20421         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20422         * elf/Makefile (sln-modules): New variable.
20423         (extra-objs): Add $(sln-modules:=.o).
20424         (ldconfig-modules): Add static-stubs.
20425         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20426         * elf/static-stubs.c: New file.
20428         [BZ #14283]
20429         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20430         by 7 not 8 to examine high bit of fractional part.  Use volatile
20431         variables when splitting into final array of floats if
20432         __FLT_EVAL_METHOD__ != 0.
20433         * math/libm-test.inc (cos_test): Add another test.
20434         (sin_test): Likewise.
20435         * sysdeps/i386/fpu/libm-test-ulps: Update.
20437         [BZ #14273]
20438         * math/libm-test.inc (cosh_test): Add more tests.
20440         * version.h (RELEASE): Set to "development".
20441         (VERSION): Set to "2.16.90".
20443 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20445         * NEWS: Update copyright. Remove last-updated date.
20446         Mention math library bug fixes and timezone data changes.
20447         * README: Mention GNU/Hurd, x32, and HPPA support status.
20449 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20451         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20453 2012-06-27  Andreas Jaeger  <aj@suse.de>
20455         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20457 2012-06-25  Andreas Jaeger  <aj@suse.de>
20459         * sysdeps/s390/fpu/libm-test-ulps: Update.
20461 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20462             Thomas Schwinge  <thomas@codesourcery.com>
20464         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20465         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20466         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20467         fanotify_mark.
20469 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20471         * sysdeps/mach/start.c: Remove file.
20472         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20473         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20474         * sysdeps/sh/init-first.c: Likewise.
20476         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20477         registers for frame unwinding purposes, add CFI directives.
20478         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20479         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20480         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20481         Likewise.
20483         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20484         __fortify_fail returning.
20485         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20487         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20488         sysdeps/sh/____longjmp_chk.S.
20489         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20490         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20491         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20492         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20494         * sysdeps/sh/abort-instr.h: New file.
20495         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20496         process in case exit returns.
20498         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20499         initialize the GOT register before use.
20501         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20502         calculation of ARGC > 4.
20504         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20505         meaningful names to some local labels.
20507 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20508             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20510         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20511         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20512         (__arch_compare_and_exchange_val_16_acq): Likewise.
20513         (__arch_compare_and_exchange_val_32_acq): Likewise.
20514         (atomic_exchange_and_add): Fix gUSA sequence.
20515         (atomic_add): Likewise.
20516         (atomic_add_negative): Likewise.
20517         (atomic_add_zero): Likewise.
20518         (atomic_bit_test_set): Likewise.
20520 2012-06-22  Andreas Schwab  <schwab@redhat.com>
20522         [BZ #13579]
20523         * include/link.h (struct link_map): Add l_free_initfini.
20524         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20525         l_initfini.
20526         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20527         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20528         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20529         set.
20531 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
20533         * configure.in: Use AC_LANG_SOURCE.
20534         * configure: Regenerate.
20536 2012-06-22  Roland McGrath  <roland@hack.frob.com>
20538         * configure.in (libc_cv_localstatedir): New substituted variable.
20539         * configure: Regenerated.
20540         * config.make.in (localstatedir): New variable, substituted from
20541         libc_cv_localstatedir.
20542         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20543         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20544         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20545         * sysdeps/gnu/configure: Regenerated.
20547 2012-06-21  Jeff Law  <law@redhat.com>
20549         [BZ #14277]
20550         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20551         free.  Simplify list management for _LIBC case.
20553 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20555         [BZ #14273]
20556         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20557         Clear sign bit of 64-bit integer value before comparing against
20558         overflow value.
20560         * sysdeps/mach/configure: Regenerated.
20562 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
20564         [BZ #14278]
20565         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20567 2012-06-21  Jeff Law  <law@redhat.com>
20569         [BZ #13882]
20570         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
20571         uint16_t for elements in the "seen" array to avoid char overflows.
20572         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20573         * elf/dl-open.c (dl_open_worker): Likewise.
20575 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
20577         * scripts/list-sources.sh: Scan PORTS for translations.
20578         * po/libc.pot: Regenerated.
20580 2012-06-21  Andreas Jaeger  <aj@suse.de>
20582         [BZ #12194]
20583         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20584         warning.
20585         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20586         * bits/byteswap-16.h (__bswap_16): Likewise.
20587         * bits/byteswap.h (__bswap_constant_16): Likewise.
20589 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
20591         [BZ #14117]
20592         * sysdeps/i386/fpu_control.h: Removed.
20593         * sysdeps/x86_64/fpu_control.h: Moved to ...
20594         * sysdeps/x86/fpu_control.h: Here.
20596         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20597         (_FPU_SETCW): Likewise.
20599 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
20601         [BZ #14117]
20602         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20603         * sysdeps/x86/fpu/bits/mathinline.h: This.
20604         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20606         [BZ #14050]
20607         [BZ #14117]
20608         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20609         functions if __x86_64__ is defined.
20611 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
20613         * string/endian.h: Add !__ASSEMBLER__ condition for including
20614         conversion interfaces.
20616 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
20618         [BZ #14241]
20619         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20620         of ABS(x) in calculating zero to negative powers other than odd
20621         integers.
20622         * math/libm-test.inc (pow_test): Add more tests.
20624 2012-06-15  Andreas Jaeger  <aj@suse.de>
20626         * manual/contrib.texi (Contributors): Update entry of Liubov
20627         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20628         Machado Filho.
20630 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
20632         * string/string.h: Add __wur to GNU version of strerror_r.
20634 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
20636         [BZ #14229]
20637         * string/Makefile (tests): Add tst-strtok_r.
20638         * string/tst-strtok_r.c: New file.
20639         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20640         RAX_LP/RDX_LP on SAVE_PTR.
20642 2012-06-14  Roland McGrath  <roland@hack.frob.com>
20644         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20646 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
20648         * libm_test.inc (csqrt_test): Allow more spurious underflow
20649         exceptions.
20650         (j0_test): Likewise.
20651         (j1_test): Likewise.
20652         (y0_test): Likewise.
20653         (y1_test): Likewise.
20655 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
20657         * po/Makefile (libc.pot): Use UTF-8 charset.
20659 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
20661         [BZ #14210]
20662         Suppress sign-conversion warning from FD_SET.
20663         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20664         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20665         not unsigned long int.
20666         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20668 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
20670         [BZ #14050]
20671         [BZ #14117]
20672         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20673         __extern_always_inline instead of __extern_inline.
20674         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20675         (__signbit): Likewise.
20676         (__signbitl): Support C++ namespace.
20677         (lrintf): New inline function.
20678         (lrint): Likewise.
20679         (llrintf): Likewise.
20680         (llrint): Likewise.
20681         (fmaxf): Likewise.
20682         (fmax): Likewise.
20683         (fminf): Likewise.
20684         (fmin): Likewise.
20685         (rint): Likewise.
20686         (rintf): Likewise.
20687         (ceil): Likewise.
20688         (ceilf): Likewise.
20689         (floor): Likewise.
20690         (floorf): Likewise.
20691         (nearbyint): Likewise.
20692         (nearbyintf): Likewise.
20694 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
20696         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20697         non-default versions.
20699 2012-06-11  Roland McGrath  <roland@hack.frob.com>
20701         [BZ #14218]
20702         * manual/argp.texi (Argp): Reword argp_parse description slightly.
20704 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
20706         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20707         (FE_UPWARD, FE_DOWNWARD): Don't define.
20708         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20709         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20711         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20712         reading it.
20713         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20714         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20716 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20718         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20719         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20720         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20721         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20723 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20725         [BZ #14117]
20726         * sysdeps/i386/fpu/bits/fenv.h: Removed.
20727         * sysdeps/i386/fpu/Implies: New file.
20728         * sysdeps/x86_64/fpu/Implies: Likewise.
20729         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20730         * sysdeps/x86/fpu/bits/fenv.h: This.
20732         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20733         __SSE_MATH__.
20735 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20737         [BZ #14134]
20738         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20739         character 0xffff that matches the last element of the
20740         conversion table.
20742 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20744         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20745         fmodl commit.
20747 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20749         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20750         values higher than 25.6283.
20752 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20754         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20755         subnormal exponent extraction and add some __builtin_expect.
20756         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20757         Fix for subnormal mantissa calculation.
20759 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
20761         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20762         cpu2 is -1 and errno is not ENOSYS.
20764 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
20766         [BZ #14117]
20767         * sysdeps/i386/i486/bits/string.h: Renamed to ...
20768         * sysdeps/x86/bits/string.h: This.
20769         * sysdeps/x86_64/bits/string.h: Removed.
20771         * sysdeps/i386/i486/bits/string.h: Define inline functions only
20772         if not compiling for x86-64, but compiling for >= i486.
20774         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20775         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20777         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20778         New macro from Linux kernel 3.4.0.
20779         (FP_XSTATE_MAGIC2): Likewise.
20780         (FP_XSTATE_MAGIC2_SIZE): Likewise.
20781         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20782         (struct _fpx_sw_bytes): New struct.
20783         (struct _xsave_hdr): Likewise.
20784         (struct _ymmh_state): Likewise.
20785         (struct _xstate): Likewise.
20787         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20788         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20789         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20790         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20791         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20792         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20794         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20795         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20796         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20797         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20798         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20799         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20801 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20803         [BZ #13743]
20804         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20805         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20806         (sysdep_headers): Include sys/platform/ppc.h.
20807         * sysdeps/powerpc/test-gettimebase.c: Test for
20808         __ppc_get_timebase() to catch future ISA opcode/insn changes.
20809         * manual/Makefile (appendices): Include platform.texi.
20810         * manual/contrib.texi (Contributors): Update @node pointers.
20811         * manual/maint.texi (Maintenance): Likewise.
20812         (Platform): New node.
20813         * manual/platform.texi: New file.  Document the new features.
20815 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20816             Jakub Jelinek  <jakub@redhat.com>
20818         [BZ #14188]
20819         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20820         where __builtin_expect is unavailable.
20822 2012-06-03  David S. Miller  <davem@davemloft.net>
20824         * stdlib/longlong.h: Updated from GCC.
20826 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
20828         [BZ #14042]
20829         * sysdeps/powerpc/powerpc32/mcount.c: New file.
20830         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20831         __mcount_internal.
20832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20833         (GLIBC_2.16): Likewise.
20835 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20837         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20839 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20842         (default-abi): New variable.
20843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20844         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20845         variable.
20846         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20847         Likewise.
20848         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20849         Likewise.
20850         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20851         Likewise.
20853         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20854         definition.  Document in comment.
20856 2012-06-01  David S. Miller  <davem@davemloft.net>
20858         * stdlib/longlong.h: Updated from GCC.
20860 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20862         [BZ #14117]
20863         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20864         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20865         sys/debugreg.h sys/io.h here.
20866         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20867         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20868         sys/io.h.
20869         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20870         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20871         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20872         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20873         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20874         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20876         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20877         Define only if __x86_64__ is defined.
20879 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20881         [BZ #14048]
20882         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20883         Use int64_t for variable i.
20884         * math/libm-test.inc (fmod_test): Add more tests.
20886         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20887         z computation is not scheduled after fetestexcept.
20888         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20889         Use math_force_eval instead of asm to ensure calculation scheduled
20890         before exception test.
20891         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20892         Ensure a1 + u.d computation is not scheduled after fetestexcept.
20894 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
20896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20897         computation is not scheduled after fetestexcept.
20899 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20901         [BZ #14117]
20902         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20903         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20905 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20907         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20908         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20910 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
20912         [BZ #14117]
20913         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20914         <bits/wordsize.h>.
20915         (__WCHAR_MIN): Support __WORDSIZE == 64.
20916         (__WCHAR_MAX): Likewise.
20918         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20919         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20921         [BZ #14183]
20922         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20923         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20925         [BZ #14117]
20926         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20927         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20929         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20930         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20932         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20933         Defined to 1 if __x86_64__ isn't defined.
20934         (_STAT_VER_LINUX_OLD): New.
20935         (st_atime): Remove duplicate.
20936         (st_mtime): Likewise.
20937         (st_ctime): Likewise.
20939 2012-05-31  David S. Miller  <davem@davemloft.net>
20941         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20942         entries.
20944 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
20946         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20947         gen-libm-test.pl.
20949         [BZ #14132]
20950         * elf/dl-reloc.c: Include <_itoa.h>.
20951         (_dl_reloc_bad_type): Remove use of INTUSE.
20952         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20953         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20954         * stdio-common/psiginfo.c (psiginfo): Likewise.
20955         * stdio-common/psignal.c (psignal): Likewise.
20956         * string/strsignal.c (strsignal): Likewise.
20957         * include/signal.h (_sys_siglist): Declare hidden proto.
20958         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
20959         INTVARDEF with libc_hidden_data_def.
20960         * stdio-common/itoa-udigits.c: Likewise.
20961         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20962         (_itoa_lower_digits_internal): Remove declaration.
20963         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20964         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20965         (_sys_sigabbrev_internal): Remove aliases.
20966         (_sys_siglist): Define hidden alias.
20968 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
20970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20971         bits/sysctl.h.
20973 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
20975         [BZ #14117]
20976         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20977         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20979         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20980         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20981         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20982         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20983         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20984         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20986         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20987         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20988         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20990         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20991         with __addr.
20992         (insw): Likewise.
20993         (insl): Likewise.
20994         (outsb): Likewise.
20995         (outsw): Likewise.
20996         (outsl): Likewise.
20998         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20999         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21000         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21002         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21003         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21004         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21005         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21006         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21007         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21009         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21010         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21012         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21013         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21015         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21016         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21017         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21019         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21020         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21021         to ...
21022         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21024         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21025         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21026         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21028         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21029         for x86-64.
21030         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21032 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21034         * math/math.h (M_El): Use two more decimal places.
21035         (M_LOG2El): Likewise.
21036         (M_LOG10El): Likewise.
21037         (M_LN2l): Likewise.
21038         (M_LN10l): Likewise.
21039         (M_PIl): Likewise.
21040         (M_PI_2l): Likewise.
21041         (M_PI_4l): Likewise.
21042         (M_1_PIl): Likewise.
21043         (M_2_PIl): Likewise.
21044         (M_2_SQRTPIl): Likewise.
21045         (M_SQRT2l): Likewise.
21046         (M_SQRT1_2l): Likewise.
21048 2012-05-31  David S. Miller  <davem@davemloft.net>
21050         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21051         values between float registers.
21052         * sysdeps/sparc/sparc64/memset.S: Likewise.
21053         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21055 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21057         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21058         -D_FORTIFY_SOURCE=1.
21059         (CPPFLAGS-tst-longjmp_chk.c): Define.
21060         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21061         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21062         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21063         CFLAGS-tst-wchar-h.c.
21065 2012-05-31  Marek Polacek  <polacek@redhat.com>
21067         [BZ #14132]
21068         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21069         __endmntent_internal): Remove declaration.
21070         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21071         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21072         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21074 2012-05-30  David S. Miller  <davem@davemloft.net>
21076         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21077         (___Q_simulate_exceptions): Use real FP ops rather than writing
21078         into the %fsr.
21079         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21080         Likewise.
21082 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21084         [BZ #14117]
21085         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21086         * sysdeps/x86/bits/xtitypes.h: This.
21088         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21089         * sysdeps/x86/bits/wordsize.h: This.
21091         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21092         * sysdeps/x86/bits/huge_vall.h: This.
21094         * sysdeps/i386/bits/select.h: Removed.
21095         * sysdeps/x86_64/bits/select.h: Renamed to ...
21096         * sysdeps/x86/bits/select.h: This.
21098         * sysdeps/i386/bits/setjmp.h: Removed.
21099         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21100         * sysdeps/x86/bits/setjmp.h: This.
21102         * sysdeps/i386/bits/mathdef.h: Removed.
21103         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21104         * sysdeps/x86/bits/mathdef.h: This.
21106 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
21108         [BZ #14132]
21109         * include/sys/socket.h (__connect_internal)
21110         (__libc_sa_len_internal): Remove declaration.
21111         (__connect, __libc_sa_len): Declare hidden_proto.
21112         (SA_LEN): Remove use of INTUSE.
21113         * socket/connect.c: Add libc_hidden_def.
21114         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21115         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21116         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21117         alias.
21118         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21119         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21120         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21121         of adding _internal alias.
21123 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21125         [BZ #14117]
21126         * sysdeps/i386/bits/link.h: Removed.
21127         * sysdeps/i386/bits/linkmap.h: Likewise.
21128         * sysdeps/x86_64/bits/link.h: Renamed to ...
21129         * sysdeps/x86/bits/link.h: This.
21130         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21131         * sysdeps/x86/bits/linkmap.h: This.
21133         * sysdeps/i386/bits/endian.h: Removed.
21134         * sysdeps/x86_64/bits/endian.h: Renamed to ...
21135         * sysdeps/x86/bits/endian.h: This.
21137         * sysdeps/i386/bits/byteswap.h: Removed.
21138         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21139         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21140         * sysdeps/x86/bits/byteswap.h: This.
21141         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21142         * sysdeps/x86/bits/byteswap-16.h: This.
21143         * sysdeps/i386/Implies: Add x86.
21144         * sysdeps/x86_64/Implies: Likewise.
21146 2012-05-30  David S. Miller  <davem@davemloft.net>
21148         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21149         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21150         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21151         (FP_TRAPPING_EXCEPTIONS): Define.
21152         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21153         (FP_TRAPPING_EXCEPTIONS): Define.
21154         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21155         subnormals only when inexact has been signalled or underflow
21156         exceptions are enabled.
21157         (_FP_PACK_CANONICAL): Likewise.
21159 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21161         [BZ #14183]
21162         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21163         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21165 2012-05-30  Richard Henderson  <rth@twiddle.net>
21167         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21168         with #ifndef NOT_IN_libc.
21170         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
21171         marked to avoid plt entry.
21173 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21175         [BZ #14112]
21176         * Makeconfig (default-abi): New macro.
21177         (abi-includes): Likewise.
21178         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
21179         $(abi-$(default-abi)-lib-soname) for soname if defined.
21180         ($(common-objpfx)gnu/lib-names.stmp): Generate from
21181         abi-variants.
21182         * Makefile (installed-stubs): Likewise.
21183         * include/stubs-biarch.h: Removed.
21184         * scripts/lib-names.awk: Only handle one library at a time.
21185         * scripts/soversions.awk: Remove WORDSIZE support.
21186         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21187         entries.
21188         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21189         Removed.
21190         (syscall-list-default-condition): Likewise.
21191         (syscall-list-default-condition): Likewise.
21192         (syscall-list-includes): Likewise.
21193         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21194         syscall-list-* with abi-*.  Handle undefined abi-variants.
21195         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21196         * sysdeps/unix/sysv/linux/i386/Implies: New file.
21197         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21198         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21199         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21200         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21201         Removed.
21202         (syscall-list-32-options): Likewise.
21203         (syscall-list-32-condition): Likewise.
21204         (syscall-list-64-options): Likewise.
21205         (syscall-list-64-condition): Likewise.
21206         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21207         macro.
21208         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21209         Renamed to ...
21210         (abi-*): This.
21211         (abi-64-ld-soname): New macro.
21212         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21213         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21214         Renamed to ...
21215         (abi-*): This.
21216         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21217         * sysdeps/x86_64/x32/shlib-versions: Likewise.
21219 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
21221         * sysdeps/unix/sysv/linux/kernel-features.h
21222         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21223         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21224         include <kernel-features.h>.
21225         [!__NR_ftruncate64]: Remove conditional code.
21226         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21227         [__NR_ftruncate64]: Make code unconditional.
21228         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21229         * sysdeps/unix/sysv/linux/truncate64.c: Do not
21230         include <kernel-features.h>.
21231         [!__NR_ftruncate64]: Remove conditional code.
21232         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21233         [__NR_ftruncate64]: Make code unconditional.
21234         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21236         include <kernel-features.h>.
21237         [!__NR_ftruncate64]: Remove conditional code.
21238         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21239         [__NR_ftruncate64]: Make code unconditional.
21240         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21242         include <kernel-features.h>.
21243         [!__NR_ftruncate64]: Remove conditional code.
21244         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21245         [__NR_ftruncate64]: Make code unconditional.
21246         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21248         * configure.in (libc_cv_fpie): Weaken to a compile test using
21249         LIBC_TRY_CC_OPTION.
21250         * configure: Regenerated.
21252 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21258         Refreshed.
21259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21265         Refreshed.
21267 2012-05-27  David S. Miller  <davem@davemloft.net>
21269         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21270         (___Q_zero): New.
21271         (__Q_simulate_exceptions): Return void.  Change to simulate
21272         exceptions by writing into the %fsr.
21273         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21274         (__Qp_handle_exceptions): Likewise.
21275         (numbers): Delete.
21276         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21277         __Qp_handle_exceptions.
21278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21279         __Qp_handle_exceptions.
21280         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21281         as unused and give dummy FP_RND_NEAREST initializer.
21282         (FP_INHIBIT_RESULTS): Define.
21283         (___Q_simulate_exceptions): Update declaration.
21284         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21285         formatting.
21286         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21287         as unused and give dummy FP_RND_NEAREST initializer.
21288         (__Qp_handle_exceptions): Update declaration.
21289         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21290         formatting.
21292 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
21294         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21295         the temporary FPU control word.
21296         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21297         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21298         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21299         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21300         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21301         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21302         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21303         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21304         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21305         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21306         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21308 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21310         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21311         fields.
21313 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21315         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21316         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21317         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21318         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21319         Likewise.
21320         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21321         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21322         Likewise.
21324 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21326         * po/h.po: Update from translation team.
21328 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21330         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21332         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21333         handling of denormals.
21334         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21335         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21336         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21337         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21339         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21341         Likewise.
21343 2012-05-26  Marek Polacek  <polacek@redhat.com>
21345         [BZ #14152]
21346         * math/libm-test.inc (fma_test): Don't always expect underflow
21347         exception.
21349 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21351         [BZ #12416]
21352         * elf/tst-execstack.c: Include stackinfo.h.
21353         (do_test): Adjust test case to ensure that pthread_getattr_np
21354         behaviour remains the same after marking stack executable.
21356 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21358         * sysdeps/unix/sysv/linux/kernel-features.h
21359         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21360         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21361         kernel-features.h.
21362         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21363         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21364         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21365         kernel-features.h.
21366         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21367         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21369 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21371         * configure.in: Define the default includes to being none.
21372         * configure: Regenerated.
21374 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21376         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21377         * sysdeps/x86_64/setjmp.S: Likewise.
21378         * sysdeps/i386/bsd-setjmp.S: Likewise.
21379         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21380         * sysdeps/i386/setjmp.S: Likewise.
21381         * sysdeps/i386/__longjmp.S: Likewise.
21382         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21383         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21385         * include/stap-probe.h: New file.
21386         * configure.in: Handle --enable-systemtap.
21387         * configure: Regenerated.
21388         * config.h.in (USE_STAP_PROBE): New #undef.
21389         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21390         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21391         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21393 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21395         [BZ #13717]
21396         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21397         to 2.4.0 where earlier.
21398         * sysdeps/unix/sysv/linux/configure: Regenerated.
21399         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21400         <kernel-features.h>.
21401         [__ASSUME_32BITUIDS]: Make code unconditional.
21402         [!__ASSUME_32BITUIDS]: Remove conditional code.
21403         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21404         <kernel-features.h>.
21405         [__ASSUME_32BITUIDS]: Make code unconditional.
21406         [!__ASSUME_32BITUIDS]: Remove conditional code.
21407         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21408         [__ASSUME_32BITUIDS]: Make code unconditional.
21409         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21410         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21411         <kernel-features.h>.
21412         [__ASSUME_32BITUIDS]: Make code unconditional.
21413         [!__ASSUME_32BITUIDS]: Remove conditional code.
21414         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21415         <kernel-features.h>.
21416         [__ASSUME_32BITUIDS]: Make code unconditional.
21417         [!__ASSUME_32BITUIDS]: Remove conditional code.
21418         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21419         <kernel-features.h>.
21420         [__ASSUME_32BITUIDS]: Make code unconditional.
21421         [!__ASSUME_32BITUIDS]: Remove conditional code.
21422         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21423         <kernel-features.h>.
21424         [__ASSUME_32BITUIDS]: Make code unconditional.
21425         [!__ASSUME_32BITUIDS]: Remove conditional code.
21426         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21427         <kernel-features.h>.
21428         [__ASSUME_32BITUIDS]: Make code unconditional.
21429         [!__ASSUME_32BITUIDS]: Remove conditional code.
21430         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21431         <kernel-features.h>.
21432         [__ASSUME_32BITUIDS]: Make code unconditional.
21433         [!__ASSUME_32BITUIDS]: Remove conditional code.
21434         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21435         <kernel-features.h>.
21436         [__ASSUME_32BITUIDS]: Make code unconditional.
21437         [!__ASSUME_32BITUIDS]: Remove conditional code.
21438         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21439         <kernel-features.h>.
21440         [__ASSUME_32BITUIDS]: Make code unconditional.
21441         [!__ASSUME_32BITUIDS]: Remove conditional code.
21442         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21443         <kernel-features.h>.
21444         [__ASSUME_32BITUIDS]: Make code unconditional.
21445         [!__ASSUME_32BITUIDS]: Remove conditional code.
21446         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21447         <kernel-features.h>.
21448         [__ASSUME_32BITUIDS]: Make code unconditional.
21449         [!__ASSUME_32BITUIDS]: Remove conditional code.
21450         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21451         <kernel-features.h>.
21452         [__NR_setresgid] (__setresgid): Do not declare.
21453         [__ASSUME_32BITUIDS]: Make code unconditional.
21454         [!__ASSUME_32BITUIDS]: Remove conditional code.
21455         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21456         <kernel-features.h>.
21457         [__NR_setresuid] (__setresuid): Do not declare.
21458         [__ASSUME_32BITUIDS]: Make code unconditional.
21459         [!__ASSUME_32BITUIDS]: Remove conditional code.
21460         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21461         <kernel-features.h>.
21462         [__ASSUME_32BITUIDS]: Make code unconditional.
21463         [!__ASSUME_32BITUIDS]: Remove conditional code.
21464         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21465         <kernel-features.h>.
21466         [__ASSUME_32BITUIDS]: Make code unconditional.
21467         [!__ASSUME_32BITUIDS]: Remove conditional code.
21468         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21469         <kernel-features.h>.
21470         [__ASSUME_32BITUIDS]: Make code unconditional.
21471         [!__ASSUME_32BITUIDS]: Remove conditional code.
21472         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21473         <kernel-features.h>.
21474         [__ASSUME_32BITUIDS]: Make code unconditional.
21475         [!__ASSUME_32BITUIDS]: Remove conditional code.
21476         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21477         <kernel-features.h>.
21478         [__ASSUME_32BITUIDS]: Make code unconditional.
21479         [!__ASSUME_32BITUIDS]: Remove conditional code.
21480         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21481         <kernel-features.h>.
21482         [__ASSUME_32BITUIDS]: Make code unconditional.
21483         [!__ASSUME_32BITUIDS]: Remove conditional code.
21484         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21485         <kernel-features.h>.
21486         [__ASSUME_32BITUIDS]: Make code unconditional.
21487         [!__ASSUME_32BITUIDS]: Remove conditional code.
21488         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21489         <kernel-features.h>.
21490         [__ASSUME_32BITUIDS]: Make code unconditional.
21491         [!__ASSUME_32BITUIDS]: Remove conditional code.
21492         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21493         <kernel-features.h>.
21494         [__ASSUME_32BITUIDS]: Make code unconditional.
21495         [!__ASSUME_32BITUIDS]: Remove conditional code.
21496         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21497         <kernel-features.h>.
21498         [__ASSUME_32BITUIDS]: Make code unconditional.
21499         [!__ASSUME_32BITUIDS]: Remove conditional code.
21500         * sysdeps/unix/sysv/linux/kernel-features.h
21501         (__ASSUME_SETRESUID_SYSCALL): Remove.
21502         (__ASSUME_SETRESGID_SYSCALL): Likewise.
21503         (__ASSUME_32BITUIDS): Likewise.
21504         (__ASSUME_LDT_WORKS): Likewise.
21505         (__ASSUME_O_DIRECTORY): Likewise.
21506         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21507         architecture but not kernel version.
21508         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21509         (__ASSUME_MMAP2_SYSCALL): Likewise.
21510         (__ASSUME_STAT64_SYSCALL): Likewise.
21511         (__ASSUME_IPC64): Likewise.
21512         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21513         <kernel-features.h>.
21514         [__ASSUME_32BITUIDS]: Make code unconditional.
21515         [!__ASSUME_32BITUIDS]: Remove conditional code.
21516         * sysdeps/unix/sysv/linux/opendir.c: Do not include
21517         <kernel-features.h>.
21518         [__ASSUME_O_DIRECTORY]: Make code unconditional.
21519         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21520         132096]: Remove conditional code.
21521         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21522         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21523         <kernel-features.h>.
21524         [__ASSUME_32BITUIDS]: Make code unconditional.
21525         [!__ASSUME_32BITUIDS]: Remove conditional code.
21526         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21527         <kernel-features.h>.
21528         [__ASSUME_32BITUIDS]: Make code unconditional.
21529         [!__ASSUME_32BITUIDS]: Remove conditional code.
21530         * sysdeps/unix/sysv/linux/setegid.c: Do not include
21531         <kernel-features.h>.
21532         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21533         unconditional.
21534         (__setresgid): Do not declare.
21535         [__ASSUME_32BITUIDS]: Make code unconditional.
21536         [!__ASSUME_32BITUIDS]: Remove conditional code.
21537         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21538         <kernel-features.h>.
21539         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21540         unconditional.
21541         (__setresuid): Do not declare.
21542         [__ASSUME_32BITUIDS]: Make code unconditional.
21543         [!__ASSUME_32BITUIDS]: Remove conditional code.
21544         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21545         <kernel-features.h>.
21546         [__ASSUME_32BITUIDS]: Make code unconditional.
21547         [!__ASSUME_32BITUIDS]: Remove conditional code.
21548         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21549         <kernel-features.h>.
21550         [__ASSUME_32BITUIDS]: Make code unconditional.
21551         [!__ASSUME_32BITUIDS]: Remove conditional code.
21553 2012-05-25  Richard Henderson  <rth@twiddle.net>
21555         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21556         dl_hwcap to ifunc resolver.
21557         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21558         elf_ifunc_invoke.
21559         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21560         dl_hwcap to ifunc resolver.
21561         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21563 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21565         [BZ #14153]
21566         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21567         for |x| <= 2**-26, not 2**-57.
21568         * math/libm-test.inc (acos_test): Do not allow spurious underflow
21569         exception.
21571 2012-05-24  Jeff Law  <law@redhat.com>
21573         * stdio-common/Makefile (tests): Add bug25.
21574         * stdio-common/bug25.c: New test.
21576 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21578         [BZ #13576]
21579         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21580         multiple of MALLOC_ALIGNMENT in size.
21581         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21583 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21585         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21586         Require >= 256.
21587         (FILENAME_MAX): Use macro-int-constant.
21588         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
21589         (_IOFBF): Use macro-int-constant.
21590         (_IOLBF): Likewise.
21591         (_IONBF): Likewise.
21592         (SEEK_CUR): Likewise.
21593         (SEEK_END): Likewise.
21594         (SEEK_SET): Likewise.
21595         (TMP_MAX): Likewise.
21596         (EOF): Use macro-int-constant.  Require < 0.
21597         (NULL): Use macro-constant.  Require == 0.
21598         (stdin): Require type to be FILE *.
21599         (stdout): Likewise.
21600         (stderr): Likewise.
21601         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21602         macro-int-constant.
21603         (EXIT_SUCCESS): Likewise.
21604         (NULL): Use macro-constant.  Require == 0.
21605         (RAND_MAX): Use macro-int-constant.
21606         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21607         [C99-based standards] (strtof): Require function.
21608         [C99-based standards] (strtold): Likewise.
21609         [C99-based standards] (strtoll): Likewise.
21610         [C99-based standards] (strtoull): Likewise.
21611         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21612         [ISO || ISO99 || ISO11] (limits.h): Likewise.
21613         [ISO || ISO99 || ISO11] (math.h): Likewise.
21614         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21615         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21616         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21618 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
21620         [BZ #14132]
21621         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21622         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21623         * intl/dgettext.c (DCGETTEXT): Likewise.
21624         * intl/gettext.c (DCGETTEXT): Likewise.
21625         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21626         * posix/regex_internal.h (gettext): Likewise.
21627         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21628         Remove declaration.
21629         * include/argz.h (__argz_count_internal)
21630         (__argz_stringify_internal): Remove declaration.
21631         (__argz_count, __argz_stringify): Declare hidden proto.
21632         * intl/dcgettext.c: Remove use of INTDEF.
21633         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21634         * string/argz-stringify.c: Likewise.
21635         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21636         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21637         Declare hidden proto.
21638         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21639         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21640         Declare hidden proto.
21641         * include/stdio.h (__asprintf_internal): Don't declare.
21642         (__asprintf): Don't define as macro.  Declare hidden proto.
21643         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21644         (__fsetlocking): Declare hidden proto.
21645         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21646         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21647         hidden proto.
21648         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21649         (_IO_setlinebuf): Remove use of INTUSE.
21650         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21651         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21652         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21653         Remove declaration.
21654         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21655         (_IO_do_flush): Remove use of INTUSE.
21656         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21657         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21658         (_IO_adjust_column, _IO_least_wmarker)
21659         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21660         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21661         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21662         (_IO_default_doallocate, _IO_wdefault_doallocate)
21663         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21664         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21665         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21666         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21667         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21668         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21669         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21670         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21671         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21672         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21673         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21674         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21675         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21676         proto.
21677         (_IO_flush_all_internal, _IO_adjust_column_internal)
21678         (_IO_default_uflow_internal, _IO_default_finish_internal)
21679         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21680         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21681         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21682         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21683         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21684         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21685         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21686         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21687         (_IO_file_close_internal, _IO_file_close_it_internal)
21688         (_IO_file_underflow_internal, _IO_file_overflow_internal)
21689         (_IO_file_init_internal, _IO_file_attach_internal)
21690         (_IO_file_fopen_internal, _IO_file_read_internal)
21691         (_IO_file_sync_internal, _IO_file_seek_internal)
21692         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21693         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21694         (_IO_str_underflow_internal, _IO_str_overflow_internal)
21695         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21696         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21697         (_IO_list_all_internal, _IO_link_in_internal)
21698         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21699         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21700         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21701         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21702         (_IO_do_write_internal, _IO_padn_internal)
21703         (_IO_getline_info_internal, _IO_getline_internal)
21704         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21705         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21706         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21707         (_IO_vfscanf_internal, _IO_vfprintf_internal)
21708         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21709         (_IO_init_internal, _IO_un_link_internal): Don't declare.
21710         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21711         with libc_hidden_ver, remove use of INTUSE.
21712         * libio/genops.c: Likewise.
21713         * libio/freopen.c: Likewise.
21714         * libio/freopen64.c: Likewise.
21715         * libio/iofclose.c: Likewise.
21716         * libio/iofdopen.c: Likewise.
21717         * libio/iofflush.c: Likewise.
21718         * libio/iofflush_u.c: Likewise.
21719         * libio/iofgets.c: Likewise.
21720         * libio/iofgets_u.c: Likewise.
21721         * libio/iofopen.c: Likewise.
21722         * libio/iofopncook.c: Likewise.
21723         * libio/iofread.c: Likewise.
21724         * libio/iofread_u.c: Likewise.
21725         * libio/ioftell.c: Likewise.
21726         * libio/iofwrite.c: Likewise.
21727         * libio/iogetline.c: Likewise.
21728         * libio/iogets.c: Likewise.
21729         * libio/iogetwline.c: Likewise.
21730         * libio/iopadn.c: Likewise.
21731         * libio/iopopen.c: Likewise.
21732         * libio/ioseekoff.c: Likewise.
21733         * libio/ioseekpos.c: Likewise.
21734         * libio/iosetbuffer.c: Likewise.
21735         * libio/iosetvbuf.c: Likewise.
21736         * libio/ioungetc.c: Likewise.
21737         * libio/ioungetwc.c: Likewise.
21738         * libio/iovdprintf.c: Likewise.
21739         * libio/iovsprintf.c: Likewise.
21740         * libio/iovsscanf.c: Likewise.
21741         * libio/memstream.c: Likewise.
21742         * libio/obprintf.c: Likewise.
21743         * libio/oldfileops.c: Likewise.
21744         * libio/oldiofclose.c: Likewise.
21745         * libio/oldiofdopen.c: Likewise.
21746         * libio/oldiofopen.c: Likewise.
21747         * libio/oldiopopen.c: Likewise.
21748         * libio/oldstdfiles.c: Likewise.
21749         * libio/putc.c: Likewise.
21750         * libio/setbuf.c: Likewise.
21751         * libio/setlinebuf.c: Likewise.
21752         * libio/stdfiles.c: Likewise.
21753         * libio/strops.c: Likewise.
21754         * libio/vasprintf.c: Likewise.
21755         * libio/vscanf.c: Likewise.
21756         * libio/vsnprintf.c: Likewise.
21757         * libio/vswprintf.c: Likewise.
21758         * libio/wfiledoalloc.c: Likewise.
21759         * libio/wfileops.c: Likewise.
21760         * libio/wgenops.c: Likewise.
21761         * libio/wmemstream.c: Likewise.
21762         * libio/wstrops.c: Likewise.
21763         * libio/__fpurge.c: Likewise.
21764         * libio/__fsetlocking.c: Likewise.
21765         * assert/assert.c: Likewise.
21766         * debug/fgets_chk.c: Likewise.
21767         * debug/fgets_u_chk.c: Likewise.
21768         * debug/fread_chk.c: Likewise.
21769         * debug/fread_u_chk.c: Likewise.
21770         * debug/gets_chk.c: Likewise.
21771         * debug/obprintf_chk.c: Likewise.
21772         * debug/vasprintf_chk.c: Likewise.
21773         * debug/vdprintf_chk.c: Likewise.
21774         * debug/vsnprintf_chk.c: Likewise.
21775         * debug/vsprintf_chk.c: Likewise.
21776         * malloc/mtrace.c: Likewise.
21777         * misc/error.c: Likewise.
21778         * misc/syslog.c: Likewise.
21779         * stdio-common/asprintf.c: Likewise.
21780         * stdio-common/fxprintf.c: Likewise.
21781         * stdio-common/getw.c: Likewise.
21782         * stdio-common/isoc99_fscanf.c: Likewise.
21783         * stdio-common/isoc99_scanf.c: Likewise.
21784         * stdio-common/isoc99_vfscanf.c: Likewise.
21785         * stdio-common/isoc99_vscanf.c: Likewise.
21786         * stdio-common/isoc99_vsscanf.c: Likewise.
21787         * stdio-common/printf-prs.c: Likewise.
21788         * stdio-common/printf_fp.c: Likewise.
21789         * stdio-common/printf_fphex.c: Likewise.
21790         * stdio-common/printf_size.c: Likewise.
21791         * stdio-common/putw.c: Likewise.
21792         * stdio-common/scanf.c: Likewise.
21793         * stdio-common/sprintf.c: Likewise.
21794         * stdio-common/tmpfile.c: Likewise.
21795         * stdio-common/vfprintf.c: Likewise.
21796         * stdio-common/vfscanf.c: Likewise.
21797         * stdlib/strfmon_l.c: Likewise.
21798         * sunrpc/openchild.c: Likewise.
21799         * sunrpc/xdr_stdio.c: Likewise.
21800         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21801         * sysdeps/mach/hurd/tmpfile.c: Likewise.
21803 2012-05-24  Roland McGrath  <roland@hack.frob.com>
21805         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21807         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21808         in the third column, to generate for the shared library an IFUNC
21809         that uses _dl_vdso_vsym.
21810         * Makerules (COMPILE.c, compile-stdin.c): New variables.
21811         * Makeconfig (object-suffixes-noshared): New variable.
21813         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21814         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21815         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21816         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21818         [BZ #14132]
21819         * include/sys/time.h (__gettimeofday): Remove macro.
21820         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21821         * time/gettimeofday.c (__gettimeofday): Remove #undef.
21822         Remove INTDEF.
21823         (__gettimeofday): Add libc_hidden_def.
21824         (gettimeofday): Add libc_hidden_weak.
21825         * sysdeps/mach/gettimeofday.c: Likewise.
21826         * sysdeps/posix/gettimeofday.c: Likewise.
21827         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21828         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21829         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21830         (__gettimeofday_internal): Remove strong_alias.
21831         (__gettimeofday): Add libc_hidden_def.
21832         (gettimeofday): Add libc_hidden_weak.
21833         * sysdeps/unix/syscalls.list (gettimeofday):
21834         Remove __gettimeofday_internal alias.
21836 2012-05-24  Daniel Jacobowitz  <drow@false.org>
21837             H.J. Lu  <hongjiu.lu@intel.com>
21839         [BZ #12495]
21840         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21841         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21842         (largebin_index_32_big): New.
21843         (largebin_index): Use it for 16-byte alignment.
21844         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
21845         correction with front_misalign.
21847 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21851         Likewise.
21852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21853         Likewise.
21854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21855         Likewise.
21856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21857         Likewise.
21858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21859         Likewise.
21860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21861         Likewise.
21862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21863         Likewise.
21864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21865         Likewise.
21866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21867         Likewise.
21868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21869         Likewise.
21870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21871         Likewise.
21872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21873         Likewise.
21875         * scripts/data/c++-types-x32-linux-gnu.data: New file.
21876         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21878 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21880         [BZ #10846]
21881         [BZ #14036]
21882         * math/libm-test.inc (exp_test): Add test from bug 14036.
21883         (pow_test): Add test from bug 10846.
21885         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21886         and other flags.
21887         (special_function): Do not include flags in test name.
21888         (parse_args): Likewise.
21889         * sysdeps/i386/fpu/libm-test-ulps: Update.
21890         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21891         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21892         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21895         * math/gen-libm-test.pl (%beautify): Add entries for underflow
21896         exceptions.
21897         * math/libm-test.inc ("Philosophy"): Update comment about
21898         exception testing.
21899         (UNDERFLOW_EXCEPTION): New macro.
21900         (UNDERFLOW_EXCEPTION_OK): Likewise.
21901         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21902         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21903         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21904         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21905         (INVALID_EXCEPTION_OK): Update value.
21906         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21907         (OVERFLOW_EXCEPTION_OK): Likewise.
21908         (IGNORE_ZERO_INF_SIGN): Likewise.
21909         (test_exceptions): Handle underflow exceptions.
21910         (acos_test): Update for underflow exception expectations.
21911         (cexp_test): Likewise.
21912         (clog_test): Likewise.
21913         (clog10_test): Likewise.
21914         (csqrt_test): Likewise.
21915         (ctan_test): Likewise.
21916         (ctanh_test): Likewise.
21917         (exp_test): Likewise.
21918         (exp10_test): Likewise.
21919         (exp2_test): Likewise.
21920         (expm1_test): Likewise.
21921         (fma_test): Likewise.
21922         (j0_test): Likewise.
21923         (jn_test): Likewise.
21924         (nexttoward_test): Likewise.
21925         (pow_test): Likewise.
21926         (scalbn_test): Likewise.
21927         (scalbln_test): Likewise.
21928         (tan_test): Likewise.
21929         (y1_test): Likewise.
21930         * sysdeps/i386/fpu/libm-test-ulps: Update.
21931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21933 2012-05-23  David S. Miller  <davem@davemloft.net>
21935         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21936         (__libc_sigaction): Remove unused local variables.
21938 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21940         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21942 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
21944         mktime: avoid signed integer overflow
21945         * time/mktime.c (__mktime_internal): Do not mishandle the case
21946         where diff == INT_MIN.
21948         mktime: simplify computation of average
21949         * time/mktime.c (ranged_convert): Use new time_t_avg function
21950         instead of rolling our own (probably-slower) code.
21952         mktime: do not assume signed right shift propagates sign bit
21953         * time/mktime.c (isdst_differ): New static function.
21954         (__mktime_internal): No need to normalize tm_isdst now.
21955         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21956         tm_isdst values.
21958         mktime: merge another wrapv change from gnulib
21959         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21960         from some compilers.
21962         mktime: remove incorrect attempt at unusual arithmetics
21963         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21964         The code didn't really work on such machines anyway.
21965         (TYPE_MINIMUM): Assume two's complement.
21966         (twos_complement_arithmetic): Verify that long_int and time_t
21967         are two's complement (or unsigned, in the latter case).
21969         mktime: check signed shifts on long_int and time_t, too
21970         * time/mktime.c (SHR): Check that shifts work as desired
21971         on the types long_int and time_t too, as SHR is used on
21972         such types.
21974         mktime: do not assume 'long' is wide enough
21975         * time/mktime.c (verify): Move decl up.
21976         (long_int): New type.
21977         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21978         to remove assumption in the code that 'long' is wide enough to
21979         store year values.  This assumption is not true on x32 and on
21980         some non-glibc platforms.
21982         mktime: merge wrapv change from gnulib
21983         * time/mktime.c (WRAPV): New macro.
21984         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21985         (guess_time_tm, __mktime_internal): Do not assume that signed
21986         integer overflow wraps around; modern compilers generate code
21987         where this assumption is no longer valid.
21989 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21991         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21992         Replace "jmp L(pseudo_end)" with "ret".
21993         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21994         Likewise.
21996 2012-05-23  Andreas Jaeger  <aj@suse.de>
21998         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21999         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22001 2012-05-23  Andreas Jaeger  <aj@suse.de>
22002             Maximilian Attems  <max@stro.at>
22004         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22005         New macros.
22007 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22009         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22010         code so that pseudo_end is just ret and the stack pointer is
22011         correct also for static library in error case.
22013 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22015         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22016         move to syscalls.list.
22017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22022         * manual/install.texi (Running make install): Do not mention Linux
22023         kernel version for which pt_chown is not needed.
22024         (Linux): Do not mention problems with nscd with 2.0 kernels.
22025         * INSTALL: Regenerated.
22027 2012-05-23  Andreas Jaeger  <aj@suse.de>
22029         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22030         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22031         macro.
22032         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22033         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22034         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22035         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22036         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22037         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22038         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22039         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22040         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22041         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22042         * sysdeps/unix/sysv/linux/bits/in.h
22043         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22045 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22047         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22048         (PREPARE_VERSION): Just use assert instead, it will be elided
22049         under [NDEBUG] anyway.
22051 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22053         * sysdeps/unix/sysv/linux/Makefile: Include
22054         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22055         (sysdep_routines): Remove sysctl.
22056         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22057         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22058         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22059         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22060         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22062 2012-05-22  Andreas Jaeger  <aj@suse.de>
22064         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22065         that pseudo_end is just ret and the stack pointer is correct also
22066         for static library in error case.
22068 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22070         [BZ #14122]
22071         * nss/nsswitch.c (defconfig_entries): New variable.
22072         (__nss_database_lookup): Don't leak defconfig entries.
22073         (nss_parse_service_list): Don't leak on error paths.
22074         (free_database_entries): New function.
22075         (free_defconfig): New function.
22076         (free_mem): Move common code to free_database_entries.
22078 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22080         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22081         Add arch_prctl.
22082         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22084         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22085         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22087         New macro.
22088         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22089         (INTERNAL_SYSCALL_TYPES): Likewise.
22090         (LOAD_ARGS_TYPES_[1-6]): Likewise.
22091         (LOAD_REGS_TYPES_[1-6]): Likewise.
22092         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22093         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22095 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22097         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22098         copysignl for GLIBC_2_0.
22099         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22100         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22101         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22102         logbl for GLIBC_2_0.
22103         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22104         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22106 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22108         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22109         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22111         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22112         Use "neg %eax".
22114         * time/mktime.c: Update copyright years.
22116 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22118         mktime: merge comment-quoting-style change from gnulib
22119         * time/mktime.c: Quote 'like this' in comments.
22120         The GNU coding standards suggest that we no longer quote `like this',
22121         as "`" and "'" are typically rendered asymmetrically nowadays.
22122         The typical gnulib style is to quote 'like this' when quoting
22123         code, and "like this" when quoting English.
22125         * time/mktime.c (compile-command): Add "-I.".
22127         mktime: merge mktime-internal.h change from gnulib
22128         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22130         mktime: merge time_r change from gnulib
22131         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22133         mktime: merge DEBUG change from gnulib
22134         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22135         case system <time.h> has a #define.
22137         mktime: merge <sys/types.h> change from gnulib
22138         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22139         since <time.t> is now guaranteed to define time_t.
22141         mktime: merge HAVE_CONFIG_H change from gnulib
22142         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22144 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22147         Use "neg %eax".
22149         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22150         __rlim_t cast.
22151         (struct rusage): Use anonymous union to pad each field to
22152         __syscall_slong_t.
22154 2012-05-21  David S. Miller  <davem@davemloft.net>
22156         * Makefules (o-iterator): Remove .s cases.
22157         (compile-command.s): Delete.
22158         (COMPILE.s): Delete.
22159         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22161 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
22163         * configure.in (libc_cv_predef_stack_protector): Only consider
22164         "foobar" and "__stack_chk_fail" lines in libc_undefs.
22165         * configure: Regenerated.
22167 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22170         New macro.  Use R*LP on int and pointer.
22171         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22172         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22173         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22174         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22176         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22177         [__WORDSIZE_TIME64_COMPAT32] instead of
22178         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22179         (struct utmp): Likewise.
22180         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22181         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22182         Renamed to ...
22183         (__WORDSIZE_TIME64_COMPAT32): This.
22184         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22185         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22186         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22187         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22188         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22189         (__WORDSIZE_TIME64_COMPAT32): New macro.
22191 2012-05-21  Andreas Jaeger  <aj@suse.de>
22193         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22194         only if [SHARED]. Add prototype for __wcschr_ia32.
22196 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22198         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22199         of %rbp unmolested in the jmp_buf while mangling the low bits.
22200         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22201         unmolested high bits of %rbp while demangling the low bits.
22202         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22204 2012-05-21  Andreas Jaeger  <aj@suse.de>
22206         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22207         * sunrpc/svc_simple.c: Use it for registerrpc.
22208         * sunrpc/xcrypt.c: Use it for passwd2des.
22210         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22212 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22214         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22215         Don't define if [__SYSCALL_WORDSIZE != 32].
22216         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22217         New macro.
22219 2012-05-21  Bruno Haible  <bruno@clisp.org>
22220             Andreas Jaeger  <aj@suse.de>
22222         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22223         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22224         inptr and inend for must_buffer_ch.
22225         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22226         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22227         * stdio-common/Makefile (tests): Remove bug15.
22228         (bug15-ENV): Remove macro.
22229         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22230         anymore.
22232 2012-05-19  Andreas Jaeger  <aj@suse.de>
22233             Roland McGrath  <roland@hack.frob.com>
22235         * manual/contrib.texi: Completely rewritten. It contains now an
22236         alphabetical list of contributors and their contributions.
22238 2012-05-21  Richard Henderson  <rth@twiddle.net>
22240         * misc/getauxval.c (__getauxval): Use unsigned long int.
22241         * misc/sys/auxv.h: Include <sys/cdefs.h>.
22242         (getauxval): Use unsigned long int.
22244 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22246         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22248 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22250         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22251         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22252         __alignof__ (long double).
22254 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22258 2012-05-20  Richard Henderson  <rth@twiddle.net>
22260         * misc/getauxval.c: New file.
22261         * misc/sys/auxv.h: New file.
22262         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22263         (routines): Add getauxval.
22264         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22265         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22266         * elf/dl-sysdep.c (_dl_auxv): Remove.
22267         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22268         * elf/dl-support.c (_dl_auxv): New variable.
22269         (_dl_aux_init): Initialize it.
22270         * manual/startup.texi (Auxiliary Vector): New node.
22271         * sysdeps/generic/bits/hwcap.h: New file.
22272         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22273         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
22274         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22275         * sysdeps/sparc/sysdep.h: ... here.  Include it.
22276         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22277         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22279         Update.
22280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22283         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22289 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22293 2012-05-19  David S. Miller  <davem@davemloft.net>
22295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22297 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22299         [BZ #14123]
22300         * math/s_ccosh.c: Include <float.h>
22301         (__ccosh): Avoid internal overflow calculating sinh and cosh
22302         values before multiplying by sin and cos values.
22303         * math/s_ccoshf.c: Likewise.
22304         * math/s_ccoshl.c: Likewise.
22305         * math/s_csin.c: Likewise.
22306         * math/s_csinf.c: Likewise.
22307         * math/s_csinl.c: Likewise.
22308         * math/s_csinh.c: Likewise.
22309         * math/s_csinhf.c: Likewise.
22310         * math/s_csinhl.c: Likewise.
22311         * math/libm-test.inc (ccos_test): Add more tests.
22312         (ccosh_test): Likewise.
22313         (csin_test): Likewise.
22314         (csinh_test): Likewise.
22315         * sysdeps/i386/fpu/libm-test-ulps: Update.
22316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22318 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22320         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22321         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22323         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22325 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22327         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22328         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22329         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22330         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22331         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22332         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22333         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22334         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22335         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22336         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22337         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22338         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22339         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22340         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22341         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22342         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22343         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22344         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22345         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22346         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22347         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22348         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22349         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22350         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22351         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22352         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22353         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22354         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22355         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22356         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22357         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22359 2012-05-18  Andreas Jaeger  <aj@suse.de>
22361         * csu/.gitignore: Delete.
22363 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22365         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22366         (timex): Use __syscall_slong_t.
22368 2012-05-18  Andreas Jaeger  <aj@suse.de>
22369             Carlos O'Donell  <carlos_odonell@mentor.com>
22371         * manual/install.texi (Configuring and compiling): Update
22372         description about files modified in the source directory.
22373         * INSTALL: Regenerated.
22375 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22377         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22378         value.  Use "or" to set return value to -1.
22379         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22380         negate return value.
22382 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22384         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22385         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22386         failure if the compiler has Graphite support disabled.
22387         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22388         Likewise.
22389         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22390         CFLAGS-memmove.c): Likewise.
22391         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22392         Likewise.
22394 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22396         * sysdeps/x86_64/x32/_itoa.h: New file.
22398         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22399         getdents system call only if kernel and user dirents have the
22400         same d_ino and d_off.
22402         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22403         LLONG_MAX != LONG_MAX.
22404         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22405         (_fitoa_word): Likewise.
22407         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22408         years.
22409         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22410         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22411         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22413         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22414         include <bits/wordsize.h>.  Check __x86_64__ instead of
22415         __WORDSIZE.
22416         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22417         if __x86_64__ is defined.  Use anonymous union on fpstate.
22419         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22420         anonymous union.
22422 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22424         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22425         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22426         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22427         Refer to _rtld_local_ro instead of _rtld_global_ro.
22428         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22429         Likewise.
22430         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22431         Likewise.
22432         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22433         Likewise.
22434         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22435         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22436         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22438         * sysdeps/powerpc/powerpc32/dl-machine.c
22439         (__elf_machine_runtime_setup) [PROF]: Don't reference
22440         _dl_prof_resolve.
22442 2012-05-18  Andreas Jaeger  <aj@suse.de>
22444         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22445         function only available for GCCs before 3.4 since GCC 3.4
22446         introduced a builtin.
22447         (lrint): Likewise.
22448         (llrintf): Likewise.
22449         (llrint): Likewise.
22450         (fmaxf): Likewise.
22451         (fmax): Likewise.
22452         (fminf): Likewise.
22453         (fmin): Likewise.
22454         (rint): Likewise.
22455         (rintf): Likewise.
22456         (nearbyint): Likewise.
22457         (nearbyintf): Likewise.
22458         (ceil): Likewise.
22459         (ceilf): Likewise.
22460         (floor): Likewise.
22461         (floorf): Likewise.
22463 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22465         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22466         on both fields and cast pointer to __syscall_ulong_t.
22468         * bits/types.h (__fsword_t): New type.
22469         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22470         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22471         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22472         (__FSWORD_T_TYPE): Likewise.
22473         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22474         (__FSWORD_T_TYPE): Likewise.
22475         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22476         (__FSWORD_T_TYPE): Likewise.
22477         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22478         (__FSWORD_T_TYPE): Likewise.
22479         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22480         __SWORD_TYPE with __fsword_t.
22481         (statfs64): Likewise.
22483 2012-05-17  David S. Miller  <davem@davemloft.net>
22485         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22487 2012-05-17  Andreas Jaeger  <aj@suse.de>
22489         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22490         warning.
22492 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22494         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22496 2012-05-17  Andreas Jaeger  <aj@suse.de>
22498         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22499         when it is used.
22501 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22503         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22505 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22507         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22508         * sysdeps/x86_64/tst-mallocalign1.c: New file.
22510 2012-05-17  Andreas Jaeger  <aj@suse.de>
22511             Carlos O'Donell  <carlos_odonell@mentor.com>
22513         [BZ #14059]
22514         * sysdeps/x86_64/multiarch/init-arch.h
22515         (bit_YMM_Usable): Rename to...
22516         (bit_AVX_Usable): ... this.
22517         (bit_FMA4_Usable): New macro.
22518         (bit_XMM_state): New macro.
22519         (bit_YMM_state): New macro.
22520         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22521         [__ASSEMBLER__] (index_AVX_Usable): ... this.
22522         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22523         (CPUID_OSXSAVE): New macro.
22524         (CPUID_AVX): New macro.
22525         (CPUID_FMA4): New macro.
22526         (index_YMM_Usable): Rename to...
22527         (index_AVX_Usable): ... this.
22528         (HAS_AVX): Use HAS_ARCH_FEATURE.
22529         (HAS_FMA4): Likewise.
22530         (HAS_YMM_USABLE): Remove.
22531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22532         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22533         are present.
22534         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22535         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22536         * sysdeps/x86_64/multiarch/Makefile: Likewise.
22537         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22538         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22540 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22542         * math/libm-test.c: Support platforms without multiple rounding modes.
22543         * math/bug-nextafter.c: Support platforms without FP exceptions.
22544         * math/bug-nexttoward.c: Likewise.
22545         * math/test-fenv.c: Likewise.
22546         * math/test-misc.c: Likewise.
22547         * stdlib/bug-getcontext.c: Likewise.
22549 2012-05-17  Andreas Jaeger  <aj@suse.de>
22551         * manual/examples/search.c (critter_cmp): Change signature to
22552         avoid warnings.
22553         * manual/string.texi (Collation Functions): Likewise.
22555 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22557         * bits/types.h: Fold copyright years.
22558         * bits/typesizes.h: Likewise.
22559         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22561         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22562         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22563         * time/time.h: Likewise.
22565 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
22567         [BZ #208]
22568         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22569         in instead of returning them.  Return void.
22570         (__libc_mallinfo): Accumulate over all arenas.
22571         (__malloc_stats): Adjust for change in int_mallinfo interface.
22573 2012-05-16  Roland McGrath  <roland@hack.frob.com>
22575         [BZ #10375]
22576         * configure.in (NM): Add AC_CHECK_TOOL for it.
22577         (libc_extra_cflags): New substituted variable.
22578         Check for -fstack-protector being used implicitly.
22579         * configure: Regenerated.
22580         * config.make.in (config-extra-cflags): New variable,
22581         gets @libc_extra_cflags@.
22582         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22584         [BZ #10375]
22585         * configure.in: Check for _FORTIFY_SOURCE being predefined.
22586         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22587         * configure: Regenerated.
22588         * config.make.in (CPPUNDEFS): New substituted variable.
22589         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22590         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22591         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22593 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22595         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22596         (mq_attr): Use __syscall_slong_t.
22598 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22600         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22601         Check __x86_64__ instead of __WORDSIZE.
22602         (_STAT_VER_LINUX): Likewise.
22603         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
22604         __syscall_ulong_t and __syscall_slong_t.
22605         (stat64): Likewise.
22607 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22609         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22611 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22613         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22615 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22617         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22618         __syscall_ulong_t.
22620         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22621         include <bits/wordsize.h>.  Check __x86_64__ instead of
22622         __WORDSIZE.
22623         (greg_t): Use "__extension__ long long int" if __x86_64__ is
22624         defined.
22625         (mcontext_t): Replace "unsigned long" with "unsigned long long".
22627         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22628         include <bits/wordsize.h>.  Check __x86_64__ instead of
22629         __WORDSIZE.
22630         (user_regs_struct): Use "__extension__ unsigned long long"
22631         instead of "unsigned long" if __x86_64__ is defined.
22632         (user): Likewise.  Pad after pointer field if __ILP32__ is
22633         defined.
22635 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
22637         * configure.in (makeinfo): Require version 4.5 or later.  Allow
22638         versions 5 to 9.
22639         * configure: Regenerated.
22640         * manual/install.texi (texinfo): Increase version requirement to
22641         4.5 or later.
22642         * INSTALL: Regenerated.
22644         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22646 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22648         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22650         * sysdeps/x86_64/x32/ffs.c: New file.
22652         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22653         __syscall_ulong_t.
22654         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22655         defined.  Use __syscall_ulong_t.
22656         (shminfo): Use __syscall_ulong_t.
22657         (shm_info): Likewise.
22659         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22660         __syscall_ulong_t.
22662         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22663         <bits/wordsize.h>.
22664         (msgqnum_t): Use __syscall_ulong_t.
22665         (msglen_t): Likewise.
22666         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
22667         __syscall_ulong_t.
22669         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22670         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22672         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22674         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22675         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22677         * sysvipc/sys/msg.h (msgbuf): Replace long int with
22678         __syscall_slong_t.
22680         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22681         include <bits/wordsize.h>.  Check __x86_64__ instead of
22682         __WORDSIZE.
22684         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22685         "unsigned long long int" if __x86_64__ is defined.
22686         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22688         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22689         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22690         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22692         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22693         <stdint.h>.
22694         (GET_PC): Cast to uintptr_t first.
22695         (GET_FRAME): Likewise.
22696         (GET_STACK): Likewise.
22698         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22699         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22700         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22701         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22702         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22703         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22704         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22705         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22706         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22707         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22708         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22709         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22710         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22711         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22712         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22713         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22714         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22715         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22716         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22717         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22718         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22719         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22720         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22721         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22722         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22723         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22724         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22725         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22726         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22728 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
22730         * Makerules (+depfiles): Also collect depfiles from .oS in
22731         $(extra-objs).
22732         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22733         .oS, $(libnldbl-routines)).
22735         * Makerules (native-compile-mkdep-flags): Define.
22736         * sunrpc/Makefile (extra-objs): Add $(addprefix
22737         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22738         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22739         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
22740         calling $(make-target-directory).
22742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22744         * bits/types.h (__snseconds_t): Removed.
22745         * time/time.h (struct timespec): Replace __snseconds_t with
22746         __syscall_slong_t.
22747         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22748         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22749         Likewise.
22750         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22751         (__SNSECONDS_T_TYPE): Likewise.
22752         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22753         (__SNSECONDS_T_TYPE): Likewise.
22754         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22755         (__SNSECONDS_T_TYPE): Likewise.
22757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22759         * sysdeps/mach/hurd/bits/typesizes.h
22760         (__SYSCALL_SLONG_TYPE): New macro.
22761         (__SYSCALL_ULONG_TYPE): Likewise.
22763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22765         * bits/types.h (__syscall_slong_t): New type.
22766         (__syscall_ulong_t): Likewise.
22768         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22769         (__SYSCALL_ULONG_TYPE): Likewise.
22770         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22771         (__SYSCALL_SLONG_TYPE): Likewise.
22772         (__SYSCALL_ULONG_TYPE): Likewise.
22773         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22774         (__SYSCALL_SLONG_TYPE): Likewise.
22775         (__SYSCALL_ULONG_TYPE): Likewise.
22776         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22777         (__SYSCALL_SLONG_TYPE): Likewise.
22778         (__SYSCALL_ULONG_TYPE): Likewise.
22780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22782         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22783         Add sigaltstack-offsets.sym.
22784         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22785         <sigaltstack-offsets.h>.
22786         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
22787         longjmp_msg pointer.
22788         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
22789         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22790         signal stack.
22791         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22793 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22795         * elf/stackguard-macros.h: Remove file.
22796         * sysdeps/generic/stackguard-macros.h: New file.
22797         * sysdeps/i386/stackguard-macros.h: Likewise.
22798         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22799         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22800         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22801         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22802         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22803         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22804         * sysdeps/x86_64/stackguard-macros.h: Likewise.
22805         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22806         <elf/stackguard-macros.h>.
22808         [BZ #14109]
22809         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22810         __aligned__ in attribute.
22811         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22812         (gregset_t): Likewise.
22814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22816         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22817         * sysdeps/x86_64/64/Implies-after: Here.  New file.
22818         * sysdeps/x86_64/x32/Implies-after: New file.
22820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22822         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22823         and access return value for _dl_profile_fixup.  Use R10_LP to
22824         load frame size.
22826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22828         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22832         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22833         * sysdeps/x86_64/x32/sysdep.h: New file.
22835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22837         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22838         * sysdeps/x86_64/setjmp.S: Likewise.
22840 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22842         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22843         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22844         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22845         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22846         remove unused global constant.
22848 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
22850         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22851         include of <not-cancel.h>.
22853 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22855         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22857 2012-05-15  Jeff Law  <law@redhat.com>
22858             Andreas Jaeger  <aj@suse.de>
22860         [BZ #13594]
22861         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22862         out from...
22863         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22864         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22865         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22866         code changing __hst_map_handle.map.
22868 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22870         * configure.in (sysnames): Look for Implies-before and Implies-after
22871         files.
22872         * configure: Regenerated.
22874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22876         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22877         8-byte data alignment with LP_SIZE alignment.
22879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22881         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22882         into R10_LP.
22884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22886         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22890         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22891         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22892         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22893         Likewise.
22894         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22898         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22899         (stackinfo_sub_sp): Likewise.
22901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22903         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22904         RAX_LP.
22906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22908         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22909         into R*_LP.
22911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22913         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22914         sizes into R*_LP.
22916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22918         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22922         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22923         into R11_LP and load __x86_64_shared_cache_size_half into
22924         R8_LP.
22926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22928         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22929         R8_LP.
22931 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22933         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22934         logb for POWER7.
22935         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22936         logbf for POWER7.
22937         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22938         logbl for POWER7.
22939         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22940         powerpc32/power7/fpu/s_logb.c via #include.
22941         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22942         powerpc32/power7/fpu/s_logbf.c via #include.
22943         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22944         powerpc32/power7/fpu/s_logbl.c via #include.
22946 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22948         * README.libm: Remove file.
22950 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22952         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22953         count for x32.  Use R*_LP and omit operand-size suffix.
22955 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22957         * shlib-versions: Move x86_64-.*-linux.* entries to ...
22958         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
22959         * sysdeps/x86_64/x32/shlib-versions: New file.
22961 2012-05-14  Roland McGrath  <roland@hack.frob.com>
22963         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22964         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22965         Use _dl_fatal_printf instead.
22967 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
22969         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22970         set if not set by the user.  Do not allow for being unset.
22971         * sysdeps/unix/sysv/linux/configure: Regenerated.
22973 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22975         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22976         the `q' suffix from lea and replace .quad with ASM_ADDR.
22978 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22981         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
22982         instead of $17.
22983         (PTR_DEMANGLE): Likewise.
22985 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22987         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22988         (LP_OP): Likewise.
22989         (ASM_ADDR): Likewise.
22990         (RAX_LP): Likewise.
22991         (RBP_LP): Likewise.
22992         (RBX_LP): Likewise.
22993         (RCX_LP): Likewise.
22994         (RDI_LP): Likewise.
22995         (RSI_LP): Likewise.
22996         (RSP_LP): Likewise.
22997         (R8_LP): Likewise.
22998         (R9_LP): Likewise.
22999         (R10_LP): Likewise.
23000         (R10_LP): Likewise.
23001         (R11_LP): Likewise.
23002         (R12_LP): Likewise.
23003         (R13_LP): Likewise.
23004         (R14_LP): Likewise.
23005         (R15_LP): Likewise.
23007 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23009         * sysdeps/x86_64/x32/dl-machine.h: New file.
23011 2012-05-14  Andreas Jaeger  <aj@suse.de>
23013         * manual/Makefile (subdir): Remove export of subdir.
23014         (all): Remove target.
23015         (.PHONY): Remove all from list.
23016         (mkinstalldirs): Remove.
23017         (.PHONY): Remove installdirs from list.
23018         ($(inst_infodir)/libc.info): Use make-target-directory.
23019         (installdirs): Remove.
23020         (subdir_%): Remove.
23021         (glibc-targets): Remove.
23022         (lib): Remove.
23023         (stubs): Remove.
23024         ($(objpfx)stubs ../po/manual.pot): Remove.
23025         ($(objpfx)stamp%): Remove.
23026         (make-target-directory): Remove.
23027         (subdir_install): Remove.
23028         (routines): Remove.
23029         (aux): Remove.
23030         (sources): Remove.
23031         (objects): Remove.
23032         (headers): Remove.
23034         [BZ #13750]
23035         * manual/.gitignore: Remove, it's not needed anymore.
23036         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23037         all files in it.
23038         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23039         directory.
23040         (texis): Renamed to $(objpfx)texis.
23041         (texis-path): New, contains path to generated files.
23042         (chapters.%): Use texis-path for complete path, add extra argument
23043         libc-texinfo.sh.
23044         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23045         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23046         (summary,texi, stamp-summary): Use complete path of
23047         files. Generate files in build dir.
23048         (dir-add.texi): Build in build dir.
23049         (libm-err.texi,stamp-libm-err): Likewise.
23050         (version.texi, stamp-version): Likewise.
23051         (.%c.texi): Likewise.
23052         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23053         (mostlyclean): Remove target.
23054         (realclean): Remove target.
23055         (generated): Add new variable with contents from mostlyclean and
23056         realclean, remove entries duplicated in common-mostlyclean, add
23057         stamp-libm-err and stamp-version.
23058         (generated-dirs): Add libc directory.
23059         ($(inst_infodir)/libc.info): Install files from build dir.
23061         * manual/install.texi (Configuring and compiling): Adjust since
23062         the info files are not part of the tar ball anymore.
23064 2012-05-14  Andreas Jaeger  <aj@suse.de>
23066         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23067         variable.
23069 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23071         [BZ #13717]
23072         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23073         to 2.2.0 where earlier.
23074         * sysdeps/unix/sysv/linux/configure: Regenerated.
23075         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23076         Remove conditional code.
23077         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23078         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23079         Remove conditional code.
23080         [!__NR_lchown]: Likewise.
23081         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23082         [__NR_lchown]: Likewise.
23083         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23084         comment referencing __ASSUME_LCHOWN_SYSCALL.
23085         * sysdeps/unix/sysv/linux/i386/sigaction.c
23086         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23087         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23088         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23089         Remove conditional code.
23090         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23091         (__protocol_available): Remove #if 0 code.
23092         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23093         conditional code.
23094         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23095         * sysdeps/unix/sysv/linux/kernel-features.h
23096         (__ASSUME_GETCWD_SYSCALL): Don't define.
23097         (__ASSUME_REALTIME_SIGNALS): Likewise.
23098         (__ASSUME_PREAD_SYSCALL): Likewise.
23099         (__ASSUME_PWRITE_SYSCALL): Likewise.
23100         (__ASSUME_POLL_SYSCALL): Likewise.
23101         (__ASSUME_LCHOWN_SYSCALL): Likewise.
23102         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23103         non-SPARC.
23104         (__ASSUME_SIOCGIFNAME): Don't define.
23105         (__ASSUME_MSG_NOSIGNAL): Likewise.
23106         (__ASSUME_SENDFILE): Define unconditionally.
23107         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23108         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23109         conditional code.
23110         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23111         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23112         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23113         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23114         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23115         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23116         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23118         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23119         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23121         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23122         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23124         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23125         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23127         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23128         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23130         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23131         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23133         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23134         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23136         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23137         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23139         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23140         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23141         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23142         Remove conditional code.
23143         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23144         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23145         Remove conditional code.
23146         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23147         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23148         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23149         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23150         Remove conditional code.
23151         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23152         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23153         Remove conditional code.
23154         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23155         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23156         Remove conditional code.
23157         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23158         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23159         Remove conditional code.
23160         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23161         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23162         Remove conditional code.
23163         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23164         * sysdeps/unix/sysv/linux/sh/pwrite64.c
23165         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23166         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23167         * sysdeps/unix/sysv/linux/sigaction.c
23168         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23169         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23170         * sysdeps/unix/sysv/linux/sigpending.c
23171         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23172         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23173         * sysdeps/unix/sysv/linux/sigprocmask.c
23174         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23175         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23176         * sysdeps/unix/sysv/linux/sigsuspend.c
23177         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23178         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23179         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23180         (__libc_missing_rt_sigs): Remove.
23181         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23182         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23183         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23184         Remove conditional code.
23185         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23186         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23187         return 1.
23188         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23189         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23190         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23191         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23193 2012-05-14  Andreas Jaeger  <aj@suse.de>
23195         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23196         it's not used in glibc.
23197         (__coshm1): Likewise.
23198         (__acosh1p): Likewise.
23199         (__sgn): Likewise.
23201         * manual/string.texi (Copying and Concatenation): Add missing
23202         variable in concat example.
23203         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23205 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23207         [BZ #14103]
23208         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23209         __builtin_clzl with __builtin_clzll.
23211 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23213         [BZ #14104]
23214         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23215         libc_freeres_ptr.
23217 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23219         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23220         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23221         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23222         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23224 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
23226         * NEWS: Update ia64 info.
23228 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
23230         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23231         used as bcopy.
23233 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
23235         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23236         * sysdeps/unix/syscalls.list (dup3): Likewise.
23237         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23238         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23240 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23242         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23243         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23245 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23247         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23248         thread pointer.
23249         (TLS_IE): Use mov/add instead of movq/addq to load thread
23250         pointer.
23251         (TLS_GD_PREFIX): New.
23252         (TLS_GD): Use it.
23254 2012-05-11  David S. Miller  <davem@davemloft.net>
23256         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23257         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23258         (_FPU_SETCW): Likewise.
23260 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23262         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23263         is 32-byte aligned.
23265 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
23267         [BZ #11837]
23268         * iconvdata/gb18030.c: Update tables.
23269         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
23270         characters specially.
23271         (BODY for TO_LOOP): Add encoding of missing ranges.
23273 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
23275         [BZ #13673]
23276         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23277         * sysdeps/mach/hurd/dup3.c: Likewise.
23278         * sysdeps/mach/hurd/readlinkat.c: Likewise.
23279         * sysdeps/powerpc/memmove.c:: Likewise.
23281 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23283         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23284         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23286 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23288         * elf/elf.h (R_X86_64_RELATIVE64): New.
23289         (R_X86_64_NUM): Updated.
23290         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23291         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
23292         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23293         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23294         tst-quad1pie tst-quad2pie
23295         (modules-names): Add tst-quadmod1 tst-quadmod2.
23296         ($(objpfx)tst-quad1): New dependency.
23297         ($(objpfx)tst-quad2): Likewise.
23298         ($(objpfx)tst-quad1pie): Likewise.
23299         ($(objpfx)tst-quad2pie): Likewise.
23300         * sysdeps/x86_64/tst-quad1.c: New file.
23301         * sysdeps/x86_64/tst-quad1pie.c: New file.
23302         * sysdeps/x86_64/tst-quad2.c: Likewise.
23303         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23304         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23305         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23306         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23307         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23309 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23311         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23312         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23313         * streams/stropts.h (t_scalar_t): Define type.
23315         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23316         (_PATH_PRESERVE): Set to "/var/lib".
23317         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23319         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23320         instead of int.
23322         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23323         if __dir_mkfile succeeded.
23325         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23326         checking for _hurd_dtablesize.  Unlock it right after having
23327         finished _hurd_dtable allocation.
23329 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23331         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23332         * sysdeps/mach/hurd/configure: Regenerated.
23333         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23334         special-casing to...
23335         * sysdeps/gnu/configure.in: ... this new file.
23336         * sysdeps/unix/sysv/linux/configure: Regenerated.
23337         * sysdeps/gnu/configure: New generated file.
23339         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23340         for Linux: use nsec instead of usec, as well as:
23341         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23342         members of type struct timespec.
23343         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23344         New macros.
23345         (struct stat64): Likewise.
23346         (_STATBUF_ST_NSEC): New macro.
23347         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23349         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23350         __strtoul_internal rather than strtoul.
23352 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23354         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23355         and reject them.
23357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23359         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23360         which preserves existing values.
23361         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23363 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23365         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23366         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23367         greater than FD_SETSIZE.
23369 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23371         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23372         allocated, call __vm_protect to finish enabling the existing space, and
23373         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23374         allocate the remainder.
23376 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23378         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23379         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23381 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23383         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23384         sysdeps/mach/hurd/readlink.c.
23386         * posix/tst-sysconf.c (posix_options): Only use
23387         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23388         _POSIX_SYNCHRONIZED_IO when they are defined
23389         * sysdeps/mach/hurd/bits/posix_opt.h:
23390         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23391         (_XOPEN_REALTIME): Undefine macro.
23392         (_XOPEN_REALTIME_THREADS): Undefine macro.
23393         (_XOPEN_SHM): Undefine macro.
23394         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23395         macro to -1.
23396         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23397         macro to -1.
23398         (_POSIX_ASYNC_IO): Undefine macro.
23399         (_POSIX_PRIORITIZED_IO): Undefine macro.
23400         (_POSIX_SPIN_LOCKS): Define macro to -1.
23402         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23403         SA_NODEFER, SA_RESETHAND.
23404         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23405         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23406         F_DUPFD_CLOEXEC.
23408 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23410         * elf/Makefile (pldd-modules): Define unconditionally.
23412 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23414         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23416 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23418         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23419         Return ENOENT when name is empty.
23420         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23422 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23424         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23426         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23428 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23430         Fix mlock in all cases except non-readable pages.
23431         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23432         instead of VM_PROT_ALL as parameter to __vm_wire function.
23434         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23435         (__mkdir): When path is `/', just fail with EEXIST.
23436         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23438 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23440         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23441         <sys/uio.h> (for writev).
23442         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23443         and <sys/param.h> (for MIN).
23445 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23447         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23448         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23449         if interrupted.
23451 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23453         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23454         Depend on against $(link-rpcuserlibs).
23456 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23458         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23459         (__libc_stack_end): Do not use attribute_relro.
23460         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23461         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23462         to libthread-provided value.
23463         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23464         attribute_relro.
23466 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23468         [BZ #3748]
23469         * bits/libc-lock.h (__libc_once_get): New macro.
23470         * sysdeps/mach/bits/libc-lock.h: Likewise.
23471         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23472         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23473         instead of using implementation details.
23475         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23476         * libio/freopen.c: Likewise.
23477         * libio/freopen64.c: Likewise.
23478         * misc/syslog.c: Likewise.
23479         * nscd/connections.c: Likewise.
23480         * nscd/netgroupcache.c: Likewise.
23481         * sysdeps/posix/getcwd.c: Likewise.
23483 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23485         * math/w_ilogbf.c: Add #include <limits.h>.
23487 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23489         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23490         path instead of returning without unlocking.
23492         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23493         immediate-write ioctls.
23494         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23498         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23499         __builtin_frame_address instead of making assumptions about the
23500         location of the return address relative to DATA.  Force early load of
23501         the return address.
23502         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23503         __builtin_frame_address.
23505         dup3 for GNU Hurd.
23506         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23507         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
23508         implement dup3 and do some further code clean-ups.
23509         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23510         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23514         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23516         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23517         HURD_CRITICAL_END around holding _hurd_dtable_lock.
23518         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23519         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23520         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23521         d->port.lock.
23523         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23524         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
23525         when handler == SIG_ERR, not when handler != SIG_ERR.
23527 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23529         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23530         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23531         definitions.
23533         accept4 for GNU Hurd.
23534         * include/sys/socket.h (__libc_accept4): New prototype.
23535         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
23536         to implement __libc_accept4.
23537         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23538         __libc_accept4.
23539         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23541         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23542         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23543         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23544         signal-defines.sym.
23546 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23548         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23552         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23553         assertion on O_CLOEXEC flag.
23554         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23555         * hurd/intern-fd.c: Likewise.
23556         * hurd/port2fd.c: Likewise.
23558 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23560         [BZ #3906]
23561         * bits/in.h (IPV6_PKTINFO): Define new macro.
23562         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23564 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23566         [BZ #13954]
23567         [BZ #13955]
23568         [BZ #13956]
23569         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23570         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23571         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23572         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23573         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23574         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23575         * math/libm-test.inc (logb_test) : Additional logb tests.
23577 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
23578             Andreas Jaeger  <aj@suse.de>
23580         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23581         * configure: Regenerated.
23582         * config.h.in (LINK_OBSOLETE_RPC): New macro.
23583         * config.make.in (link-obsolete-rpc): New substituted variable.
23584         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23585         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23586         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23587         (shared-only-routines): Don't set it under [link-obsolete-rpc],
23588         so that libc.a contains the symbols.
23589         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23590         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23591         * sunrpc/auth_none.c: Likewise.
23592         * sunrpc/auth_unix.c: Likewise.
23593         * sunrpc/authdes_prot.c: Likewise.
23594         * sunrpc/authuxprot.c: Likewise.
23595         * sunrpc/clnt_gen.c: Likewise.
23596         * sunrpc/clnt_perr.c: Likewise.
23597         * sunrpc/clnt_raw.c: Likewise.
23598         * sunrpc/clnt_simp.c: Likewise.
23599         * sunrpc/clnt_tcp.c: Likewise.
23600         * sunrpc/clnt_udp.c: Likewise.
23601         * sunrpc/clnt_unix.c: Likewise.
23602         * sunrpc/des_crypt.c: Likewise.
23603         * sunrpc/des_soft.c: Likewise.
23604         * sunrpc/get_myaddr.c: Likewise.
23605         * sunrpc/key_call.c: Likewise.
23606         * sunrpc/key_prot.c: Likewise.
23607         * sunrpc/netname.c: Likewise.
23608         * sunrpc/pm_getmaps.c: Likewise.
23609         * sunrpc/pm_getport.c: Likewise.
23610         * sunrpc/pmap_clnt.c: Likewise.
23611         * sunrpc/pmap_prot.c: Likewise.
23612         * sunrpc/pmap_prot2.c: Likewise.
23613         * sunrpc/pmap_rmt.c: Likewise.
23614         * sunrpc/publickey.c: Likewise.
23615         * sunrpc/rpc_cmsg.c: Likewise.
23616         * sunrpc/rpc_common.c: Likewise.
23617         * sunrpc/rpc_dtable.c: Likewise.
23618         * sunrpc/rpc_prot.c: Likewise.
23619         * sunrpc/rpc_thread.c: Likewise.
23620         * sunrpc/rtime.c: Likewise.
23621         * sunrpc/svc.c: Likewise.
23622         * sunrpc/svc_auth.c: Likewise.
23623         * sunrpc/svc_raw.c: Likewise.
23624         * sunrpc/svc_run.c: Likewise.
23625         * sunrpc/svc_tcp.c: Likewise.
23626         * sunrpc/svc_udp.c: Likewise.
23627         * sunrpc/svc_unix.c: Likewise.
23628         * sunrpc/svcauth_des.c: Likewise.
23629         * sunrpc/xcrypt.c: Likewise.
23630         * sunrpc/xdr.c: Likewise.
23631         * sunrpc/xdr_array.c: Likewise.
23632         * sunrpc/xdr_float.c: Likewise.
23633         * sunrpc/xdr_intXX_t.c: Likewise.
23634         * sunrpc/xdr_mem.c: Likewise.
23635         * sunrpc/xdr_rec.c: Likewise.
23636         * sunrpc/xdr_ref.c: Likewise.
23637         * sunrpc/xdr_sizeof.c: Likewise.
23638         * sunrpc/xdr_stdio.c: Likewise.
23640 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23642         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23643         change.  Update copyright years.
23645 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23647         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23649 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
23650             Joseph Myers  <joseph@codesourcery.com>
23651             Paul Pluzhnikov  <ppluzhnikov@google.com>
23653         [BZ #14012]
23654         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23655         requiring rpcgen.
23656         [cross-compiling] (extra-libs): Likewise.
23657         [cross-compiling] (extra-libs-others): Likewise.
23658         [cross-compiling] (librpcsvc-routines): Likewise.
23659         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23660         [cross-compiling] (omit-deps): Likewise.
23661         (sunrpc-CPPFLAGS): New variable.
23662         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23663         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23664         (cross-rpcgen-objs): New variable.
23665         (extra-objs): Append $(cross-rpcgen-objs).
23666         ($(cross-rpcgen-objs)): New rule.
23667         ($(objpfx)cross-rpcgen): Likewise.
23668         (rpcgen-cmd): Define to use $(built-program-file).  Expand
23669         comment.
23670         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23671         ($(objpfx)x%.stmp): Likewise.
23672         * sunrpc/proto.h [IS_IN_build] (_): Define.
23673         [IS_IN_build] (_libc_intl_domainname): Likewise.
23675 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23677         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23678         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23679         and R_X86_64_TPOFF64.
23681 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23683         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23684         sysdeps/unix/sysv/syscalls.list.
23685         (stime): Likewise.
23686         (utime): Likewise.
23687         * sysdeps/unix/sysv/syscalls.list: Remove file.
23689 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
23691         [BZ #3440]
23692         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23693         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23694         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23695         (__LC_IDENTIFICATION): Make these macros useful in #if
23696         expressions, as required by C99.
23698 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
23700         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23701         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
23702         after this.
23704 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
23706         * stdlib/longlong.h: Updated from GCC.
23708 2012-05-09  Andreas Jaeger  <aj@suse.de>
23710         * nscd/nscd.c (run_modes): Make named enum, reorder so that
23711         default is first entry.
23712         (run_mode): Set type.
23713         (main): Remove informal message about syslog.
23714         (options): Fix typo.
23716         [BZ #14053]
23717         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23718         to asm.
23719         (lrint): Likewise.
23720         (llrintf): Likewise.
23721         (llrint): Likewise.
23722         (rint): Likewise.
23723         (rintf): Likewise.
23724         (nearbyint): Likewise.
23725         (nearbyintf): Likewise.
23727 2012-05-09  Andreas Jaeger  <aj@suse.de>
23728             Pedro Alves  <palves@redhat.com>
23730         * nscd/nscd.c (run_mode): Use enum.
23731         (main): Cleanup coding style issue.
23733 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
23734             Andreas Jaeger  <aj@suse.de>
23736         * nscd/nscd.c (go_background): Replaced with...
23737         (run_mode): ... this.
23738         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23739         (options): Add -F --foreground.
23740         (main): Implement it.
23741         (parse_opt): Parse it.
23743 2012-05-09  Andreas Jaeger  <aj@suse.de>
23745         [BZ #14083]
23746         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23747         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23748         -Wconversion warning.
23749         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23750         Likewise.
23752 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
23754         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
23755         == 0.
23756         (LC_ALL): Use macro-int-constant.
23757         (LC_COLLATE): Likewise.
23758         (LC_CTYPE): Likewise.
23759         (LC_MESSAGES): Likewise.
23760         (LC_MONETARY): Likewise.
23761         (LC_NUMERIC): Likewise.
23762         (LC_TIME): Likewise.
23763         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23764         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23765         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23766         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23767         Specify type.
23768         [C99-based standards] (float_t): Expect type.
23769         [C99-based standards] (double_t): Expect type.
23770         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
23771         type.
23772         [C99-based standards] (HUGE_VALL): Likewise.
23773         [C99-based standards] (INFINITY): Likewise.
23774         [C99-based standards] (NAN): Likewise.
23775         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23776         [C99-based standards] (FP_NAN): Likewise.
23777         [C99-based standards] (FP_NORMAL): Likewise.
23778         [C99-based standards] (FP_SUBNORMAL): Likewise.
23779         [C99-based standards] (FP_ZERO): Likewise.
23780         [C99-based standards] (FP_FAST_FMA): Use
23781         optional-macro-int-constant.  Specify type.  Require == 1.
23782         [C99-based standards] (FP_FAST_FMAF): Likewise.
23783         [C99-based standards] (FP_FAST_FMAL): Likewise.
23784         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23785         [C99-based standards] (FP_ILOGBNAN): Likewise.
23786         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23787         Specify type.
23788         [C99-based standards] (MATH_ERREXCEPT): Likewise.
23789         [C99-based standards] (math_errhandling): Specify type.
23790         [ISO99 || ISO11] (signgam): Do not allow.
23791         [non-C99-based standards] (copysignf): Do not allow.
23792         [non-C99-based standards] (exp2f): Likewise.
23793         [non-C99-based standards] (log2f): Likewise.
23794         [non-C99-based standards] (modff): Allow.
23795         [non-C99-based standards] (erff): Do not allow.
23796         [non-C99-based standards] (erfcf): Likewise.
23797         [non-C99-based standards] (gammaf): Likewise.
23798         [non-C99-based standards] (hypotf): Likewise.
23799         [non-C99-based standards] (j0f): Likewise.
23800         [non-C99-based standards] (j1f): Likewise.
23801         [non-C99-based standards] (jnf): Likewise.
23802         [non-C99-based standards] (lgammaf): Likewise.
23803         [non-C99-based standards] (tgammaf): Likewise.
23804         [non-C99-based standards] (y0f): Likewise.
23805         [non-C99-based standards] (y1f): Likewise.
23806         [non-C99-based standards] (ynf): Likewise.
23807         [non-C99-based standards] (isnanf): Likewise.
23808         [non-C99-based standards] (acoshf): Likewise.
23809         [non-C99-based standards] (asinhf): Likewise.
23810         [non-C99-based standards] (atanhf): Likewise.
23811         [non-C99-based standards] (cbrtf): Likewise.
23812         [non-C99-based standards] (expm1f): Likewise.
23813         [non-C99-based standards] (ilogbf): Likewise.
23814         [non-C99-based standards] (log1pf): Likewise.
23815         [non-C99-based standards] (logbf): Likewise.
23816         [non-C99-based standards] (nextafterf): Likewise.
23817         [non-C99-based standards] (remainderf): Likewise.
23818         [non-C99-based standards] (rintf): Likewise.
23819         [non-C99-based standards] (scalbf): Likewise.
23820         [non-C99-based standards] (copysignl): Likewise.
23821         [non-C99-based standards] (exp2l): Likewise.
23822         [non-C99-based standards] (log2l): Likewise.
23823         [non-C99-based standards] (modfl): Allow.
23824         [non-C99-based standards] (erfl): Do not allow.
23825         [non-C99-based standards] (erfcl): Likewise.
23826         [non-C99-based standards] (gammal): Likewise.
23827         [non-C99-based standards] (hypotl): Likewise.
23828         [non-C99-based standards] (j0l): Likewise.
23829         [non-C99-based standards] (j1l): Likewise.
23830         [non-C99-based standards] (jnl): Likewise.
23831         [non-C99-based standards] (lgammal): Likewise.
23832         [non-C99-based standards] (tgammal): Likewise.
23833         [non-C99-based standards] (y0l): Likewise.
23834         [non-C99-based standards] (y1l): Likewise.
23835         [non-C99-based standards] (ynl): Likewise.
23836         [non-C99-based standards] (isnanl): Likewise.
23837         [non-C99-based standards] (acoshl): Likewise.
23838         [non-C99-based standards] (asinhl): Likewise.
23839         [non-C99-based standards] (atanhl): Likewise.
23840         [non-C99-based standards] (cbrtl): Likewise.
23841         [non-C99-based standards] (expm1l): Likewise.
23842         [non-C99-based standards] (ilogbl): Likewise.
23843         [non-C99-based standards] (log1pl): Likewise.
23844         [non-C99-based standards] (logbl): Likewise.
23845         [non-C99-based standards] (nextafterl): Likewise.
23846         [non-C99-based standards] (remainderl): Likewise.
23847         [non-C99-based standards] (rintl): Likewise.
23848         [non-C99-based standards] (scalbl): Likewise.
23849         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23850         [non-C99-based standards] (FP_*): Do not allow.
23851         [C99-based standards] (FP_*): Change to
23852         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23853         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23854         allow.
23855         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23856         (SIG_ERR): Likewise.
23857         [X/Open-based standards] (SIG_HOLD): Likewise.
23858         (SIG_IGN): Likewise.
23859         (SIGABRT): Use macro-int-constant.  Specify type.  Require
23860         positive value.
23861         (SIGFPE): Likewise.
23862         (SIGILL): Likewise.
23863         (SIGINT): Likewise.
23864         (SIGSEGV): Likewise.
23865         (SIGTER): Likewise.
23866         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23867         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23868         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23869         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23870         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23871         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23872         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23873         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23874         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23875         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23876         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23877         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23878         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23879         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23880         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23881         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23882         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23883         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23884         [X/Open-based standards] (SIGTRAP): Likewise.
23885         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23886         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23887         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23888         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23889         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23890         allow.
23892 2012-05-08  Ian Wienand  <ianw@vmware.com>
23894         [BZ #14080]
23895         * time/tzset.c (__tzset_parse_tz): Update default rules for
23896         daylight time changes in the Energy Policy Act of 2005.
23898 2012-05-09  Andreas Jaeger  <aj@suse.de>
23900         [BZ #13983]
23901         * elf/ldconfig.c (parse_conf): Change string to make clear that
23902         ldconfig only issued a warning if ld.so.conf does not exist.
23904 2012-05-08  David S. Miller  <davem@davemloft.net>
23906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23907         movxtod instead of popping the value on the stack.
23909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23911 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
23913         * config.h.in: Add HAVE_ARM_PCS_VFP.
23915 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
23917         [BZ #13979]
23918         * include/features.h: Warn if user requests __FORTIFY_SOURCE
23919         checking but the checks are disabled for any reason.
23921 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
23923         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23924         and ELF64_R_TYPE with ELFW(R_TYPE).
23926 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
23928         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23929         (ulimit): Likewise.
23931         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23932         (settimeofday): Likewise.
23934 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
23936         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
23937         a struct th_u2 inside the union, and move tu_block/tu_code into
23938         a new th_u3 union of tu_block/tu_code inside of that.  Move
23939         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
23940         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
23941         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23942         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23943         (th_stuff): Change to th_u1.tu_stuff.
23944         (th_data): Define.
23945         (th_msg): Change to th_u1.th_u2.tu_data.
23947 2012-05-07  David S. Miller  <davem@davemloft.net>
23949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23951         [BZ #14074]
23952         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23953         (SETUP_PIC_REG): Use it.
23954         (SETUP_PIC_REG_LEAF): Use it.
23956 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
23958         [BZ #13885]
23959         [BZ #13923]
23960         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23961         USE_AS_EXPM1L.
23962         (EXPL_FINITE): Likewise.
23963         (FLDLOG): Likewise.
23964         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23965         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23966         e_expl.S.
23967         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23968         USE_AS_EXPM1L.
23969         (EXPL_FINITE): Likewise.
23970         (FLDLOG): Likewise.
23971         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23972         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23973         e_expl.S.
23974         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
23975         test of -max_value argument for long double.
23976         * sysdeps/i386/fpu/libm-test-ulps: Update.
23977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23979 2012-05-06  David S. Miller  <davem@davemloft.net>
23981         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23982         quad soft-float symbols whose references which are compiler
23983         generated.
23984         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23986 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
23988         [BZ #13884]
23989         [BZ #13914]
23990         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23991         USE_AS_EXP10L.
23992         (EXPL_FINITE): Likewise.
23993         (FLDLOG): Likewise.
23994         (c0): Likewise.
23995         (c1): Likewise.
23996         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
23997         Adjust comments for base varying.
23998         (__expl_finite): Change alias to EXPL_FINITE.
23999         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24000         e_expl.S.
24001         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24002         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24003         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24004         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24005         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24006         USE_AS_EXP10L.
24007         (EXPL_FINITE): Likewise.
24008         (FLDLOG): Likewise.
24009         (c0): Likewise.
24010         (c1): Likewise.
24011         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24012         Adjust comments for base varying.
24013         (__expl_finite): Change alias to EXPL_FINITE.
24014         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24015         tests for bugs.
24016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24018         [BZ #14064]
24019         * math/libm-test.inc (check_float_internal): Correct ulp
24020         calculation for subnormal expected results.
24022 2012-05-06  Andreas Jaeger  <aj@suse.de>
24024         * Makeconfig (+math-flags): New, set to -frounding-math.
24025         (+cflags): Add +math-flags so that all of glibc gets compiled with
24026         it.
24028         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24030 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24032         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24033         Disable one test.
24035         [BZ #13787]
24036         [BZ #13922]
24037         [BZ #14036]
24038         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24039         (__ieee754_expl): Allow for and saturate large arguments.
24040         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24041         (u_threshold): Likewise.
24042         (__exp): Call __ieee754_exp before checking for overflow and
24043         underflow.
24044         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24045         (u_threshold): Likewise.
24046         (__expf): Call __ieee754_expf before checking for overflow and
24047         underflow.
24048         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24049         (u_threshold): Likewise.
24050         (__expl): Call __ieee754_expl before checking for overflow and
24051         underflow.
24052         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24053         (__ieee754_expl): Allow for and saturate large arguments.
24054         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24055         missing overflow exception on overflow.
24056         (expm1_test): Do not allow missing overflow exception on overflow.
24058         * sysdeps/i386/fpu/e_expl.c: Move to ...
24059         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24060         rather than using inline asm.
24061         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24062         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24063         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24065         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24066         (nice): Likewise.
24067         (poll): Likewise.
24068         (signal): Likewise.
24069         (time): Likewise.
24070         (times): Likewise.
24072 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24074         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24075         sysdeps/unix/common/syscalls.list.
24076         (fchmod): Likewise.
24077         (fchown): Likewise.
24078         (ftruncate): Likewise.
24079         (getrusage): Likewise.
24080         (gettimeofday): Likewise.
24081         (setpgid): Likewise.
24082         (setregid): Likewise.
24083         (setreuid): Likewise.
24084         (sigaction): Likewise.
24085         (truncate): Likewise.
24086         (vhangup): Likewise.
24087         * sysdeps/unix/common/syscalls.list: Remove file.
24088         * sysdeps/unix/bsd/Implies: Don't include unix/common.
24089         * sysdeps/unix/sysv/linux/Implies: Likewise.
24091 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
24093         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24095         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24096         Moved to ...
24097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24098         Here.
24099         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24100         to ...
24101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24102         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24103         to ...
24104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24105         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24106         to ...
24107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24108         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24109         to ...
24110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24111         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24112         to ...
24113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24114         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24115         to ...
24116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24117         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24118         to ...
24119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24120         Here.
24121         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24122         to ...
24123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24124         Here.
24125         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24126         to ...
24127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24128         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24129         Moved to ...
24130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24131         Here.
24132         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24133         to ...
24134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24136 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24138         * sysdeps/unix/common/bits/dirent.h: Remove file.
24139         * sysdeps/unix/common/bits/fcntl.h: Likewise.
24141         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24142         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24143         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24144         * sysdeps/unix/bsd/isatty.c: Likewise.
24145         * sysdeps/unix/bsd/tcdrain.c: Likewise.
24146         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24147         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24149 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24151         [BZ #13563]
24152         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24153         long double comparison inaccuracies.
24154         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24157 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
24159         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24160         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24162 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24164         [BZ #14049]
24165         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24166         nonzero digits before rounding a hex value.
24167         * stdlib/tst-strtod.c (tests): Add another test.
24169 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24171         * sysdeps/s390/fpu/libm-test-ulps: Update.
24173 2012-05-03  Andreas Jaeger  <aj@suse.de>
24175         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24176         does not get optimized out.
24177         (malloc_opt_barrier): New.
24179 2012-05-03  Andreas Jaeger  <aj@suse.de>
24180             Roland McGrath  <roland@hack.frob.com>
24182         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24183         intermediate file deletion.
24184         (generated): Add .symlist files.
24186 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
24188         [BZ #13775]
24189         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24190         Redirect under this condition.
24191         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24192         [__USE_GNU] (__dprintf_chk): Not under this condition.
24193         [__USE_GNU] (__vdprintf_chk): Likewise.
24194         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24195         under this condition.
24196         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24197         [__USE_XOPEN2K8] (dprintf): Define under this condition.
24198         [__USE_XOPEN2K8] (vdprintf): Likewise.
24199         [__USE_GNU] (__dprintf_chk): Not under this condition.
24200         [__USE_GNU] (__vdprintf_chk): Likewise.
24201         [__USE_GNU] (dprintf): Likewise.
24202         [__USE_GNU] (vdprintf): Likewise.
24204 2012-05-03  Roland McGrath  <roland@hack.frob.com>
24206         * elf/Makefile (common-generated): Set this instead of generated for
24207         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
24208         $(all-built-dso)-derived lists.
24210 2012-05-03  Andreas Jaeger  <aj@suse.de>
24212         * sysdeps/i386/fpu/libm-test-ulps: Update.
24214         * FAQ: Removed.
24215         * FAQ.in: Likewise.
24216         * scripts/gen-FAQ.pl: Likewise.
24217         * manual/install.texi (Installation): Point to online location of
24218         FAQ.
24219         * Makefile (files-for-dist): Remove FAQ.
24220         (FAQ): Remove.
24222 2012-05-02  Allan McRae  <allan@archlinux.org>
24224         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24225         (LDFLAGS-reldepmod5.so): Likewise.
24226         (LDFLAGS-reldep6mod1.so): Likewise.
24227         (LDFLAGS-reldep6mod4.so): Likewise.
24228         (LDFLAGS-reldep8mod3.so): Likewise.
24229         (LDFLAGS-unload4mod1.so): Likewise.
24230         (LDFLAGS-unload4mod2.so): Likewise.
24231         (LDFLAGS-tst-initorder): Likewise.
24232         (LDFLAGS-tst-initordera2.so): Likewise.
24233         (LDFLAGS-tst-initordera3.so): Likewise.
24234         (LDFLAGS-tst-initordera4.so): Likewise.
24235         (LDFLAGS-tst-initorderb2.so): Likewise.
24236         (LDFLAGS-noload): Likewise.
24237         (LDFLAGS-next): Likewise.
24238         (LDFLAGS-order2mod1.so): Likewise.
24239         (LDFLAGS-order2mod2.so): Likewise.
24240         (LDFLAGS-tst-initorder2): Likewise.
24241         (LDFLAGS-tst-initorder2a.so): Likewise.
24242         (LDFLAGS-tst-initorder2b.so): Likewise.
24243         (LDFLAGS-tst-initorder2c.so): Likewise.
24244         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24246 2012-05-02  David S. Miller  <davem@davemloft.net>
24248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24250 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24252         [BZ #14055]
24253         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24255 2012-05-02  Andreas Jaeger  <aj@suse.de>
24257         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24258         since we manipulate rounding mode.
24259         (CPPFLAGS-test-idouble.c): Likewise.
24260         (CPPFLAGS-test-ifloat.c): Likewise.
24261         (CFLAGS-test-ldouble.c): Likewise.
24262         (CFLAGS-test-double.c): Likewise.
24263         (CFLAGS-test-float.c): Likewise.
24264         (CFLAGS-test-misc.c): Likewise.
24265         (CFLAGS-test-test-fenv.c): Likewise.
24267 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24269         [BZ #2550]
24270         [BZ #2570]
24271         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24272         comparisons to determine direction to adjust input.
24274 2012-05-01  Roland McGrath  <roland@hack.frob.com>
24276         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24277         output to the target.
24279         * scripts/localplt.awk: New file.
24280         * elf/Makefile ($(objpfx)check-localplt): Target removed.
24281         (check-localplt-CFLAGS): Variable removed.
24282         ($(all-built-dso:=.jmprel)): New static pattern rule.
24283         (generated): Add those targets.
24284         (localplt-built-dso): New variable.
24285         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24287         * elf/check-localplt.c: File removed.
24289         * scripts/check-execstack.awk: New file.
24290         * elf/Makefile ($(objpfx)check-execstack): Target removed.
24291         (check-execstack-CFLAGS): Variable removed.
24292         ($(objpfx)check-execstack.h): Target removed.
24293         ($(objpfx)execstack-default): New target.
24294         (generated): Add that instead of check-execstack.h.
24295         ($(all-built-dso:=.phdr)): New static pattern rule.
24296         (generated): Add those targets.
24297         * elf/check-execstack.c: File removed.
24299         * scripts/check-textrel.awk: New file.
24300         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24301         (check-textrel-CFLAGS): Variable removed.
24302         (all-built-dso): Use := to define.o
24303         ($(all-built-dso:=.dyn)): New static pattern rule.
24304         (generated): Add those targets.
24305         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24306         * config.make.in (READELF): New substituted variable.
24307         * elf/check-textrel.c: File removed.
24309 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24311         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24312         allow.
24313         * conform/data/ctype.h-data [C99-based standards] (isblank):
24314         Expect function.
24315         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24316         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24317         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24318         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24319         Specify type.  Require positive value.
24320         (EILSEQ): Likewise.
24321         (ERANGE): Likewise.
24322         [ISO || POSIX] (EILSEQ): Do not expect.
24323         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24324         Specify type.  Require positive value.
24325         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24326         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24327         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24328         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24329         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24330         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24331         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24332         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24333         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24334         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24335         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24336         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24337         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24338         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24339         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24340         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24341         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24342         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24343         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24344         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24345         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24346         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24347         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24348         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24349         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24350         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24351         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24352         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24353         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24354         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24355         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24356         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24357         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24358         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24359         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24360         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24361         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24362         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24363         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24364         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24365         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24366         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24367         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24368         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24369         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24370         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24371         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24372         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24373         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24374         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24375         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24376         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24377         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24378         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24379         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24380         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24381         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24382         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24383         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24384         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24385         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24386         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24387         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24388         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24389         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24390         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24391         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24392         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24393         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24394         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24395         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24396         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24397         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24398         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24399         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24400         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24401         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24402         Require >= 2.
24403         (FLT_ROUNDS): Expect as macro, not constant.
24404         (FLT_MANT_DIG): Use macro-int-constant.
24405         (DBL_MANT_DIG): Likewise.
24406         (LDBL_MANT_DIG): Likewise.
24407         (FLT_DIG): Likewise.
24408         (DBL_DIG): Likewise.
24409         (LDBL_DIG): Likewise.
24410         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24411         (DBL_MIN_EXP): Likewise.
24412         (LDBL_MIN_EXP): Likewise.
24413         (FLT_MAX_EXP): Use macro-int-constant.
24414         (DBL_MAX_EXP): Likewise.
24415         (LDBL_MAX_EXP): Likewise.
24416         (FLT_MAX_10_EXP): Likewise.
24417         (DBL_MAX_10_EXP): Likewise.
24418         (LDBL_MAX_10_EXP): Likewise.
24419         (FLT_MAX): Use macro-constant.
24420         (DBL_MAX): Likewise.
24421         (LDBL_MAX): Likewise.
24422         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24423         (DBL_EPSILON): Likewise.
24424         (LDBL_EPSILON): Likewise.
24425         (FLT_MIN): Likewise.
24426         (DBL_MIN): Likewise.
24427         (LDBL_MIN): Likewise.
24428         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24429         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24430         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24431         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24432         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24433         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24434         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24435         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24436         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24437         [ISO11] (FLT_TRUE_MIN): Likewise.
24438         [ISO11] (LDBL_TRUE_MIN): Likewise.
24439         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24440         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24441         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24442         (SCHAR_MAX): Likewise.
24443         (UCHAR_MAX): Likewise.
24444         (CHAR_MIN): Likewise.
24445         (CHAR_MAX): Likewise.
24446         (MB_LEN_MAX): Use macro-int-constant.
24447         (SHRT_MIN): Use macro-int-constant.  Specify type.
24448         (SHRT_MAX): Likewise.
24449         (USHRT_MAX): Likewise.
24450         (INT_MAX): Likewise.
24451         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24452         bound negative.
24453         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24454         bound with "U".
24455         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24456         bound with "L".
24457         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24458         bound negative.  Suffix upper bound with "L".
24459         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24460         bound with "UL".
24461         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24462         Specify type.
24463         [C99-based standards] (LLONG_MAX): Likewise.
24464         [C99-based standards] (ULLONG_MAX): Likewise.
24465         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24466         == 0.
24467         [ISO11] (max_align_t): Require type.
24468         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24470         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24471         from $CFLAGS, without defining away __attribute__ calls.
24472         (checknamespace): Use $CFLAGS_namespace.
24474         * conform/conformtest.pl (@keywords): Only include C99 keywords
24475         for standards based on C99 or C11.
24477         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24478         Disable tests.
24479         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24480         UNIX98]: Likewise.
24482         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24483         usability of symbols in #if.
24485         * conform/conformtest.pl: If macro or constant types start
24486         "promoted:", expect the symbol to be of the following type
24487         promoted by the integer promotions.
24489         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24490         in one place.  Also handle "macro-constant".
24492         * conform/conformtest.pl: Only accept expected macro values with
24493         "==".  Parse all "macro" lines in one place.
24494         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24496         * conform/conformtest.pl: Handle braced types on "constant" lines
24497         instead of handling "typed-constant".
24498         * conform/data/signal.h-data: Use "constant" instead of
24499         "typed-constant".
24501         * conform/conformtest.pl: Handle "optional-" at start of lines in
24502         one place rather than duplicating several cases.  Handle each
24503         format of "macro" line with initial "optional-".
24505         * conform/conformtest.pl: Only accept expected constant or
24506         optional-constant values with "==".  Parse all "constant" lines in
24507         one place.  Parse all "optional-constant" lines in one place.
24508         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24509         * conform/data/fmtmsg.h-data: Likewise.
24510         * conform/data/netinet/in.h-data: Likewise.
24511         * conform/data/tar.h-data: Likewise.
24512         * conform/data/limits.h-data: Use "==" form on "constant" and
24513         "optional-constant" lines.
24515         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24516         Use -std=c99 for XOPEN2K.
24517         (@knownproblems): Remove.
24518         (newtoken): Don't check %isknown.
24520         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24521         Do not expect macro.
24522         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24523         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24524         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24525         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24526         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24527         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24528         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24529         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24530         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24531         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24532         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24533         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24534         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24535         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24536         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24537         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24538         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24539         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24540         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24541         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24542         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24543         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24544         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24545         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24546         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24547         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24548         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24549         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24550         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24551         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24552         [XPG3] (acosh): Likewise.
24553         [XPG3] (asinh): Likewise.
24554         [XPG3] (atanh): Likewise.
24555         [XPG3] (cbrt): Likewise.
24556         [XPG3] (expm1): Likewise.
24557         [XPG3] (ilogb): Likewise.
24558         [XPG3] (log1p): Likewise.
24559         [XPG3] (logb): Likewise.
24560         [XPG3] (nextafter): Likewise.
24561         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24562         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24563         [XPG3] (remainder): Likewise.
24564         [XPG3] (rint): Likewise.
24565         [XPG3 || XPG4 || UNIX98] (round): Likewise.
24566         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24567         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24568         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24569         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24570         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24571         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24572         [UNIX98 || XOPEN2K] (scalb): Expect.
24573         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24574         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24575         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24576         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24577         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24578         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24579         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24580         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24581         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24582         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24583         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24584         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24585         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24586         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24587         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24588         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24589         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24590         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24591         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24592         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24593         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24594         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24595         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24596         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24597         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24598         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24599         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24600         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24601         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24602         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24603         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24604         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24605         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24606         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24607         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24608         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24609         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24610         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24611         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24612         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24613         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24614         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24615         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24616         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24617         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24618         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24619         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24620         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24621         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24622         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24623         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24624         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24625         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24626         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24627         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24628         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24629         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24630         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24631         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24632         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24633         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24634         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24635         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24636         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24637         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24638         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24639         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24640         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24641         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24642         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24643         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24644         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24645         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24646         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24647         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24648         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24649         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24650         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24651         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24652         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24653         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24654         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24655         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24656         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24657         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24658         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24659         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24660         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24661         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24662         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24663         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24664         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24665         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24666         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24667         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24668         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24669         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24670         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24671         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24672         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24673         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24674         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24675         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24676         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24677         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24678         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24679         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24680         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24681         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24682         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24683         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24684         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24685         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24686         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24687         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24688         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24689         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24690         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24691         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24692         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24693         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24694         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24695         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24696         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24697         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24698         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24699         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24700         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24701         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24702         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24703         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24704         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24705         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24706         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24707         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24708         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24709         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24711         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24712         _XOPEN_SOURCE_EXTENDED for XPG4.
24714         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24716         * Makeconfig (localtime): Remove variable.
24717         (inst_localtime-file): Likewise.
24719 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24722         Update.
24723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24724         Update.
24725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24726         Update.
24727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24728         Update.
24729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24730         Update.
24731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24732         Update.
24733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24734         Update.
24735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24736         Update.
24737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24738         Update.
24740 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24742         [BZ #2550]
24743         [BZ #2570]
24744         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24745         comparisons to determine direction to adjust input.
24746         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24747         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24748         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24749         Likewise.
24750         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24751         Likewise.
24752         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24753         Likewise.
24754         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24755         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24756         Likewise.
24757         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24758         Likewise.
24759         * math/libm-test.inc (nexttoward_test): Add more tests.
24761 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24763         [BZ #14040]
24764         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24765         in version GLIBC_2.1, not GLIBC_2.0.
24766         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24767         Likewise.
24769 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
24771         [BZ #13942]
24772         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24773         (1 - x) * (1 + x).
24774         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24775         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24776         * math/libm-test.inc (acos_test): Add more tests.
24777         (asin_test): Likewise.
24778         * sysdeps/i386/fpu/libm-test-ulps: Update.
24779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24781         [BZ #14034]
24782         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24783         of square root.
24784         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24785         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24786         * math/libm-test.inc (acos_test_tonearest): New function.
24787         (acos_test_towardzero): Likewise.
24788         (acos_test_downward): Likewise.
24789         (acos_test_upward): Likewise.
24790         (asin_test_tonearest): Likewise.
24791         (asin_test_towardzero): Likewise.
24792         (asin_test_downward): Likewise.
24793         (asin_test_upward): Likewise.
24794         (main): Call the new functions.
24795         * sysdeps/i386/fpu/libm-test-ulps: Update.
24796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24798         [BZ #13884]
24799         [BZ #13924]
24800         * math/e_exp10.c: Include <float.h>.
24801         (__ieee754_exp10): Handle underflow here rather than multiplying
24802         large negative argument by M_LN10.
24803         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24804         of __ieee754_expf.
24805         * math/e_exp10l.c: Include <float.h>.
24806         (__ieee754_exp10l): Handle underflow here rather than multiplying
24807         large negative argument by M_LN10l.
24808         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
24809         spurious overflow exception on underflow.
24811 2012-04-29  Marek Polacek  <polacek@redhat.com>
24813         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24814         (__fortify_function): New macro.
24815         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24816         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24817         __extern_always_inline.
24818         * libio/bits/stdio2.h: Likewise.
24819         * libio/bits/stdio.h: Likewise.
24820         * string/string.h: Likewise.
24821         * string/bits/string3.h: Likewise.
24822         * include/stdio.h: Likewise.
24823         * stdlib/bits/stdlib.h: Likewise.
24824         * stdlib/stdlib.h: Likewise.
24825         * rt/bits/mqueue2.h: Likewise.
24826         * rt/mqueue.h: Likewise.
24827         * posix/bits/unistd.h: Likewise.
24828         * posix/unistd.h: Likewise.
24829         * io/bits/poll2.h: Likewise.
24830         * io/bits/fcntl2.h: Likewise.
24831         * io/fcntl.h: Likewise.
24832         * io/sys/poll.h: Likewise.
24833         * misc/bits/syslog.h: Likewise.
24834         * misc/bits/syslog-ldbl.h: Likewise.
24835         * misc/sys/syslog.h: Likewise.
24836         * socket/bits/socket2.h: Likewise.
24837         * socket/sys/socket.h: Likewise.
24838         * debug/tst-chk1.c: Likewise.
24839         * wcsmbs/bits/wchar2.h: Likewise.
24840         * wcsmbs/bits/wchar-ldbl.h: Likewise.
24841         * wcsmbs/wchar.h: Likewise.
24843 2012-04-29  Andreas Jaeger  <aj@suse.de>
24845         * Makerules (tests): Remove enable-check-abi protection.
24846         (check-abi-warn): Remove.
24847         (check-abi-%): Remove check-abi-warn usage.
24849         * configure.in: Remove check-abi configure option.
24850         * configure: Regenerated.
24851         * config.make.in (enable-check-abi): Remove.
24853 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
24855         [BZ #14033]
24856         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24857         double functions to double *_finite functions.
24859         [BZ #13941]
24860         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24861         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24862         LDBL_MIN_EXP.
24863         * stdio-common/Makefile (tests): Add tst-sprintf3.
24864         * stdio-common/tst-sprintf3.c: New file.
24866         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24867         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24869 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24871         * conform/conformtest.pl: Remove duplicate typed-constant
24872         handling.
24874 2012-04-28  David S. Miller  <davem@davemloft.net>
24876         * Makerules (%.abilist): Add vpath on sysdep_dirs.
24877         (check-abi-%): Remove AWK script prerequisite and explicit
24878         abilist directory.
24879         (check-abi): Rewrite to just diff the symlist with the abilist.
24880         (config-tls, config-abi-config): Delete, no longer used.
24881         (update-abi-%): Remove AWK script and explicit abilist directory.
24882         (update-abi): Rewrite to simply compare and conditionally copy the
24883         symlist and the sysdep abilist file.  Remove update-abi-config
24884         checks.
24885         * abilist/ld.abilist: Remove.
24886         * abilist/libBrokenLocale.abilist: Remove.
24887         * abilist/libanl.abilist: Remove.
24888         * abilist/libcrypt.abilist: Remove.
24889         * abilist/libdl.abilist: Remove.
24890         * abilist/librt.abilist: Remove.
24891         * abilist/libthread_db.abilist: Remove.
24892         * abilist/libutil.abilist: Remove.
24893         * scripts/extract-abilist.awk: Remove.
24894         * scripts/merge-abilist.awk: Remove.
24895         * sysdeps/generic/libcidn.abilist: New file.
24896         * sysdeps/generic/libnss_compat.abilist: New file.
24897         * sysdeps/generic/libnss_db.abilist: New file.
24898         * sysdeps/generic/libnss_dns.abilist: New file.
24899         * sysdeps/generic/libnss_files.abilist: New file.
24900         * sysdeps/generic/libnss_hesiod.abilist: New file.
24901         * sysdeps/generic/libnss_nis.abilist: New file.
24902         * sysdeps/generic/libnss_nisplus.abilist: New file.
24903         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24904         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24905         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24906         file.
24907         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24908         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24909         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24910         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24911         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24912         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24913         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24914         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24915         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24916         file.
24917         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24918         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24919         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24920         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24921         file.
24922         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24923         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24924         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24925         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24926         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24927         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24928         file.
24929         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24930         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24931         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24932         file.
24933         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24934         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24935         New file.
24936         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24937         New file.
24938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24939         New file.
24940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24941         New file.
24942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24943         New file.
24944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24945         New file.
24946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24947         New file.
24948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24949         New file.
24950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24951         New file.
24952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24953         New file.
24954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24955         New file.
24956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24957         New file.
24958         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24959         New file.
24960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24961         file.
24962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24963         New file.
24964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24965         New file.
24966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24967         file.
24968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24969         New file.
24970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24971         New file.
24972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24973         file.
24974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24975         New file.
24976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24977         New file.
24978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24979         New file.
24980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24981         New file.
24982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24983         New file.
24984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24985         New file.
24986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24988         file.
24989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24990         New file.
24991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24992         file.
24993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24994         file.
24995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24996         file.
24997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24998         file.
24999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25000         file.
25001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25002         New file.
25003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25004         file.
25005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25006         file.
25007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25008         New file.
25009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25010         file.
25011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25013         file.
25014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25015         New file.
25016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25017         file.
25018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25019         file.
25020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25021         file.
25022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25023         file.
25024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25025         file.
25026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25027         New file.
25028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25029         file.
25030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25031         file.
25032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25033         New file.
25034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25035         file.
25036         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25037         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25038         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25039         file.
25040         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25041         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25042         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25043         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25044         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25045         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25046         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25047         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25048         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25049         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25052         file.
25053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25054         New file.
25055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25056         file.
25057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25058         file.
25059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25060         file.
25061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25062         file.
25063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25064         file.
25065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25066         New file.
25067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25068         New file.
25069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25070         file.
25071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25072         New file.
25073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25074         file.
25075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25077         file.
25078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25079         New file.
25080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25081         file.
25082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25083         file.
25084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25085         file.
25086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25087         file.
25088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25089         file.
25090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25091         New file.
25092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25093         New file.
25094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25095         file.
25096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25097         New file.
25098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25099         file.
25101 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25103         * conform/conformtest.pl: Fix typo in handling typed-constant from
25104         allow-header.
25106 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25108         * README: Cut down references to pre-2.6 Linux kernels and
25109         Linuxthreads.  Update lists of configurations in libc and ports
25110         and sort alphabetically.  Say "or newer" with Linux kernel version
25111         requirements.
25113         * config.h.in [IS_IN_build]: Allow compiling without optimization.
25115 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25117         [BZ #887]
25118         * math/libm-test.inc (logb_test_downward): New test to expose
25119         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25120         rounding mode.
25122 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25124         [BZ #14027]
25125         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25126         to be done.
25127         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25128         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25130 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
25132         * sysdeps/unix/i386/brk.S: Remove file.
25133         * sysdeps/unix/i386/dl-brk.S: Likewise.
25134         * sysdeps/unix/i386/pipe.S: Likewise.
25135         * sysdeps/unix/i386/sigreturn.S: Likewise.
25136         * sysdeps/unix/i386/syscall.S: Likewise.
25137         * sysdeps/unix/i386/vfork.S: Likewise.
25138         * sysdeps/unix/i386/wait.S: Likewise.
25140         * sysdeps/unix/common/tcsendbrk.c: Move to ...
25141         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25143         * configure.in (arm*-none*): Do not allow without
25144         --enable-hacker-mode.
25145         (netbsd*): Remove case setting base_os.
25146         (386bsd*): Likewise.
25147         (freebsd*): Likewise.
25148         (bsdi*): Likewise.
25149         (osf*): Likewise.
25150         (sunos*): Likewise.
25151         (ultrix*): Likewise.
25152         (newsos*): Likewise.
25153         (dynix*): Likewise.
25154         (*bsd*): Likewise.
25155         (sysv*): Likewise.
25156         (isc*): Likewise.
25157         (esix*): Likewise.
25158         (sco*): Likewise.
25159         (minix*): Likewise.
25160         (irix4*): Likewise.
25161         (irix6*): Likewise.
25162         (solaris[2-9]*): Likewise.
25163         (none): Likewise.
25164         * configure: Regenerated.
25166 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25168         [BZ #11521]
25169         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25170         overflow or cancellation in calculating denominator.
25171         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25172         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25173         down expression to avoid unexpected rounding in newer GCCs.
25174         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25176 2012-04-26  David S. Miller  <davem@davemloft.net>
25178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25179         long-double compat symbols.
25180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25194 2012-04-25  David S. Miller  <davem@davemloft.net>
25196         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25197         HWCAP_* values only after the memory barriers have been defined.
25198         (atomic_full_barrier): Define.
25199         (atomic_read_barrier): Define.
25200         (atomic_write_barrier): Define.
25202 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25204         * shlib-versions: Add libgcc_s version information.
25205         * sysdeps/generic/libgcc_s.h: Remove.
25206         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25207         libgcc_s.h.
25208         * sysdeps/gnu/unwind-resume.c: Likewise.
25209         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25211 2012-04-25  David S. Miller  <davem@davemloft.net>
25213         * sysdeps/unix/sparc/brk.S: Delete.
25214         * sysdeps/unix/sparc/dl-brk.S: Delete.
25215         * sysdeps/unix/sparc/pipe.S: Delete.
25216         * sysdeps/unix/sparc/sysdep.S: Delete.
25217         * sysdeps/unix/sparc/sysdep.h: Delete.
25218         * sysdeps/unix/sparc/vfork.S: Delete.
25219         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25220         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25221         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25222         ret_ERRVAL, r0, r1, MOVE): Define.
25223         (JUMPTARGET): Remove.
25224         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25225         sysdeps/unix/sparc/sysdep.h
25226         (ENTRY, END): Remove.
25227         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25229 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
25231         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25232         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25233         -DIS_IN_build.
25235         * timezone/README: Update upstream location and email address for
25236         tzcode and tzdata.
25237         * timezone/zdump.c: Update from tzcode 2012b.
25238         * timezone/zic.c: Likewise.
25240         * configure.in (libc_cv_as_needed): Remove test.
25241         * configure: Regenerated.
25242         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25243         conditional definition.
25244         [$(have-as-needed) != yes] (no-as-needed): Likewise.
25245         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25246         * config.make.in (have-as-needed): Remove variable.
25248 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25249             Paul Pluzhnikov  <ppluzhnikov@google.com>
25251         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25252         strings correctly.
25254 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
25256         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25257         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25258         * sysdeps/sh/strlen.S: Likewise.
25260 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25262         * sysdeps/unix/fork.S: Remove file.
25263         * sysdeps/unix/i386/fork.S: Likewise.
25264         * sysdeps/unix/sparc/fork.S: Likewise.
25266         * sysdeps/unix/system.c: Remove file.
25267         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25269         * sysdeps/unix/getegid.S: Remove file.
25270         * sysdeps/unix/geteuid.S: Likewise.
25272 2012-04-24  Roland McGrath  <roland@hack.frob.com>
25274         * scripts/check-localplt.awk: New file.
25275         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25276         of diff.
25277         * scripts/data/localplt-generic.data: Add a comment.
25279         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25280         NODE when __dir_mkfile failed.
25281         * sysdeps/mach/hurd/symlinkat.c: Likewise.
25282         Reported by Ludovic Courtès <ludo@gnu.org>.
25284 2012-04-24  Andreas Jaeger  <aj@suse.de>
25286         * Makerules (common-clean): Also remove gen-as-const-headers
25287         files.
25289 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25291         * Makerules (native-compile): Do not change working directory for
25292         build.  Use $(OUTPUT_OPTION) in command.
25293         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25295 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25297         [BZ #13886]
25298         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25299         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25300         * math/libm-test.inc (floor_test): Add more tests.
25301         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25303 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25305         * sysdeps/unix/getdents.c: Remove file.
25306         * sysdeps/unix/sysv/getdents.c: Likewise.
25307         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25309         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25310         sysdeps/unix/mman/syscalls.list.
25311         (mmap): Likewise.
25312         (mprotect): Likewise.
25313         (msync): Likewise.
25314         (munmap): Likewise.
25315         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25316         * sysdeps/unix/mman/syscalls.list: Remove.
25317         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25319         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25320         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25321         * configure: Regenerated.
25322         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25323         $(libgcc_s_suffix).
25324         * config.make.in (libgcc_s_suffix): Remove variable.
25326 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25328         * sysdeps/unix/sysv/gethostname.c: Move to ...
25329         * sysdeps/posix/gethostname.c: ... here.
25331         * sysdeps/unix/execve.S: Remove file.
25333         * sysdeps/unix/_exit.S: Remove file.
25335 2012-04-23  Andreas Jaeger  <aj@suse.de>
25337         [BZ #13739]
25338         * manual/Makefile: Remove make dist support, there's no
25339         need for a stand-alone documentation tar ball.
25340         (TEXI2DVI): Define always, it's not in Makeconfig.
25341         (dist): Removed.
25342         (tar-it): Removed.
25343         (edition): Removed.
25344         (glibc-doc-$(edition).tar): Removed
25345         (%.Z): Removed.
25346         (%.gz): Removed.
25347         (%.uu): Removed.
25348         (ETAGS): Remove, it's in Makeconfig.
25349         (move-if-change): Remove, it's in Makeconfig.
25351 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25353         [BZ #13970]
25354         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25355         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25356         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25357         (strtod_l, strtof_l, strtold_l): Remove __wur.
25358         It is not necessarily an error to ignore strtol's return value.
25359         One can reliably look at the stored endptr to decide whether
25360         the number had valid syntax.
25362 2012-04-21  Andreas Jaeger  <aj@suse.de>
25364         [BZ #13739]
25365         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25367 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25369         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25370         * sysdeps/unix/sysv/Versions: Remove file.
25372 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25374         [BZ #13927]
25375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25377 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25379         [BZ #7064]
25380         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25381         version from __vm86.
25383 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25385         * sysdeps/unix/common/lxstat.c: Remove file.
25386         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25388         * sysdeps/unix/sysv/Makefile: Remove file.
25390         * sysdeps/unix/sysv/direct.h: Remove file.
25392         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25393         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25394         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25395         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25396         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25397         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25398         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25400         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25402         * sysdeps/unix/xmknod.c: Remove file.
25403         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25405         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25407         * sysdeps/unix/sysv/i386/time.S: Remove file.
25409         * sysdeps/unix/fxstat.c: Remove file.
25410         * sysdeps/unix/xstat.c: Likewise.
25411         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25413         * sysdeps/unix/sysv/sigaction.c: Remove file.
25415         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25416         (sysdep_headers): Remove variable.
25417         [termio.h not in sysdep_headers] (generated): Likewise.
25418         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25419         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25420         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25421         * sysdeps/unix/sysv/tcflow.c: Likewise.
25422         * sysdeps/unix/sysv/tcflush.c: Likewise.
25423         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25424         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25425         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25426         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25427         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25429         * sysdeps/unix/siglist.c: Remove file.
25431         * sysdeps/unix/getppid.S: Remove file.
25433         * sysdeps/unix/mkdir.c: Remove file.
25434         * sysdeps/unix/rmdir.c: Likewise.
25436 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25438         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25439         ERR_MAX value.
25440         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25441         errlist-compat value.
25443 2012-04-18  David S. Miller  <davem@davemloft.net>
25445         * sysdeps/generic/memcopy.h (reg_char): Delete.
25446         * debug/strcat_chk.c: Use char, not reg_char.
25447         * debug/strcpy_chk.c: Likewise.
25448         * debug/strncat_chk.c: Likewise.
25449         * debug/strncpy_chk.c: Likewise.
25450         * string/memchr.c: Likewise.
25451         * string/memrchr.c: Likewise.
25452         * string/rawmemchr.c: Likewise.
25453         * string/strcat.c: Likewise.
25454         * string/strchr.c: Likewise.
25455         * string/strchrnul.c: Likewise.
25456         * string/strcmp.c: Likewise.
25457         * string/strcpy.c: Likewise.
25458         * string/strncat.c: Likewise.
25459         * string/strncmp.c: Likewise.
25460         * string/strncpy.c: Likewise.
25462 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25464         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25465         __builtin_memcopy is called when src and dest ranges are known to not
25466         overlap.
25468 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25470         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25471         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25472         fwd_align_merge macro call.
25473         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25474         bwd_align_merge macro call.
25475         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25477 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25479         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25480         bwd_align_merge macros.
25481         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25482         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25483         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25485 2012-04-18  David S. Miller  <davem@davemloft.net>
25487         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25489 2012-04-18  Andreas Jaeger  <aj@suse.de>
25491         [BZ# 6794]
25492         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25493         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25494         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25496         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25497         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25498         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25500         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25501         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25502         Adjust for changed ldbl-128 files.
25504         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25505         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25506         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25508 2012-04-17  David S. Miller  <davem@davemloft.net>
25510         * sysdeps/sparc/sparc32/memcopy.h: Delete.
25512 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
25514         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25515         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25516         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25517         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25518         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25519         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25521 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25523         [BZ #6794]
25524         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25525         * math/libm-test.inc: Add ilogb errno and exception tests.
25526         * math/w_ilogb.c: New file: ilogb wrapper.
25527         * math/w_ilogbf.c: New file: ilogbf wrapper.
25528         * math/w_ilogbl.c: New file: ilogbl wrapper.
25529         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25530         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25531         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25532         exception being thrown with 0.0 as argument.
25533         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25534         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25535         exception being thrown with 0.0 as argument.
25536         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25537         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25538         exception being thrown with 0.0 as argument.
25539         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25540         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25541         exception being thrown with 0.0 as argument.
25542         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25543         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25544         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25545         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25546         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25547         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25548         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25549         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25550         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25552 2012-04-17  Petr Baudis  <pasky@ucw.cz>
25554         * include/sys/uio.h: Change __vector to __iovec to avoid clash
25555         with altivec.
25557 2012-04-16  Marek Polacek  <polacek@redhat.com>
25559         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25561 2012-04-16  Marek Polacek  <polacek@redhat.com>
25563         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25564         operands of fdivp instruction.
25566 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25568         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25569         * elf/tst-auditmod3b.c: Likewise.
25570         * elf/tst-auditmod4b.c: Likewise.
25571         * elf/tst-auditmod5b.c: Likewise.
25572         * elf/tst-auditmod6b.c: Likewise.
25573         * elf/tst-auditmod6c.c: Likewise.
25574         * elf/tst-auditmod7b.c: Likewise.
25575         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25576         * sysdeps/x86_64/preconfigure.in: Likewise.
25577         * sysdeps/x86_64/preconfigure: Regenerated.
25579 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25581         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25582         __ILP32__.
25584 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
25586         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25587         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25589 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
25591         [BZ #13973]
25592         * locale/iso-639.def: Fix gl language name. Spotted by
25593         Yaron Shahrabani.
25595 2012-04-12  Roland McGrath  <roland@hack.frob.com>
25597         [BZ #2074]
25598         * libio/libio.h (__io_write_fn): Update comment.
25600 2012-04-12  Petr Baudis  <pasky@ucw.cz>
25602         [BZ #2074]
25603         * stdio.texi (Hook Functions): The user provided writer function
25604         is not allowed to return -1.
25606 2012-04-11  David S. Miller  <davem@davemloft.net>
25608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25610 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
25612         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25613         Add a leading slash to rtkaio.
25615 2012-04-11  Jim Meyering  <meyering@redhat.com>
25617         [BZ #11959]
25618         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25619         It is not necessarily an error to ignore fwrite's return
25620         value.  One can reliably use ferror to test for errors after
25621         the fact.
25623 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25625         * bits/types.h (__snseconds_t): New type.
25626         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25628         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25629         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25630         (__SNSECONDS_T_TYPE): Likewise.
25631         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25632         (__SNSECONDS_T_TYPE): Likewise.
25633         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25634         (__SNSECONDS_T_TYPE): Likewise.
25636 2012-04-10  Andreas Jaeger  <aj@suse.de>
25638         [BZ #2636]
25639         * manual/time.texi (Processor Time): Return type of times is
25640         elapsed real time since an arbitrary point in the past.
25641         (CPU Time): Move CLK_TCK from here...
25642         (Processor Time): ...to here.  Correct description.
25643         * manual/conf.texi (Constants for Sysconf): Correct description of
25644         _SC_CLK_TCK.
25646 2012-04-10  David S. Miller  <davem@davemloft.net>
25648         [BZ #13967]
25649         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25650         where the is a gap between DT_REL(A) and DT_JMPREL.
25652 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25654         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25655         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25656         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25658 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25660         * elf/dl-support.c (_dl_inhibit_cache): New variable.
25661         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25662         (dl_main): Handle --inhibit-cache.
25663         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25664         _dl_inhibit_cache.
25665         * elf/dl-load.c (_dl_map_object): Use it.
25666         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25668 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25670         [BZ #13872]
25671         * sysdeps/i386/fpu/e_powl.S (p78): New object.
25672         (__ieee754_powl): Saturate large exponents rather than testing for
25673         overflow of y*log2(x).
25674         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25675         * math/libm-test.inc (pow_test): Do not permit spurious overflow
25676         exceptions.
25678         [BZ #11521]
25679         * math/s_ctan.c: Include <float.h>.
25680         (__ctan): Avoid internal overflow or cancellation in calculating
25681         denominator.
25682         * math/s_ctanf.c: Likewise.
25683         * math/s_ctanl.c: Likewise.
25684         * math/s_ctanh.c: Likewise.
25685         * math/s_ctanhf.c: Likewise.
25686         * math/s_ctanhl.c: Likewise.
25687         * math/libm-test.inc (ctan_test): Add more tests.
25688         (ctanh_test): Likewise.
25689         * sysdeps/i386/fpu/libm-test-ulps: Update.
25690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25692 2012-04-09  Andreas Jaeger  <aj@suse.de>
25694         [BZ #6894]
25695         * manual/filesys.texi (Directory Entries): Mention that d_namlen
25696         is an optional BSD extension.
25698         [BZ #10254]
25699         * manual/stdio.texi (Opening Streams): Document additional fopen
25700         parameters.
25702 2012-04-09  Roland McGrath  <roland@hack.frob.com>
25704         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25705         %eax without telling the compiler.
25707 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
25709         [BZ # 13963]
25710         * manual/install.texi: Use sourceware.org.
25712 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25714         [BZ #13873]
25715         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25716         (__ieee754_pow): Generate overflow and underflow using huge*huge
25717         and tiny*tiny rather than just returning constant infinity or zero
25718         for large exponents.
25719         * math/libm-test.inc (pow_test): Require overflow exceptions for
25720         applicable cases of large exponents.
25722         [BZ #706]
25723         * sysdeps/i386/fpu/e_pow.S (p10): New object.
25724         (__ieee754_pow): Use iterative multiplication algorithm only for
25725         integer exponents with absolute value below 1024.  Check for odd
25726         integer exponents when using algorithm for real exponents.
25727         * math/libm-test.inc (pow_test): Add more tests.
25728         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25730 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
25732         [BZ #13705]
25733         * math/libm-test.inc (exp_test): Do not allow overflow exception
25734         on underflow test.
25736 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
25738         [BZ #13705]
25739         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25740         instead of __kernel_standard_f.
25742 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
25744         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25745         * sysdeps/x86_64/memset_chk.S: Likewise.
25747 2012-04-08  Andreas Jaeger  <aj@suse.de>
25749         [BZ #10153]
25750         * manual/startup.texi (Environment Access): Describe return value
25751         for putenv and setenv.
25753         [BZ #6895]
25754         * manual/filesys.texi (Directory Entries): Add description for
25755         DT_LNK.
25757         [BZ #6890]
25758         * manual/filesys.texi (Directory Entries): Clarify that it's file
25759         system not operating system in the description of DT_UNKNOWN.
25761         [BZ #6578]
25762         * manual/syslog.texi (closelog): Fix reference, it's openlog.
25764 2012-04-08  Stephen Compall  <s11@member.fsf.org>
25766         [BZ #6649]
25767         * manual/llio.texi (Opening and Closing Files): Add cross
25768         reference to explain mode argument.
25770 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
25772         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25773         * sysdeps/x86_64/memset_chk.S: Likewise.
25775 2012-04-07  David S. Miller  <davem@davemloft.net>
25777         * elf/elf.h (R_SPARC_WDISP10): Define.
25778         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25779         R_SPARC_SIZE32.
25780         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25781         R_SPARC_SIZE64 and R_SPARC_H34.
25783 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
25785         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25786         conditions and remove no longer applicable assertion.
25788 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25790         * bits/byteswap.h: Include <features.h>.
25791         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25792         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25794 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25796         * bits/byteswap.h (__bswap_16): Removed.
25797         Include <bits/byteswap-16.h> to get __bswap_16.
25798         * sysdeps/i386/bits/byteswap.h: Likewise.
25799         * sysdeps/s390/bits/byteswap.h: Likewise.
25800         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25801         * bits/byteswap-16.h: New file.
25802         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25803         * sysdeps/s390/bits/byteswap-16.h: Likewise.
25804         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25805         * string/Makefile (headers): Add bits/byteswap-16.h.
25807 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25809         [BZ #13895]
25810         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25811         extra indirection.
25812         * nss/Makefile (tests-static, tests): Add tst-nss-static.
25813         * nss/tst-nss-static.c: New.
25815 2012-04-06  Robert Millan  <rmh@gnu.org>
25817         [BZ #6486]
25818         * manual/llio.texi (File Position Primitive): lseek
25819         refers to WHENCE when it really means OFFSET.
25821 2012-04-06  Andreas Jaeger  <aj@suse.de>
25823         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25824         strncmp declarations.
25826         * abilist/libc.abilist: Add __poll and __ppoll.
25828 2012-04-05  David S. Miller  <davem@davemloft.net>
25830         * scripts/check-local-headers.sh: Accept a host triplet in the
25831         path matched by the exclude regexp.
25833         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25834         definition.
25835         * sysdeps/powerpc/powerpc32/dl-machine.h
25836         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25837         * sysdeps/s390/s390-32/dl-machine.h
25838         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25839         * sysdeps/sparc/sparc32/dl-machine.h
25840         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25841         * sysdeps/sparc/sparc64/dl-machine.h
25842         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25844         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25845         lazy binding.
25846         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25847         undefined symbol errors.
25849         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25850         DT_NEEDED entries.
25852 2012-04-05  Michael Matz  <matz@suse.de>
25854         [BZ #13592]
25855         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25857 2012-04-05  Andreas Jaeger  <aj@suse.de>
25859         [BZ #13908]
25860         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25861         comment.
25863 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25865         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25866         which ROUND is no valid rounding mode.
25868 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25870         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25871         read again.
25872         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25874 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25876         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25877         an exception using FPU order intentionally.
25879 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25881         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25882         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25883         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25884         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25886 2012-04-05  Simon Josefsson  <simon@josefsson.org>
25888         [BZ #12340]
25889         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25890         EINVAL when BUFLEN is too smal.
25892 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25894         [BZ #13553]
25895         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25896         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25898 2012-04-03  Andreas Jaeger  <aj@suse.de>
25900         [BZ #13938]
25901         * manual/setjmp.texi (System V contexts): Fix sentence.
25903         [BZ #13926]
25904         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25905         New macro for this case.
25906         [!__GNUC__] (__bswap_64): New inline function for this case.
25907         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25908         * bits/byteswap.h: Likewise.
25909         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25910         ull, guard with __GLIBC_HAVE_LONG_LONG.
25912         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25913         __GLIBC_HAVE_LONG_LONG.
25915         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25916         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25918 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25920         [BZ #13691]
25921         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25922         inptr and inend, rather than using last_ch.
25924 2012-04-02  David S. Miller  <davem@davemloft.net>
25926         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25927         * stdio-common/printf-parse.h (read_int): Change return type to
25928         'int', return -1 on INT_MAX overflow.
25929         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25930         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
25931         overflows INT_MAX.  Check for overflow of in-format-string precision
25932         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
25933         SIZE_MAX not INT_MAX for integer overflow test.
25934         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25935         skip the construct in the format string but do not record anything.
25936         * stdio-common/bug22.c: Adjust to test both width/prevision
25937         INT_MAX overflow as well as total length INT_MAX overflow.  Check
25938         explicitly for proper errno values.
25940 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25942         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25943         CHAR_MAX.
25944         * string/test-strcmp.c [! WIDE]: Likewise.
25945         * time/tst-mktime2.c: Likewise for INT_MAX.
25946         * string/test-string.h: #include <sys/param.h> for MIN.
25948         * csu/init-first.c (__libc_init_first): Call __ctype_init.
25949         * sysdeps/i386/init-first.c (init): Likewise.
25950         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25951         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25952         * sysdeps/sh/init-first.c (init): Likewise.
25954 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
25956         * po/ru.po: Update from translation team.
25957         * po/vi.po: Likewise.
25959 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25961         * resolv/nss_dns/dns-host.c: Merge copyright years.
25963 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25965         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25966         Optimize memcpy with prefetch if
25967         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
25968         src, dst pointers have unequal 16 byte alignments.
25970 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25972         [BZ #13928]
25973         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25974         from a CNAME entry and return the minimum ttl for the query.
25975         (gaih_getanswer_slice): Likewise.
25977 2012-03-30  Jeff Law  <law@redhat.com>
25979         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25980         due to long keys.
25981         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25982         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25984         * resolv/nss_dns/dns-host.c: Update copyright year.
25986 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
25988         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25989         requests to save a system call.  Fix check that all bytes are sent.
25991         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25992         comments for sendmmsg.
25994 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25996         [BZ #13691]
25997         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25998         with only 1 character between 0x0041 and 0x01b0.
25999         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26000         * wcsmbs/tst-mbsnrtowcs.c: New file.
26002 2012-03-29  David S. Miller  <davem@davemloft.net>
26004         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26005         small copies by hand.
26007 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26009         [BZ #13761]
26010         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26011         _nss_compat_initgroups_dyn): Fall back to malloc/free
26012         for large group memberships.
26014 2012-03-28  David S. Miller  <davem@davemloft.net>
26016         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26017         that branches into memcpy.
26018         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26019         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26020         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26021         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26022         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26023         bits.
26024         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26025         implementation too.
26026         * sysdeps/sparc/mempcpy.S: New file.
26028         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26029         the IFUNC routine in the libc case.
26030         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26032         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26033         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26034         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26035         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26036         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26037         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26038         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26039         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26041         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26042         loop to 256 bytes instead of 64 bytes and fix test signedness.
26044         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26045         * sysdeps/sparc/sparc32/Makefile: rather than here...
26046         * sysdeps/sparc/sparc64/Makefile: and here.
26048 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26050         * malloc/mallocbug.c: Avoid warnings about unused variables.
26052 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26054         [BZ #13760]
26055         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26056         in the right place. Discard and retry query if response is
26057         larger than input buffer size.
26059 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26061         [BZ #369]
26062         [BZ #2678]
26063         [BZ #3866]
26064         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26065         x for large integer exponent.
26066         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26067         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26068         sign of result as needed afterwards.
26069         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26070         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26071         result for underflowing pow the same as for overflow.
26072         (__kernel_standard_l): Handle powl overflow and underflow here
26073         rather than calling __kernel_standard.
26074         * math/libm-test.inc (pow_test): Add more tests.
26076         [BZ #3868]
26077         [BZ #13879]
26078         [BZ #13910]
26079         [BZ #13911]
26080         [BZ #13912]
26081         [BZ #13913]
26082         [BZ #13915]
26083         [BZ #13916]
26084         [BZ #13917]
26085         [BZ #13918]
26086         [BZ #13919]
26087         [BZ #13920]
26088         [BZ #13921]
26089         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26090         * sysdeps/ieee754/k_standard.c: Include <float.h>.
26091         (__kernel_standard_l): New function.
26092         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26093         __kernel_standard.
26094         * math/w_acosl.c (__acosl): Likewise.
26095         * math/w_asinl.c (__asinl): Likewise.
26096         * math/w_atan2l.c (__atan2l): Likewise.
26097         * math/w_atanhl.c (__atanhl): Likewise.
26098         * math/w_coshl.c (__coshl): Likewise.
26099         * math/w_exp10l.c (__exp10l): Likewise.
26100         * math/w_exp2l.c (__exp2l): Likewise.
26101         * math/w_fmodl.c (__fmodl): Likewise.
26102         * math/w_hypotl.c (__hypotl): Likewise.
26103         * math/w_j0l.c (__j0l, __y0l): Likewise.
26104         * math/w_j1l.c (__j1l, __y1l): Likewise.
26105         * math/w_jnl.c (__jnl, __ynl): Likewise.
26106         * math/w_lgammal.c (__lgammal): Likewise.
26107         * math/w_log10l.c (__log10l): Likewise.
26108         * math/w_log2l.c (__log2l): Likewise.
26109         * math/w_logl.c (__logl): Likewise.
26110         * math/w_powl.c (__powl): Likewise.
26111         * math/w_remainderl.c (__remainderl): Likewise.
26112         * math/w_scalbl.c (sysv_scalbl): Likewise.
26113         * math/w_sinhl.c (__sinhl): Likewise.
26114         * math/w_sqrtl.c (__sqrtl): Likewise.
26115         * math/w_tgammal.c (__tgammal): Likewise.
26116         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26117         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26118         * math/libm-test.inc (acos_test): Add more tests.
26119         (acosh_test): Likewise.
26120         (asin_test): Likewise.
26121         (atanh_test): Likewise.
26122         (exp_test): Likewise.
26123         (exp10_test): Likewise.
26124         (exp2_test): Likewise.
26125         (expm1_test): Likewise.
26126         (lgamma_test): Likewise.
26127         (log_test): Likewise.
26128         (log10_test): Likewise.
26129         (log1p_test): Likewise.
26130         (log2_test): Likewise.
26131         (pow_test): Do not allow some spurious overflow exceptions.
26132         (sqrt_test): Add more tests.
26133         (tgamma_test): Likewise.
26134         (y0_test): Likewise.
26135         (y1_test): Likewise.
26136         (yn_test): Likewise.
26138 2012-03-27  Anton Blanchard  <anton@samba.org>
26140         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26141         MAP_HUGETLB.
26142         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26143         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26144         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26146 2012-03-27  David S. Miller  <davem@davemloft.net>
26148         * conform/Makefile: Run run-conformtest.sh using $(BASH).
26150         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26151         have-as-vis3 check.
26153 2012-03-27  Andreas Jaeger  <aj@suse.de>
26155         * sysdeps/x86_64/elf/configure.in: Moved to ...
26156         * sysdeps/x86_64/configure.in: ... here.
26157         * sysdeps/x86_64/elf/start.S: Moved to ...
26158         * sysdeps/x86_64/start.S: ... here.
26159         * sysdeps/x86_64/elf/configure: Delete.
26161         * sysdeps/x86_64/configure.in: Merge contents from
26162         sysdeps/i386/configure.in (without i686 check).
26164         * sysdeps/i386/elf/Versions: Merge into ...
26165         * sysdeps/i386/Versions: ... this.
26166         * sysdeps/i386/elf/Versions: Delete file.
26167         * sysdeps/i386/elf/start.S: Moved to ...
26168         * sysdeps/i386/start.S: ...here.
26169         * sysdeps/i386/elf/configure.in: Merge into...
26170         * sysdeps/i386/configure.in: ...here.
26171         * sysdeps/i386/elf/configure.in: Delete file.
26172         * sysdeps/i386/elf/configure: Delete file.
26174         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26175         * debug/backtracesyms.c: ... here.
26176         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26177         * debug/backtracesymsfd.c: ... here.
26178         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26179         * sysdeps/generic/ifunc-sel.h: ... here.
26181         * sysdeps/unix/i386/start.c: Delete file.
26182         * sysdeps/unix/sparc/start.c: Delete file.
26183         * sysdeps/unix/start.c: Delete file.
26185         * sysdeps/sh/elf/configure.in: Moved to ...
26186         * sysdeps/sh/configure.in: ... here.
26187         * sysdeps/sh/elf/start.S: Moved to ...
26188         * sysdeps/sh/start.S: ... here.
26189         * sysdeps/sh/elf/configure: Delete file.
26191         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26192         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26193         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26194         * sysdeps/powerpc/powerpc64/entry.h: ... here.
26195         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26196         * sysdeps/powerpc/powerpc64/start.S: here.
26197         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26198         * sysdeps/powerpc/powerpc64/Makefile: ... this.
26199         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26200         * sysdeps/powerpc/powerpc64/configure.in: ... this.
26201         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26203         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26204         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26205         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26206         * sysdeps/powerpc/powerpc32/start.S: ... here.
26207         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26208         * sysdeps/powerpc/powerpc32/configure.in: ... this.
26209         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26211         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26212         * sysdeps/powerpc/ifunc-sel.h: ... here.
26213         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26214         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26216         * sysdeps/sparc/elf/configure.in: Moved to ...
26217         * sysdeps/sparc/configure.in: ... here.
26218         * sysdeps/sparc/elf/configure: Delete file.
26219         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26220         * sysdeps/sparc/sparc32/start.S: ... here.
26221         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26222         * sysdeps/sparc/sparc64/start.S: ... here.
26223         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26224         * sysdeps/sparc/sparc32/Makefile: ... this.
26225         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26226         * sysdeps/sparc/sparc64/Makefile: ... this.
26228         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26229         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26230         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26231         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26232         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26233         * sysdeps/s390/s390-32/setjmp.S: ... here.
26234         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26235         * sysdeps/s390/s390-32/configure.in: ... here.
26236         * sysdeps/s390/s390-32/elf/configure: Delete file.
26237         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26238         * sysdeps/s390/s390-32/start.S: ... here.
26240         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26241         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26242         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26243         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26244         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26245         * sysdeps/s390/s390-64/setjmp.S: ... here.
26246         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26247         * sysdeps/s390/s390-64/configure.in: ... here
26248         * sysdeps/s390/s390-64/elf/configure: Delete file.
26249         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26250         * sysdeps/s390/s390-64/start.S: ... here.
26251         * sysdeps/s390/s390-64/elf/configure: Delete.
26253         * configure.in: Remove support for elf directories in sysdeps.
26255         * configure: Regenerated.
26256         * sysdeps/i386/configure: Regenerated.
26257         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26258         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26259         * sysdeps/s390/s390-32/configure: Regenerated.
26260         * sysdeps/s390/s390-64/configure: Regenerated.
26261         * sysdeps/sh/configure: Regenerated.
26262         * sysdeps/sparc/configure: Regenerated.
26263         * sysdeps/x86_64/configure: Regenerated.
26265 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
26267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26269         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26270         denormal result into account.
26272 2012-03-25  Roland McGrath  <roland@hack.frob.com>
26274         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26275         Reported by Allan McRae <allan@archlinux.org>.
26277 2012-03-23  Jeff Law  <law@redhat.com>
26279         * nss/getnssent.c (__nss_getent): Fix typo.
26281 2012-03-23  David S. Miller  <davem@davemloft.net>
26283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26285 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
26287         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26288         to pad to uint64_t for each field.
26289         (dl_tls_index): Replace unsigned long with uint64_t.
26291 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
26292         Paul Pluzhnikov  <ppluzhnikov@google.com>
26294         [BZ #6528]
26295         * grp/Makefile (otherlibs): Don't set it.
26296         * inet/Makefile (otherlibs): Likewise.
26297         * login/Makefile (otherlibs): Likewise.
26298         * nscd/Makefile (otherlibs): Likewise.
26299         * posix/Makefile (otherlibs): Likewise.
26300         * pwd/Makefile (otherlibs): Likewise.
26301         * rt/Makefile (otherlibs): Likewise.
26302         * sunrpc/Makefile (otherlibs): Likewise.
26303         * nss/Makefile (otherlibs): Likewise.
26304         Add libnss_files to routines and static-only-routines.
26305         ($(objpfx)getent): Remove rule.
26306         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26307         static-only-routines.
26309 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26311         [BZ #13892]
26312         * math/s_cexp.c: Include <float.h>.
26313         (__cexp): Handle exp result overflowing not necessarily
26314         overflowing both real and imaginary parts of result.
26315         * math/s_cexpf.c: Likewise.
26316         * math/s_cexpl.c: Likewise.
26317         * math/libm-test.inc (cexp_test): Add more tests.
26318         * sysdeps/i386/fpu/libm-test-ulps: Update.
26319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26321 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26323         * include/link.h (ELFW): New macro.
26324         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26325         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26327 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26329         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26330         with uint64_t.
26332 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26334         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26335         declaration.
26336         (struct La_x32_retval): Likewise.
26338 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26340         * sysdeps/x86_64/preconfigure.in: New file.
26341         * sysdeps/x86_64/preconfigure: New generated file.
26343 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26345         [BZ #13824]
26346         * math/e_exp2l.c: Include <float.h>.
26347         (__ieee754_exp2l): Handle overflow and underflow cases
26348         separately.  Only pass fractional part of argument to
26349         __ieee754_expl.
26350         * math/libm-test.inc (exp2_test): Add more tests.
26352         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26353         negating x to take absolute value.
26354         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26355         Likewise.
26356         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26357         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26358         Likewise.
26359         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26360         computing low part if x was negated.
26361         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26363 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26365         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26366         la_x32_gnu_pltexit.
26367         (pltexit): Cast int_retval to ptrdiff_t.
26368         * elf/tst-auditmod3b.c: Likewise.
26369         * elf/tst-auditmod4b.c: Likewise.
26370         * elf/tst-auditmod5b.c: Likewise.
26371         * elf/tst-auditmod6b.c: Likewise.
26372         * elf/tst-auditmod6c.c: Likewise.
26373         * elf/tst-auditmod7b.c: Likewise.
26375         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26376         and x32_gnu_pltexit.
26378         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26379         __ELF_NATIVE_CLASS.
26380         (La_x32_regs): New macro.
26381         (La_x32_retval): Likewise.
26382         (la_x32_gnu_pltenter): New function prototype.
26383         (la_x32_gnu_pltexit): Likewise.
26385 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26387         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26388         exponent.
26390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26392         * configure.in (libc_cv_cc_nofma): Check for option to disable
26393         generation of FMA instructions.
26394         * configure: Regenerate.
26395         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26396         * sysdeps/ieee754/dbl-64/Makefile: New file.
26397         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26398         Remove brandred-fma4.
26399         (CFLAGS-brandred-fma4.c): Remove.
26400         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26401         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26402         define.
26403         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26404         define.
26406 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26408         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26409         LLONG_MAX != LONG_MAX.
26410         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26411         (_fitoa_word): Likewise.
26412         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26413         LLONG_MAX != LONG_MAX.
26414         * stdio-common/_itowa.h: Include <_itoa.h>.
26415         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26416         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26417         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26418         only if not defined.
26419         (_ITOA_WORD_TYPE): Likewise.
26420         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26421         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26423 2012-03-21  David S. Miller  <davem@davemloft.net>
26425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26427 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26429         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26430         of x86_64 when setting libc_cv_slibdir, libdir and
26431         libc_cv_localedir.
26432         * sysdeps/unix/sysv/linux/configure: Regenerated.
26434 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26436         * manual/lang.texi (Old Varargs): Remove section.
26437         (How Variadic): Update menu.
26438         (va_start): Do not mention varargs.h.
26440 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26441             Joseph Myers  <joseph@codesourcery.com>
26443         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26444         link test.
26445         * configure: Regenerated.
26447 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26449         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26450         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26451         conformtest.pl
26453 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26455         * NOTES: Remove.
26456         * Makefile (files-for-dist): Remove NOTES.
26457         (NOTES): Remove rule.
26458         * README: Don't refer to NOTES.
26459         * manual/creature.texi: Don't include macros.texi.
26460         * manual/intro.texi (creature.texi): Remove comment referring to
26461         NOTES.
26463         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26464         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26465         * configure: Regenerated.
26466         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26467         LIBC_TRY_CC_OPTION.
26468         (libc_cv_as_i686): Likewise.
26469         (libc_cv_cc_avx): Likewise.
26470         (libc_cv_cc_sse2avx): Likewise.
26471         (libc_cv_cc_fma4): Likewise.
26472         (libc_cv_cc_novzeroupper): Likewise.
26473         * sysdeps/i386/configure: Regenerated.
26475         [BZ #13883]
26476         * sysdeps/i386/fpu/s_cexp.S: Remove.
26477         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26478         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26479         * math/libm-test.inc (cexp_test): Add more tests.
26480         * sysdeps/i386/fpu/libm-test-ulps: Update.
26481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26483 2012-03-21  Allan McRae  <allan@archlinux.org>
26485         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26487 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26489         [BZ #13871]
26490         * math/w_exp2.c: Do not include <float.h>.
26491         (o_threshold, u_threshold): Remove.
26492         (__exp2): Calculate result before checking finiteness and calling
26493         __kernel_standard.
26494         * math/w_exp2f.c: Likewise.
26495         * math/w_exp2l.c: Likewise.
26496         * math/libm-test.inc (exp2_test): Require overflow exception for
26497         1e6 input.
26499         [BZ #3866]
26500         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26501         range of signed 64-bit integers before using fistpll.  Remove
26502         checks for whether integers fit in mantissa bits.
26503         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26504         the range of signed 32-bit integers before using fistpl.  Remove
26505         checks for whether integers fit in mantissa bits.
26506         * sysdeps/i386/fpu/e_powl.S (p64): New object.
26507         (__ieee754_powl): Test for y outside the range of signed 64-bit
26508         integers before using fistpll.  Reduce 64-bit values to 63-bit
26509         ones as needed.
26510         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26511         divide-by-zero is raised for zero to large negative powers.
26512         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26513         (__ieee754_powl): Test for y outside the range of signed 64-bit
26514         integers before using fistpll.  Reduce 64-bit values to 63-bit
26515         ones as needed.
26516         * math/libm-test.inc (pow_test): Add more tests.
26518 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26520         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26521         <stdio-common/_itoa.h>.
26522         * debug/segfault.c: Likewise.
26523         * elf/dl-cache.c: Likewise.
26524         * elf/dl-minimal.c: Likewise.
26525         * elf/dl-misc.c: Likewise.
26526         * elf/dl-sysdep.c: Likewise.
26527         * elf/dl-version.c: Likewise.
26528         * elf/rtld.c: Likewise.
26529         * hurd/hurdsock.c: Likewise.
26530         * hurd/lookup-retry.c: Likewise.
26531         * malloc/malloc.c: Likewise.
26532         * malloc/mtrace.c: Likewise.
26533         * nscd/nscd_getgr_r.c: Likewise.
26534         * nscd/nscd_getpw_r.c: Likewise.
26535         * nscd/nscd_getserv_r.c: Likewise.
26536         * posix/getopt_init.c: Likewise.
26537         * posix/wordexp.c: Likewise.
26538         * stdio-common/_itoa.c: Likewise.
26539         * stdio-common/printf_fphex.c: Likewise.
26540         * stdio-common/vfprintf.c: Likewise.
26541         * string/_strerror.c: Likewise.
26542         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26543         * sysdeps/i386/i686/hp-timing.h: Likewise.
26544         * sysdeps/mach/_strerror.c: Likewise.
26545         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26546         * sysdeps/mach/hurd/sethostid.c: Likewise.
26547         * sysdeps/mach/hurd/xmknodat.c: Likewise.
26548         * sysdeps/mach/xpg-strerror.c: Likewise.
26549         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26550         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26551         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26552         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26553         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26554         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26555         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26556         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26557         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26558         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26559         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26560         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26561         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26562         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26563         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26564         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26565         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26566         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26567         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26568         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26569         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26571         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26573         * stdio-common/_itoa.h: Moved to ...
26574         * sysdeps/generic/_itoa.h: Here.
26576         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26578         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26579         instead of "_itoa.h" and "_itowa.h".
26580         * stdio-common/vfprintf.: Likewise.
26582 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26584         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26585         <bits/wordsize.h>.
26586         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26587         (__signbit): Likwise.
26588         (llrintf): Likwise.
26589         (llrint): Likwise.
26591 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26593         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26594         __WORDSIZE != 64.
26596 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
26598         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26599         OVERFLOW_EXCEPTION_OK.
26600         * math/libm-test.inc ("Philosophy"): Update comment about
26601         exception testing.
26602         (OVERFLOW_EXCEPTION): Define.
26603         (OVERFLOW_EXCEPTION_OK): Likewise.
26604         (INVALID_EXCEPTION_OK): Renumber.
26605         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26606         (IGNORE_ZERO_INF_SIGN): Likewise.
26607         (test_exceptions): Handle FE_OVERFLOW.
26608         (exp10_test): Expect overflow exceptions.
26609         (exp2_test): Likewise.
26610         (expm1_test): Likewise.
26611         (nextafter_test): Likewise.
26612         (pow_test): Likewise.
26613         (scalbn_test): Likewise.
26614         (scalbln_test): Likewise.
26616 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26618         * sysdeps/x86_64/bits/atomic.h
26619         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26620         64bit integer.
26621         (atomic_exchange_acq): Likewise.
26622         (__arch_exchange_and_add_body): Likewise.
26623         (__arch_add_body): Likewise.
26624         (atomic_add_negative): Likewise.
26625         (atomic_add_zero): Likewise.
26627 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26629         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26630         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26632 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26634         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26635         Check __x86_64__ instead of __WORDSIZE.
26637 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26639         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26641 2012-03-19  David S. Miller  <davem@davemloft.net>
26643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26645         * sysdeps/sparc/fpu/fenv_private.h: New file.
26646         * sysdeps/sparc/fpu/math_private.h: Use it.
26647         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26648         Remove.
26649         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26650         (libc_feholdexcept_setroundl): Remove.
26651         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26652         Remove.
26653         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26654         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26656 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26658         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26659         int64_t instead of long int.
26660         (INSERT_WORDS64): Likwise.
26662 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26664         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26665         _Unwind_GetCFA return to _Unwind_Ptr first.
26667 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
26669         [BZ #13629]
26670         * math/s_clog.c: Include <float.h>.
26671         (__clog): Scale large or subnormal inputs.
26672         * math/s_clogf.c: Likewise.
26673         * math/s_clogl.c: Likewise.
26674         * math/s_clog10.c: Include <float.h>.
26675         (M_LOG10_2): Define.
26676         (__clog10): Scale large or subnormal inputs.
26677         * math/s_clog10f.c: Likewise.
26678         * math/s_clog10l.c: Likewise.
26679         * math/libm-test.inc (clog_test): Add more tests.
26680         (clog10_test): Likewise.
26681         * sysdeps/i386/fpu/libm-test-ulps: Update.
26682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26684         [BZ #11451]
26685         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26686         x and y.
26687         * math/libm-test.inc (atan2_test): Add another test.
26689         * Makerules (common-objdir-compile): Remove.
26690         * sysdeps/unix/Makefile (config-generated): Do not add
26691         $(unix-generated) to variable.
26692         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26693         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26694         Remove rule.
26695         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26696         Likewise.
26697         [generic bits/local_lim.h] (before-compile): Do not append to
26698         variable.
26699         [generic bits/local_lim.h] (common-generated): Likewise.
26700         [generic sys/param.h] (before-compile): Do not append to variable.
26701         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26702         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26703         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26704         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26705         include.
26706         [generic sys/param.h] (sys/param.h-includes): Remove variable.
26707         [generic sys/param.h] (sys/param.h-includes): Remove rule.
26708         [generic sys/param.h] ($(addprefix
26709         $(common-objpfx),$(sys/param.h-includes))): Likewise.
26710         [generic sys/param.h] (common-generated): Do not append to
26711         variable.
26712         [generic sys/param.h] (sysdep_headers): Likewise.
26713         [generic bits/errno.h] (before-compile): Do not append to
26714         variable.
26715         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26716         rule.
26717         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26718         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26719         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26720         [generic bits/errno.h] (common-generated): Do not append to
26721         variable.
26722         [generic bits/ioctls.h] (before-compile): Do not append to
26723         variable.
26724         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26725         rule.
26726         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26727         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26728         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26729         rule.
26730         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26731         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26732         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26733         [generic bits/ioctls.h] (common-generated): Do not append to
26734         variable.
26735         [generic sys/syscall.h] (syscall.h): Remove variable.
26736         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26737         rule.
26738         [generic sys/syscall.h] (before-compile): Do not append to
26739         variable.
26740         [generic sys/syscall.h] (common-generated): Likewise.
26741         * sysdeps/unix/errnos-tmpl.c: Remove file.
26742         * sysdeps/unix/errnos.awk: Likewise.
26743         * sysdeps/unix/ioctls-tmpl.c: Likewise.
26744         * sysdeps/unix/ioctls.awk: Likewise.
26745         * sysdeps/unix/mk-local_lim.c: Likewise.
26746         * sysdeps/unix/snarf-ioctls: Likewise.
26748 2012-03-19  Richard Henderson  <rth@twiddle.net>
26750         * sysdeps/i386/fpu/fenv_private.h: New file.
26751         * sysdeps/i386/fpu/math_private.h: Use it.
26752         (math_opt_barrier, math_force_eval): Remove.
26753         (libc_feholdexcept_setround_53bit): Remove.
26754         (libc_feupdateenv_53bit): Remove.
26755         * sysdeps/x86_64/fpu/math_private.h: Likewise.
26756         (math_opt_barrier, math_force_eval): Remove.
26757         (libc_feholdexcept): Remove.
26758         (libc_feholdexcept_setround): Remove.
26759         (libc_fetestexcept, libc_fesetenv): Remove.
26760         (libc_feupdateenv_test): Remove.
26761         (libc_feupdateenv, libc_feholdsetround): Remove.
26762         (libc_feresetround): Remove.
26764         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26765         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26767         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26768         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26769         (libc_feupdateenv_testl): New.
26770         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26771         (libc_feupdateenv_testf): New.
26772         (libc_feupdateenv): Use libc_feupdateenv_test.
26773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26774         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26776         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26777         (libc_feholdsetroundf, libc_feholdsetroundl): New.
26778         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26779         (libc_feresetround_noex): New.
26780         (libc_feresetround_noexf): New.
26781         (libc_feresetround_noexl): New.
26782         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26783         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26784         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26785         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26786         SET_RESTORE_ROUND.
26787         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26788         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26789         (__cos): Likewise.
26790         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26791         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26792         SET_RESTORE_ROUND_NOEX.
26793         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26794         SET_RESTORE_ROUND_NOEXF.
26795         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26796         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26797         (libc_feholdsetroundf): New.
26798         (libc_feresetround, libc_feresetroundf): New.
26800         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26801         (libc_feholdexcept_setround_53bit): Convert from macro to function.
26802         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
26804         * sysdeps/generic/math_private.h: Include <fenv.h>.
26805         (default_libc_feholdexcept): New.
26806         (default_libc_feholdexcept_setround): New.
26807         (default_libc_fesetenv, default_libc_feupdateenv): New.
26808         (libc_feholdexcept): Only define if undefined.
26809         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26810         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26811         (libc_feholdexcept_setroundl): Likewise.
26812         (libc_feholdexcept_setround_53bit): Likewise.
26813         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26814         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26815         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26816         (libc_feupdateenv_53bit): Likewise.
26817         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26818         (libc_feholdexcept): Convert from macro to inline function.
26819         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26820         (libc_fesetenv, libc_feupdateenv): Likewise.
26822         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26823         not previously defined.
26824         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26825         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26826         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26827         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26828         * sysdeps/ieee754/flt-32/math_private.h: New file.
26829         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26830         math_private.h below SET_FLOAT_WORD.
26831         (__isnan, __isinf_ns, __finite): Remove.
26832         (__isnanf, __isinf_nsf, __finitef): Remove.
26834 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
26836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26838 2012-03-17  David S. Miller  <davem@davemloft.net>
26840         [BZ #6471]
26841         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26842         for 2.16.
26844 2012-03-16  David S. Miller  <davem@davemloft.net>
26846         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26847         warnings.
26849         [BZ #6471]
26850         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26851         properly.
26852         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26853         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26854         sysdep_routines when subdir is sysvipc.
26855         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26856         __getshmlba helper.
26858         * sysdeps/sparc/fpu/libm-test/ulps: Update.
26860 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26862         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26863         [__LP64__].
26865 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26867         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26868         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26869         (__lround): Renamed to ...
26870         (__llround): This.  Replace long int with long long int.
26871         Define lround functions as aliases of llround functions.
26872         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26874 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26876         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26877         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
26878         adresses to uintptr_t.  Replace "long int" and "unsigned long
26879         int" with "greg_t" on va_arg.
26881 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26883         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26884         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26886         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26887         Move e_machine check before EI_CLASS check.  Handle x32
26888         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26889         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26890         SKIP_EM_IA_64 and include
26891         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26893         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26894         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26895         (add_system_dir): New macro.
26897         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26898         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26900 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
26902         [BZ #2551]
26903         [BZ #2552]
26904         [BZ #2553]
26905         [BZ #2554]
26906         [BZ #2562]
26907         [BZ #2563]
26908         [BZ #2565]
26909         [BZ #2566]
26910         [BZ #2576]
26911         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26912         (y0): Likewise.
26913         * math/w_j0f.c (j0f): Likewise.
26914         (y0f): Likewise.
26915         * math/w_j0l.c (__j0l): Likewise.
26916         (__y0l): Likewise.
26917         * math/w_j1.c (j1): Likewise.
26918         (y1): Likewise.
26919         * math/w_j1f.c (j1f): Likewise.
26920         (y1f): Likewise.
26921         * math/w_j1l.c (__j1l): Likewise.
26922         (__y1l): Likewise.
26923         * math/w_jn.c (jn): Likewise.
26924         (yn): Likewise.
26925         * math/w_jnf.c (jnf): Likewise.
26926         (ynf): Likewise.
26927         * math/w_jnl.c (__jnl): Likewise.
26928         (__ynl): Likewise.
26929         * math/libm-test.inc (j0_test): Add more tests.
26930         (j1_test): Likewise.
26931         (jn_test): Likewise.  Add trailing semicolon to existing test.
26932         (y0_test): Likewise.
26933         (y1_test): Likewise.
26934         * sysdeps/i386/fpu/libm-test-ulps: Update.
26935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26937         [BZ #13851]
26938         [BZ #13854]
26939         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26940         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26941         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26942         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26943         (__tanl): Set errno for infinite argument.
26944         * sysdeps/i386/fpu/mptan.c: Remove.
26945         * sysdeps/i386/fpu/s_tan.S: Likewise.
26946         * sysdeps/i386/fpu/s_tanl.S: Likewise.
26947         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26948         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26949         * math/libm-test.inc (tan_test): Add more tests and enable more
26950         tests for double and long double.
26951         * sysdeps/i386/fpu/libm-test-ulps: Update.
26952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26954 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
26956         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26957         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26959 2012-03-16  Roland McGrath  <roland@hack.frob.com>
26961         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26962         * configure.in: Use it for both main tree and add-ons.
26963         * configure: Regenerated.
26965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26967         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26969 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
26971         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26972         in comment.
26974         [BZ #13851]
26975         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26976         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26977         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26978         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26979         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26980         infinite argument.
26981         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26982         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26983         != 0 for prec == 2.
26984         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26985         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26986         * sysdeps/i386/fpu/s_cosl.S: Likewise.
26987         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26988         * sysdeps/i386/fpu/s_sinl.S: Likewise.
26989         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26990         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26991         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26992         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26993         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26994         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26995         * math/libm-test.inc (cos_test): Add more tests and enable more
26996         tests for long double.
26997         (sin_test): Likewise.
26998         (sincos_test): Likewise.
26999         * sysdeps/i386/fpu/libm-test-ulps: Update.
27000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27002 2012-03-16  David S. Miller  <davem@davemloft.net>
27004         * sysdeps/sparc/fpu/math_private.h: New file.
27006 2012-03-15  David S. Miller  <davem@davemloft.net>
27008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27009         file.
27010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27012         file.
27013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27018         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27019         sysdep routines.
27020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27022         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27023         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27025         * sysdeps/sparc/sparc-ifunc.h: New file.
27026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27027         sparc-ifunc.h
27028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27030         Likewise.
27031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27032         Likewise.
27033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27037         Likewise.
27038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27043         Likewise.
27044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27045         Likewise.
27046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27050         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27051         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27052         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27053         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27054         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27055         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27056         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27064         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27065         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27066         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27067         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27068         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27069         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27071 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27073         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27074         scaling.
27075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27077 2012-03-15  Andreas Jaeger  <aj@suse.de>
27079         [BZ #13852]
27080         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27081         ieee754/flt-32 implementation for sin, cos and sincos.
27082         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27083         * sysdeps/i386/fpu/s_cosf.S: Likewise.
27084         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27085         * sysdeps/i386/fpu/s_sinf.S: Likewise.
27086         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27087         ieee754/flt-32 implementation for tan.
27089         * math/libm-test.inc (cos_test): Enable some large input tests for
27090         float as well
27091         (sin_test): Likewise.
27092         (sincos_test): Likewise.
27093         (tan_test): Add tests for large input.
27095         * sysdeps/i386/fpu/libm-test-ulps: Update.
27097 2012-03-15  Andreas Jaeger  <aj@suse.de>
27099         [BZ #13658]
27100         * math/libm-test.inc (cos_test): Add more test cases.
27101         (sin_test): Likewise.
27102         (sincos_test): Likewise.
27104 2012-03-15  Andreas Jaeger  <aj@suse.de>
27106         [BZ #13837]
27107         * math/libm-test.inc (cos_test): Add a test case for large input
27108         value.
27109         (sin_test): Likewise.
27110         (sincos_test): Likewise.
27112 2012-03-15  Andreas Jaeger  <aj@suse.de>,
27113         Joseph Myers  <joseph@codesourcery.com>
27115         [BZ #13658]
27116         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27117         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27118         * sysdeps/i386/fpu/branred.c: Likewise.
27119         * sysdeps/i386/fpu/dosincos.c: Likewise.
27120         * sysdeps/i386/fpu/mpa.c: Likewise.
27121         * sysdeps/i386/fpu/s_cos.S: Likewise.
27122         * sysdeps/i386/fpu/s_sin.S: Likewise.
27123         * sysdeps/i386/fpu/s_sincos.S: Likewise.
27124         * sysdeps/i386/fpu/sincos32.c: Likewise.
27126         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27127         Define.
27128         (libc_feupdateenv_53bit): Define.
27129         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27130         Define.
27131         (libc_feupdateenv_53bit): Define.
27133         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27134         53 bit (without extend i386 double precision).
27136         * math/libm-test.inc (sincos_test): Add tests for large input.
27137         (sin): Likewise.
27138         (cos): Likewise.
27140         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27142 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27146 2012-03-15  David S. Miller  <davem@davemloft.net>
27148         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27149         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27150         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27151         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27164         file.
27165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27167         file.
27168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27170         file.
27171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27173         file.
27174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27175         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27176         fmin/fmax sysdep routines.
27177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27179 2012-03-14  David S. Miller  <davem@davemloft.net>
27181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27185         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27186         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27187         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27188         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27201         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27202         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27203         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27204         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27205         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27206         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27207         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27208         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27209         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27210         routines.
27211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27212         file.
27213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27215         file.
27216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27218         file.
27219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27221         file.
27222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27224         file.
27225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27227         file.
27228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27229         file.
27230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27231         file.
27232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27233         file.
27234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27235         New file.
27236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27237         file.
27238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27239         file.
27240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27242         file.
27243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27245         file.
27246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27248         file.
27249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27251         VIS3 routines.
27253         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27254         New file.
27256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27258         * sysdeps/sparc/configure.in: New file.
27259         * sysdeps/sparc/configure: Generate.
27260         * configure.in (libc_cv_sparc_as_vis3): Substitute.
27261         * configure: Regenerate.
27262         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27263         * config.make.in (have-as-vis3): New.
27264         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27265         available use -Av9d instead of -Av9a.
27266         * sysdeps/sparc/sparc64/Makefile: Likewise.
27267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27269         New file.
27270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27271         file.
27272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27273         New file.
27274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27275         file.
27276         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27277         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27278         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27279         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27280         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27282         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27283         fzeros/fnegs to load 0x80000000 into a float register instead of
27284         using the stack.
27285         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27287 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27290         bits/syscall.h.
27291         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27292         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27293         ($(inst_includedir)/bits/syscall.h): Remove rule.
27294         ($(objpfx)bits/syscall.d): Include instead of
27295         $(objpfx)syscall-list.d.
27296         (generated): Change syscall-list.h and syscall-list.d to
27297         bits/syscall.h and bits/syscall.d.
27299 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27301         [BZ #13846]
27302         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27304 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27306         [BZ #13841]
27307         * math/s_csqrt.c: Include <float.h>.
27308         (__csqrt): Scale large or subnormal inputs.
27309         * math/s_csqrtf.c: Likewise.
27310         * math/s_csqrtl.c: Likewise.
27311         * math/libm-test.inc (csqrt_test): Add more tests.
27312         * sysdeps/i386/fpu/libm-test-ulps: Update.
27313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27315         [BZ #13840]
27316         * math/libm-test.inc (hypot_test): Add more tests.
27318 2012-03-13  David S. Miller  <davem@davemloft.net>
27320         [BZ #13840]
27321         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27322         double-precision for the calculation instead of scaling.
27324 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27326         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27327         manipulate bits before adding and subtracting TWO52[sx].
27328         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27329         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27330         Likewise.
27331         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27333 2012-03-13  David S. Miller  <davem@davemloft.net>
27335         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27336         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27337         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27338         rtld-global-offsets.h
27339         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27341         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27342         large parameters.
27344         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27346         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27347         'err' in the ifdef scope in which it is actually used.
27349         * nss/nss_db/db-init.c: Include string.h
27351 2012-03-12  David S. Miller  <davem@davemloft.net>
27353         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27354         masking out of the most significant byte of random value used.
27355         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27356         Fix coding style in previous change.
27358         * sysdeps/unix/sysv/linux/kernel-features.h
27359         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27360         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27361         expression.
27362         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27363         later.
27365 2012-03-11  David S. Miller  <davem@davemloft.net>
27367         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27368         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27369         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27370         for 'resultvar' otherwise things get truncated on 64-bit.
27372         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27373         Fix masking out of the most significant byte of random value used.
27375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27377 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27381 2012-03-09  David S. Miller  <davem@davemloft.net>
27383         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27384         variables with appropriate CPP guards.
27385         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27386         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27387         on resulting framesize and the management of the outregs buffer for pltexit.
27388         Preserve floating point return values across _dl_call_pltexit call.
27389         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27390         framesize and the management of the outregs buffer for pltexit.
27391         Preserve floating point return values across _dl_call_pltexit
27392         call.
27393         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27394         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27395         (print_exit): Fix format string for return register value.
27397 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27399         * sunrpc/Makefile (others): Add rpcgen.
27400         ($(objpfx)rpcgen): Remove special build rule and dependency on
27401         libc.
27402         * sunrpc/rpcgen.c: New file.
27404 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27406         [BZ #13673]
27407         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27408         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27409         * sysdeps/i386/crti.S: Likewise.
27410         * sysdeps/i386/crtn.S: Likewise.
27411         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27412         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27413         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27414         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27415         * sysdeps/sh/crti.S: Likewise.
27416         * sysdeps/sh/crtn.S: Likewise.
27417         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27419         [BZ #13673]
27420         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27421         with URL.
27422         * locale/programs/locfile-kw.gperf: Likewise.
27423         * locale/programs/charmap-kw.h: Regenerated.
27424         * locale/programs/locfile-kw.h: Likewise.
27426         [BZ #13673]
27427         * intl/plural.y: Replace FSF snail mail address with URL.
27428         * intl/plural.c: Regenerated.
27430 2012-03-09  Richard Henderson  <rth@twiddle.net>
27432         * include/math_private.h: Remove file.
27433         * math/math_private.h: Move file ...
27434         * sysdeps/generic/math_private.h: ... here.
27436         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27437         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27438         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27440         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27441         and <math_private.h>.
27442         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27443         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27444         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27445         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27446         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27447         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27448         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27449         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27450         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27451         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27452         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27453         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27454         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27455         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27456         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27457         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27458         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27459         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27460         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27461         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27462         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27463         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27464         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27465         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27466         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27467         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27468         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27469         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27470         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27471         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27472         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27473         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27474         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27475         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27476         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27477         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27478         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27479         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27480         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27481         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27482         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27483         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27484         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27485         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27486         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27487         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27488         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27489         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27490         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27491         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27492         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27493         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27494         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27495         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27496         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27497         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27498         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27499         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27500         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27501         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27502         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27503         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27504         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27505         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27506         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27507         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27508         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27509         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27510         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27511         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27512         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27513         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27514         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27515         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27516         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27517         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27518         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27519         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27520         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27521         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27522         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27523         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27524         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27525         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27526         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27527         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27528         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27529         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27530         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27531         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27532         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27533         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27534         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27535         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27536         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27537         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27538         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27539         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27540         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27541         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27542         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27543         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27544         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27545         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27546         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27547         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27548         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27549         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27550         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27551         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27552         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27553         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27554         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27555         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27556         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27557         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27558         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27559         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27560         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27561         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27562         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27563         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27564         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27565         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27566         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27567         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27568         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27569         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27570         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27571         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27572         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27573         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27574         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27575         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27576         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27577         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27578         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27579         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27580         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27581         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27582         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27583         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27584         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27585         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27586         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27587         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27588         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27589         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27590         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27591         * sysdeps/ieee754/k_standard.c: Likewise.
27592         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27593         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27594         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27595         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27596         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27597         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27598         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27599         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27600         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27601         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27602         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27603         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27604         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27605         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27606         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27607         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27608         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27609         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27610         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27611         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27612         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27613         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27614         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27615         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27616         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27617         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27618         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27619         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27620         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27621         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27622         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27623         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27624         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27625         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27626         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27627         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27628         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27629         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27630         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27631         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27632         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27633         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27634         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27635         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27636         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27637         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27638         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27639         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27640         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27641         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27642         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27643         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27644         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27645         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27646         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27647         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27648         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27649         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27650         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27651         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27652         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27653         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27654         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27655         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27656         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27657         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27658         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27659         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27660         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27661         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27662         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27663         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27664         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27665         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27666         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27667         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27668         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27669         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27670         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27671         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27672         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27673         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27674         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27675         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27676         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27677         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27678         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27679         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27680         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27681         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27682         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27683         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27684         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27685         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27686         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27687         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27688         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27689         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27690         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27691         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27692         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27693         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27694         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27695         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27696         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27697         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27698         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27699         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27700         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27701         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27702         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27703         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27704         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27705         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27706         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27707         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27708         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27709         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27710         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27711         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27712         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27713         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27714         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27715         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27716         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27717         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27718         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27719         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27720         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27721         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27722         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27723         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27724         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27725         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27726         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27727         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27728         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27729         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27730         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27731         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27732         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27733         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27734         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27735         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27736         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27737         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27738         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27739         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27740         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27741         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27742         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27743         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27744         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27745         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27746         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27747         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27748         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27749         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27750         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27751         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27752         * sysdeps/ieee754/s_lib_version.c: Likewise.
27753         * sysdeps/ieee754/s_matherr.c: Likewise.
27754         * sysdeps/ieee754/s_signgam.c: Likewise.
27755         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27756         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27757         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27758         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27759         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27760         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27761         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27762         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27763         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27764         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27765         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27766         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27767         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27768         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27769         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27770         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27771         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27772         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27773         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27774         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27775         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27777 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27779         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27780         * sunrpc/rpc_main.c: Likewise.
27781         * sunrpc/rpc_svcout.c: Likewise.
27783 2012-03-09  David S. Miller  <davem@davemloft.net>
27785         * include/math_private.h: New file.
27787 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27789         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27790         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27791         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27792         from <bits/socket_type.h>.
27793         (enum __socket_type): Don't define here.
27794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27795         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27796         bits/socket_type.h.
27798         [BZ #13566]
27799         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27800         checking __USE_GNU.
27802         * Makerules ($(inst_includedir)/%.h): New rule.
27803         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27804         (install-others): Remove variable setting.
27805         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27807 2012-03-08  Richard Henderson  <rth@twiddle.net>
27809         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27810         from macro to inline function; merge with the
27811         !__LIBC_INTERNAL_MATH_INLINES version.
27812         (__ieee754_sqrtf): Likewise.
27814         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27815         to inline function.
27816         (__rintf, __floor, __floorf): Likewise.
27818         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27819         macro to inline function.
27820         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27822         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27823         not <math/math_private.h>.
27825 2012-03-08  David S. Miller  <davem@davemloft.net>
27827         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27828         copyright year.
27829         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27831 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
27833         * resolv/gai_misc.c (handle_requests): Fix struct timespec
27834         normalization.
27835         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27836         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27838 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
27840         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
27841         be defined individually, they must be defined as a block.  Define
27842         S for printing a string instead of hidint the different by using a
27843         macro for adding the 'l'.
27844         * stdio-common/tst-fphex-wide.c: Adjust.
27846 2012-03-07  Marek Polacek  <polacek@redhat.com>
27848         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27850 2012-03-08  Marek Polacek  <polacek@redhat.com>
27852         [BZ #13806]
27853         * stdio-common/Makefile (tests): Add tst-fphex-wide.
27854         * stdio-common/tst-fphex.c: Define a few macros to make the
27855         test reusable.  Use them.
27856         * stdio-common/tst-fphex-wide.c: New file.
27858 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
27860         [BZ #6911]
27861         * manual/macros.texi (gnusystems): New macro.
27862         (nongnusystems): Likewise.
27863         (gnulinuxhurdsystems): Likewise.
27864         (gnuhurdsystems): Likewise..
27865         (gnulinuxsystems): Likewise.
27866         * manual/charset.texi: Use new macros or @theglibc{} to refer to
27867         variants of the GNU system, not "GNU system".
27868         * manual/conf.texi: Likewise.
27869         * manual/errno.texi: Likewise.  Update example of errno macro
27870         expansion.
27871         * manual/filesys.texi: Likewise.
27872         (getumask): Document as specific to GNU/Hurd.
27873         * manual/install.texi: Likewise.  Reword some references to
27874         GNU/Linux.
27875         * manual/intro.texi: Likewise.
27876         * manual/io.texi: Likewise.
27877         (File Name Portability): Detail which constraints are inapplicable
27878         to all GNU systems and which are only inapplicable to GNU/Hurd.
27879         * manual/job.texi: Likewise.
27880         * manual/llio.texi: Likewise.
27881         (O_NOCTTY): Document as present on GNU/Linux.
27882         * manual/maint.texi: Likewise.
27883         * manual/memory.texi: Likewise.
27884         * manual/pattern.texi: Likewise.
27885         * manual/pipe.texi: Likewise.
27886         * manual/process.texi: Likewise.
27887         * manual/resource.texi: Likewise.
27888         (RUSAGE_CHILDREN): Remove statement about specifying a particular
27889         child on GNU/Hurd.
27890         * manual/setjmp.texi: Likewise.
27891         * manual/signal.texi: Likewise.
27892         * manual/startup.texi: Likewise.
27893         * manual/stdio.texi: Likewise.
27894         * manual/terminal.texi: Likewise.
27895         (ONLCR): Document as POSIX.
27896         (OXTABS): Document availability on GNU/Linux as XTABS.
27897         (ONOEOT): Document availability separately from other bits.
27898         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27899         * manual/time.texi: Likewise.
27900         * manual/users.texi: Likewise.
27901         * INSTALL: Regenerated.
27902         * sysdeps/gnu/errlist.c: Regenerated.
27904         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27905         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27906         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
27907         puts.
27908         * configure: Regenerated.
27910 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
27912         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27913         default includes instead of AC_HEADER_CHECK.
27914         * sysdeps/i386/configure: Regenerated.
27916         [BZ #10716]
27917         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27918         * math/s_cacoshf.c (__cacoshf): Likewise.
27919         * math/s_cacoshl.c (__cacoshl): Likewise.
27920         * math/s_casinh.c (__casinh): Set signs of result from argument.
27921         * math/s_casinhf.c (__casinhf): Likewise.
27922         * math/s_casinhl.c (__casinhl): Likewise.
27923         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27924         (casinh_test): Add more tests.
27925         * sysdeps/i386/fpu/libm-test-ulps: Update.
27926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27928 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
27930         * po/zh_TW.po: Update from translation team.
27932         * login/Makefile (distribute): Remove variable.
27933         * catgets/Makefile: Likewise.
27934         * mach/Makefile: Likewise.
27935         * malloc/Makefile: Likewise.
27936         * misc/Makefile: Likewise.
27937         * iconv/Makefile: Likewise.
27938         * nscd/Makefile: Likewise.
27939         * hurd/Makefile: Likewise.
27940         * manual/Makefile: Likewise.
27941         * locale/Makefile: Likewise.
27942         * intl/Makefile: Likewise.
27943         * conform/Makefile: Likewise.
27944         * nss/Makefile: Likewise.
27945         * time/Makefile: Likewise.
27946         * soft-fp/Makefile: Likewise.
27947         * dirent/Makefile: Likewise.
27948         * gmon/Makefile: Likewise.
27949         * po/Makefile: Likewise.
27950         * rt/Makefile: Likewise.
27951         * socket/Makefile: Likewise.
27952         * math/Makefile: Likewise.
27953         * signal/Makefile: Likewise.
27954         * debug/Makefile: Likewise.
27955         * elf/Makefile: Likewise.
27956         * timezone/Makefile: Likewise.
27957         * stdlib/Makefile: Likewise.
27958         * iconvdata/Makefile: Likewise.
27959         * sunrpc/Makefile: Likewise.
27960         * io/Makefile: Likewise.
27961         * argp/Makefile: Likewise.
27962         * inet/Makefile: Likewise.
27963         * hesiod/Makefile: Likewise.
27964         * grp/Makefile: Likewise.
27965         * csu/Makefile: Likewise.
27966         * wctype/Makefile: Likewise.
27967         * crypt/Makefile: Likewise.
27968         * libio/Makefile: Likewise.
27969         * string/Makefile: Likewise.
27970         * nis/Makefile: Likewise.
27971         * resolv/Makefile: Likewise.
27972         * stdio-common/Makefile: Likewise.
27973         * wcsmbs/Makefile: Likewise.
27974         * dlfcn/Makefile: Likewise.
27975         * posix/Makefile: Likewise.
27977         [BZ #6959]
27978         * timezone/Makefile: Don't install timezone files, just the programs
27979         and scripts.
27981 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
27983         * nss/databases.def: Add missing gshadow entry.
27985         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
27987 2012-03-06  Marek Polacek  <polacek@redhat.com>
27989         [BZ #13726]
27990         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27991         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27992         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27993         * stdio-common/tst-long-dbl-fphex.c: New file.
27995 2012-03-06  David S. Miller  <davem@davemloft.net>
27997         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27998         (set_obp_int): New function.
27999         (get_obp_int): New function.
28000         (__get_clockfreq_via_dev_openprom): Likewise.
28001         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28002         Avoid unused variable warnings on 'val' and use builtin_expect.
28003         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28004         __builtin_expect.
28005         (INLINE_CLONE_SYSCALL): Likewise.
28007 2012-03-05  David S. Miller  <davem@davemloft.net>
28009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28011 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28015         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28016         only for |x| >= 40.
28017         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28019 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28021         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28022         Replace gettimeofday with __vdso_gettimeofday.
28024         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28025         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28026         __vdso_clock_gettime and __vdso_getcpu.
28028         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28029         time with __vdso_time.
28031 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28033         * manual/lang.texi (size_t): Note types to which size_t may be
28034         equivalent with the GNU C Library, but do not describe when
28035         differences between them are significant.
28037 2012-03-05  Andreas Jaeger  <aj@suse.de>
28039         * sysdeps/i386/fpu/libm-test-ulps: Update.
28041 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28043         [BZ #3976]
28044         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28045         (__ieee754_pow): Save and restore rounding mode and use
28046         round-to-nearest for main computations.
28047         * math/libm-test.inc (pow_test_tonearest): New function.
28048         (pow_test_towardzero): Likewise.
28049         (pow_test_downward): Likewise.
28050         (pow_test_upward): Likewise.
28051         (main): Call the new functions.
28052         * sysdeps/i386/fpu/libm-test-ulps: Update.
28053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28055         [BZ #3976]
28056         * math/libm-test.inc (cosh_test_tonearest): New function.
28057         (cosh_test_towardzero): Likewise.
28058         (cosh_test_downward): Likewise.
28059         (cosh_test_upward): Likewise.
28060         (sinh_test_tonearest): Likewise.
28061         (sinh_test_towardzero): Likewise.
28062         (sinh_test_downward): Likewise.
28063         (sinh_test_upward): Likewise.
28064         (main): Call the new functions.
28065         * sysdeps/i386/fpu/libm-test-ulps: Update.
28066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28068 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28070         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28071         default stack guard is set in last bytes.
28072         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28074 2012-03-05  Kees Cook  <keescook@chromium.org>
28076         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28078         [BZ #13656]
28079         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28080         possibly allocate from heap instead of stack.
28081         * stdio-common/bug-vfprintf-nargs.c: New file.
28082         * stdio-common/Makefile (tests): Add nargs overflow test.
28084 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
28086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28088 2012-03-03  Marek Polacek  <polacek@redhat.com>
28090         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28091         * math/math_private.h: Likewise.
28092         * stdlib/tst-strtod.c: Likewise.
28093         * sysdeps/i386/i486/bits/atomic.h: Likewise.
28094         * sysdeps/x86_64/bits/atomic.h: Likewise.
28096 2012-03-02  David S. Miller  <davem@davemloft.net>
28098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28102         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28103         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28104         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28105         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28107 2012-03-02  Roland McGrath  <roland@hack.frob.com>
28109         [BZ #13792]
28110         * manual/examples/README: New file, says the example source files
28111         can be used under GPL>=2.
28112         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28113         line containing just "*/".
28114         * manual/examples/add.c: Add copyright header (GPL>=2).
28115         * manual/examples/argp-ex1.c: Likewise.
28116         * manual/examples/argp-ex2.c: Likewise.
28117         * manual/examples/argp-ex3.c: Likewise.
28118         * manual/examples/argp-ex4.c: Likewise.
28119         * manual/examples/atexit.c: Likewise.
28120         * manual/examples/db.c: Likewise.
28121         * manual/examples/dir.c: Likewise.
28122         * manual/examples/dir2.c: Likewise.
28123         * manual/examples/execinfo.c: Likewise.
28124         * manual/examples/filecli.c: Likewise.
28125         * manual/examples/filesrv.c: Likewise.
28126         * manual/examples/fmtmsgexpl.c: Likewise.
28127         * manual/examples/genpass.c: Likewise.
28128         * manual/examples/inetcli.c: Likewise.
28129         * manual/examples/inetsrv.c: Likewise.
28130         * manual/examples/isockad.c: Likewise.
28131         * manual/examples/longopt.c: Likewise.
28132         * manual/examples/memopen.c: Likewise.
28133         * manual/examples/memstrm.c: Likewise.
28134         * manual/examples/mkfsock.c: Likewise.
28135         * manual/examples/mkisock.c: Likewise.
28136         * manual/examples/mygetpass.c: Likewise.
28137         * manual/examples/pipe.c: Likewise.
28138         * manual/examples/popen.c: Likewise.
28139         * manual/examples/rprintf.c: Likewise.
28140         * manual/examples/search.c: Likewise.
28141         * manual/examples/select.c: Likewise.
28142         * manual/examples/setjmp.c: Likewise.
28143         * manual/examples/sigh1.c: Likewise.
28144         * manual/examples/sigusr.c: Likewise.
28145         * manual/examples/stpcpy.c: Likewise.
28146         * manual/examples/strdupa.c: Likewise.
28147         * manual/examples/strftim.c: Likewise.
28148         * manual/examples/strncat.c: Likewise.
28149         * manual/examples/subopt.c: Likewise.
28150         * manual/examples/swapcontext.c: Likewise.
28151         * manual/examples/termios.c: Likewise.
28152         * manual/examples/testopt.c: Likewise.
28153         * manual/examples/testpass.c: Likewise.
28154         * manual/examples/timeval_subtract.c: Likewise.
28156         [BZ #13792]
28157         * manual/time.texi (Elapsed Time): Move timeval_subtract example
28158         function to ...
28159         * manual/timeval_subtract.c.texi: ... here, new file.
28161 2012-03-02  David S. Miller  <davem@davemloft.net>
28163         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28165 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
28167         [BZ #3976]
28168         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28169         (__sin): Save and restore rounding mode and use round-to-nearest
28170         for all computations.
28171         (__cos): Save and restore rounding mode and use round-to-nearest
28172         for all computations.
28173         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28174         <fenv.h>.
28175         (tan): Save and restore rounding mode and use round-to-nearest for
28176         all computations.
28177         * math/libm-test.inc (cos_test_tonearest): New function.
28178         (cos_test_towardzero): Likewise.
28179         (cos_test_downward): Likewise.
28180         (cos_test_upward): Likewise.
28181         (sin_test_tonearest): Likewise.
28182         (sin_test_towardzero): Likewise.
28183         (sin_test_downward): Likewise.
28184         (sin_test_upward): Likewise.
28185         (tan_test_tonearest): Likewise.
28186         (tan_test_towardzero): Likewise.
28187         (tan_test_downward): Likewise.
28188         (tan_test_upward): Likewise.
28189         (main): Call the new functions.
28190         * sysdeps/i386/fpu/libm-test-ulps: Update.
28191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28193         [BZ #10135]
28194         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28195         small n, then large n, before computing and testing k+n.
28196         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28197         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28198         Likewise.
28199         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28200         Likewise.
28201         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28202         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28203         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28204         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28205         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28206         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28207         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28208         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28209         * math/libm-test.inc (scalbn_test): Add more tests.
28210         (scalbln_test): Likewise.
28212         * manual/filesys.texi (mode_t): Describe constraints on size and
28213         signedness, not exact equivalence to a particular type.
28214         (ino_t): Likewise.
28215         (ino64_t): Likewise.
28216         (dev_t): Likewise.
28217         (nlink_t): Likewise.
28218         (blkcnt_t): Likewise.
28219         (blkcnt64_t): Likewise.
28220         * manual/llio.texi (off_t): Likewise.
28222         [BZ #3976]
28223         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28224         (__ieee754_exp): Save and restore rounding mode and use
28225         round-to-nearest for all computations.
28226         * math/libm-test.inc (exp_test_tonearest): New function.
28227         (exp_test_towardzero): Likewise.
28228         (exp_test_downward): Likewise.
28229         (exp_test_upward): Likewise.
28230         (main): Call the new functions.
28231         * sysdeps/i386/fpu/libm-test-ulps: Update.
28232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28234 2012-03-01  Chris Demetriou  <cgd@google.com>
28236         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28237         have predictable order.
28239 2012-03-01  David S. Miller  <davem@davemloft.net>
28241         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28243         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28244         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28245         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28246         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28248         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28249         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28250         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28252         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28253         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28254         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28255         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28256         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28260         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28261         * sysdeps/sparc/fpu/libm-test-ulps: to here.
28262         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28264         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28265         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28266         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28267         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28268         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28269         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28270         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28271         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28272         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28273         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28274         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28275         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28277         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28278         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28279         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28280         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28281         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28282         * sysdeps/sparc/elf/configure: Regenerated.
28284 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
28286         * configure.in (AS, LD): Require binutils 2.20 or later.
28287         * configure: Regenerated.
28288         * manual/install.texi (Tools for Compilation): Give binutils 2.20
28289         as required minimum version.
28290         * INSTALL: Regenerated.
28292         [BZ #2541]
28293         [BZ #4108]
28294         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28295         before squaring exponent.
28296         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28297         bottom long double and 27 bits of top long double before squaring
28298         exponent.
28299         * math/libm-test.inc (erfc_test): Add more tests.
28300         * sysdeps/i386/fpu/libm-test-ulps: Update.
28301         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28304 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28306         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28307         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28308         containing bit-fields.
28309         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28310         * soft-fp/single.h (_FP_UNION_S): Likewise.
28311         * soft-fp/double.h (_FP_UNION_D): Likewise.
28313 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28315         [BZ #13786]
28316         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28317         not include ../strcmp.S.
28318         [USE_AS_STRNCASECMP_L]: Likewise.
28319         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28320         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28321         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28322         (__strncasecmp_l_ia32): Define as alias to
28323         __strncasecmp_l_nonascii.
28325         [BZ #5794]
28326         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28327         * sysdeps/i386/fpu/libm-test-ulps: Update.
28328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28330         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28333 2012-02-29  Jeff Law  <law@redhat.com>
28335         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28336         out of bounds read.
28338 2012-02-29  Marek Polacek  <polacek@redhat.com>
28340         [BZ #13706]
28341         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28342         * elf/Makefile: Add rules to run tst-unused-dep.out.
28344 2012-02-28  David S. Miller  <davem@davemloft.net>
28346         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28347         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28348         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28349         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28350         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28351         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28353 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28355         * math/libm-test.inc (llround_test): Move one test from
28356         lround_test.  Use TEST_f_L in moved test.
28357         (lround_test): Move misplaced test to llround_test.  Add testcase
28358         from bug 2561.
28360 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28362         * sysdeps/x86_64/fpu/e_expf.S: New file.
28363         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28365 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28367         [BZ #13637]
28368         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28369         of remain_len that may cause incomplete multi-byte character and
28370         false match.
28371         * posix/bug-regex33.c: New file.
28372         * posix/Makefile (tests): Add bug-regex33.
28374 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28376         * manual/macros.texi: New file.
28377         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28378         * manual/libc.texinfo: Include macros.texi.
28379         * manual/creatute.texi: Likewise.
28380         * manual/install.texi: Likewise.
28381         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28382         @glibcadj{} in references to the GNU C Library.
28383         * manual/charset.texi: Likewise.
28384         * manual/conf.texi: Likewise.
28385         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28386         when not using those macros.
28387         * manual/creature.texi: Likewise.
28388         * manual/crypt.texi: Likewise.
28389         * manual/errno.texi: Likewise.
28390         * manual/filesys.texi: Likewise.
28391         * manual/header.texi: Likewise.
28392         * manual/install.texi: Likewise.
28393         * manual/intro.texi: Likewise.
28394         * manual/io.texi: Likewise.
28395         * manual/job.texi: Likewise.
28396         * manual/lang.texi: Likewise.
28397         * manual/libc.texiinfo: Likewise.
28398         * manual/llio.texi: Likewise.
28399         * manual/locale.texi: Likewise.
28400         * manual/maint.texi: Likewise.
28401         * manual/math.texi: Likewise.
28402         * manual/memory.texi: Likewise.
28403         * manual/message.texi: Likewise.
28404         * manual/nss.texi: Likewise.
28405         * manual/pattern.texi: Likewise.
28406         * manual/process.texi: Likewise.
28407         * manual/resource.texi: Likewise.
28408         * manual/search.texi: Likewise.
28409         * manual/setjmp.texi: Likewise.
28410         * manual/signal.texi: Likewise.
28411         * manual/socket.texi: Likewise.
28412         * manual/startup.texi: Likewise.
28413         * manual/stdio.texi: Likewise.
28414         * manual/string.texi: Likewise.
28415         * manual/sysinfo.texi: Likewise.
28416         * manual/syslog.texi: Likewise.
28417         * manual/terminal.texi: Likewise.
28418         * manual/time.texi: Likewise.
28419         * manual/users.texi: Likewise.
28420         * INSTALL: Regenerated.
28421         * NOTES: Regenerated.
28422         * sysdeps/gnu/errlist.c: Regenerated.
28424 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28426         * include/dirent.h: Include <dirstream.h> before
28427         <dirent/dirent.h>.
28429 2012-02-28  David S. Miller  <davem@davemloft.net>
28431         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28432         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28433         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28434         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28436 2012-02-27  David S. Miller  <davem@davemloft.net>
28438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28440         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28441         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28444         frame pointer instead of stack pointer relative arg slot.
28445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28446         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28447         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28449 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28451         [BZ #3992]
28452         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28454 2012-02-27  David S. Miller  <davem@davemloft.net>
28456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28460         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28461         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28462         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28463         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28465 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28467         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28468         later.  Allow versions 5-9.
28469         * configure: Regenerated.
28470         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28471         required minimum version and 4.6 as recommended version.  Do not
28472         mention bugs in GCC 2.7 and 2.8.
28473         * INSTALL: Regenerated.
28475 2012-02-27  David S. Miller  <davem@davemloft.net>
28477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28481         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28482         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28483         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28484         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28486         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28487         manipulate bits before adding and subtracting TWO112[sx].
28488         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28490 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28492         [BZ #13775]
28493         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28494         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28495         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28496         being in POSIX, because they are in 1003.1-2008.
28498         * rt/tst-aio.c: Include <fcntl.h>.
28499         * rt/tst-aio7.c: Likewise.
28500         * rt/tst-aio64.c: Likewise.
28502         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28504 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28506         * manual/install.texi (--with-headers): Describe headers as
28507         interface headers, not private headers.
28508         (Specific advice for GNU/Linux systems): Describe use of headers
28509         from "make headers_install", not private headers from older
28510         kernels.
28511         * INSTALL: Regenerated.
28512         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28513         Change to 2.6.19.
28514         * sysdeps/unix/sysv/linux/configure: Regenerated.
28516         * manual/llio.texi (fclean): Remove documentation.
28518         * manual/Makefile (libc-texi-generated): New variable.  Include
28519         version.texi.
28520         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28521         $(libc-texi-generated), not duplicated list of files.
28522         (version.texi, stamp-version): New rules.
28523         (realclean): Remove $(libc-texi-generated), not individual files
28524         from that list.  Do not remove dir-add.texinfo.
28525         * manual/libc.texinfo: Comment out uses of edition numbers and
28526         references to printed manual.  Remove last-updated dates.
28527         (EDITION): Comment out.
28528         (ISBN): Likewise.
28529         (VERSION, UPDATED): Remove.
28530         (version.texi): Include.
28532 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
28534         * sysdeps/posix/spawni.c: Include <signal.h>.
28535         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28536         * sysdeps/pthread/aio_fsync.c: Likewise.
28538 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
28540         * conform/Makefile (tests): Run only when not cross-compiling and
28541         when fast-check is not defined.
28543         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28544         * conform/data/limits.h-data: Fixes for POSIX2008.
28545         * conform/run-conformtest.sh: Run all tests.
28546         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28547         headers.
28548         * include/bits/dlfcn.h: Likewise.
28549         * include/langinfo.h: Likewise.
28550         * include/monetary.h: Likewise.
28551         * include/sys/poll.h: Likewise.
28553         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28554         for __USE_GNU.
28555         * posix/spawn.h: Define __need_sigset_t.
28556         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28557         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28558         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
28559         to get sigevent_t only.
28560         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28561         only for __USE_GNU.
28562         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28563         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28564         process_vm_writev only for __USE_GNU.
28565         * termios/termios.h: Declare tcgetsid also for POSIX2008.
28567         * conform/Makefile: For now ignore errors from run-conformtest.
28568         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
28569         POSIX to avoid namespace pollution.  Don't prepend headers.
28570         * conform/data/aio.h-data: Fixes for POSIX testing.
28571         * conform/data/fcntl.h-data: Likewise.
28572         * conform/data/glob.h-data: Likewise.
28573         * conform/data/grp.h-data: Likewise.
28574         * conform/data/pthread.h-data: Likewise.
28575         * conform/data/pwd.h-data: Likewise.
28576         * conform/data/signal.h-data: Likewise.
28577         * conform/data/spawn.h-data: Likewise.
28578         * conform/data/stdio.h-data: Likewise.
28579         * conform/data/stdlib.h-data: Likewise.
28580         * conform/data/stropts.h-data: Likewise.
28581         * conform/data/sys/mman.h-data: Likewise.
28582         * conform/data/sys/stat.h-data: Likewise.
28583         * conform/data/sys/types.h-data: Likewise.
28584         * conform/data/sys/wait.h-data: Likewise.
28585         * conform/data/time.h-data: Likewise.
28586         * conform/data/unistd.h-data: Likewise.
28587         * conform/data/utime.h-data: Likewise.
28589         * io/sys/stat.h: fchmod was always in POSIX.
28590         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28591         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28592         * rt/aio.h: Define __need_timespec before including <time.h>.
28593         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28594         struct.  Add forward declaration of pthread_attr_t and use it in
28595         sigevent.
28596         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28597         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28598         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28599         always remove CLK_TCK definition.
28601 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
28603         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28605 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
28607         * conform/run-conformtest.sh: New file.
28608         * conform/Makefile: Run run-conformtest for tests.
28609         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
28610         support.
28612         * conform/data/uchar.h-data: New file.
28613         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28614         * conform/data/arpa/inet.h-data: Likewise.
28615         * conform/data/assert.h-data: Likewise.
28616         * conform/data/complex.h-data: Likewise.
28617         * conform/data/cpio.h-data: Likewise.
28618         * conform/data/ctype.h-data: Likewise.
28619         * conform/data/dirent.h-data: Likewise.
28620         * conform/data/dlfcn.h-data: Likewise.
28621         * conform/data/errno.h-data: Likewise.
28622         * conform/data/fcntl.h-data: Likewise.
28623         * conform/data/float.h-data: Likewise.
28624         * conform/data/fmtmsg.h-data: Likewise.
28625         * conform/data/fnmatch.h-data: Likewise.
28626         * conform/data/ftw.h-data: Likewise.
28627         * conform/data/glob.h-data: Likewise.
28628         * conform/data/grp.h-data: Likewise.
28629         * conform/data/iconv.h-data: Likewise.
28630         * conform/data/inttypes.h-data: Likewise.
28631         * conform/data/langinfo.h-data: Likewise.
28632         * conform/data/libgen.h-data: Likewise.
28633         * conform/data/limits.h-data: Likewise.
28634         * conform/data/locale.h-data: Likewise.
28635         * conform/data/math.h-data: Likewise.
28636         * conform/data/monetary.h-data: Likewise.
28637         * conform/data/mqueue.h-data: Likewise.
28638         * conform/data/ndbm.h-data: Likewise.
28639         * conform/data/net/if.h-data: Likewise.
28640         * conform/data/netdb.h-data: Likewise.
28641         * conform/data/netinet/in.h-data: Likewise.
28642         * conform/data/nl_types.h-data: Likewise.
28643         * conform/data/poll.h-data: Likewise.
28644         * conform/data/pthread.h-data: Likewise.
28645         * conform/data/pwd.h-data: Likewise.
28646         * conform/data/regex.h-data: Likewise.
28647         * conform/data/sched.h-data: Likewise.
28648         * conform/data/search.h-data: Likewise.
28649         * conform/data/semaphore.h-data: Likewise.
28650         * conform/data/setjmp.h-data: Likewise.
28651         * conform/data/signal.h-data: Likewise.
28652         * conform/data/spawn.h-data: Likewise.
28653         * conform/data/stdarg.h-data: Likewise.
28654         * conform/data/stdio.h-data: Likewise.
28655         * conform/data/stdlib.h-data: Likewise.
28656         * conform/data/string.h-data: Likewise.
28657         * conform/data/strings.h-data: Likewise.
28658         * conform/data/stropts.h-data: Likewise.
28659         * conform/data/sys/ipc.h-data: Likewise.
28660         * conform/data/sys/mman.h-data: Likewise.
28661         * conform/data/sys/msg.h-data: Likewise.
28662         * conform/data/sys/resource.h-data: Likewise.
28663         * conform/data/sys/select.h-data: Likewise.
28664         * conform/data/sys/sem.h-data: Likewise.
28665         * conform/data/sys/shm.h-data: Likewise.
28666         * conform/data/sys/socket.h-data: Likewise.
28667         * conform/data/sys/stat.h-data: Likewise.
28668         * conform/data/sys/statvfs.h-data: Likewise.
28669         * conform/data/sys/time.h-data: Likewise.
28670         * conform/data/sys/timeb.h-data: Likewise.
28671         * conform/data/sys/times.h-data: Likewise.
28672         * conform/data/sys/types.h-data: Likewise.
28673         * conform/data/sys/uio.h-data: Likewise.
28674         * conform/data/sys/un.h-data: Likewise.
28675         * conform/data/sys/utsname.h-data: Likewise.
28676         * conform/data/sys/wait.h-data: Likewise.
28677         * conform/data/syslog.h-data: Likewise.
28678         * conform/data/tar.h-data: Likewise.
28679         * conform/data/termios.h-data: Likewise.
28680         * conform/data/utime.h-data: Likewise.
28681         * conform/data/utmpx.h-data: Likewise.
28682         * conform/data/varargs.h-data: Likewise.
28683         * conform/data/wchar.h-data: Likewise.
28684         * conform/data/wctype.h-data: Likewise.
28685         * conform/data/wordexp.h-data: Likewise.
28687         * include/stropts.h: New file.
28688         * include/uchar.h: New file.
28689         * include/aio.h: Changes to allow conformtest.pl to use the headers.
28690         * include/assert.h: Likewise.
28691         * include/ctype.h: Likewise.
28692         * include/dirent.h: Likewise.
28693         * include/dlfcn.h: Likewise.
28694         * include/fcntl.h: Likewise.
28695         * include/fnmatch.h: Likewise.
28696         * include/glob.h: Likewise.
28697         * include/grp.h: Likewise.
28698         * include/libio.h: Likewise.
28699         * include/locale.h: Likewise.
28700         * include/math.h: Likewise.
28701         * include/net/if.h: Likewise.
28702         * include/netdb.h: Likewise.
28703         * include/netinet/in.h: Likewise.
28704         * include/pthread.h: Likewise.
28705         * include/pwd.h: Likewise.
28706         * include/regex.h: Likewise.
28707         * include/sched.h: Likewise.
28708         * include/search.h: Likewise.
28709         * include/setjmp.h: Likewise.
28710         * include/signal.h: Likewise.
28711         * include/stdio.h: Likewise.
28712         * include/stdlib.h: Likewise.
28713         * include/string.h: Likewise.
28714         * include/sys/cdefs.h: Likewise.
28715         * include/sys/mman.h: Likewise.
28716         * include/sys/msg.h: Likewise.
28717         * include/sys/resource.h: Likewise.
28718         * include/sys/select.h: Likewise.
28719         * include/sys/socket.h: Likewise.
28720         * include/sys/stat.h: Likewise.
28721         * include/sys/statvfs.h: Likewise.
28722         * include/sys/time.h: Likewise.
28723         * include/sys/times.h: Likewise.
28724         * include/sys/uio.h: Likewise.
28725         * include/sys/utsname.h: Likewise.
28726         * include/sys/wait.h: Likewise.
28727         * include/termios.h: Likewise.
28728         * include/time.h: Likewise.
28729         * include/ulimit.h: Likewise.
28730         * include/unistd.h: Likewise.
28731         * include/utime.h: Likewise.
28732         * include/wchar.h: Likewise.
28733         * include/wctype.h: Likewise.
28734         * include/wordexp.h: Likewise.
28736         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28738         * time/time.h: TIME_UTC must be a macro.
28739         Make timespec_get available for ISO C11 only as well.
28741 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
28743         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28744         Reported by Peng Haitao <penght@cn.fujitsu.com>.
28746 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28748         * configure.in: Use -o not -a in test for unsupported multi-arch.
28750 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28752         * manual/texinfo.tex: Update to version 2012-01-19.16.
28754 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28756         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28758 2012-02-24  Roland McGrath  <roland@hack.frob.com>
28760         [BZ #13738]
28761         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28762         * manual/fdl-1.3.texi: New file.
28763         * manual/fdl-1.1.texi: File removed.
28765         [BZ #13738]
28766         * manual/libc.texinfo (FDL_VERSION): New @set.
28767         Use it for mention of FDL in cover text.
28768         (Documentation License): Use it in @include file name.
28770 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28771             Roland McGrath  <roland@hack.frob.com>
28773         [BZ #5461]
28774         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28775         not LONG_LONG_MAX and LONG_LONG_MIN.
28776         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28777         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
28778         name.
28779         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28781 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28783         [BZ #2547]
28784         [BZ #11365]
28785         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28786         manipulate bits before adding and subtracting TWO23[sx].
28787         * math/libm-test.inc (nearbyint_test): Add more tests.
28789 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28791         [BZ #2548]
28792         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28793         bits before adding and subtracting TWO23[sx].
28794         * math/libm-test.inc (rint_test): Add more tests.
28795         (rint_test_tonearest): Likewise.
28796         (rint_test_towardzero): Likewise.
28797         (rint_test_downward): Likewise.
28798         (rint_test_upward: Likewise.
28800 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28802         [BZ #10110]
28803         * include/stdc-predef.h: New file.  Extracted from features.h.
28804         * include/features.h: Include stdc-predef.h.
28805         * Makefile (headers): Add stdc-predef.h.
28806         * CONFORMANCE (Compiler limitations): Update.
28808 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28810         * manual/libc.texinfo (VERSION, UPDATED): Revert.
28812 2012-02-21  David S. Miller  <davem@davemloft.net>
28814         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28815         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28817 2012-02-20  David S. Miller  <davem@davemloft.net>
28819         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28820         using a normal save/restore sequence, rather than allocating a
28821         dummy stack frame just to store a frame pointer and restore.
28822         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28824 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28826         * manual/install.texi: Fix stray word in line-wrapped comment.
28828 2012-02-20  David S. Miller  <davem@davemloft.net>
28830         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28831         both binutils and gcc support GOTDATA.
28833         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28834         "rd %pc" in the PIC register setup sequences.
28836         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28837         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28838         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28839         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28840         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28842         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28843         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28844         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28845         (SYSCALL_ERROR_HANDLER): Likewise.
28846         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28847         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28848         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28849         (SYSCALL_ERROR_HANDLER): Likewise.
28851         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28852         (HAVE_GCC_GOTDATA): New.
28853         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28854         relocation support in both binutils and gcc.
28855         * sysdeps/sparc/elf/configure: Regenerate.
28857         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28858         * sysdeps/sparc/sparc32/elf/configure: Delete.
28859         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28860         * sysdeps/sparc/sparc64/elf/configure: Delete.
28861         * sysdeps/sparc/elf/configure.in: New file.
28862         * sysdeps/sparc/elf/configure: Generate.
28864         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28865         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28866         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28867         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28868         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28870 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28872         * manual/install.texi: Do not mention specific glibc version
28873         numbers.
28874         * manual/libc.texinfo (VERSION, UPDATED): Update.
28875         (@copying): Use @copyright{} and range of years.
28877 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28879         [BZ #13695]
28880         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28881         [crti.S not in sysdirs] (generated): Do not append.
28882         [crti.S not in sysdirs] (omit-deps): Likewise.
28883         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28884         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28885         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28886         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28887         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28888         Likewise.
28889         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28890         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28891         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28892         * csu/defs.awk: Remove file.
28893         * sysdeps/generic/initfini.c: Likewise.
28894         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28895         variable.
28896         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28897         Likewise.
28899 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28901         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28902         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28903         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28904         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28905         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28906         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28907         <bits/epoll.h>.
28908         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28909         (__EPOLL_PACKED): Define to empty if not defined by
28910         <bits/epoll.h>.
28911         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28913         bits/epoll.h.
28915 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28917         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28918         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28919         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28920         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28921         <bits/timerfd.h>.
28922         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28924         bits/timerfd.h.
28926 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28928         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28929         in C locale.
28930         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28931         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28932         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28935 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
28937         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28938         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28940 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
28942         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28943         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28944         defined.
28945         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28946         Likewise.
28947         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28948         entry for 2.16.
28950 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
28952         * math/w_acos.c: Use non-signaling floating-point comparisons.
28953         * math/w_acosf.c: Likewise.
28954         * math/w_acosh.c: Likewise.
28955         * math/w_acoshf.c: Likewise.
28956         * math/w_acoshl.c: Likewise.
28957         * math/w_acosl.c: Likewise.
28958         * math/w_asin.c: Likewise.
28959         * math/w_asinf.c: Likewise.
28960         * math/w_asinl.c: Likewise.
28961         * math/w_atanh.c: Likewise.
28962         * math/w_atanhf.c: Likewise.
28963         * math/w_atanhl.c: Likewise.
28964         * math/w_exp2.c: Likewise.
28965         * math/w_exp2f.c: Likewise.
28966         * math/w_exp2l.c: Likewise.
28967         * math/w_j0.c: Likewise.
28968         * math/w_j0f.c: Likewise.
28969         * math/w_j0l.c: Likewise.
28970         * math/w_j1.c: Likewise.
28971         * math/w_j1f.c: Likewise.
28972         * math/w_j1l.c: Likewise.
28973         * math/w_jn.c: Likewise.
28974         * math/w_jnf.c: Likewise.
28975         * math/w_log.c: Likewise.
28976         * math/w_log10.c: Likewise.
28977         * math/w_log10f.c: Likewise.
28978         * math/w_log10l.c: Likewise.
28979         * math/w_log2.c: Likewise.
28980         * math/w_log2f.c: Likewise.
28981         * math/w_log2l.c: Likewise.
28982         * math/w_logf.c: Likewise.
28983         * math/w_logl.c: Likewise.
28984         * math/w_sqrt.c: Likewise.
28985         * math/w_sqrtf.c: Likewise.
28986         * math/w_sqrtl.c: Likewise.
28987         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28988         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28989         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28990         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28991         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28993 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28995         [BZ #9739]
28996         * manual/string.texi (strnlen): Use correct parameter name in
28997         equivalent expression.
28999 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29001         [BZ #11174]
29002         * manual/users.texi (seteuid): Consistently use neweuid for
29003         argument name.
29005 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29007         [BZ #13704]
29008         * manual/nss.texi (Services in the NSS configuration): Correct
29009         list of services in example configuration file.
29011 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29013         [BZ #11322]
29014         * manual/arith.texi: Remove statements about negative zero
29015         behaving identically to zero.
29017 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29019         [BZ #5993]
29020         * manual/install.texi: Do not document upgrading from libc5.
29022 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29024         [BZ #4596]
29025         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29027 2012-02-18  David S. Miller  <davem@davemloft.net>
29029         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29030         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29031         %o7 across the call.
29032         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29033         instead.
29034         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29035         SETUP_PIC_REG_LEAF.
29036         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29037         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29038         * sysdeps/sparc/crtn.S: Likewise.
29040 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29042         * aout/Makefile: Remove.
29044 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29046         [BZ #13058]
29047         * manual/examples/argp-ex1.c (main): Format definition in GNU
29048         style.
29049         * manual/examples/argp-ex2.c (main): Likewise.
29050         * manual/examples/argp-ex3.c (main): Likewise.
29051         * manual/examples/argp-ex4.c (main): Likewise.
29052         * manual/examples/longopt.c (main): Use new-style prototype
29053         definition.
29054         * manual/examples/strncat.c (main): Specify return type and use
29055         (void) for arguments.
29056         * manual/examples/subopt.c (main): Use char **argv argument.
29058 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29060         [BZ #5077]
29061         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29062         rounding modes.
29064 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29066         [BZ #6907]
29067         * manual/string.texi (strchr): Change when strchrnul is
29068         recommended.
29070 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29072         [BZ #174]
29073         * manual/locale.texi (setlocale): Document LOCPATH.
29075 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29077         [BZ #10210]
29078         * manual/process.texi (execle): Move @dots{} before last argument.
29080 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
29082         [BZ #12047]
29083         * manual/charset.texi (Generic Charset Conversion): Fix typo
29084         (LC_TYPE -> LC_CTYPE).
29086 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
29088         [BZ #5805]
29089         * manual/arith.texi (scalbn): Use @var{} on parameter names.
29090         (scalbnf): Likewise.
29091         (scalbnl): Likewise.
29092         (scalbln): Likewise.
29093         (scalblnf): Likewise.
29094         (scalblnl): Likewise.
29095         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29096         (vwarnx): Likewise.
29097         (verr): Likewise.
29098         (verrx): Likewise.
29099         * manual/filesys.texi (telldir): Use braces around return type.
29100         * manual/llio.texi (mmap): Add space after comma.
29101         (mmap64): Likewise.
29102         * manual/math.texi (jn): Use @var{} on parameter names.
29103         (jnf): Likewise.
29104         (jnl): Likewise.
29105         (yn): Likewise.
29106         (ynf): Likewise.
29107         (ynl): Likewise.
29108         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29109         line.
29110         * manual/resource.texi (ulimit): Use @dots{} instead of literal
29111         "...".
29112         (sched_get_priority_min): Remove semicolon on @deftypefun line.
29113         (sched_get_priority_max): Likewise.
29114         * manual/signal.texi (sigvec): Add space after comma.
29115         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29116         names.
29117         (if_indextoname): Likewise.
29118         (if_freenameindex): Likewise.
29119         (sendto): Use ',' instead of '.' in prototype.
29120         * manual/startup.texi (syscall): Use @dots{} instead of literal
29121         "...".
29122         * manual/stdio.texi (__fpending): Separate initial words of
29123         paragraph from @deftypefun line.
29124         * manual/syslog.texi (syslog): Use @dots{} instead of literal
29125         "...".
29126         (vsyslog): Use @var{} on parameter names.
29127         * manual/terminal.texi (stty): Use @var{} on parameter names.
29128         * manual/users.texi (getutmp): Use @var{} on parameter names.
29129         (getutmpx): Likewise.
29131 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29133         [BZ #6884]
29134         * manual/stdio.texi (fopen): Fix typos in description of
29135         ",ccs=STRING".
29137 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
29139         [BZ #4026]
29140         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29141         get clock_id definition.
29143 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
29145         [BZ #4822]
29146         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29147         (madvise): Cast every argument to void on its own.
29149 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29151         [BZ #9902]
29152         * manual/startup.texi (Exit Status): Fix typo.
29154 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29156         [BZ #10140]
29157         * manual/examples/argp-ex1.c: Include <stdlib.h>.
29158         * manual/examples/argp-ex2.c: Likewise.
29159         * manual/examples/argp-ex3.c: Likewise.
29161 2012-02-16  Richard Henderson  <rth@redhat.com>
29163         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29164         * sysdeps/s390/s390-32/initfini.c: Remove.
29165         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29166         * sysdeps/s390/s390-64/initfini.c: Remove.
29168 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29170         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29171         compiler output for sysdeps/generic/initfini.c.
29172         * sysdeps/sh/elf/initfini.c: Remove file.
29174 2012-02-16  David S. Miller  <davem@davemloft.net>
29176         [BZ #11494]
29177         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29179         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29180         * sysdeps/sparc/crti.S: New file.
29181         * sysdeps/sparc/crtn.S: New file.
29182         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29183         * sysdeps/sparc/sparc64/Makefile: Likewise.
29185 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
29187         [BZ #3335]
29188         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29190 2012-02-15  Roland McGrath  <roland@hack.frob.com>
29192         [BZ #4822]
29193         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29195         * mach/devstream.c (cookie_io_functions_t): Macro removed.
29196         (write, read, close): Likewise.
29197         Patch by Aurelien Jarno <aurelien@aurel32.net>.
29199 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
29201         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29202         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29203         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29204         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29205         <bits/signalfd.h>.
29206         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29208         bits/signalfd.h.
29210 2012-02-14  Marek Polacek  <polacek@redhat.com>
29212         * sysdeps/x86_64/crti.S: New file.
29213         * sysdeps/x86_64/crtn.S: New file.
29214         * sysdeps/x86_64/elf/initfini.c: Remove file.
29216 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29218         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29219         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29220         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29221         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29222         <bits/inotify.h>.
29223         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29225         bits/inotify.h.
29227 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29229         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29230         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29231         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29232         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29233         <bits/eventfd.h>.
29234         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29235         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29236         bits/eventfd.h.
29238 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
29240         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29241         __feraiseexcept instead of feraiseexcept.
29243         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29244         nanosleep invocations.
29245         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29246         strings, and add error checking for a nanosleep invocations.
29248 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
29250         Replace FSF snail mail address with URLs, as per GNU coding standards.
29251         Most of the snail mail addresses were wrong anyway, and omitting
29252         them makes the source code easier to maintain.  Almost all of the
29253         changes are to license notices and to locale LC_IDENTIFICATION
29254         addresses, except for this one:
29255         * manual/libc.texinfo: In "Published by", give the FSF's URL,
29256         not its snail mail address.
29258 2012-02-09  Richard Henderson  <rth@twiddle.net>
29260         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29261         of kernel-features.h.
29263         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29265 2012-02-08  Marek Polacek  <polacek@redhat.com>
29267         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29268         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29269         * sysdeps/gnu/_G_config.h: Likewise.
29270         * sysdeps/generic/_G_config.h: Likewise.
29272 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
29274         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29275         tests.
29276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29278         * sysdeps/powerpc/powerpc32/crti.S: New file.
29279         * sysdeps/powerpc/powerpc32/crtn.S: New file.
29280         * sysdeps/powerpc/powerpc64/crti.S: New file.
29281         * sysdeps/powerpc/powerpc64/crtn.S: New file.
29283         * Makeconfig (have-initfini): Don't set.
29284         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29285         * configure.in (nopic_initfini): Don't substitute.
29286         * config.h.in (HAVE_INITFINI): Don't #undef.
29287         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29288         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29290 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
29292         Support crti.S and crtn.S provided directly by architectures.
29293         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29294         [crti.S in sysdirs] (omit-deps): Likewise.
29295         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29296         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29297         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29298         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29299         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29300         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29301         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29302         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29303         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29304         compiler output for sysdeps/generic/initfini.c.
29305         * sysdeps/i386/elf/Makefile: Remove file.
29306         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29308 2012-02-07  Marek Polacek  <polacek@redhat.com>
29310         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29311         * sysdeps/gnu/_G_config.h: Likewise.
29312         * sysdeps/mach/hurd/_G_config.h: Likewise.
29314 2012-02-07  Marek Polacek  <polacek@redhat.com>
29316         * math/Makefile (tests): Add tst-CMPLX2.
29317         * math/tst-CMPLX2.c: New file.
29319 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29321         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29323         * math/libm-test.inc (jn_test): Add missing L suffix.
29325 2012-02-06  Marek Polacek  <polacek@redhat.com>
29327         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29328         * sysdeps/i386/fpu/e_powf.S: Likewise.
29329         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29330         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29331         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29332         * sysdeps/i386/fpu/e_pow.S: Likewise.
29333         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29334         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29335         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29336         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29337         * sysdeps/i386/fpu/e_log2.S: Likewise.
29338         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29339         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29340         * sysdeps/i386/fpu/e_powl.S: Likewise.
29341         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29342         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29343         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29344         * sysdeps/i386/fpu/e_logl.S: Likewise.
29345         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29346         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29347         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29348         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29349         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29350         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29351         * sysdeps/i386/fpu/e_log.S: Likewise.
29352         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29353         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29354         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29355         * sysdeps/i386/fpu/e_logf.S: Likewise.
29356         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29357         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29358         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29359         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29360         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29361         * sysdeps/i386/fpu/e_log10.S: Likewise.
29362         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29363         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29364         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29365         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29366         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29367         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29368         * sysdeps/i386/asm-syntax.h: Likewise.
29369         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29370         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29371         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29372         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29373         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29374         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29375         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29376         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29377         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29378         * sysdeps/powerpc/sysdep.h: Likewise.
29379         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29380         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29382 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29384         [BZ #411]
29385         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29387 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29389         * sysdeps/i386/sysdep.h: Include <features.h>.
29390         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29391         version.
29393 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29395         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29396         Define.
29397         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29398         LOAD_PIC_REG_STR.
29400 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29402         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29403         (SETUP_PIC_REG): Use GET_PC_THUNK.
29404         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29405         macro.
29407 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29409         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29410         for non-PIC compilation.
29411         (SETUP_PIC_REG): Add .p2align directive.
29412         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29413         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29414         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29415         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29416         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29417         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29418         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29419         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29420         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29421         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29422         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29423         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29424         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29425         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29426         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29427         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29428         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29429         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29430         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29431         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29432         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29433         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29434         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29435         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29436         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29437         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29438         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29439         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29440         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29441         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29442         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29443         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29444         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29445         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29446         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29447         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29448         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29449         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29450         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29451         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29452         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29454 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29456         * math/tst-CMPLX.c: Include <stdio.h>.
29458 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29460         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29461         float.
29462         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29463         * sysdeps/sparc/bits/mathdef.h: Likewise.
29465 2012-01-31  Marek Polacek  <polacek@redhat.com>
29467         * libio/libio.h: Don't define _PARAMS.
29468         * locale/programs/config.h: Don't define PARAMS.
29469         * stdlib/strtol_l.c: Likewise.
29470         (__strtol_l): Remove PARAMS from the prototype.
29472 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29474         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29475         names.  Just use the correct names.  Remove unnecessary wrapper
29476         functions.
29477         * malloc/arena.c: Likewise.
29478         * malloc/hooks.c: Likewise.
29480         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29481         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29482         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29484 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29486         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29487         into tail calls.
29488         (update_get_addr): New function.
29489         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29490         GET_ADDR_MODULE parameter.
29492 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29494         * crypt/cert.c: Remove __STDC__ conditionals.
29495         * crypt/crypt-entry.c: Likewise.
29496         * crypt/crypt_util.c: Likewise.
29497         * libio/filedoalloc.c: Likewise.
29498         * libio/fileops.c: Likewise.
29499         * libio/genops.c: Likewise.
29500         * libio/iofclose.c: Likewise.
29501         * libio/iofdopen.c: Likewise.
29502         * libio/iofopen.c: Likewise.
29503         * libio/iofopen64.c: Likewise.
29504         * libio/iogetdelim.c: Likewise.
29505         * libio/iopopen.c: Likewise.
29506         * libio/obprintf.c: Likewise.
29507         * libio/oldfileops.c: Likewise.
29508         * libio/oldiofclose.c: Likewise.
29509         * libio/oldiofdopen.c: Likewise.
29510         * libio/oldiofopen.c: Likewise.
29511         * libio/oldiopopen.c: Likewise.
29512         * libio/wfiledoalloc.c: Likewise.
29513         * libio/wgenops.c: Likewise.
29514         * locale/programs/xmalloc.c: Likewise.
29515         * misc/syslog.c: Likewise.
29516         * stdio-common/xbug.c: Likewise.
29517         * string/memchr.c: Likewise.
29518         * string/memcmp.c: Likewise.
29519         * string/memrchr.c: Likewise.
29520         * string/rawmemchr.c: Likewise.
29521         * sysdeps/posix/getcwd.c: Likewise.
29522         * time/strftime_l.c: Likewise.
29524 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29526         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29527         * config.make.in (config-cflags-sse2avx): Define.
29528         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29529         Fix typo.
29531 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
29533         * scripts/config.guess: Update from upstream config git repository.
29534         * scripts/config.sub: Likewise.
29536 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
29538         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29539         (EM_NUM): Update.
29540         (R_TILEPRO_*, R_TILEGX_*): New macros.
29542         * scripts/firstversions.awk: Fix bug in version range handling.
29544         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29546         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29548         * include/sys/epoll.h: New file.
29549         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29550         libc_hidden_def.
29552 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
29554         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29555         Avoid unnecessary __WORDSIZE == 64 test.
29556         (fmaxf): Use VEX format if possible.
29557         (fmax): Likewise.
29558         (fminf): Likewise.
29559         (fmin): Likewise.
29561         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29562         * math/math_private.h: Remove libc_fegetround* and
29563         libc_fesetround*.
29564         * sysdeps/i386/configure.in: Check for -msse2avx.
29565         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29566         also if SSE2AVX is defined.
29567         Remove libc_fegetround* and libc_fesetround*.
29568         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29569         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
29570         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29571         of HAS_YMM_USABLE.
29572         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29573         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29574         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29575         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29576         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29578         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29580 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29582         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29583         size is not set.
29584         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29586 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
29588         [BZ #13618]
29589         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29590         relocation.
29591         * Makeconfig (libm): Define.
29592         * elf/Makefile: Add rules to build and run tst-relsort1.
29593         * elf/tst-relsort1.c: New file.
29594         * elf/tst-relsort1mod1.c: New file.
29595         * elf/tst-relsort1mod2.c: New file.
29597 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
29599         * math/s_ldexp.c: Remove __STDC__ conditionals.
29600         * math/s_ldexpf.c: Likewise.
29601         * math/s_ldexpl.c: Likewise.
29602         * math/s_nextafter.c: Likewise.
29603         * math/s_nexttowardf.c: Likewise.
29604         * math/s_significand.c: Likewise.
29605         * math/s_significandf.c: Likewise.
29606         * math/s_significandl.c: Likewise.
29607         * math/w_jnl.c: Likewise.
29608         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29609         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29610         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29611         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29612         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29613         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29614         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29615         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29616         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29617         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29618         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29619         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29620         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29621         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29622         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29623         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29624         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29625         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29626         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29627         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29628         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29629         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29630         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29631         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29632         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29633         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29634         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29635         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29636         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29637         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29638         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29639         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29640         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29641         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29642         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29643         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29644         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29645         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29646         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29647         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29648         * sysdeps/ieee754/k_standard.c: Likewise.
29649         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29650         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29651         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29652         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29653         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29654         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29655         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29656         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29657         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29658         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29659         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29660         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29661         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29662         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29663         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29664         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29665         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29666         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29667         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29668         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29669         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29670         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29671         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29672         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29673         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29674         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29675         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29676         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29677         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29678         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29679         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29680         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29681         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29682         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29683         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29684         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29685         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29686         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29687         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29688         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29689         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29691         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29692         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29693         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29694         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29695         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29696         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29697         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29698         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29699         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29700         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29701         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29702         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29703         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29704         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29705         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29706         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29707         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29708         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29709         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29710         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29711         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29712         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29713         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29714         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29715         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29716         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29717         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29718         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29719         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29720         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29721         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29722         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29723         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29724         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29725         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29726         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29727         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29728         * sysdeps/ieee754/s_matherr.c: Likewise.
29729         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29730         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29731         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29734 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29736         * crypt/md5.h: Remove __STDC__ conditionals.
29737         * libio/libioP.h: Likewise.
29738         * locale/programs/config.h: Likewise.
29739         * sysdeps/generic/sysdep.h: Likewise.
29740         * sysdeps/i386/asm-syntax.h: Likewise.
29741         * sysdeps/s390/asm-syntax.h: Likewise.
29742         * sysdeps/unix/sysdep.h: Likewise.
29743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29746 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29748         * libio/libio.h: Remove __STDC__ conditionals.
29749         * malloc/obstack.h: Likewise.
29750         * math/complex.h: Likewise.
29751         * math/math.h: Likewise.
29752         * sysdeps/generic/_G_config.h: Likewise.
29753         * sysdeps/gnu/_G_config.h: Likewise.
29754         * sysdeps/mach/hurd/_G_config.h: Likewise.
29755         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29756         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29757         * sysdeps/sparc/bits/mathdef.h: Likewise.
29759 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
29761         [BZ #13583]
29762         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29763         Clean up HAS_* macros.
29764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29765         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29766         possible.
29767         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29768         HAS_AVX.
29769         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29770         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29771         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29772         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29773         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29775 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
29777         * elf/tst-unique3.cc (gets): Remove declaration.
29778         * elf/tst-unique3lib.cc (gets): Likewise.
29779         * elf/tst-unique3lib2.cc (gets): Likewise.
29780         * elf/tst-unique4.cc (gets): Likewise.
29782 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
29784         * include/stdio.h: Add C++ protection.  Add gets declarations and
29785         definitions.
29786         * debug/tst-chk1.c: Don't declare gets here.
29787         * stdio-common/tst-gets.c: Likewise.
29789 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29791         * posix/glob: Remove directory.
29793 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29795         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29797 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
29799         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29800         of the non-standard EPFNOSUPPORT.
29802 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29804         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29805         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29806         ANYWHERE set to 1 only on KERN_NO_SPACE error.
29808 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
29810         * wcsmbs/uchar.h: Test __STDC_VERSION__.
29812 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
29814         * nscd/aicache.c (addhstaiX): Do not cache negative results of
29815         transient errors.
29816         * nscd/grpcache.c (cache_addgr): Likewise.
29817         * nscd/hstcache.c (cache_addhst): Likewise.
29818         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29819         * nscd/pwdcache.c (cache_addpw): Likewise.
29820         * nscd/servicescache.c (cache_addserv): Likewise.
29822 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
29824         * malloc/malloc.c: Various cleanups.
29825         * malloc/hooks.c: Likewise.
29827         * stdlib/Makefile (tests): Add bug-fmtmsg1.
29828         * stdlib/bug-fmtmsg1.c: New file.
29830         * stdlib/fmtmsg.c (init): Add missing unlock.
29831         Patch by Peng Haitao <penght@cn.fujitsu.com>.
29833 2012-01-12  Marek Polacek  <polacek@redhat.com>
29835         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29836         and _GNU_SOURCE.
29838 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29840         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29841         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29842         macro to ensure uniqueness of label name.
29843         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29844         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29846 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
29848         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29850         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29851         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29852         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29853         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29855 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
29857         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29859         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29860         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29861         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29863         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29865         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29866         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29867         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29868         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29870         * math/bits/math-finite.h: Add ldexp support.
29872 2012-01-10  Marek Polacek  <polacek@redhat.com>
29874         * locale/programs/localedef.h (show_archive_content): Add noreturn
29875         attribute.
29877 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
29879         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29881 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29883         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29885         * io/Makefile (headers): Add bits/poll2.h.
29887 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
29889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29890         typo #include statement.
29892 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29894         * include/sys/cdefs.h: Define __attribute_alloc_size.
29895         * catgets/gencat.c: Add alloc_size attribute and apply consistently
29896         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29897         * elf/pldd.c: Likewise.
29898         * iconv/iconv_charmap.c: Likewise.
29899         * iconv/iconvconfig.c: Likewise.
29900         * iconv/strtab.c: Likewise.
29901         * locale/programs/locale.c: Likewise.
29902         * locale/programs/localedef.h: Likewise.
29903         * locale/programs/simple-hash.c: Likewise.
29904         * nscd/nscd.h: Likewise.
29905         * nss/makedb.c: Likewise.
29906         * sysdeps/generic/ldconfig.h: Likewise.
29907         * locale/programs/localedef.c: Remove xmalloc prototype.
29908         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29910 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29912         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29913         appropriate.
29915 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29917         * math/Makefile (tests): Add tst-CMPLX.
29918         * math/tst-CMPLX.c: New file.
29920         * math/complex.h (CMPLXL): Fix typo.
29922         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29923         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29924         GLIBC_2.16.
29925         * debug/tst-chk1.c: Add poll and ppoll tests.
29926         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29927         * include/sys/poll.h: Add hidden proto for ppoll.
29928         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29929         * sysdeps/mach/hurd/ppoll.c: Likewise.
29930         * io/ppoll.c: Likewise.
29931         * debug/poll_chk.c: New file.
29932         * debug/ppoll_chk.c: New file.
29933         * include/bits/poll2.h: New file.
29934         * io/bits/poll2.h: New file.
29936         [BZ #1350]
29937         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29939         * configure.in: static is always set to yes.  Remove.
29940         * config.make.in: Don't set build-static.
29941         * Makeconfig: Remove use of build-static.
29942         * dlfcn/Makefile: Likewise.
29943         * elf/Makefile: Likewise.
29944         * math/Makefile: Likewise.
29945         * misc/Makefile: Likewise.
29946         * nptl/Makefile: Likewise.
29947         * sysdeps/mach/hurd/Makefile: Likewise.
29949         * configure.in: PWD_P is not used anymore.
29950         * config.make.in: Remove PWD_P entry.
29952         * configure.in: Remove last remnants of RANLIB.
29953         No need to check for signed size_t anymore.
29954         Don't set libc_commonpagesize and libc_relro_required here for Alpha
29955         and IA-64.
29956         Remove __builtin_expect test because we require at least gcc 3.4.
29957         * aclocal.m4: Likewise.
29959         * wcsmbs/mbrtoc16.c: Implement using towc function.
29960         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29961         * wcsmbs/wcsmbsload.c: Likewise.
29962         * iconv/gconv_simple.c: Likewise.
29963         * iconv/gconv_int.h: Likewise.
29964         * iconv/gconv_builtin.h: Likewise.
29965         * iconv/iconv_prog.c: Remove CHAR16 handling.
29967         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29969         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29971         * configure.in: Remove --with-elf and --enable-bounded options.
29972         Dont set base_machine for ia64.  More non-ELF conditions removed.
29973         Remove testing and setting of leading underscore information.
29974         * config.make.in (build-bounded): Set to no.
29975         * config.h.in: Remove NO_UNDERSCORES entry.
29976         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
29977         them.
29978         * csu/start.c: Remove !NO_UNDERSCORE code.
29979         * locale/localeinfo.h: Likewise.
29980         * sysdeps/generic/machine-gmon.h: Likewise.
29981         * sysdeps/generic/sysdep.h: Likewise.
29982         * sysdeps/i386/sysdep.h: Likewise.
29983         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29984         * sysdeps/mach/sysdep.h: Likewise.
29985         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29986         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29987         * sysdeps/sh/sysdep.h: Likewise.
29988         * sysdeps/sparc/sparc32/alloca.S: Likewise.
29989         * sysdeps/unix/i386/sysdep.S: Likewise.
29990         * sysdeps/unix/sparc/start.c: Likewise.
29991         * sysdeps/unix/sparc/sysdep.S: Likewise.
29992         * sysdeps/unix/sparc/sysdep.h: Likewise.
29993         * sysdeps/unix/start.c: Likewise.
29994         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29995         * sysdeps/x86_64/sysdep.h: Likewise.
29997 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
29999         [BZ #13553]
30000         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30001         for non-gcc.
30002         * argp/argp-fmtstream.h: Use const instead __const.
30003         * argp/argp.h: Likewise.
30004         * assert/assert.h: Likewise.
30005         * bits/fenv.h: Likewise.
30006         * bits/sched.h: Likewise.
30007         * bits/sigset.h: Likewise.
30008         * bits/sigthread.h: Likewise.
30009         * catgets/nl_types.h: Likewise.
30010         * conform/data/pthread.h-data: Likewise.
30011         * crypt/crypt-private.h: Likewise.
30012         * crypt/crypt.h: Likewise.
30013         * crypt/crypt_util.c: Likewise.
30014         * ctype/ctype.h: Likewise.
30015         * debug/execinfo.h: Likewise.
30016         * debug/mbsnrtowcs_chk.c: Likewise.
30017         * debug/mbsrtowcs_chk.c: Likewise.
30018         * debug/wcsnrtombs_chk.c: Likewise.
30019         * debug/wcsrtombs_chk.c: Likewise.
30020         * debug/wcstombs_chk.c: Likewise.
30021         * dirent/dirent.h: Likewise.
30022         * dlfcn/dlfcn.h: Likewise.
30023         * elf/neededtest4.c: Likewise.
30024         * grp/grp.h: Likewise.
30025         * gshadow/gshadow.h: Likewise.
30026         * iconv/gconv.h: Likewise.
30027         * iconv/gconv_int.h: Likewise.
30028         * iconv/gconv_simple.c: Likewise.
30029         * iconv/iconv.h: Likewise.
30030         * iconv/loop.c: Likewise.
30031         * iconv/skeleton.c: Likewise.
30032         * include/aio.h: Likewise.
30033         * include/aliases.h: Likewise.
30034         * include/argz.h: Likewise.
30035         * include/arpa/inet.h: Likewise.
30036         * include/assert.h: Likewise.
30037         * include/dirent.h: Likewise.
30038         * include/dlfcn.h: Likewise.
30039         * include/execinfo.h: Likewise.
30040         * include/fcntl.h: Likewise.
30041         * include/fenv.h: Likewise.
30042         * include/glob.h: Likewise.
30043         * include/grp.h: Likewise.
30044         * include/libintl.h: Likewise.
30045         * include/mntent.h: Likewise.
30046         * include/netdb.h: Likewise.
30047         * include/pwd.h: Likewise.
30048         * include/rpc/netdb.h: Likewise.
30049         * include/sched.h: Likewise.
30050         * include/search.h: Likewise.
30051         * include/shadow.h: Likewise.
30052         * include/signal.h: Likewise.
30053         * include/stdio.h: Likewise.
30054         * include/stdlib.h: Likewise.
30055         * include/string.h: Likewise.
30056         * include/sys/socket.h: Likewise.
30057         * include/sys/stat.h: Likewise.
30058         * include/sys/statfs.h: Likewise.
30059         * include/sys/statvfs.h: Likewise.
30060         * include/sys/syslog.h: Likewise.
30061         * include/sys/time.h: Likewise.
30062         * include/sys/uio.h: Likewise.
30063         * include/time.h: Likewise.
30064         * include/unistd.h: Likewise.
30065         * include/utmp.h: Likewise.
30066         * include/wchar.h: Likewise.
30067         * include/wctype.h: Likewise.
30068         * inet/aliases.h: Likewise.
30069         * inet/arpa/inet.h: Likewise.
30070         * inet/netinet/ether.h: Likewise.
30071         * inet/netinet/in.h: Likewise.
30072         * intl/libintl.h: Likewise.
30073         * io/bits/fcntl2.h: Likewise.
30074         * io/fcntl.h: Likewise.
30075         * io/ftw.h: Likewise.
30076         * io/sys/poll.h: Likewise.
30077         * io/sys/stat.h: Likewise.
30078         * io/sys/statfs.h: Likewise.
30079         * io/sys/statvfs.h: Likewise.
30080         * io/utime.h: Likewise.
30081         * libio/bits/stdio.h: Likewise.
30082         * libio/bits/stdio2.h: Likewise.
30083         * libio/libio.h: Likewise.
30084         * libio/libioP.h: Likewise.
30085         * libio/stdio.h: Likewise.
30086         * locale/lc-ctype.c: Likewise.
30087         * locale/locale.h: Likewise.
30088         * login/utmp.h: Likewise.
30089         * malloc/arena.c: Likewise.
30090         * malloc/malloc.c: Likewise.
30091         * malloc/malloc.h: Likewise.
30092         * malloc/mcheck.c: Likewise.
30093         * malloc/mtrace.c: Likewise.
30094         * math/bits/mathcalls.h: Likewise.
30095         * math/fenv.h: Likewise.
30096         * math/math_private.h: Likewise.
30097         * misc/bits/error.h: Likewise.
30098         * misc/bits/syslog.h: Likewise.
30099         * misc/err.h: Likewise.
30100         * misc/error.h: Likewise.
30101         * misc/fstab.h: Likewise.
30102         * misc/mntent.h: Likewise.
30103         * misc/regexp.h: Likewise.
30104         * misc/search.h: Likewise.
30105         * misc/sgtty.h: Likewise.
30106         * misc/sys/mman.h: Likewise.
30107         * misc/sys/syslog.h: Likewise.
30108         * misc/sys/uio.h: Likewise.
30109         * misc/sys/xattr.h: Likewise.
30110         * misc/ttyent.h: Likewise.
30111         * nis/rpcsvc/ypclnt.h: Likewise.
30112         * nss/nss.h: Likewise.
30113         * posix/bits/unistd.h: Likewise.
30114         * posix/fnmatch.h: Likewise.
30115         * posix/glob.h: Likewise.
30116         * posix/sched.h: Likewise.
30117         * posix/spawn.h: Likewise.
30118         * posix/sys/wait.h: Likewise.
30119         * posix/unistd.h: Likewise.
30120         * posix/wordexp.h: Likewise.
30121         * pwd/pwd.h: Likewise.
30122         * resolv/netdb.h: Likewise.
30123         * resource/sys/resource.h: Likewise.
30124         * rt/aio.h: Likewise.
30125         * rt/bits/mqueue2.h: Likewise.
30126         * rt/mqueue.h: Likewise.
30127         * shadow/shadow.h: Likewise.
30128         * signal/signal.h: Likewise.
30129         * socket/send.c: Likewise.
30130         * socket/sendto.c: Likewise.
30131         * socket/sys/socket.h: Likewise.
30132         * stdio-common/printf.h: Likewise.
30133         * stdlib/bits/stdlib.h: Likewise.
30134         * stdlib/fmtmsg.h: Likewise.
30135         * stdlib/monetary.h: Likewise.
30136         * stdlib/stdlib.h: Likewise.
30137         * stdlib/ucontext.h: Likewise.
30138         * streams/stropts.h: Likewise.
30139         * string/argz.h: Likewise.
30140         * string/bits/string2.h: Likewise.
30141         * string/string.h: Likewise.
30142         * string/strings.h: Likewise.
30143         * sunrpc/rpc/auth.h: Likewise.
30144         * sunrpc/rpc/auth_des.h: Likewise.
30145         * sunrpc/rpc/clnt.h: Likewise.
30146         * sunrpc/rpc/netdb.h: Likewise.
30147         * sunrpc/rpc/pmap_clnt.h: Likewise.
30148         * sunrpc/rpc/xdr.h: Likewise.
30149         * sysdeps/generic/inttypes.h: Likewise.
30150         * sysdeps/generic/net/if.h: Likewise.
30151         * sysdeps/generic/sys/swap.h: Likewise.
30152         * sysdeps/gnu/net/if.h: Likewise.
30153         * sysdeps/gnu/utmpx.h: Likewise.
30154         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30155         * sysdeps/i386/i486/bits/string.h: Likewise.
30156         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30157         * sysdeps/s390/bits/string.h: Likewise.
30158         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30159         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30160         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30161         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30162         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30163         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30164         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30165         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30166         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30167         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30168         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30169         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30170         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30171         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30172         * sysdeps/unix/sysv/linux/readv.c: Likewise.
30173         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30174         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30175         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30176         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30177         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30178         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30179         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30180         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30181         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30182         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30183         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30184         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30185         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30186         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30187         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30188         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30189         * sysvipc/sys/ipc.h: Likewise.
30190         * sysvipc/sys/msg.h: Likewise.
30191         * sysvipc/sys/sem.h: Likewise.
30192         * sysvipc/sys/shm.h: Likewise.
30193         * termios/termios.h: Likewise.
30194         * time/sys/time.h: Likewise.
30195         * time/time.h: Likewise.
30196         * wcsmbs/bits/wchar2.h: Likewise.
30197         * wcsmbs/uchar.h: Likewise.
30198         * wcsmbs/wchar.h: Likewise.
30199         * wctype/wctype.h: Likewise.
30201         [BZ #13551]
30202         * Makeconfig: Remove all but ELF support including AIX support.
30203         * Makerules: Likewise.
30204         * config.h.in: Likewise.
30205         * config.make.in: Likewise.
30206         * configure: Likewise.
30207         * configure.in: Likewise.
30208         * csu/Makefile: Likewise.
30209         * csu/version.c: Likewise.
30210         * debug/Makefile: Likewise.
30211         * dlfcn/Makefile: Likewise.
30212         * elf/Makefile: Likewise.
30213         * extra-lib.mk: Likewise.
30214         * iconv/Makefile: Likewise.
30215         * include/libc-symbols.h: Likewise.
30216         * include/shlib-compat.h: Likewise.
30217         * resolv/Makefile: Likewise.
30218         * resolv/res_libc.c: Likewise.
30219         * rt/Makefile: Likewise.
30220         * sysdeps/i386/asm-syntax.h: Likewise.
30221         * sysdeps/i386/sysdep.h: Likewise.
30222         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30223         * sysdeps/mach/sysdep.h: Likewise.
30224         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30225         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30226         * sysdeps/s390/asm-syntax.h: Likewise.
30227         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30228         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30229         * sysdeps/sh/sysdep.h: Likewise.
30230         * sysdeps/unix/sparc/sysdep.h: Likewise.
30231         * sysdeps/wordsize-32/divdi3.c: Likewise.
30232         * sysdeps/x86_64/sysdep.h: Likewise.
30234         * argp/Versions: Remove _argp_unlock_xxx.
30236         [BZ #13559]
30237         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
30238         * abilist/libBrokenLocale.abilist: Likewise.
30239         * abilist/libanl.abilist: Likewise.
30240         * abilist/libc.abilist: Likewise.
30241         * abilist/libcrypt.abilist: Likewise.
30242         * abilist/libdl.abilist: Likewise.
30243         * abilist/libm.abilist: Likewise.
30244         * abilist/libnsl.abilist: Likewise.
30245         * abilist/libpthread.abilist: Likewise.
30246         * abilist/libresolv.abilist: Likewise.
30247         * abilist/librt.abilist: Likewise.
30248         * abilist/libthread_db.abilist: Likewise.
30249         * abilist/libutil.abilist: Likewise.
30250         * abilist/libnss_db.abilist: New file.
30252         * scripts/abilist.awk: Add support for indirect functions.
30254         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30256         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30258         * shlib-versions: Remove entries for ports architectures.
30260         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
30261         files in ports.
30262         * elf/stackguard-macros.h: Remove support for IA-64.
30263         * elf/tst-auditmod1.c: Likewise.
30264         * sysdeps/generic/ldsodefs.h: Likewise.
30266         * sysdeps/unix/sysv/linux/configure.in: Ports should define
30267         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30268         configure files.
30270         [BZ #13552]
30271         * configure.in: Remove --enable-omitfp support.
30272         * FAQ.in: Adjust.
30273         * config.make.in: Likewise.
30274         * Makeconfig: Likewise.
30275         * manual/install.texi: Likewise.
30277         In case anyone cares, the IA-64 architecture could move to ports.
30278         * sysdeps/ia64/*: Removed.
30279         * sysdeps/unix/sysv/linux/ia64/*: Removed.
30280         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30282         [BZ #13555]
30283         * configure.in: Remove entries for unsupported architectures.
30285         [BZ #13533]
30286         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30287         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
30288         routines.
30289         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30290         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30291         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
30292         fall back to using wcrtomb.
30293         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30294         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
30295         renaming.
30296         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30297         * wcsmbs/tst-c16c32-1.c: New file.
30299         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30300         local variable.
30302         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30304         * elf/tst-unique3.cc: Add explicit declaration of gets.
30305         * elf/tst-unique3lib.cc: Likewise.
30306         * elf/tst-unique3lib2.cc: Likewise.
30307         * elf/tst-unique4.cc: Likewise.
30309         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30311 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30313         [BZ #13566]
30314         * assert/assert.h (static_assert): Don't define for C++.
30315         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30316         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30318 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30320         * iconv/loop.c (single loop): Fix assertion in storing of
30321         remaining bytes.
30323         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30325 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30327         * posix/getconf.c: Update copyright year.
30328         * nss/getent.c: Likewise.
30329         * nss/makedb.c: Likewise.
30330         * iconv/iconvconfig.c: Likewise.
30331         * iconv/iconv_prog.c: Likewise.
30332         * elf/ldconfig.c: Likewise.
30333         * elf/pldd.c: Likewise.
30334         * elf/sotruss.ksh: Likewise.
30335         * catgets/gencat.c: Likewise.
30336         * csu/version.c: Likewise.
30337         * elf/ldd.bash.in: Likewise.
30338         * elf/sprof.c (print_version): Likewise.
30339         * locale/programs/locale.c: Likewise.
30340         * locale/programs/localedef.c: Likewise.
30341         * login/programs/pt_chown.c: Likewise.
30342         * nscd/nscd.c (print_version): Likewise.
30343         * debug/xtrace.sh: Likewise.
30344         * malloc/memusage.sh: Likewise.
30345         * malloc/mtrace.pl: Likewise.
30346         * debug/catchsegv.sh: Likewise.
30348 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30350         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30351         pure attribute.
30353 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30355         [BZ #13533]
30356         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30357         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30358         transformations.
30359         * iconv/gconv_int.h: Likewise.
30360         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30361         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30362         from libc for GLIBC_2.16.
30363         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30364         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30365         * wcsmbs/uchar.h: Really define mbstate_t.
30366         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30367         * wcsmbs/c16rtomb.c: New file.
30368         * wcsmbs/mbrtoc16.c: New file.
30369         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30370         for C/POSIX locale.
30371         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30372         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30374         * wcsmbs/wchar.h: Add missing __restrict.
30376 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30378         [BZ #13532]
30379         * time/Makefile (routines): Add timespec_get.
30380         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30381         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30382         timespec for ISO C11.
30383         * time/timespec_get.c: New file.
30384         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30385         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30387         [BZ #13531]
30388         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30389         * stdlib/stdlib.h: Declare aligned_alloc.
30390         * Versions.def: Add GLIBC_2.16 for libc.
30391         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30393         [BZ 13527]
30394         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30395         ISO C11.
30397         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30398         code.
30400         [BZ #13528]
30401         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30403         [BZ #13529]
30404         * assert/assert.h (static_assert): Define.
30406         * version.h: Update for 2.16 development version.
30408         [BZ #13526]
30409         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30410         _ISOC11_SOURCE.
30412         * version.h (RELEASE): Bump for 2.15 release.
30413         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30415         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30416         Patch by Marek Polacek <mpolacek@redhat.com>.
30418         * bits/byteswap.h: Protect long long constants with __extension__.
30419         * sysdeps/i386/bits/byteswap.h: Likewise.
30420         * sysdeps/ia64/bits/byteswap.h: Likewise.
30421         * sysdeps/s390/bits/byteswap.h: Likewise.
30422         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30424 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30426         [BZ #13540]
30427         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30428         destination buffer.
30429         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30431 2011-12-23  Marek Polacek  <polacek@redhat.com>
30433         * elf/dl-addr.c (determine_info): Add inline keyword.
30434         * elf/tst-auditmod4b.c (check_avx): Likewise.
30435         * elf/tst-auditmod6b.c (check_avx): Likewise.
30436         * elf/tst-auditmod6c.c (check_avx): Likewise.
30437         * elf/tst-auditmod7b.c (check_avx): Likewise.
30439 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30441         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30442         !__SSE_MATH__.
30444 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30446         [BZ #13540]
30447         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30448         processing for last bytes.
30450 2011-08-06  Bruno Haible  <bruno@clisp.org>
30452         [BZ #13061]
30453         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30454         U+0385, not to U+1FEE.
30456         [BZ #13062]
30457         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30458         entry for U+00A5 U+0301.
30460 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30462         [BZ #13166]
30463         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30464         buffer for the output is too small.
30466         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30467         optimization.
30469         [BZ #13185]
30470         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30471         SSE flags if possible.
30473 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30475         [BZ #13540]
30476         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30477         processing for last bytes.
30479 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30481         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30482         (syscall-list-default-options, syscall-list-default-condition)
30483         (syscall-list-includes): Define.
30484         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30485         list of ABIs and options and #if conditions for each ABI.  Do not
30486         handle common syscalls between ABIs specially.
30487         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30488         Remove.
30489         (syscall-list-variants, syscall-list-32bit-options)
30490         (syscall-list-32bit-condition, syscall-list-64bit-options)
30491         (syscall-list-64bit-condition): Define.
30492         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30493         (syscall-list-variants, syscall-list-32bit-options)
30494         (syscall-list-32bit-condition, syscall-list-64bit-options)
30495         (syscall-list-64bit-condition): Define.
30496         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30497         Remove.
30498         (syscall-list-variants, syscall-list-32bit-options)
30499         (syscall-list-32bit-condition, syscall-list-64bit-options)
30500         (syscall-list-64bit-condition): Define.
30501         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30502         Remove.
30503         (syscall-list-variants, syscall-list-32bit-options)
30504         (syscall-list-32bit-condition, syscall-list-64bit-options)
30505         (syscall-list-64bit-condition): Define.
30507 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30509         * locale/iso-639.def: Add brx entry.
30511         [BZ #13328]
30512         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30513         Proposed by Mariusz_Cukr <marcukr@op.pl>.
30515         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30516         __feraiseexcept_renamed.
30518 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30520         [BZ #13538]
30521         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30522         EPOLLET with unsigned values.
30523         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30524         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30526         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30527         to large cancellation.
30528         * math/s_cacoshf.c: Likewise.
30529         * math/s_cacoshl.c: Likewise.
30531 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
30533         [BZ #13305]
30534         [BZ #12786]
30535         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30536         * math/s_cacoshf.c: Likewise.
30537         * math/s_cacoshl.c: Likewise.
30539 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30541         [BZ #13439]
30542         * iconv/gconv.h: Define __GCONV_SWAP.
30543         * iconvdata/unicode.c: The swap bit must be stored in __flags.
30544         * iconvdata/utf-16.c: Likewise.
30545         * iconvdata/utf-32.c: Likewise.
30547 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30549         [BZ #13524]
30550         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30551         numerator after shifting it by one limb.
30553 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30555         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30556         under [__USE_EXTERN_INLINES].
30558 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30560         [BZ #13446]
30561         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30563 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30565         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30566         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30567         optimized code.
30568         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30569         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30570         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30571         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30572         for strncasecmp/strncasecmp_l compilation.
30573         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30574         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30576 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
30578         [BZ #13484]
30579         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30580         of __asm__.
30582 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30584         [BZ #13506]
30585         * time/tzfile.c (__tzfile_read): Check values from file header.
30587 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30589         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30590         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30591         * powerpc/powerpc32/dl-start.S: Likewise.
30592         * powerpc/powerpc32/elf/start.S: Likewise.
30593         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30594         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30595         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30596         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30597         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30598         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30599         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30600         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30601         * powerpc/powerpc32/fpu/s_round.S: Likewise.
30602         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30603         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30604         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30605         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30606         * powerpc/powerpc32/memset.S: Likewise.
30607         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30608         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30609         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30610         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30611         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30612         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30613         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30614         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30615         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30616         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30617         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30618         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30619         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30621 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30623         * math/libm-test.inc: Added more nearbyint tests.
30624         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30625         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30626         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30627         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30629 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
30631         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30632         FD_CLOEXEC.
30634 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30636         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30637         Add wcscpy-ssse3 wcscpy-c.
30638         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30639         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30640         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30641         * sysdeps/x86_64/wcschr.S: New file.
30642         * sysdeps/x86_64/wcsrchr.S: New file.
30643         * string/test-strcmp.c: Remove checking of wcscmp function for
30644         wrong alignments.
30645         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30646         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30647         wcsrchr-sse2 wcsrchr-c.
30648         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30649         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30650         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30651         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30652         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30653         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30654         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30655         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30656         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30657         * wcsmbc/wcschr.c (WCSCHR): New macro.
30659 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30661         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30662         * wcsmbs/test-wcsrchr.c: New file.
30663         * string/test-strrchr.c: Add wcsrchr support.
30664         (WIDE): New macro.
30665         * wcsmbs/test-wcscpy.c: New file.
30666         * string/test-strcpy.c: Add wcscpy support.
30667         (WIDE): New macro.
30669 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
30671         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30672         the inner loop.
30674 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
30676         [BZ #13472]
30677         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30679 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
30681         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30682         Minor optimizations.
30684         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30685         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30686         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30688 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
30690         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30691         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30692         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30693         for gcc to avoid warnings.
30694         * inet/Makefile (tests): Add tst-checks.
30695         * inet/tst-checks.c: New file.
30697         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30698         warning.
30700         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30701         __wmemcmp_sse2.
30703         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30704         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30706         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30708 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
30710         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30711         problem.
30713         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30715 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
30717         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30718         conditional on GCC version.
30719         (__arch_compare_and_exchange_val_8_acq)
30720         (__arch_compare_and_exchange_val_16_acq)
30721         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30722         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30723         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30725 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
30727         * sysdeps/sh/backtrace.c: New file.
30729 2011-12-02  Andreas Schwab  <schwab@redhat.com>
30731         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
30732         parenthesis.
30734 2011-12-01  Andreas Schwab  <schwab@redhat.com>
30736         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30737         falling back to utime.
30739 2011-11-30  Andreas Schwab  <schwab@redhat.com>
30741         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30742         expectations for float.
30744 2011-11-29  Andreas Schwab  <schwab@redhat.com>
30746         * locale/weight.h (findidx): Add parameter len.
30747         * locale/weightwc.h (findidx): Likewise.
30748         * posix/fnmatch_loop.c (FCT): Adjust caller.
30749         * posix/regcomp.c (build_equiv_class): Likewise.
30750         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30751         * posix/regexec.c (check_node_accept_bytes): Likewise.
30752         * string/strcoll_l.c (STRCOLL): Likewise.
30753         * string/strxfrm_l.c (STRXFRM): Likewise.
30755 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
30757         * Makefile.in: Remove CVSOPT handling.
30758         * configure.in: Remove use of AC_REVISION.
30759         * iconvdata/Makefile (distribute): No need to filter out CVS.
30760         * scripts/list-sources.sh: Remove CVS, subversion and monotone
30761         handling.
30763 2011-11-16  Andreas Schwab  <schwab@redhat.com>
30765         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30766         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30767         [USE_AS_STRNCASECMP_L]: Likewise.
30768         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30769         NO_TLS_DIRECT_SEG_REFS.
30770         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30771         Fix argument offsets for non-PIC.
30772         [USE_AS_STRNCASECMP_L]: Likewise.
30773         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30774         NO_TLS_DIRECT_SEG_REFS.
30776 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30778         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30779         O_CLOEXEC.
30780         * locale/loadlocale.c (_nl_load_locale): Likewise.
30782 2011-11-15  Andreas Schwab  <schwab@redhat.com>
30784         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30785         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30786         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30787         (SYSCALL_GETTIME): Set errno on error.
30789         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30790         count references to noai6ai_cached.
30792 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30794         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30796         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30797         FD_CLOEXEC for /proc/self/maps.
30799         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30800         FD_CLOEXEC for /proc/meminfo.
30802         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30803         gai.conf.
30805         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
30806         FD_CLOEXEC for given file.
30808         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30810         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30811         FD_CLOEXEC for /etc/hosts.
30812         (_gethtent): Likewise.
30814         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30816         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30817         cancellation and set FD_CLOEXEC for /etc/netgroup.
30819         * nss/nss_files/files-key.c (search): Don't allow cancellation when
30820         reading /etc/publickey.
30822         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30823         allow cancellation when reading /etc/group.
30825         * nss/nss_files/files-alias.c (internal_setent): Don't allow
30826         cancellation.
30827         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
30829         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30830         when using data file.
30832         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30834         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30835         (write_nis_obj): Use "c" and "e" in fopen.
30837         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30839         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30841         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30843         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30845         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30846         locale.alias.
30848         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30850         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30852         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30854         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30855         file parsing and set FD_CLOEXEC.
30857 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30859         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30861 2011-11-14  Andreas Schwab  <schwab@redhat.com>
30863         * malloc/arena.c (arena_get2): Don't call reused_arena when
30864         _int_new_arena failed.
30866 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30868         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30869         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30870         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30871         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30872         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30873         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30874         to compile strcasecmp and strncasecmp.
30875         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30876         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30878         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30880 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
30882         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30883         locale-defines.sym to gen-as-const-headers.
30884         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30885         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30886         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30887         to compile strcasecmp and strncasecmp.
30888         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30889         strcasecmp_l and strncasecmp_l.
30890         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30891         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30892         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30893         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30894         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30895         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30896         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30897         * sysdeps/i386/i686/multiarch/strncase.S: New file.
30898         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30899         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30900         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30902 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
30904         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30905         result of SYSDEP_GETTIME_CPU to retval.
30906         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30907         parameter list to macro.  Remove trailing semicolon.  Adjust users.
30909         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30910         variable.
30912         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30913         mantissa words.
30914         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30916         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30917         from unused variable.
30919         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30920         DWARF definitions.
30921         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30922         for assembling.
30924         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30925         over namespaces.
30927         * sunrpc/rpc_prot.c (rejected): Fix case value.
30929         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30930         unsigned long long int to avoid warnings in shift.
30932         * posix/regex_internal.c (re_string_reconstruct): Actually use result
30933         of use of trans.
30934         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30935         variable tmp.
30937         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30938         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30939         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30941         * nis/nis_table.c (nis_list): Use variable of correct type for
30942         result of __follow_path call.
30944 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30946         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30947         of math functions ceil, trunc, floor, round, and sqrt, when
30948         avaliable on the platform.
30949         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30950         name clash.
30951         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30952         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30953         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30955 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
30957         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30958         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30960 2011-11-11  Roland McGrath  <roland@hack.frob.com>
30962         * include/unistd.h: Fix __readlink return type.
30963         Reported by Chris Metcalf <cmetcalf@tilera.com>.
30965 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
30967         * stdlib/ucontext.h: Undo last change for makecontext.
30969 2011-11-11  Andreas Schwab  <schwab@redhat.com>
30971         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30973         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30974         * setjmp/setjmp.h: Mark functions as non-leaf.
30975         * setjmp/bits/setjmp2.h: Likewise.
30976         * stdlib/ucontext.h: Likewise.
30978 2011-11-10  Andreas Schwab  <schwab@redhat.com>
30980         * malloc/arena.c (_int_new_arena): Don't increment narenas.
30981         (reused_arena): Don't check arena limit.
30982         (arena_get2): Atomically check arena limit.
30984 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
30986         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30987         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30989         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30990         instructions.
30992 2011-11-07  Andreas Schwab  <schwab@redhat.com>
30994         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30995         handler when locking.
30997         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30998         Fix size of allocated buffer.
31000 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31002         [BZ #10103]
31003         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31004         declarations for long double functions.
31005         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31007         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31009 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31011         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31012         installed.
31014         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31015         is disabled.
31017 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31019         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31021 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31023         * include/alloca.h (stackinfo_alloca_round): Define.
31024         (extend_alloca): Use it.
31025         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31026         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31027         here.
31029         * scripts/check-local-headers.sh: Ignore libaudit.h.
31031         * nscd/Makefile (extra-objs): Make recursively expanded.
31033 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31035         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31036         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31038         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31039         * posix/tst-rfc3484-2.c: Likewise.
31040         * posix/tst-rfc3484-3.c: Likewise.
31042         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31043         process_vm_writev.
31044         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31045         process_vm_writev.
31046         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31047         process_vm_writev from libc using GLIBC_2.15 version.
31049         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31051 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31053         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31054         stack usage.
31056 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31058         [BZ #13367]
31059         * nss/getent.c (initgroups_keys): Show error message in case no group
31060         names are given.
31062         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31063         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31064         __bump_nl_timestamp.
31065         * nscd/connections (nscd_init): When host database is served open
31066         netlink socket and request notification about configuration changes.
31067         (main_loop_poll): Track netlink file descriptor and bump timestamp
31068         in case data becomes available.
31069         (main_loop_epoll): Likewise.
31070         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31071         (database_pers_head): Add extra_data fileds.
31072         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31073         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31074         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31075         Adjust caller.
31076         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31077         in6ai data, call __free_in6ai.
31078         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31079         Add -DHAVE_NETLINK.
31080         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
31081         interface information.  Reuse previous data if netlink timestamp
31082         is not changed.
31083         (__bump_nl_timestamp): New function.
31084         (__free_in6ai): New function.
31086 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
31088         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31089         close_not_cancel_no_status here.
31090         (__check_pf): Reorganize code a bit to not call close twice if OOM.
31092 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31094         [BZ #13276]
31095         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31096         return value.
31098         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31099         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31100         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31102 2011-07-03  Andreas Jaeger  <aj@suse.de>
31104         [BZ #10709]
31105         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31106         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31107         * math/libm-test.inc (sin_test): Add test case.
31109 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31111         [BZ #13337]
31112         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31113         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31115         * elf/chroot_canon.c (chroot_canon): Cleanups.
31117         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31119         [BZ #13335]
31120         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31121         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31123         * string/test-strchr.c: Make usable for strchrnul testing.
31124         * string/test-strchrnul.c: New file.
31125         * string/Makefile (strop-tests): Add strchrnul.
31127         * po/it.po: Update from translation team.
31128         * po/es.po: Likewise.
31130 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
31132         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31133         the three constants needed as parameters.  Drop the others.
31134         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31135         __m128i_strloadu_tolower.
31136         Create and initialize variable zero and use it in all the places
31137         where _mm_setzero_si128 was used.
31139         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31140         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31141         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31142         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31143         anymore.
31144         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31145         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31146         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31147         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31148         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31149         __mpranred, __mptan.
31150         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31151         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31152         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31153         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31154         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31155         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31156         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31157         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31158         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31160 2011-10-28  Andreas Schwab  <schwab@redhat.com>
31162         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31163         redefine if SHARED.
31164         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31166         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31167         wide char related routines to wcsmbs subdir.
31169 2011-10-27  Andreas Schwab  <schwab@redhat.com>
31171         [BZ #13344]
31172         * misc/sys/cdefs.h (__THROWNL): Define.
31173         * posix/unistd.h: Use __THREADNL instead of __THREAD
31174         for memory synchronization functions.
31176 2011-10-26  Roland McGrath  <roland@hack.frob.com>
31178         [BZ #13349]
31179         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31180         doesn't exist.
31181         * manual/stdio.texi (Obstack Streams): Node removed.
31183 2011-10-26  Andreas Schwab  <schwab@redhat.com>
31185         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31186         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31187         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31189         * math/math_private.h (math_force_eval): Allow non-addressable
31190         arguments.
31191         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31193 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31195         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31196         file is not needed.
31198         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31199         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31200         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31201         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31202         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31203         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31204         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31205         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31206         Add AVX variants.
31207         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31208         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31209         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31210         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31211         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31212         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31213         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31214         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31215         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31216         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31217         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31218         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31219         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31220         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31221         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31222         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31223         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31224         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31225         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31227         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31228         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
31230         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31231         place.  Use VEX encoding when compiling for AVX.
31233 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31235         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31236         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31238         * string/test-strchr.c (do_test): Don't generate NUL bytes.
31240 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31242         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31243         useless if() expression.
31244         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31245         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31246         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31247         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31248         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31249         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31250         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31251         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31252         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31253         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31254         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31255         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31256         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31257         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31258         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31259         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31260         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31261         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31262         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31264         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31266 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31268         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31269         condition.
31270         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31272 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31274         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31275         .text section.  Avoid duplicate constants.
31276         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31277         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31278         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31279         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31280         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31281         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31282         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31283         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31284         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31285         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31286         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31287         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31288         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31289         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31290         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31291         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31292         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31293         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31294         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31295         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31296         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31297         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31298         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31299         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31300         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31301         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31302         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31303         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31304         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31305         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31306         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31307         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31308         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31309         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31310         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31311         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31312         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31313         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31314         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31315         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31316         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31317         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31318         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31319         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31320         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31322 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31324         * sysdeps/x86_64/dla.h: Move to ...
31325         * sysdeps/x86_64/fpu/dla.h: ...here.
31326         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31327         situations.  Use __builtin_fma only for gcc 4.6 and up.
31329         * config.make.in: Add have-mfma4 entry.
31330         * configure.in: Substitute libc_cv_cc_fma4.
31331         * math/Makefile (dbl-only-routines): Add sincostab.
31332         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31333         Use __sincostab not sincos.
31334         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31335         name is a macro.
31336         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31337         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31339         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31340         using __copysign.
31341         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31342         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31343         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31344         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31345         and __inv.
31346         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31347         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31348         __copysign.
31349         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31350         define aliases when function name is a macro.
31351         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31352         sysdeps/ieee754/dbl-64/sincos.tbl.
31353         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31354         fma4-enabled routines.
31355         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31356         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31357         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31358         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31359         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31360         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31361         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31362         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31363         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31364         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31365         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31366         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31367         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31368         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31369         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31370         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31371         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31372         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31373         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31374         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31375         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31376         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31377         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31378         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31379         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31380         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31381         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31382         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31383         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31384         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31386         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31387         rename.
31388         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31389         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31390         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31391         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31392         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31393         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31394         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31395         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31397 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31399         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31401 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31403         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31405         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31406         prediction.
31407         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31409         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31410         Remove unused variable magic_bits.
31411         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31413         * string/strnlen.c: Define and use STRNLEN macro.
31414         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31415         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31416         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31417         * wcsmbs/wcslen.c: Define and use WCSLEN.
31418         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31419         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31420         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31421         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31422         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31423         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31424         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31426 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31429         strnlen-sse2-no-bsf.
31430         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31431         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31432         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31433         Add strnlen support.
31434         (USE_AS_STRNLEN): New macro.
31435         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31436         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31437         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31438         * sysdeps/x86_64/wcslen.S: New file.
31440 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31442         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31443         XMM-moves are used for copying on small sizes.
31445 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31447         * wcsmbs/Makefile (strop-tests): Add wcschr.
31448         * wcsmbs/test-wcschr.c: New file.
31449         * string/test-strchr.c: Update.
31450         Add wcschr support.
31451         (WIDE): New macro.
31453 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31455         * wcsmbs/Makefile (strop-tests): Add wcslen.
31456         * wcsmbs/test-wcslen.c: New file.
31457         * string/test-strlen.c: Update.
31458         Add wcslen support.
31459         (WIDE): New macro.
31461 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31463         * po/it.po: Update from translation team.
31465 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31467         * sysdeps/x86_64/wcscmp.S: Update.
31468         Fix wrong comparison semantics.
31469         wcscmp shall use signed comparison not unsigned.
31470         Don't use substraction to avoid overflow bug.
31471         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31472         * wcsmbc/wcscmp.c: Likewise.
31473         * string/test-strcmp.c: Likewise.
31474         Add new tests to check cases with negative values.
31476 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31478         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31479         * sysdeps/x86_64/dla.h: ...here.  New file.
31480         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31481         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31482         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31483         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31484         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31485         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31486         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31487         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31488         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31490 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31492         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31493         __ynl_finite aliases.
31495 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31499         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31500         define DLA_FMA.
31501         [DLA_FMA] (EMULV): Use DLA_FMA.
31502         [DLA_FMA] (MUL12): Use EMULV.
31503         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31504         that are not needed.
31505         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31506         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31507         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31508         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31509         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31510         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31511         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31513 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
31515         * math/s_nan.c: Undef __nan.
31516         * math/s_nanf.c: Undef __nanf.
31517         * math/s_nanl.c: Undef __nanl.
31518         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31519         "math_private.h".
31521 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31523         * math/s_catan.c: Add branch predictions.
31524         * math/s_catanf.c: Likewise.
31525         * math/s_catanh.c: Likewise.
31526         * math/s_catanhf.c: Likewise.
31527         * math/s_catanhl.c: Likewise.
31528         * math/s_catanl.c: Likewise.
31529         * math/s_cexp.c: Likewise.
31530         * math/s_cexpf.c: Likewise.
31531         * math/s_cexpl.c: Likewise.
31532         * math/s_clog.c: Likewise.
31533         * math/s_clog10.c: Likewise.
31534         * math/s_clog10f.c: Likewise.
31535         * math/s_clog10l.c: Likewise.
31536         * math/s_clogf.c: Likewise.
31537         * math/s_clogl.c: Likewise.
31538         * math/s_csqrt.c: Likewise.
31539         * math/s_csqrtf.c: Likewise.
31540         * math/s_csqrtl.c: Likewise.
31541         * math/s_ctanf.c: Likewise.
31542         * math/s_ctanh.c: Likewise.
31543         * math/s_ctanhf.c: Likewise.
31544         * math/s_ctanhl.c: Likewise.
31545         * math/s_ctanl.c: Likewise.
31547         * math/math_private.h: Define __nan, __nanf, __nanl.
31548         * math/s_cacosh.c: Include <math_private.h>.
31549         * math/s_cacoshl.c: Likewise.
31550         * math/s_casinh.c: Likewise.
31551         * math/s_casinhf.c: Likewise.
31552         * math/s_casinhl.c: Likewise.
31553         * math/s_ccos.c: Rely entire on ccosh.
31554         * math/s_ccosf.c: Rely entire on ccoshf.
31555         * math/s_ccosl.c: Rely entirely on ccoshl.
31556         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
31557         Remove tests for FE_INVALID.
31558         * math/s_ccoshf.c: Likewise.
31559         * math/s_ccoshl.c: Likewise.
31560         * math/s_csin.c: Likewise.
31561         * math/s_csinf.c: Likewise.
31562         * math/s_csinh.c Likewise.
31563         * math/s_csinhf.c: Likewise.
31564         * math/s_csinhl.c: Likewise.
31565         * math/s_csinl.c: Likewise.
31566         * math/s_ctan.c: Likewise.
31567         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31568         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31569         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31571 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
31573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31574         compilation problems.
31576         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31577         __builtin_expect.
31579 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
31581         * sysdeps/i386/configure.in: Test for -mfma4 option.
31582         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31583         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31584         COMMON_CPUID_INDEX_80000001.
31585         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31586         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31587         use it if FMA3 is not supported.
31588         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31590         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31591         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31593 2011-10-20  Andreas Schwab  <schwab@redhat.com>
31595         [BZ #12892]
31596         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31597         it would create a cycle with a link time dependency.
31599 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
31601         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31602         instruction.
31603         * string/Makefile (strop-tests): Add rawmemchr.
31604         * string/test-rawmemchr.c: New file.
31606         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31607         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
31608         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
31609         when compiling str{,n}casecmp and when AVX is available.  Hook up
31610         new optimized code in initializers.
31612 2011-10-19  Andreas Schwab  <schwab@redhat.com>
31614         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31615         __feraiseexcept instead of feraiseexcept.
31617 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
31619         * math/math_private.h: Define defaults for libc_fetestexcept and
31620         libc_feupdateenv.
31621         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31622         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31623         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31624         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31625         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31626         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31627         libc_fetestexcept and libc_feupdateenv.
31629         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31630         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31631         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31632         * sysdeps/x86_64/fpu/math_private.h: Define special version of
31633         libc_feholdexcept_setround.
31635         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31636         Add s_nearbyint-c and s_nearbyintf-c.
31637         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31638         nearbyintf inlines.
31639         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31640         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31641         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31642         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31644         * math/math_private.h: Define defaults for libc_fegetround,
31645         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31646         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31647         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31648         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31649         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31650         standard functions.
31651         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31652         Remove comments and hacks for old compiler versions.
31653         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31654         libc_fegetround, libc_fesetround, libc_feholdexcept, and
31655         libc_feholdexceptl.
31657 2011-10-18  Andreas Schwab  <schwab@redhat.com>
31659         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31660         (__feraiseexcept_renamed): Add __NTH.
31661         (feraiseexcept): Add __NTH.  Rename local variables to fix
31662         namespace violations.
31664 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
31666         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31668         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31670         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31671         recently added interfaces.
31672         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31674         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31675         about macro parameter expansion.
31677         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31678         __NO_MATH_INLINES is defined.  Cleanups.
31680         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31681         and __floorf is target has SSE4.1.
31682         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31683         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31684         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31685         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31687         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31688         name.
31689         (floorf): Likewise.
31691         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31693 2011-10-17  Andreas Schwab  <schwab@redhat.com>
31695         * misc/sys/cdefs.h: Fix last change.
31697         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31698         database lookup.
31700 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
31702         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31704         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31705         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31706         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31707         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31708         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31709         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31710         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31711         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31712         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31713         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31714         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31715         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31716         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31717         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31718         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31719         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31720         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31721         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31722         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31723         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31724         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31725         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31727         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31728         ceil, ceilf, floor, floorf.
31730         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31731         Perform IRELATIVE relocations last.
31733         * elf/do-rel.h: Add another parameter nrelative, replacing the
31734         local variable with the same name.  Change name of the function
31735         to end in Rel or Rela (uppercase).
31736         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31737         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
31738         elf_dynamic_do_##reloc function.
31740 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31742         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31743         is sufficient, at least on modern CPUs.
31745         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31747         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31748         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31750         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31751         __expl_finite.
31752         * math/bits/math-finite.h: Add entries for exp.
31753         * math/e_expl.c: Add __*_finite alias.
31754         * sysdeps/i386/fpu/e_exp.S: Likewise.
31755         * sysdeps/i386/fpu/e_expf.S: Likewise.
31756         * sysdeps/i386/fpu/e_expl.c: Likewise.
31757         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31758         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31759         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31760         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31761         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31762         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31763         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31765         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31766         is sufficient, at least on modern CPUs.
31768         * ctype/ctype-info.c (__ctype_init): Define.
31769         * include/ctype.h (__ctype_init): Declare.
31770         (__ctype_b_loc): The variable is always initialized.
31771         (__ctype_toupper_loc): Likewise.
31772         (__ctype_tolower_loc): Likewise.
31773         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31774         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31776 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
31778         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31780         * configure.in: Also look in $cxxmachine/include for C++ system
31781         headers.
31783 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31785         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31786         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31787         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31788         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
31789         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31790         (USE_AS_WMEMCMP): New macro.
31791         Fixing indents.
31792         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31793         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31794         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31795         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31796         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31797         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31798         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31799         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31800         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31801         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31802         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31803         (USE_AS_WMEMCMP): New macro.
31804         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31805         * sysdeps/string/test-memcmp.c: Update.
31806         Fix simple_wmemcmp.
31807         Add new tests.
31808         * wcsmbs/wmemcmp.c: Update.
31809         (WMEMCMP): New macro.
31810         Fix overflow bug.
31812 2011-10-12  Andreas Jaeger  <aj@suse.de>
31814         [BZ #13268]
31815         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31817 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31819         * libio/iofwide.c (do_length): Avoid warning.
31821         * ctype/ctype.h (__isctype_f): Add missing __THROW.
31823 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
31825         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31827         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31828         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31829         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31830         * sysdeps/i386/i686/fpu/e_log.S: New file.
31831         * sysdeps/i386/i686/fpu/e_logf.S: New file.
31832         * sysdeps/i386/i686/fpu/e_logl.S: New file.
31834         * ctype/ctype.h: Add support for inlined isXXX functions when
31835         compiling C++ code.
31837 2011-10-14  Andreas Schwab  <schwab@redhat.com>
31839         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31841         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31843 2011-10-13  Roland McGrath  <roland@hack.frob.com>
31845         [BZ #13291]
31846         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31848 2011-10-13  Andreas Schwab  <schwab@redhat.com>
31850         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31851         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31852         feraiseexcept.
31854         * sysdeps/x86_64/memrchr.S: Check for zero size.
31856         * string/stratcliff.c: Add memrchr tests.
31858 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31860         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31861         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31862         rawmemchr-sse2 rawmemchr-sse2-bsf.
31863         * sysdeps/i386/i686/multiarch/memchr.S: New file.
31864         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31865         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31866         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31867         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31868         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31869         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31870         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31871         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31872         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31873         * string/memrchr.c (MEMRCHR): New macro.
31875 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
31877         Add integration with gcc's -ffinite-math-only and optimize wrapper
31878         functions in libm.
31879         * Versions.def: Define GLIBC_2.15 version for libm.
31880         * math/Makefile (headers): Add bits/math-finite.h.
31881         * math/bits/math-finite.h: New file.
31882         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31883         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31884         * math/e_acoshl.c: Add __*_finite alias.
31885         * math/e_acosl.c: Likewise.
31886         * math/e_asinl.c: Likewise.
31887         * math/e_atan2l.c: Likewise.
31888         * math/e_atanhl.c: Likewise.
31889         * math/e_coshl.c: Likewise.
31890         * math/e_exp10.c: Likewise.
31891         * math/e_exp10f.c: Likewise.
31892         * math/e_exp10l.c: Likewise.
31893         * math/e_exp2l.c: Likewise.
31894         * math/e_fmodl.c: Likewise.
31895         * math/e_gammal_r.c: Likewise.
31896         * math/e_hypotl.c: Likewise.
31897         * math/e_j0l.c: Likewise.
31898         * math/e_j1l.c: Likewise.
31899         * math/e_jnl.c: Likewise.
31900         * math/e_lgammal_r.c: Likewise.
31901         * math/e_log10l.c: Likewise.
31902         * math/e_log2l.c: Likewise.
31903         * math/e_logl.c: Likewise.
31904         * math/e_powl.c: Likewise.
31905         * math/e_sinhl.c: Likewise.
31906         * math/e_sqrtl.c: Likewise.
31907         * math/e_scalb.c: Completely rewritten and optimized.
31908         * math/e_scalbf.c: Likewise.
31909         * math/e_scalbl.c: Likewise.
31910         * math/w_acos.c: Likewise.
31911         * math/w_acosf.c: Likewise.
31912         * math/w_acosl.c: Likewise.
31913         * math/w_acosh.c: Likewise.
31914         * math/w_acoshf.c: Likewise.
31915         * math/w_acoshl.c: Likewise.
31916         * math/w_asin.c: Likewise.
31917         * math/w_asinf.c: Likewise.
31918         * math/w_asinl.c: Likewise.
31919         * math/w_atan2.c: Likewise.
31920         * math/w_atan2f.c: Likewise.
31921         * math/w_atan2l.c: Likewise.
31922         * math/w_atanh.c: Likewise.
31923         * math/w_atanhf.c: Likewise.
31924         * math/w_atanhl.c: Likewise.
31925         * math/w_exp10.c: Likewise.
31926         * math/w_exp10f.c: Likewise.
31927         * math/w_exp10l.c: Likewise.
31928         * math/w_fmod.c: Likewise.
31929         * math/w_fmodf.c: Likewise.
31930         * math/w_fmodl.c: Likewise.
31931         * math/w_j0.c: Likewise.
31932         * math/w_j0f.c: Likewise.
31933         * math/w_j0l.c: Likewise.
31934         * math/w_j1.c: Likewise.
31935         * math/w_j1f.c: Likewise.
31936         * math/w_j1l.c: Likewise.
31937         * math/w_jn.c: Likewise.
31938         * math/w_jnf.c: Likewise.
31939         * math/w_log.c: Likewise.
31940         * math/w_logf.c: Likewise.
31941         * math/w_logl.c: Likewise.
31942         * math/w_log10.c: Likewise.
31943         * math/w_log10f.c: Likewise.
31944         * math/w_log10l.c: Likewise.
31945         * math/w_log2.c: Likewise.
31946         * math/w_log2f.c: Likewise.
31947         * math/w_log2l.c: Likewise.
31948         * math/w_pow.c: Likewise.
31949         * math/w_powf.c: Likewise.
31950         * math/w_powl.c: Likewise.
31951         * math/w_remainder.c: Likewise.
31952         * math/w_remainderf.c: Likewise.
31953         * math/w_remainderl.c: Likewise.
31954         * math/w_scalb.c: Likewise.
31955         * math/w_scalbf.c: Likewise.
31956         * math/w_scalbl.c: Likewise.
31957         * math/w_sqrt.c: Likewise.
31958         * math/w_sqrtf.c: Likewise.
31959         * math/w_sqrtl.c: Likewise.
31960         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31961         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
31962         used.
31963         * math/math_private.h: Declare __kernel_standard_f.
31964         * math/w_cosh.c: Remove cruft and optimize a bit.
31965         * math/w_coshf.c: Likewise.
31966         * math/w_coshl.c: Likewise.
31967         * math/w_exp2.c: Likewise.
31968         * math/w_exp2f.c: Likewise.
31969         * math/w_exp2l.c: Likewise.
31970         * math/w_hypot.c: Likewise.
31971         * math/w_hypotf.c: Likewise.
31972         * math/w_hypotl.c: Likewise.
31973         * math/w_lgamma.c: Likewise.
31974         * math/w_lgamma_r.c: Likewise.
31975         * math/w_lgammaf.c: Likewise.
31976         * math/w_lgammaf_r.c: Likewise.
31977         * math/w_lgammal.c: Likewise.
31978         * math/w_lgammal_r.c: Likewise.
31979         * math/w_sinh.c: Likewise.
31980         * math/w_sinhf.c: Likewise.
31981         * math/w_sinhl.c: Likewise.
31982         * math/w_tgamma.c: Likewise.
31983         * math/w_tgammaf.c: Likewise.
31984         * math/w_tgammal.c: Likewise.
31985         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31986         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31987         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31988         Minor optimizations.  Pretty printing.  Remove cruft.
31989         * sysdeps/i386/fpu/e_acosf.S: Likewise.
31990         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31991         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31992         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31993         * sysdeps/i386/fpu/e_acosl.c: Likewise.
31994         * sysdeps/i386/fpu/e_asin.S: Likewise.
31995         * sysdeps/i386/fpu/e_asinf.S: Likewise.
31996         * sysdeps/i386/fpu/e_atan2.S: Likewise.
31997         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31998         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31999         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32000         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32001         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32002         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32003         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32004         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32005         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32006         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32007         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32008         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32009         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32010         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32011         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32012         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32013         * sysdeps/i386/fpu/e_log.S: Likewise.
32014         * sysdeps/i386/fpu/e_log10.S: Likewise.
32015         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32016         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32017         * sysdeps/i386/fpu/e_log2.S: Likewise.
32018         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32019         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32020         * sysdeps/i386/fpu/e_logf.S: Likewise.
32021         * sysdeps/i386/fpu/e_logl.S: Likewise.
32022         * sysdeps/i386/fpu/e_pow.S: Likewise.
32023         * sysdeps/i386/fpu/e_powf.S: Likewise.
32024         * sysdeps/i386/fpu/e_powl.S: Likewise.
32025         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32026         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32027         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32028         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32029         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32030         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32031         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32032         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32033         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32034         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32035         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32036         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32037         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32038         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32039         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32040         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32041         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32042         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32043         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32044         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32045         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32047         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32048         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32049         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32050         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32051         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32052         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32053         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32054         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32055         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32056         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32057         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32058         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32059         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32060         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32061         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32062         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32063         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32064         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32065         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32066         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32067         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32068         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32069         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32070         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32071         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32072         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32073         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32074         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32075         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32076         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32077         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32078         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32079         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32080         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32081         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32082         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32083         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32084         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32085         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32086         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32087         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32088         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32089         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32090         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32091         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32092         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32093         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32094         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32095         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32096         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32097         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32098         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32099         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32100         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32101         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32102         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32103         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32104         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32105         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32106         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32107         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32108         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32109         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32110         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32111         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32112         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32113         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32114         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32115         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32116         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32117         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32118         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32119         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32120         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32121         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32122         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32123         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32124         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32125         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32126         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32127         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32128         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32129         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32130         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32131         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32132         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32133         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32134         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32135         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32136         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32137         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32138         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32139         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32140         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32141         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32142         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32143         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32144         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
32145         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32146         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32147         (__isnanf): Likewise.
32148         (__isinf_ns): Likewise.
32149         (__isinf_nsf): Likewise.
32150         (__finite): Likewise.
32151         (__finitef): Likewise.
32152         (__ieee754_sqrt): Define as macro.
32153         (__ieee754_sqrtf): Define as macro.
32154         (__ieee754_sqrtl): Define as macro.
32155         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32156         inlined copy.
32157         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32158         __FINITE_MATH_ONLY__ consistent.
32159         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32161 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
32163         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32164         of rawmemchr.
32166         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32168 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
32170         * po/ja.po: Update from translation team.
32172 2011-10-08  Roland McGrath  <roland@hack.frob.com>
32174         * locale/programs/locarchive.c (prepare_address_space): New function.
32175         (create_archive, enlarge_archive, open_archive): Use it.
32177         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32178         inside [SHARED], where it is used.
32180         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32182         * nss/getent.c (netgroup_keys): Remove unused variable.
32183         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32185 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
32187         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32188         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32189         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32190         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32191         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32192         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32193         * math/Makefile (libm-calls): Add s_isinf_ns.
32194         * math/divtc3.c: Use __isinf_nsl instead of isinf.
32195         * math/multc3.c: Likewise.
32196         * math/s_casin.c: Likewise.
32197         * math/s_casinf.c: Likewise.
32198         * math/s_casinl.c: Likewise.
32199         * math/s_ccos.c: Likewise.
32200         * math/s_ccosf.c: Likewise.
32201         * math/s_ccosl.c: Likewise.
32202         * math/s_ctan.c: Likewise.
32203         * math/s_ctanf.c: Likewise.
32204         * math/s_ctanh.c: Likewise.
32205         * math/s_ctanhf.c: Likewise.
32206         * math/s_ctanhl.c: Likewise.
32207         * math/s_ctanl.c: Likewise.
32208         * math/w_fmod.c: Likewise.
32209         * math/w_fmodf.c: Likewise.
32210         * math/w_fmodl.c: Likewise.
32211         * math/w_remainder.c: Likewise.
32212         * math/w_remainderf.c: Likewise.
32213         * math/w_remainderl.c: Likewise.
32214         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32215         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32216         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32217         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32218         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32219         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32220         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32221         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32223         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32224         of the number.
32225         * stdio-common/printf_fphex.c: Likewise.
32226         * stdio-common/printf_size.c: Likewise.
32228         * math/e_exp10.c: Include math_private.h using <...> not "...".
32229         * math/e_exp10f.c: Likewise.
32230         * math/e_exp10l.c: Likewise.
32231         * math/e_exp2l.c: Likewise.
32232         * math/e_j0l.c: Likewise.
32233         * math/e_j1l.c: Likewise.
32234         * math/e_jnl.c: Likewise.
32235         * math/e_lgammal_r.c: Likewise.
32236         * math/e_rem_pio2l.c: Likewise.
32237         * math/e_scalb.c: Likewise.
32238         * math/e_scalbf.c: Likewise.
32239         * math/e_scalbl.c: Likewise.
32240         * math/k_cosl.c: Likewise.
32241         * math/k_sinl.c: Likewise.
32242         * math/k_tanl.c: Likewise.
32243         * math/s_cacoshf.c: Likewise.
32244         * math/s_catan.c: Likewise.
32245         * math/s_catanf.c: Likewise.
32246         * math/s_catanh.c: Likewise.
32247         * math/s_catanhf.c: Likewise.
32248         * math/s_catanhl.c: Likewise.
32249         * math/s_catanl.c: Likewise.
32250         * math/s_ccosh.c: Likewise.
32251         * math/s_ccoshf.c: Likewise.
32252         * math/s_ccoshl.c: Likewise.
32253         * math/s_cexp.c: Likewise.
32254         * math/s_cexpf.c: Likewise.
32255         * math/s_cexpl.c: Likewise.
32256         * math/s_clog.c: Likewise.
32257         * math/s_clog10.c: Likewise.
32258         * math/s_clog10f.c: Likewise.
32259         * math/s_clog10l.c: Likewise.
32260         * math/s_clogf.c: Likewise.
32261         * math/s_clogl.c: Likewise.
32262         * math/s_csin.c: Likewise.
32263         * math/s_csinf.c: Likewise.
32264         * math/s_csinh.c: Likewise.
32265         * math/s_csinhf.c: Likewise.
32266         * math/s_csinhl.c: Likewise.
32267         * math/s_csinl.c: Likewise.
32268         * math/s_csqrt.c: Likewise.
32269         * math/s_csqrtf.c: Likewise.
32270         * math/s_csqrtl.c: Likewise.
32271         * math/s_ctan.c: Likewise.
32272         * math/s_ctanf.c: Likewise.
32273         * math/s_ctanh.c: Likewise.
32274         * math/s_ctanhf.c: Likewise.
32275         * math/s_ctanhl.c: Likewise.
32276         * math/s_ctanl.c: Likewise.
32277         * math/s_ldexp.c: Likewise.
32278         * math/s_ldexpf.c: Likewise.
32279         * math/s_ldexpl.c: Likewise.
32280         * math/s_significand.c: Likewise.
32281         * math/s_significandf.c: Likewise.
32282         * math/s_significandl.c: Likewise.
32283         * math/w_acos.c: Likewise.
32284         * math/w_acosf.c: Likewise.
32285         * math/w_acosh.c: Likewise.
32286         * math/w_acoshf.c: Likewise.
32287         * math/w_acoshl.c: Likewise.
32288         * math/w_acosl.c: Likewise.
32289         * math/w_asin.c: Likewise.
32290         * math/w_asinf.c: Likewise.
32291         * math/w_asinl.c: Likewise.
32292         * math/w_atan2.c: Likewise.
32293         * math/w_atan2f.c: Likewise.
32294         * math/w_atan2l.c: Likewise.
32295         * math/w_atanh.c: Likewise.
32296         * math/w_atanhf.c: Likewise.
32297         * math/w_atanhl.c: Likewise.
32298         * math/w_cosh.c: Likewise.
32299         * math/w_coshf.c: Likewise.
32300         * math/w_coshl.c: Likewise.
32301         * math/w_dremf.c: Likewise.
32302         * math/w_exp10.c: Likewise.
32303         * math/w_exp10f.c: Likewise.
32304         * math/w_exp10l.c: Likewise.
32305         * math/w_exp2.c: Likewise.
32306         * math/w_exp2f.c: Likewise.
32307         * math/w_fmod.c: Likewise.
32308         * math/w_fmodf.c: Likewise.
32309         * math/w_fmodl.c: Likewise.
32310         * math/w_hypot.c: Likewise.
32311         * math/w_hypotf.c: Likewise.
32312         * math/w_hypotl.c: Likewise.
32313         * math/w_j0.c: Likewise.
32314         * math/w_j0f.c: Likewise.
32315         * math/w_j0l.c: Likewise.
32316         * math/w_j1.c: Likewise.
32317         * math/w_j1f.c: Likewise.
32318         * math/w_j1l.c: Likewise.
32319         * math/w_jn.c: Likewise.
32320         * math/w_jnf.c: Likewise.
32321         * math/w_jnl.c: Likewise.
32322         * math/w_lgamma.c: Likewise.
32323         * math/w_lgamma_r.c: Likewise.
32324         * math/w_lgammaf.c: Likewise.
32325         * math/w_lgammaf_r.c: Likewise.
32326         * math/w_lgammal.c: Likewise.
32327         * math/w_lgammal_r.c: Likewise.
32328         * math/w_log.c: Likewise.
32329         * math/w_log10.c: Likewise.
32330         * math/w_log10f.c: Likewise.
32331         * math/w_log10l.c: Likewise.
32332         * math/w_log2.c: Likewise.
32333         * math/w_log2f.c: Likewise.
32334         * math/w_log2l.c: Likewise.
32335         * math/w_logf.c: Likewise.
32336         * math/w_logl.c: Likewise.
32337         * math/w_pow.c: Likewise.
32338         * math/w_powf.c: Likewise.
32339         * math/w_powl.c: Likewise.
32340         * math/w_remainder.c: Likewise.
32341         * math/w_remainderf.c: Likewise.
32342         * math/w_remainderl.c: Likewise.
32343         * math/w_scalb.c: Likewise.
32344         * math/w_scalbf.c: Likewise.
32345         * math/w_scalbl.c: Likewise.
32346         * math/w_sinh.c: Likewise.
32347         * math/w_sinhf.c: Likewise.
32348         * math/w_sinhl.c: Likewise.
32349         * math/w_sqrt.c: Likewise.
32350         * math/w_sqrtf.c: Likewise.
32351         * math/w_sqrtl.c: Likewise.
32352         * math/w_tgamma.c: Likewise.
32353         * math/w_tgammaf.c: Likewise.
32354         * math/w_tgammal.c: Likewise.
32356         * po/ja.po: Update from translation team.
32358 2011-09-29  Andreas Jaeger  <aj@suse.de>
32360         [BZ #13179]
32361         * sunrpc/netname.c (netname2host): Fix logic.
32363         [BZ #6779]
32364         [BZ #6783]
32365         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32366         correctly.
32367         * math/w_remainder.c (__remainder): Likewise.
32368         * math/w_remainderf.c (__remainderf): Likewise.
32369         * math/libm-test.inc (remainder_test): Add test cases.
32371 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32373         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32374         sdiv_qrnnd.
32376 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32378         * string/test-memcmp.c: Avoid unncessary #defines.
32379         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32381 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32383         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32384         Use new sse2 version for core i3 - i7 as it's faster
32385         than sse42 version.
32386         (bit_Prefer_PMINUB_for_stringop): New.
32387         * sysdeps/x86_64/rawmemchr.S: Update.
32388         Replace with faster SSE2 version.
32389         * sysdeps/x86_64/memrchr.S: New file.
32390         * sysdeps/x86_64/memchr.S: Update.
32391         Replace with faster SSE2 version.
32393 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32395         * elf/dl-load.c (lose): Add cast to avoid warning.
32397 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32399         * po/ca.po: Update from translation team.
32401         * inet/getnetgrent_r.c: Hook up nscd.
32402         * nscd/Makefile (routines): Add nscd_netgroup.
32403         (nscd-modules): Add netgroupcache.
32404         (CFLAGS-netgroupcache.c): Define.
32405         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32406         (cache_search): Add const to second parameter.
32407         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32408         INNETGR.
32409         (dbs): Add netgrdb entry.
32410         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32411         (verify_persistent_db): Handle netgrdb.
32412         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32413         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32414         GETFDNETGR.
32415         (netgroup_response_header): Define.
32416         (innetgroup_response_header): Define.
32417         (datahead): Add netgroup_response_header and innetgroup_response_header
32418         elements.
32419         * nscd/nscd.conf: Add entries for netgroup cache.
32420         * nscd/nscd.h (dbtype): Add netgrdb.
32421         (_PATH_NSCD_NETGROUP_DB): Define.
32422         (netgroup_iov_disabled): Declare.
32423         (xmalloc, xcalloc, xrealloc): Move declarations here.
32424         (cache_search): Adjust prototype.
32425         Add netgroup-related prototypes.
32426         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32427         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32428         (__nscd_innetgr): Declare.
32429         * nscd/selinux.c (perms): Use access_vector_t as element type and
32430         add netgroup-related initializers.
32431         * nscd/netgroupcache.c: New file.
32432         * nscd/nscd_netgroup.c: New file.
32433         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32434         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32435         For four parameters use innetgr.
32436         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32437         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32438         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32439         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32441         * nscd/connections.c (register_traced_file): Don't register file
32442         for disabled databases.
32444 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32446         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32448         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32449         from tree and freeing node.
32451 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32453         * nss/nsswitch.c (__nss_database_lookup): Handle
32454         nss_parse_service_list out of memory case.
32456 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32458         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32459         out of memory case.
32461 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32463         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32464         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32465         pass it down.
32466         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32467         elf_machine_rela, elf_machine_lazy_rel.
32468         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32469         (ELF_DYNAMIC_DO_REL): Likewise.
32470         (ELF_DYNAMIC_DO_RELA): Likewise.
32471         (ELF_DYNAMIC_RELOCATE): Likewise.
32472         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32473         to ELF_DYNAMIC_DO_REL.
32474         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32475         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32476         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32477         elf_machine_rela.
32478         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32479         skip_ifunc, don't call ifunc function if non-zero.
32480         (elf_machine_rela): Likewise.
32481         (elf_machine_lazy_rel): Likewise.
32482         (elf_machine_lazy_rela): Likewise.
32483         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32484         (elf_machine_lazy_rel): Likewise.
32485         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32486         Likewise.
32487         (elf_machine_lazy_rel): Likewise.
32488         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32489         Likewise.
32490         (elf_machine_lazy_rel): Likewise.
32491         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32492         (elf_machine_lazy_rel): Likewise.
32493         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32494         (elf_machine_lazy_rel): Likewise.
32495         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32496         (elf_machine_lazy_rel): Likewise.
32497         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32498         (elf_machine_lazy_rel): Likewise.
32499         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32500         (elf_machine_lazy_rel): Likewise.
32501         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32502         (elf_machine_lazy_rel): Likewise.
32504 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
32506         * nss/nss_files/files-init.c (_nss_files_init): Use static
32507         initialization for all the *_traced_file variables.
32509 2011-09-28  Andreas Schwab  <schwab@redhat.com>
32511         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32513 2011-09-27  Roland McGrath  <roland@hack.frob.com>
32515         [BZ #13226]
32516         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32518 2011-09-27  Andreas Schwab  <schwab@redhat.com>
32520         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32521         Reread the line before reparsing it.
32523 2011-09-26  Andreas Schwab  <schwab@redhat.com>
32525         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32527 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
32528             Maxim Kuvyrkov  <maxim@codesourcery.com>
32529             Joseph Myers  <joseph@codesourcery.com>
32531         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32532         if needed for __stack_chk_guard.
32534 2011-09-19  Roland McGrath  <roland@hack.frob.com>
32536         * sysdeps/posix/spawni.c (script_execute): Always define it.
32537         It will be optimized away if unused.
32538         (maybe_script_execute): New function.
32539         (__spawni): Call it.
32541         * Makerules: Don't include tls.make.
32542         (config-tls): Always set to thread.
32543         * tls.make.c: File removed.
32545 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
32547         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32548         * config.make.in (CPPFLAGS-config): New substituted variable.
32550 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32552         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32554         [BZ #13192]
32555         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32556         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32558 2011-09-15  Roland McGrath  <roland@hack.frob.com>
32560         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32561         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32562         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32563         (CALL_FAIL): Likewise.
32564         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32565         (CALL_FAIL): Macro removed.
32566         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32568 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32570         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32571         for __FINITE_MATH_ONLY__ == 1.
32573 2011-09-15  Andreas Schwab  <schwab@redhat.com>
32575         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32576         __ieee754_sqrt instead of sqrt.
32577         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32578         __ieee754_sqrtf instead of sqrtf.
32579         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32580         __floorf instead of floorf.
32581         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32582         __floorf, __truncf instead of floorf, truncf.
32584 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
32586         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32588         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32589         __extern_always_inline.
32590         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32591         32-bit.
32593 2011-09-14  Andreas Schwab  <schwab@redhat.com>
32595         * elf/rtld.c (dl_main): Also relocate in dependency order when
32596         doing symbol dependency testing.
32598 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
32600         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32601         Always define `refsym'.
32603 2011-09-13  Andreas Schwab  <schwab@redhat.com>
32605         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32606         (__FD_ELT): Renamed from __FDELT.
32607         * misc/bits/select2.h (__FD_ELT): Likewise.
32608         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32609         __FD_MASK instead of __FDELT, __FDMASK.
32610         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32611         Likewise.
32612         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32613         Likewise.
32615         * elf/Makefile (gen-ldd): Fix pattern.
32617         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32618         (init_tls): Likewise.
32620 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
32622         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32624 2011-09-12  Andreas Schwab  <schwab@redhat.com>
32626         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32627         `struct cmsghdr *' instead of `void *'.
32628         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32629         Likewise.
32631 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
32633         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32634         if non-absolute.
32635         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32636         ldd_rewrite_script.
32638 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
32640         * configure.in: Remove --with-tls option.
32641         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32642         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32643         out in case it is missing.
32644         * sysdeps/ia64/elf/configure.in: Likewise.
32645         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32646         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32647         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32648         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32649         * sysdeps/sh/elf/configure.in: Likewise.
32650         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32651         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32652         * sysdeps/x86_64/elf/configure.in: Likewise.
32653         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32654         * sysdeps/mach/hurd/tls.h: Likewise.
32656         [BZ #13067]
32657         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32659         [BZ #13090]
32660         * configure.in: Fix use of AC_INIT.
32662         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32664 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
32666         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32667         __set_errno.
32668         * malloc/hooks.c: Likewise.
32670         [BZ #11929]
32671         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
32672         variables statically.
32673         (narenas): Initialize.
32674         (list_lock): Initialize.
32675         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
32676         initializtion of main_arena and list_lock.  Small cleanups.
32677         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32678         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
32679         Add initializers to main_arena and mp_.
32680         (malloc_state): Remove pagesize member.  Change all users to use
32681         GLRO(dl_pagesize).
32683         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32684         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
32685         is always initialized.
32687         * malloc/malloc.c: Removed unused configurations and dead code.
32688         * malloc/arena.c: Likewise.
32689         * malloc/hooks.c: Likewise.
32690         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32692         * include/tls.h: Removed.  USE___THREAD must always be defined.
32693         * bits/libc-tsd.h: Don't handle !USE___THREAD.
32694         * elf/dl-libc.c: Likewise.
32695         * elf/dl-tsd.c: Likewise.
32696         * include/errno.h: Likewise.
32697         * include/netdb.h: Likewise.
32698         * include/resolv.h: Likewise.
32699         * inet/herrno-loc.c: Likewise.
32700         * inet/herrno.c: Likewise.
32701         * malloc/arena.c: Likewise.
32702         * malloc/hooks.c: Likewise.
32703         * malloc/malloc.c: Likewise.
32704         * resolv/res-state.c: Likewise.
32705         * resolv/res_libc.c: Likewise.
32706         * sysdeps/i386/dl-machine.h: Likewise.
32707         * sysdeps/ia64/dl-machine.h: Likewise.
32708         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32709         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32710         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32711         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32712         * sysdeps/sh/dl-machine.h: Likewise.
32713         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32714         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32715         * sysdeps/unix/i386/sysdep.S: Likewise.
32716         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32717         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32718         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32721         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32722         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32723         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32724         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32725         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32726         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32727         * sysdeps/x86_64/dl-machine.h: Likewise.
32728         * tls.make.c: Likewise.
32730         * configure.in: Remove --with-__thread option.  Make tests for
32731         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32732         tls_model attribute fail if no support is available.  Remove
32733         USE_IN_LIBIO.
32734         * Makeconfig: Adjust for dropped configure option.  All features are
32735         now mandatory.
32736         * Makerules: Likewise.
32737         * Versions.def: Likewise.
32738         * argp/argp-fmtstream.c: Likewise.
32739         * argp/argp-fmtstream.h: Likewise.
32740         * argp/argp-help.c: Likewise.
32741         * assert/assert.c: Likewise.
32742         * config.h.in: Likewise.
32743         * config.make.in: Likewise.
32744         * configure: Likewise.
32745         * configure.in: Likewise.
32746         * csu/Versions: Likewise.
32747         * csu/init.c: Likewise.
32748         * elf/tst-audit2.c: Likewise.
32749         * elf/tst-tls10.c: Likewise.
32750         * elf/tst-tls10.h: Likewise.
32751         * elf/tst-tls11.c: Likewise.
32752         * elf/tst-tls12.c: Likewise.
32753         * elf/tst-tls14.c: Likewise.
32754         * elf/tst-tlsmod11.c: Likewise.
32755         * elf/tst-tlsmod12.c: Likewise.
32756         * elf/tst-tlsmod13.c: Likewise.
32757         * elf/tst-tlsmod13a.c: Likewise.
32758         * elf/tst-tlsmod14a.c: Likewise.
32759         * elf/tst-tlsmod15b.c: Likewise.
32760         * elf/tst-tlsmod16a.c: Likewise.
32761         * elf/tst-tlsmod16b.c: Likewise.
32762         * elf/tst-tlsmod7.c: Likewise.
32763         * elf/tst-tlsmod8.c: Likewise.
32764         * elf/tst-tlsmod9.c: Likewise.
32765         * gmon/gmon.c: Likewise.
32766         * grp/fgetgrent_r.c: Likewise.
32767         * grp/putgrent.c: Likewise.
32768         * hurd/fopenport.c: Likewise.
32769         * include/libc-symbols.h: Likewise.
32770         * include/tls.h: Likewise.
32771         * intl/gettextP.h: Likewise.
32772         * intl/loadinfo.h: Likewise.
32773         * locale/global-locale.c: Likewise.
32774         * locale/localeinfo.h: Likewise.
32775         * mach/devstream.c: Likewise.
32776         * malloc/arena.c: Likewise.
32777         * malloc/set-freeres.c: Likewise.
32778         * misc/err.c: Likewise.
32779         * misc/getttyent.c: Likewise.
32780         * misc/mntent_r.c: Likewise.
32781         * posix/getopt.c: Likewise.
32782         * posix/wordexp.c: Likewise.
32783         * pwd/fgetpwent_r.c: Likewise.
32784         * resolv/Versions: Likewise.
32785         * resolv/res_hconf.c: Likewise.
32786         * shadow/fgetspent_r.c: Likewise.
32787         * shadow/putspent.c: Likewise.
32788         * stdio-common/printf_fphex.c: Likewise.
32789         * stdio-common/tmpfile.c: Likewise.
32790         * stdlib/abort.c: Likewise.
32791         * stdlib/fmtmsg.c: Likewise.
32792         * sunrpc/auth_unix.c: Likewise.
32793         * sunrpc/clnt_perr.c: Likewise.
32794         * sunrpc/clnt_tcp.c: Likewise.
32795         * sunrpc/clnt_udp.c: Likewise.
32796         * sunrpc/clnt_unix.c: Likewise.
32797         * sunrpc/openchild.c: Likewise.
32798         * sunrpc/svc_simple.c: Likewise.
32799         * sunrpc/svc_tcp.c: Likewise.
32800         * sunrpc/svc_udp.c: Likewise.
32801         * sunrpc/svc_unix.c: Likewise.
32802         * sunrpc/xdr.c: Likewise.
32803         * sunrpc/xdr_array.c: Likewise.
32804         * sunrpc/xdr_rec.c: Likewise.
32805         * sunrpc/xdr_ref.c: Likewise.
32806         * sunrpc/xdr_stdio.c: Likewise.
32808 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32810         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32812 2011-07-03  Andreas Jaeger  <aj@suse.de>
32814         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32815         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32816         regenerate with gen-libm-tests.pl.
32818 2010-05-12  Petr Baudis  <pasky@suse.cz>
32820         [BZ #11589]
32821         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32822         around j0() zero points by switching to j1().
32823         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32824         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32825         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32826         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32828 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32830         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32831         instead of 0.
32832         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32833         instead of 0.
32834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32835         Patch in part by Pavel Roskin <proski@gnu.org>.
32837         [BZ #13138]
32838         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32839         realloc.
32840         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
32841         Free memory block if necessary.
32843         [BZ #12847]
32844         * libio/genops.c (INTDEF): For string streams the _lock pointer can
32845         be NULL.  Don't lock in this case.
32847 2011-09-09  Roland McGrath  <roland@hack.frob.com>
32849         * elf/elf.h (ELFOSABI_GNU): New macro.
32850         (ELFOSABI_LINUX): Define to that.
32852 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
32854         * string/strncat.c (strncat): Undef the symbol in case it has been
32855         defined in bits/string.h.
32857 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32859         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32861         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32862         link map.
32864 2011-08-17  Andreas Jaeger  <aj@suse.de>
32866         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32868 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
32869             Ian Lance Taylor  <iant@google.com>
32871         * math/libm-test.inc (lround_test): New testcase.
32872         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32874 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
32876         * Makefile: Remove support for automatic cvs check-ins.
32877         * Makerules: Likewise.
32878         * config.make.in: Likewise.
32879         * configure.in: Likewise.
32880         * intl/Makefile: Likewise.
32881         * locale/Makefile: Likewise.
32882         * po/Makefile: Likewise.
32883         * posix/Makefile: Likewise.
32884         * sysdeps/gnu/Makefile: Likewise.
32885         * sysdeps/mach/hurd/Makefile: Likewise.
32886         * sysdeps/sparc/sparc32/Makefile: Likewise.
32888         [BZ #13118]
32889         * posix/Makefile (bug-regex32-ENV): Define.
32890         Patch by John Stanley <jpsinthemix@verizon.net>.
32892         * misc/Makefile (headers): Add bits/select2.h.
32893         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32894         * misc/bits/select2.h: New file.
32895         * include/bits/select2.h: New file.
32896         * debug/Makefile (routines): Add fdelt_chk.
32897         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32898         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32899         FD_ISSET.
32900         * debug/fdelt_chk.c: New file.
32902         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
32903         * wcsmbs/test-wmemcmp.c: Likewise.
32904         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32905         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32907 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32909         * string/Makefile (strop-tests): Add memcmp.
32910         * string/test-wmemcmp.c: New file.
32911         * string/test-memcmp.c: Add wmemcmp support.
32913 2011-09-08  Roland McGrath  <roland@hack.frob.com>
32915         [BZ #13153]
32916         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32917         2011-07-19 change.
32919         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32920         garbage value in a __mach_port_mod_refs call in the cases of the
32921         task-self and thread-self ports.
32923 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32925         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32927 2011-09-08  Andreas Schwab  <schwab@redhat.com>
32929         * elf/dl-load.c (lose): Check for non-null L.
32931 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
32933         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32935         * elf/dl-libc.c (dlerror_run): Pass back error code from
32936         dl_catch_error.
32938         [BZ #13123]
32939         * elf/dl-load.c (lose): Free l_origin if it is valid.
32941         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32942         names.
32943         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32944         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32945         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32946         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32947         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32948         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32950 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32952         * sysdeps/powerpc/fpu/e_hypot.c: New file.
32953         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32954         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32955         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32956         * sysdeps/powerpc/fpu/k_cosf.c: New file.
32957         * sysdeps/powerpc/fpu/k_sinf.c: New file.
32958         * sysdeps/powerpc/fpu/s_cosf.c: New file.
32959         * sysdeps/powerpc/fpu/s_sinf.c: New file.
32960         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32961         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32963 2011-08-15  Alan Modra  <amodra@gmail.com>
32965         [BZ #13092]
32966         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32967         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32968         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
32969         ppc_mcount to static-only-routines.
32970         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32971         __mcount_internal.
32972         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32973         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
32975 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
32977         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32978         for finite and infinity parameters.
32980 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32982         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32983         and add nop instructions for throughput optimization.
32984         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32986 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
32988         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32989         aligned copy for power7 with vector-scalar instructions.
32990         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32992 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
32994         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32995         AVX check.
32997 2011-09-07  Andreas Schwab  <schwab@redhat.com>
32999         [BZ #13144]
33000         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33001         last change.
33003 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33005         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33006         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33007         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33008         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33009         clock_gettime.
33011 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33013         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33014         Forgot to demangle the pointer.
33016         * sysdeps/i386/sysdep.h: Define atom_text_section.
33017         * sysdeps/x86_64/sysdep.h: Likewise.
33018         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33019         section with atom_text_section.
33020         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33021         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33022         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33023         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33024         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33026         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33027         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33028         already be defined.  Change to take two parameters and don't assign
33029         result to variable.  Adjust all users.
33030         Define INTERNAL_GETTIME if not already defined.
33031         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33032         call.
33033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33034         HAVE_CLOCK_GETTIME_VSYSCALL.
33035         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33037         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33038         gettimeofday vsyscall, just use time.
33040 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33042         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33043         <errno.h>.
33045 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33047         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33048         syscall on x86-64.
33049         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33050         syscall.
33051         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33052         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33053         syscall if possible.
33055 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33057         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33058         e_ident.  Don't pass to find_mapsXX.
33059         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33061 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33064         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33065         * sysdeps/x86_64/multiarch/strchr.S: Update.
33066         Check bit_slow_BSF bit.
33067         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33068         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33069         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33071 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33073         [BZ #13134]
33074         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33075         before glibc 2.15.
33076         (tryshell): Define.
33077         (__spawni): Change last parameter to be flag.  Test
33078         SPAWN_XFLAGS_USE_PATH flag to use path or not.
33079         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33080         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33081         * posix/spawni.c: Likewise.
33082         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33083         * posix/spawnp.c: Likewise.  Change normal version to use
33084         SPAWN_XFLAGS_USE_PATH.
33085         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33086         SPAWN_XFLAGS_TRY_SHELL.
33088         [BZ #13150]
33089         * posix/glob.h: Remove gcc 1.x support.
33091         [BZ #13068]
33092         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33094 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33096         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33097         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33098         strrchr-sse2-bsf
33099         * sysdeps/i386/i686/multiarch/strchr.S: New file.
33100         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33101         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33102         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33103         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33104         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33106 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33108         * sysdeps/x86_64/wcscmp.S: New file.
33110         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33111         wcscmp-c wcscmp-sse2
33112         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33113         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33114         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33115         * wcsmbs/wcscmp.c: Allow renaming.
33117 2011-09-05  David S. Miller  <davem@davemloft.net>
33119         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33120         stack slot, rather than the struct return pointer slot.
33121         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33122         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33124         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33126 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33128         * po/ja.po: Update from translation team.
33130         [BZ #13144]
33131         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33132         kernel in 64-bit binaries.
33134 2011-09-01  David S. Miller  <davem@davemloft.net>
33136         * elf/elf.h (HWCAP_SPARC_*): Move to..
33137         * sysdeps/sparc/sysdep.h: this new file and add new values.
33138         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33139         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33140         _DL_HWCAP_COUNT to 24.
33141         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33142         entries.
33143         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33144         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33145         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33146         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33147         instead of magic constants.
33148         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33150 2011-08-31  David S. Miller  <davem@davemloft.net>
33152         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33153         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33154         Reimplement to do errno handling inline.
33155         (SYSCALL_ERROR_HANDLER): New macro.
33156         (__SYSCALL_STRING): Do not do errno handling in asm.
33157         (__CLONE_SYSCALL_STRING): Delete.
33158         (__INTERNAL_SYSCALL_STRING): Delete.
33159         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33160         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33161         (PSEUDO): Reimplement to do errno handling inline.
33162         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33163         (SYSCALL_ERROR_HANDLER): New macro.
33164         (__SYSCALL_STRING): Do not do errno handling in asm.
33165         (__CLONE_SYSCALL_STRING): Delete.
33166         (__INTERNAL_SYSCALL_STRING): Delete.
33167         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33168         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33169         i386.
33170         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33171         (inline_syscall*): Add 'err' argument.
33172         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33173         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33174         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33175         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33177         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33178         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33180 2011-08-30  Andreas Schwab  <schwab@redhat.com>
33182         * elf/rtld.c (dl_main): Relocate objects in dependency order.
33184 2011-08-29  Jiri Olsa <jolsa@redhat.com>
33186         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33187         directive.
33189 2011-08-24  David S. Miller  <davem@davemloft.net>
33191         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33193 2011-08-24  Andreas Schwab  <schwab@redhat.com>
33195         * elf/Makefile: Add rules to build and run unload8 test.
33196         * elf/unload8.c: New file.
33197         * elf/unload8mod1.c: New file.
33198         * elf/unload8mod1x.c: New file.
33199         * elf/unload8mod2.c: New file.
33200         * elf/unload8mod3.c: New file.
33202         * elf/dl-close.c (_dl_close_worker): Reset private search list if
33203         it wasn't used.
33205 2011-08-23  David S. Miller  <davem@davemloft.net>
33207         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33208         subtract stack bias.
33209         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33210         %sp not %fp in calculations.
33211         (_JMPBUF_UNWINDS_ADJ): Likewise.
33213         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33214         (aio_suspend): Call it to force an exception region around the
33215         AIO_MISC_WAIT() invocation.
33217 2011-08-23  Andreas Schwab  <schwab@redhat.com>
33219         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33220         backslash.
33222 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
33224         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33225         protection macro.
33226         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33227         and <dl-machine.h>.
33228         (Elf64_FuncDesc): Remove.
33230 2011-08-22  David S. Miller  <davem@davemloft.net>
33232         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33233         sigaltstack check, add missing cfi directives.
33234         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33235         missing cfi directives, and sigaltstack handling.
33237 2011-08-16  Andreas Schwab  <schwab@redhat.com>
33239         [BZ #11724]
33240         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33241         object is seen twice.
33242         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33244         * elf/Makefile (distribute): Add tst-initorder2.c.
33245         (tests): Add tst-initorder2.
33246         (modules-names): Add tst-initorder2a tst-initorder2b
33247         tst-initorder2c tst-initorder2d.  Add rules to build them.
33248         ($(objpfx)tst-initorder2.out): New rule.
33249         * elf/tst-initorder2.c: New file.
33250         * elf/tst-initorder2.exp: New file.
33252 2011-08-22  Andreas Schwab  <schwab@redhat.com>
33254         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33256         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33257         dependencies back to end of function.
33259         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33260         $(elfobjdir)/ld.so.
33262 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
33264         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33265         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33266         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33267         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33268         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33269         of __vdso_gettimeofday.
33270         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33271         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
33272         attribute_hidden.
33273         (_libc_vdso_platform_setup): Remove initialization of
33274         __vdso_gettimeofday and __vdso_time.
33276 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33278         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33279         and fgetc_unlocked.
33280         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33281         getc_unlocked.
33283         * elf/dl-open.c (add_to_global): Report additions to the global scope
33284         for LD_DEBUG=scopes.
33285         (dl_open_worker): Also print scope of newly loaded dependencies.
33286         (_dl_show_scope): Indicate if there is no scope.
33288         [BZ #13114]
33289         * stdio-common/Makefile (tests): Add bug24.
33290         * stdio-common/bug24.c: New file.
33292 2011-08-19  Andreas Jaeger  <aj@suse.de>
33294         [BZ #13114]
33295         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33296         non-existant file when using close-on-exec mode.
33298 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33300         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33301         the very first instruction.
33303         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33304         the CFI state in the end.
33305         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33306         inclusion of dl-trampoline.h.
33307         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33309 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33311         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33312         expectations for long double.
33314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33315         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33317 2011-08-14  David S. Miller  <davem@davemloft.net>
33319         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33320         artificual limit depends upon the system page size.
33322 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33324         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33325         * resolv/Makefile: Define CFLAGS-libresolv.
33327 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33329         * nss/makedb.c (compute_tables): Make variables used in nested
33330         function static.
33332 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33334         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33335         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33336         if buffer was too small.
33338         * elf/pldd.c (main): Attach to all threads in the process.
33339         Rewrite /proc handling to use *at functions.
33341 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33343         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33344         specifies first scope to show.
33345         (dl_open_worker): Update callers.  Move printing scope of new
33346         object to before the relocation.
33347         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33348         * sysdeps/generic/ldsodefs.h: Update declaration.
33350         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33351         string for the scope number.
33353 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33355         * nscd/servicescache.c (cache_addserv): Make sure written is always
33356         initialized.
33358 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33360         * sysdeps/i386/i486/bits/atomic.h
33361         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33362         statement expression, so as to suppress "set but not used" warning.
33363         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33365         * string/strncat.c (STRNCAT): Use prototype definition.
33367         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33368         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33369         -Iprograms here.
33370         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33371         (localedef-modules): Add localedef.
33372         (locale-modules): Add locale.
33374         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33375         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33376         to avoid a warning.
33378 2011-08-14  David S. Miller  <davem@davemloft.net>
33380         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33381         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33383 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33385         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33386         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33387         * elf/rtld.c (dl_main): Set l_name of vDSO.
33388         Call _dl_show_scope when DL_DEBUG_SCOPES.
33389         (process_dl_debug): Recognize scopes flag and also set it for all.
33390         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33391         Declare _dl_show_scope.
33393         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33394         (do_dlopen): Pass caller_dlopen to dl_open.
33395         (__libc_dlopen_mode): Initialize caller_dlopen.
33397         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33398         of libc.  Make tolower call locale-independent.  Optimize a bit by
33399         using isdigit instead of isalnum.
33400         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33402 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33404         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33405         was a dependency or dynamically loaded.
33407 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33409         * intl/l10nflist.c: Allow architecture-specific pop function.
33410         * sysdeps/x86_64/l10nflist.c: New file.
33412         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33413         classification.
33415 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33417         * include/dirent.h: Add libc_hidden_proto for scandirat and
33418         scandirat64.  Don't declare __scandirat64.
33419         * dirent/scandirat.c: Add libc_hidden_def.
33420         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33421         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33423 2011-08-10  David S. Miller  <davem@davemloft.net>
33425         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33426         enum.
33427         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33428         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33429         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33431 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33433         * Versions.def [libc]: Add GLIBC_2.15.
33434         * dirent/Makefile (routines): Add scandirat and scandirat64.
33435         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33436         GLIBC_2.15.
33437         * dirent/dirent.h: Declare scandirat and scandirat64.
33438         * dirent/scandirat.c: New file.
33439         * dirent/scandirat64.c: New file.
33440         * sysdeps/wordsize-64/scandirat.c: New file.
33441         * sysdeps/wordsize-64/scandirat64.c: New file.
33442         * dirent/opendir.c: Define opendirat.
33443         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33444         using scandirat.
33445         * dirent/scandir64.c: Adjust for scandir.c change.
33446         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33447         __scandirat64, and __scandir_cancel_handler.
33448         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33449         additional parameter and use openat instead of open (outside of ld.so).
33450         Add new __opendir as wrapper around __opendirat.
33451         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33452         here without requiring old scandirat implementation.
33454 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33456         * dirent/scandir.c (cancel_handler): Renamed to
33457         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33458         defined.  Adjust users.
33459         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33460         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33462 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33464         * string/test-string.h (IMPL): Use __STRING to expand name and then
33465         stringify it.
33467         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33468         of cleanups.
33470 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33472         * string/Makefile: Update.
33473         (strop-tests): Append strncat.
33474         * string/test-wcscmp.c: New file.
33475         New comprehensive test for wcscmp.
33476         * string/test-strcmp.c: Update.
33477         (WIDE): New define.
33479 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33481         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33482         line.
33484 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33486         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33487         encoding to ACE if AI_IDN.
33489 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33491         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33492         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33494 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33496         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33497         Fix overflow bug in strncat.
33498         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33500         * string/test-strncat.c: Update.
33501         Add new tests for checking overflow bugs.
33503 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33505         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33506         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33507         * sysdeps/i386/i686/multiarch/strcat.S: New file.
33508         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33509         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33510         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33511         * sysdeps/i386/i686/multiarch/strncat.S: New file.
33512         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33513         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33515         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33516         (USE_AS_STRCAT): Define.
33517         Add strcat and strncat support.
33518         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33520 2011-07-25  Andreas Schwab  <schwab@redhat.com>
33522         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33523         __n bigger than INT_MAX+1.
33524         (__strncmp_g): Likewise.
33526 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
33528         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33529         * libio/stido.h: Likewise.
33531         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33532         (AF_NFC): Define.
33533         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33534         (AF_NFC): Define.
33536         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33537         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33538         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33539         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33540         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33542         [BZ #13021]
33543         * scripts/test-installation.pl: Don't expect libnss_test1 to be
33544         installed.
33546         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33547         typo.
33548         (_dl_x86_64_save_sse): Likewise.
33550 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
33552         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33553         OSXSAVE.
33554         (_dl_x86_64_save_sse): Likewise.
33556         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33558         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33560 2011-07-21  Andreas Schwab  <schwab@redhat.com>
33562         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33563         change.
33564         (_dl_x86_64_save_sse): Use correct AVX check.
33566 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33568         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33569         bug in strncpy/strncat.
33570         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33572 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
33574         * string/tester.c (test_strcat): Add tests for different alignments
33575         of source and destination.
33576         (test_strncat): Likewise.
33578 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33580         [BZ #12852]
33581         * posix/glob.c (glob): Check passed in values before using them in
33582         expressions to avoid some overflows.
33583         (glob_in_dir): Likewise.
33585         [BZ #13007]
33586         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33587         check for AVX enablement so that we don't crash with old kernels and
33588         new hardware.
33589         * elf/tst-audit4.c: Add same checks here.
33590         * elf/tst-audit6.c: Likewise.
33592         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33594 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
33596         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33598 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33600         * po/cs.po: Update from translation team.
33601         * po/bg.po: Likewise.
33603 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
33605         * misc/sys/cdefs.h: Add support for const attribute.
33606         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33607         to gnu_dev_{major,minor,makedev} functions.
33609 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
33611         * intl/dcigettext.c (get_output_charset): Add missing bracket.
33613 2011-07-20  Andreas Schwab  <schwab@redhat.com>
33615         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33616         strlen results.
33618 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33621         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33622         register in order to avoid conflicts with the soft frame pointer
33623         being held in r11 when necessary.
33624         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33625         (INTERNAL_VSYSCALL_NCS): Likewise.
33627 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
33629         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33630         * elf/dl-fini.c (_dl_fini): Adjust caller.
33631         * elf/dl-close.c (_dl_close_worker): Likewise.
33632         * sysdeps/generic/ldsodefs.h: Adjust declaration.
33634 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33636         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33637         "aux_cache->nlibs < 0".
33639         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33640         in the reload-count case.
33642 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33645         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33646         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33647         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33648         * sysdeps/x86_64/multiarch/strcat.S: New file.
33649         * sysdeps/x86_64/multiarch/strncat.S: New file.
33650         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33651         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33652         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33653         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33654         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33655         (USE_AS_STRCAT): Define.
33656         Add strcat and strncat support.
33657         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33658         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33659         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33660         * string/strncat.c: Update.
33661         (USE_AS_STRNCAT): Define.
33662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33663         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33664         and i7.
33665         * sysdeps/x86_64/multiarch/init-arch.h
33666         (bit_Prefer_PMINUB_for_stringop): New.
33667         (index_Prefer_PMINUB_for_stringop): Likewise.
33668         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33669         bit_Prefer_PMINUB_for_stringop.
33671 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33673         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33674         buffer64.
33675         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33676         of casting of buffer.
33677         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33678         buffer32 and buffer64.
33679         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33680         writes instead of casting of buffer.
33681         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33682         buffer32.
33683         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33684         casting of buffer.
33686 2011-07-19  Andreas Schwab  <schwab@redhat.com>
33688         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33690 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33692         * nscd/nscd.c (termination_handler): Don't do anything for a database
33693         if it has not yet been initialized.
33695 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33697         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33699 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33701         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33703 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33705         * po/nl.po: Update from translation team.
33706         * po/sv.po: Likewise.
33708 2011-07-16  Roland McGrath  <roland@hack.frob.com>
33710         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33711         now disallowed by GCC.
33713         * configure.in (use-default-link): Default to yes if a test -shared
33714         link meets our qualifications.
33715         * configure: Regenerated.
33717         * config.make.in (output-format): New variable.
33718         * configure.in: Check for ld --print-output-format support.
33719         * configure: Regenerated.
33720         * Makerules ($(common-objpfx)format.lds)
33721         [$(output-format) != unknown]: Just use $(output-format),
33722         instead of the linker-script munging.
33724 2011-07-14  Roland McGrath  <roland@hack.frob.com>
33726         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33727         of $(common-objpfx)shlib.lds.
33728         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33730         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33731         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33733         * configure.in (-z relro check): Adjust test code to add a large
33734         writable data section after it.
33735         * configure: Regenerated.
33737 2011-07-11  Roland McGrath  <roland@hack.frob.com>
33739         * configure.in (-z relro check): Fix test code to make the variable
33740         truly const.
33741         * configure: Regenerated.
33743 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
33745         * nscd/nscd.h (struct traced_file): Define.
33746         (struct database_dyn): Remove inotify_descr, reset_res, and filename
33747         elements.  Add traced_files.
33748         (inotify_fd): Declare.
33749         (register_traced_file): Declare.
33750         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33751         (inotify_fd): Export.
33752         (resolv_conf_descr): Remove.
33753         (nscd_init): Move inotify descriptor creation to main.
33754         Don't register files for notification here.
33755         (register_traced_file): New function.
33756         (invalidate_cache): Don't use reset_res to determine whether to call
33757         res_init, go through the list of registered files.
33758         (main_loop_poll): The inotify descriptors are now stored in the
33759         structures for the traced files.
33760         (main_loop_epoll): Likewise
33761         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
33762         to __nss_disable_nscd.
33763         * nscd/cache.c (prune_cache): There is no single inotify descriptor
33764         for a database anymore.  Check the records for all the registered
33765         files instead.
33766         * nss/Makefile (libnss_files-routines): Add files-init.
33767         (libnss_db-routines): Add db-init.
33768         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33769         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33770         * nss/nss_db/db-init.c: New file.
33771         * nss/nss_files/files-init.c: New file.
33772         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
33773         __nss_lookup_function.
33774         (__nss_lookup_function): Call nss_load_library.
33775         (nss_load_all_libraries): New function.
33776         (__nss_disable_nscd): Take parameter with callback function for files
33777         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
33778         used for the cached services.
33779         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33780         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33781         options for features to all the files in nscd.
33783         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33785 2011-07-10  Roland McGrath  <roland@hack.frob.com>
33787         * csu/elf-init.c (__libc_csu_init): Comment typo.
33789 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
33791         * po/pl.po: Update from translation team.
33792         * po/ja.po: Likewise.
33793         * po/ru.po: Likewise.
33794         * po/ko.po: Likewise.
33795         * po/fr.po: Likewise.
33797 2011-07-09  Roland McGrath  <roland@hack.frob.com>
33799         * configure.in (.ctors/.dtors header and trailer check):
33800         Use an empirical test on a built program.
33801         * configure: Regenerated.
33803         * configure.in (-z relro check): Use an empirical test on a built DSO.
33804         Detect, but do not require, on ia64.
33805         * configure: Regenerated.
33807         * configure.in (READELF): Find it with AC_CHECK_TOOL.
33808         Update tests that use readelf to use $READELF instead.
33809         * configure: Regenerated.
33811 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
33813         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33814         if the result is not used.
33816 2011-07-05  Andreas Jaeger  <aj@suse.de>
33818         [BZ#9696]
33819         * stdlib/tst-strtod.c: Add testcase.
33821 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
33823         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33824         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33825         The latter has a higher limit.  Take additional parameter to pass to
33826         the new function.
33827         (__pathconf): Pass file to __statfs_link_max.
33828         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33829         __statfs_link_max.
33830         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33831         __statfs_link_max.
33833         [BZ #12868]
33834         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33835         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33836         Handle Lustre.
33837         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33838         (__statfs_filesize_max): Likewise.
33839         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33841 2011-07-05  Andreas Jaeger  <aj@suse.de>
33843         * resolv/res_comp.c (dn_skipname): Remove unused variable.
33845 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
33847         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33848         `status' variable.
33849         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33850         Likewise.
33852 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
33854         * Makefile (strop-tests): Add strncat.
33855         * string/test-strncat.c: New file.
33857 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
33859         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33861 2011-06-21  Andreas Jaeger  <aj@suse.de>
33863         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33864         Copy rule from iconvdata/Makefile.
33866 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33868         [BZ #12922]
33869         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33870         but no long options are defined, just return 'W'.
33872 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
33874         [BZ #9696]
33875         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33877 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33879         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33880         netgroups to read.
33881         (innetgr): Likewise.
33883 2011-07-05  Roland McGrath  <roland@hack.frob.com>
33885         * config.make.in (install_root): Default to $(DESTDIR).
33887 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
33889         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33891 2011-07-02  Roland McGrath  <roland@hack.frob.com>
33893         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33895         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33896         containing directory rather than embedding absolute directory names.
33898         * scripts/check-local-headers.sh: Rewritten using awk.
33899         Match by word, not by line.  Print error messages for matches.
33900         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33902         * Makerules [shlib-lds-flags empty]:
33903         ($(common-objpfx)libc_pic.opts): New target.
33904         ($(common-objpfx)libc_pic.os.clean): New target.
33905         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33907         * config.make.in (OBJCOPY): New variable.
33908         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33909         * configure: Regenerated.
33911         * config.make.in (use-default-link): New variable.
33912         * configure.in (use_default_link): Grok --with-default-link to set it.
33913         * configure: Regenerated.
33914         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33915         (shlib-lds, shlib-lds-flags): Define to empty.
33917         * Makerules (shlib-lds): New variable.
33918         (shlib-lds-flags): New variable.
33919         (build-shlib, build-moduile, build-module-asneeded): Use it.
33920         ($(common-objpfx)libc.so): Use $(shlib-lds).
33921         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33922         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33924         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33925         DT_FLAGS/DT_FLAGS_1 with zero flags.
33927         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33928         linker script munging.
33930 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
33932         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33933         as 128-bit value.
33934         * crypt/sha512.c (sha512_process_block): Perform total addition using
33935         128-bit if possible.
33936         (__sha512_finish_ctx): Likewise.
33937         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33938         as 64-bit value.
33939         * crypt/sha256.c (SWAP64): Define.
33940         (sha256_process_block): Perform total addition using 64-bit if
33941         possible.
33942         (__sha256_finish_ctx): Likewise.
33944 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
33946         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
33947         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33948         * nscd/hstcache.c (cache_addhst): Likewise.
33949         * nscd/grpcache.c (cache_addgr): Likewise.
33950         * nscd/aicache.c (addhstaiX): Likewise
33951         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33953 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
33955         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33956         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33957         * nscd/hstcache.c (cache_addhst): Likewise.
33958         * nscd/grpcache.c (cache_addgr): Likewise.
33959         * nscd/aicache.c (addhstaiX): Likewise
33961 2011-07-01  Andreas Schwab  <schwab@redhat.com>
33963         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33964         domain only when needed.
33966 2011-06-30  Andreas Schwab  <schwab@redhat.com>
33968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33969         is always restored.
33971 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
33973         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33974         are re-adding the entry.
33975         * nscd/servicescache.c (cache_addserv): Likewise.
33977 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
33979         * sysdeps/generic/dl-irel.h: fix protection against multiple
33980         inclusions.
33981         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33983 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
33985         [BZ #12935]
33986         * malloc/memusage.sh: Fix quoting in message.
33987         * debug/xtrace.sh: Likewise.
33989         * configure.in: Remove support for --experimental-malloc option, make
33990         it the default.
33991         * config.make.in: Likewise.
33992         * malloc/Makefile: Likewise.
33994 2011-06-27  Andreas Schwab  <schwab@redhat.com>
33996         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33997         two-byte characters.
33999 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34001         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34002         AC_CACHE_CHECK invocation.
34003         * configure: Regenerated.
34005         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34007 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34009         [BZ #12350]
34010         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34011         bit from old_res_options.
34013         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34015         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34016         value type for setfct.
34018 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34020         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34021         __gettimeofday instead of gettimeofday.
34023 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34025         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34027 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34029         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34031         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34032         info.
34034 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34037         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34038         strcpy-sse2-unaligned strncpy-sse2-unaligned
34039         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34040         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34041         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34042         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34043         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34044         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34045         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34046         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34047         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34048         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34049         (STRCPY): Support SSE2 and SSSE3 versions.
34051 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34053         [BZ #12874]
34054         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34055         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34056         kernels which artificially limit size of requests.
34058 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34060         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34061         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34062         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34063         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34064         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34065         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34066         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34067         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34068         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34069         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34070         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34071         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34072         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34073         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34074         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34076         Enable unaligned load optimization for Intel Core i3, i5 and i7
34077         processors.
34078         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34079         Define.
34080         (index_Fast_Unaligned_Load): Define.
34081         (HAS_FAST_UNALIGNED_LOAD): Define.
34083 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
34085         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34087 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34089         [BZ #12907]
34090         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34091         until it is clear that the information is realy needed.
34092         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34094 2011-06-22  Andreas Schwab  <schwab@redhat.com>
34096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34098 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34100         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34101         /sys/devices/system/cpu/online if it is usable.
34103         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34104         reading the information from the /proc filesystem to once a second.
34106 2011-06-21  Andreas Jaeger  <aj@suse.de>
34108         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34109         NULL after inclusion of kernel headers.
34111 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
34113         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34114         calls to internal_setent.
34116         [BZ #12885]
34117         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34118         addresses using gethostbyname4_r ignore IPv4 addresses.
34120         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34121         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
34123         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34125 2011-06-20  David S. Miller  <davem@davemloft.net>
34127         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34128         inclusions.
34129         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34131         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34132         (elf_irel): Use it.
34133         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34134         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34135         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34136         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34137         * sysdeps/x86_64/dl-irel.h: Likewise.
34139         * elf/dl-runtime.c: Use elf_ifunc_invoke.
34140         * elf/dl-sym.c: Likewise.
34142 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34144         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
34145         need to dereference resplen2.
34147 2011-06-14  Andreas Schwab  <schwab@redhat.com>
34149         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34151 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34153         * Makeconfig: Define vardbdir and inst_vardbdir.
34154         * nss/Makefile: Add rules to install db-Makefile.
34156         * nss/nss_db/db-XXX.c: Cleanup.
34158         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34159         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34160         GLIBC_PRIVATE.
34161         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34162         * nss/makedb.c: Implement -g option to specify that value strings
34163         are generated and should not be added to table iterated over for
34164         get*ent calls.
34165         * nss/nss_db/db-initgroups.c: New file.
34167         * nss/getent.c: Add support for initgroups lookups through getgrouplist
34168         interface.
34170         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34171         (internal_getgrouplist): Adjust to name change.
34172         Update use_initgroups_entry if this is not the first call.
34173         * nss/databases.def: Add initgroups entry.
34175         * nss/makedb.c (compute_tables): Check result of multiple hash table
34176         sizes to minimize maximum chain length.
34178 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
34180         * Versions.def: Add entry for libnss_db.
34181         * shlib-versions: Likewise.
34182         * nss/Makefile: Add rules to build libnss_db.
34183         * nss/Versions: Add libnss_db information.  Organize libnss_files
34184         entries better.
34185         * nss/db-Makefile: Add gshadow support.  Change rules for the new
34186         makedb progra.  Some minor improvements to generate smaller files.
34187         * nss/nss_db/nss_db.h: Move NSS database header data structures to
34188         here from...
34189         * nss/makedb.c: ...here.
34190         Improve database format to be smaller and require less memory at
34191         runtime.
34192         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
34193         db anymore.
34194         * nss/nss_db/db-netgrp.c: Likewise.
34195         * nss/nss_db/db-open.c: Likewise.
34196         * nss/nss_files/flies-XXX.x: Adjust comments.
34197         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34198         * nss/nss_files/files-grp.c: Likewise.
34199         * nss/nss_files/files-hosts.c: Likewise.
34200         * nss/nss_files/files-network.c: Likewise.
34201         * nss/nss_files/files-proto.c: Likewise.
34202         * nss/nss_files/files-pwd.c: Likewise.
34203         * nss/nss_files/files-rpc.c: Likewise.
34204         * nss/nss_files/files-service.c: Likewise.
34205         * nss/nss_files/files-sgrp.c: Likewise.
34206         * nss/nss_files/files-spwd.c: Likewise.
34207         * nss/nss_db/db-alias.c: Removed.
34208         * nss/nss_db/dummy-db.h: Removed.
34210 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
34212         * nss/makedb.c: Rewritten to not use database library.
34213         * nss/Makefile: Update to build new makedb program.
34215 2011-06-14  Andreas Jaeger  <aj@suse.de>
34217         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34218         memset declaration.
34220 2011-06-10  Andreas Schwab  <schwab@redhat.com>
34222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34223         tmpbuf.
34225 2011-06-10  Roland McGrath  <roland@hack.frob.com>
34227         * Makerules (shlib.lds): Fail if the linker script comes out empty.
34228         * elf/Makefile ($(objpfx)ld.so): Likewise.
34230         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34231         Don't list ld.so twice in dependencies.
34233         * posix/bug-regex31.c: Include <stdlib.h>.
34235         * nscd/hstcache.c (cache_addhst): Remove unused variable.
34237         * nis/nss_compat/compat-spwd.c
34238         (getspent_next_nss_netgr): Remove unused variable.
34239         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34241         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34242         nonmembers" output to use the right array.
34244         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34246         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34248         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34249         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34250         * catgets/gencat.c (read_input_file): Likewise.
34251         * locale/programs/locarchive.c (enlarge_archive): Likewise.
34253         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34254         variable definition inside #if's controlling its use.
34256         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34258         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34260         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34262         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34263         unreachable code.
34265         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34267         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34268         * configure: Regenerated.
34270         * Makerules: Revert last change.
34271         * elf/Makefile: Likewise.
34273 2011-06-09  Roland McGrath  <roland@hack.frob.com>
34275         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34276         * elf/Makefile ($(objpfx)librtld.os): Likewise.
34277         (reloc-link): Likewise.
34279 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
34281         * elf/Makefile: Add rules to build pldd.
34282         * elf/pldd.c: New file.
34283         * elf/pldd-xx.c: New file.
34285 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
34287         * version.h: Update for 2.15 development version.
34289 2011-06-07  David S. Miller  <davem@davemloft.net>
34291         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34292         ifuncs.
34293         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34294         elf_machine_lazy_rel): Likewise.
34295         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34296         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34297         elf_machine_lazy_rel): Likewise.
34298         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34299         dl_hwcap via passed in argument.
34300         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34301         Likewise.
34303 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34305         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34307 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34309         [BZ #12849]
34310         * manual/fdl-1.1.texi: New file, verbatim from:
34311         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34312         * manual/lgpl-2.1.texi: New file, verbatim from:
34313         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34314         * manual/Makefile (licenses): New variable, list those new file names.
34315         (texis): Use it.
34316         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34318         * manual/fdl.texi: File removed.
34319         * manual/lesser.texi: File removed.
34320         * manual/libc.texinfo (Copying, Documentation License):
34321         Use new @include file names, put @appendix directive before @include.
34323 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34325         [BZ #12841]
34326         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34327         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34328         (mq_open): Add __NTH.
34330 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34332         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34333         Assume Intel Core i3/i5/i7 processor if AVX is available.
34335 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34337         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34338         typo.
34340 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34342         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34343         memory.  Use alloca_account.  Fix memory leak when retrying.
34345 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34347         * version.h (RELEASE): Bump for 2.14 release.
34348         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34350         * config.make.in (RANLIB): Remove entry.
34352 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34354         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34355         (libc.pot): Work around missing support for .ksh extension in xgettext.
34357         [BZ #12684]
34358         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34359         if both request failed.
34360         (send_dg): In case of server errors clear resplen or *resplen2.
34362         [BZ #12454]
34363         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34364         when there are multiple maps.
34365         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34366         (_dl_fini): Remove test here.
34368         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34370 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34372         [BZ #12350]
34373         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34374         bit from old_res_options.
34375         (gaih_inet): Likewise.
34377         [BZ #11099]
34378         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34379         as signed.
34381         * resolv/res_init.c (res_setoptions): Make the code more compact.
34383         [BZ #11558]
34384         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34385         set RES_USEVC.
34387         [BZ #11634]
34388         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34390         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34392         [BZ #11781]
34393         * malloc/malloc.h: Declare malloc hook variables as volatile.
34395         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34396         in last patch.
34398         [BZ #11799]
34399         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34400         raise in the comment.
34401         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34402         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34403         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34405 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34407         [BZ #12811]
34408         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34409         grow the buffers more if it already has to be sufficient.
34410         (build_wcs_upper_buffer): Likewise.
34411         * posix/regexec.c (check_matching): Likewise.
34412         (clean_state_log_if_needed): Likewise.
34413         (extend_buffers): Don't enlarge buffers beyond size of the input
34414         buffer.
34415         Patches mostly by Emil Wojak <emil@wojak.eu>.
34416         * posix/bug-regex32.c: New file.
34417         * posix/Makefile (tests): Add bug-regex32.
34419         * locale/findlocale.c (_nl_find_locale): Return right away if
34420         _nl_explode_name failed.
34421         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34423         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34425         * debug/xtrace.sh: Unify messages.
34426         * malloc/memusage.sh: Likewise.
34428         [BZ #12813]
34429         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34430         time symbol from vDSO.  Substitute with vsyscall if not available.
34431         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34432         __vdso_time.
34434         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34435         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34436         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34437         Add sendmmsg and internal_sendmmsg.
34438         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34439         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34440         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34442         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34443         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34444         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34446 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34448         [BZ #12813]
34449         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34450         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34451         available.
34452         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34453         __vdso_getcpu.
34455         [BZ #12814]
34456         * iconvdata/Makefile (tests): Add bug-iconv9.
34457         * iconvdata/bug-iconv9.c: New file.
34459 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34461         [BZ #12814]
34462         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34464 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34466         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34467         (struct user_regs_struct): Change intcs field back to cs.
34469 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34471         * po/ja.po: Update from translation team.
34473 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34475         [BZ #12795]
34476         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34477         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34479 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34481         * stdlib/longlong.h: Update from GCC.
34483 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34485         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34486         parameter name.
34487         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34488         Add parameter name.
34489         (__sysconf): Pass it down.
34491 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34493         [BZ #12671]
34494         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34495         some situations.
34496         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34497         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34498         add in in __libc_use_alloca calls.  Adjust callers.
34499         (glob): Use malloc in some situations.
34501         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34502         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34503         pltexit.
34505 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
34507         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34508         and CLOCK_BOOTTIME_ALARM.
34510         [BZ #12782]
34511         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34512         is returned.
34514         * string/_strerror.c (__strerror_r): Print negative errors as signed
34515         numbers.
34517         [BZ #12777]
34518         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34519         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34520         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34522         * configure.in: Fix typo in redirection and correct removal of test
34523         files in two cases.
34525         [BZ #12788]
34526         * locale/setlocale.c (new_composite_name): Fix test to check for
34527         identical name of all categories.
34529         [BZ #12792]
34530         * libio/filedoalloc.c (local_isatty): New function.
34531         (_IO_file_doallocate): Use local_isatty.
34532         * stdio-common/perror.c (perror): In case a new stream is used
34533         forward the stream error.
34534         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34535         error flag.
34537 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
34539         [BZ #11869]
34540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34541         alloca.
34542         * include/alloca.h (extend_alloca_account): Define.
34544         [BZ #11857]
34545         * posix/regex.h: Fix comments with documentation of user-accessible
34546         fields after compilation and describe correct free'ing of pattern
34547         after re_compile_pattern.
34548         Patch by Reuben Thomas <rrt@sc3d.org>.
34550 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
34552         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34553         and -mno-altivec to prevent the compiler from using Altivec and/or
34554         VSX instructions when the corresponding registers are not available.
34556 2011-05-19  Andreas Schwab  <schwab@redhat.com>
34558         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34560 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
34562         * libio/freopen.c (freopen): Use __dup2, not dup2.
34563         * libio/freopen64.c (freopen64): Likewise.
34565 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34567         [BZ #12775]
34568         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34569         * math/Makefile (tests): Add test-powl.
34570         (CFLAGS-test-powl.c): Define.
34571         * math/test-powl.c: New file.
34573 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34575         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34577 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
34579         [BZ #11837]
34580         * iconvdata/gb18030.c: Update to GB18020-2005.
34582 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
34584         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34585         RE_SYNTAX_POSIX_AWK): Update to match recent development.
34586         Patch by Aharon Robbins <arnold@skeeve.com>.
34588         [BZ #11892]
34589         * stdlib/putenv.c (putenv): Don't always create copy of the variable
34590         on the stack.
34592         [BZ #11895]
34593         * misc/pselect.c (__pselect): Handle timeout value errors hidden
34594         through underflows.
34596         [BZ #12766]
34597         * misc/error.c (error_at_line): Ensure file_name and old_file_name
34598         point to strings before performing equality test for error_one_per_line
34599         mode.
34601         [BZ #11697]
34602         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34604         [BZ #11820]
34605         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34606         (struct user_fpregs_struct): Avoid __uint*_t types.
34608         [BZ #6420]
34609         * malloc/mtrace.c (tr_where): Add additional parameter to point to
34610         symbol info.  Use it instead of calling _dl_addr locally.
34611         (lock_and_info): New function.
34612         (tr_freehook): Call lock_and_info and pass symbol info as additional
34613         parameter to tr_where.
34614         (tr_mallochook): Likewise.
34615         (tr_reallochook): Likewise.
34616         (tr_memalignhook): Likewise.
34618         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
34619         used and couldn't be at all thread-safe.
34621 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
34623         * libio/freopen.c (freopen): Don't close old file descriptor
34624         before the new one is opened.  Instead dup the new file descriptor
34625         to the old one after the new stream is created.
34626         * libio/freopen64.c (freopen64): Likewise.
34627         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34628         * libio/fileops.c (_IO_new_file_close_it): Handle new
34629         _IO_FLAGS2_NOCLOSE flag.
34630         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34631         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34632         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34633         _IO_FLAGS2_NOCLOSE flag.
34634         * include/unistd.h: Add hidden_proto for dup3.
34635         Define __have_dup3.
34636         * io/dup3.c: Define hidden symbol.
34637         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34639         [BZ #7101]
34640         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34641         when an incomplete long option is used.
34642         * posix/tst-getopt_long1.c: New file.
34643         * posix/Makefile (tests): Add tst-getopt_long1.
34645         [BZ #10138]
34646         * scripts/config.guess: Update from autoconf-2.68.
34647         * scripts/config.sub: Likewise.
34649         [BZ #10157]
34650         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34651         tests into ...
34652         (has_cpuclock): ...this.  New function.
34653         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34654         macro here based on has_cpuclock code.
34656         [BZ #10149]
34657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34658         First byte (not low byte) is now always NUL.
34659         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34662         Use non-cancelable interfaces.
34664         [BZ #9809]
34665         * locale/iso-639.def: Add entry for Sorani.
34667         [BZ #11901]
34668         * include/stdlib.h: Move include protection to the right place.
34669         Define abort_msg_s.  Declare __abort_msg with it.
34670         * stdlib/abort.c (__abort_msg): Adjust type.
34671         * assert/assert.c (__assert_fail_base): New function.  Majority
34672         of code from __assert_fail.  Allocate memory for __abort_msg with
34673         mmap.
34674         (__assert_fail): Now call __assert_fail_base.
34675         * assert/assert-perr.c: Remove bulk of implementation.  Use
34676         __assert_fail_base.
34677         * include/assert.hL Declare __assert_fail_base.
34678         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34679         mmap.
34680         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34682 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
34684         [BZ #11952]
34685         [BZ #12453]
34686         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34687         until all modules are registered in the DTV.
34688         * elf/Makefile: Add rules to build and run tst-tls19.
34689         * elf/tst-tls19.c: New file.
34690         * elf/tst-tls19mod1.c: New file.
34691         * elf/tst-tls19mod2.c: New file.
34692         * elf/tst-tls19mod3.c: New file.
34693         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34695         [BZ #12083]
34696         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34697         correctly.
34699         [BZ #12601]
34700         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34701         two-byte sequence errors.
34702         * iconvdata/Makefile (tests): Add bug-iconv8.
34703         * iconvdata/bug-iconv8.c: New file.
34705         [BZ #12626]
34706         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34707         buf2 definition.
34709         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34711         [BZ #12432]
34712         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34713         (dummy_getcfa): New function.
34714         (init): Get _Unwind_GetCFA address, use dummy if not found.
34715         (backtrace_helper): In recursion check, also check whether CFA changes.
34716         (__backtrace): Completely initialize arg.
34718         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34719         storing incomplete byte sequence in state object.  Avoid testing for
34720         guaranteed too small input if we know there is enough data available.
34722 2011-05-11  Andreas Schwab  <schwab@redhat.com>
34724         * Makeconfig (+link-pie): Indent.
34725         * Rules (binaries-pie): Define if $(have-fpie) and
34726         $(build-shared).
34727         (binaries-shared): Also filter out $(binaries-pie).
34728         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34729         * nscd/Makefile (others-pie): Add nscd.
34730         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34731         ($(objpfx)nscd): Remove command override.
34732         * login/Makefile (others-pie): Add pt_chown.
34733         ($(objpfx)pt_chown): Remove command override.
34734         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34735         remove command overrides.
34737 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
34739         * libio/tst_putwc.c: Fix error messages.
34741         [BZ #12724]
34742         * libio/fileops.c (_IO_new_file_close_it): Always flush when
34743         currently writing and seek to current position when not.
34744         * libio/Makefile (tests): Add bug-fclose1.
34745         * libio/bug-fclose1.c: New file.
34747 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
34749         [BZ #12511]
34750         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34751         don't set DF_1_NODELETE here.
34752         (do_lookup_x): When entering new entry test for copy relocation
34753         and if necessary set DF_1_NODELETE flag.
34754         * elf/tst-unique4.cc: New file.
34755         * elf/tst-unique4.h: New file.
34756         * elf/tst-unique4lib.cc: New file.
34757         * elf/Makefile: Add rules to build and run tst-unique4.
34758         Patch by Piotr Bury <pbury@goahead.com>.
34760 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
34762         [BZ #12052]
34763         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34765         [BZ #12625]
34766         * misc/mntent_r.c (addmntent): Flush the stream after the output
34768         [BZ #12393]
34769         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34770         (is_trusted_path_normalize): Skip initial colon.  Append slash
34771         to empty buffer.  Duplicate is_trusted_path code but allow
34772         constructed patch to be prefix.
34773         (is_dst): Allow $ORIGIN followed by /.
34774         (_dl_dst_substitute): Correct clearing of check_for_trusted.
34775         Correct testing of result of is_trusted_path_normalize
34776         (decompose_rpath): Fix warning.
34778 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
34780         [BZ #11257]
34781         * grp/initgroups.c (internal_getgrouplist): When we found the service
34782         list through the initgroups entry in nsswitch.conf do not always
34783         continue on a successful lookup.  Don't always use the
34784         __nss_group_database value if it is set.
34785         * nss/nsswitch.conf (initgroups): Change action for successful db
34786         lookup to continue for compatibility.
34788 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
34790         [BZ #11532]
34791         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34792         and CP774 modules.
34793         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34794         and CP774 modules.
34795         * iconvdata/tst-tables.sh: Likewise.
34796         * iconvdata/cp770.c: New file.
34797         * iconvdata/cp771.c: New file.
34798         * iconvdata/cp772.c: New file.
34799         * iconvdata/cp773.c: New file.
34800         * iconvdata/cp774.c: New file.
34801         * iconvdata/testdata/CP770: New file.
34802         * iconvdata/testdata/CP770..UTF8: New file.
34803         * iconvdata/testdata/CP771: New file.
34804         * iconvdata/testdata/CP771..UTF8: New file.
34805         * iconvdata/testdata/CP772: New file.
34806         * iconvdata/testdata/CP772..UTF8: New file.
34807         * iconvdata/testdata/CP773: New file.
34808         * iconvdata/testdata/CP773..UTF8: New file.
34809         * iconvdata/testdata/CP774: New file.
34810         * iconvdata/testdata/CP774..UTF8: New file.
34812         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34813         END CHARMAP line.
34814         * iconvdata/gen-8bit-gap.sh: Likewise.
34815         * iconvdata/gen-8bit.sh: Likewise.
34817         * locale/iso-639.def: Add ary entry.
34819         [BZ #11258]
34820         * locale/C-translit.h.in: Add U20A1 transliteration.
34822         [BZ #12178]
34823         * locale/iso-639.def: Add wae entry.
34824         Patch by Kevin Bortis <bortis@translate-wae.ch>.
34826         [BZ #12545]
34827         * locale/programs/localedef.c (construct_output_path): Use ssize_t
34828         for n.
34830         [BZ #12711]
34831         * locale/C-translit.h.in: Add entry for U20B9.
34832         Patch by pravin.d.s@gmail.com.
34834 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
34836         [BZ #12713]
34837         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34838         ENAMETOOLONG use generic getcwd.
34839         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
34840         in rtld.  Use *stat64.
34841         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34842         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34843         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34844         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34845         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34846         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34847         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34848         __fstatat64 macros.
34849         * include/dirent.h: Add libc_hidden_proto for rewinddir.
34850         * dirent/rewinddir.c: Add libc_hidden_def.
34851         * sysdeps/mach/hurd/rewinddir.c: Likewise.
34852         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
34854         * include/dirent.h (__alloc_dir): Add flags parameter.
34855         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34856         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34857         __alloc_dir.
34858         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
34859         from fdopendir if O_CLOEXEC is already set.
34861 2011-03-15  Alan Modra  <amodra@gmail.com>
34863         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34864         l_tls_firstbyte_offset non-zero.  Save padding offset in
34865         l_tls_firstbyte_offset for later use.
34866         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34867         freeing static tls block.
34869 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
34871         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34872         where #ifdef was intended.  The intent is to prevent ARG_MAX from
34873         being defined by the kernel headers.
34875 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
34877         [BZ #12734]
34878         * resolv/resolv.h: Define RES_NOTLDQUERY.
34879         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34880         no-tld-query and set RES_NOTLDQUERY.
34881         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34882         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34883         modern BIND to search name as TLD unless forbidden.
34885 2011-05-07  Petr Baudis  <pasky@suse.cz>
34886             Ulrich Drepper  <drepper@gmail.com>
34888         [BZ #12393]
34889         * elf/dl-load.c (fillin_rpath): Move trusted path check...
34890         (is_trusted_path): ...to here.
34891         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34892         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34893         using is_trusted_path_normalize() in setuid scripts.
34895 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34897         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34898         __BEGIN/__END_DECLS.
34900 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
34902         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34903         NSS_STATUS_NOTFOUND if no record was found.
34905 2011-05-05  Andreas Schwab  <schwab@redhat.com>
34907         * sunrpc/Makefile (headers): Add rpc/netdb.h.
34908         (headers-not-in-tirpc): Remove rpc/netdb.h
34909         * resolv/netdb.h: Revert last change.
34911 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34913         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34914         circular dependency between libgcc.a and libc.a.
34916 2011-05-05  Andreas Schwab  <schwab@redhat.com>
34918         * resolv/netdb.h: Don't include <rpc/netdb.h>.
34919         * nis/Makefile: Don't install rpcsvc/*.
34920         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34921         instead of <rpc/types.h>.
34922         (MAXHOSTNAMELEN): Define.
34924 2011-05-03  Andreas Schwab  <schwab@redhat.com>
34926         * elf/ldconfig.c (add_dir): Don't crash on empty path.
34928 2011-04-28  Maciej Babinski  <mbabinski@google.com>
34930         [BZ #12714]
34931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34932         gethostbyname4_r when IPv6 results are possible.
34934 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
34936         [BZ #12723]
34937         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34938         _PC_PIPE_BUF handling.
34940 2011-04-30  Bruno Haible  <bruno@clisp.org>
34942         [BZ #12717]
34943         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34944         * resolv/netdb.h (getnameinfo): Change type of flags parameter
34945         to 'int'.
34946         * inet/getnameinfo.c (getnameinfo): Likewise.
34948 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
34950         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34951         to groups setting in database lookup.
34952         * nss/nsswitch.conf: Add initgroups entry.
34954 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
34956         [BZ #12685]
34957         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34958         mode string.
34959         Patch by Eric Blake <eblake@redhat.com>.
34961 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
34963         * sunrpc/Makefile (need-export-routines): Add svc_run.
34964         (routines): Remove svc_run.
34965         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34966         * sunrpc/clnt_perr.c (clnt_perrno): Export.
34967         * sunrpc/svc_run.c (svc_run): Likewise.
34968         * sunrpc/svc_udp.c (svcudp_create): Likewise.
34970 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
34972         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34973         problem in reallocation in last patch.
34975 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
34977         * sunrpc/Makefile: Move inclusion of Rules.
34979 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
34981         * nss/nss_files/files-initgroups.c: New file.
34982         * nss/Makefile (libnss_files-routines): Add files-initgroups.
34983         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34984         _nss_files_initgroups_dyn.
34986 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
34988         * elf/elf.h (R_ARM_IRELATIVE): Define.
34990 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
34992         * po/ru.po: Update from translation team.
34994 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
34996         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34997         dependencies.
34999 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35001         [BZ #12653]
35002         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35003         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35004         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35005         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35006         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35008 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35010         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35011         differing bytes.
35012         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35013         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35014         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35016 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35018         [BZ #12420]
35019         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35020         storing it.
35021         * stdlib/bug-getcontext.c: New file.
35022         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35024 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35026         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35027         instructions into .machine "z9-109".
35028         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35029         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35031 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35033         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35034         between environment variables and auxiliary vector.
35036 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35038         * Makefile: Add rules to build linkobj/libc.so.
35039         * include/libc-symbols.h: Define libc_hidden_nolink.
35040         * include/rpc/auth.h: Mark functions which are to be hidden.
35041         * include/rpc/auth_des.h: Likewise.
35042         * include/rpc/auth_unix.h: Likewise.
35043         * include/rpc/clnt.h: Likewise.
35044         * include/rpc/des_crypt.h: Likewise.
35045         * include/rpc/key_prot.h: Likewise.
35046         * include/rpc/pmap_clnt.h: Likewise.
35047         * include/rpc/pmap_prot.h: Likewise.
35048         * include/rpc/pmap_rmt.h: Likewise.
35049         * include/rpc/rpc_msg.h: Likewise.
35050         * include/rpc/svc.h: Likewise.
35051         * include/rpc/svc_auth.h: Likewise.
35052         * include/rpc/xdr.h: Likewise.
35053         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35054         * nss/Makefile: Likewise.
35055         * sunrpc/Makefile: Don't install headers.  Build library with normal
35056         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35057         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35058         for the compat linking library.  Remove use of INTDEF/INTUSE.
35059         * sunrpc/auth_none.c: Likewise.
35060         * sunrpc/auth_unix.c: Likewise.
35061         * sunrpc/authdes_prot.c: Likewise.
35062         * sunrpc/authuxprot.c: Likewise.
35063         * sunrpc/clnt_gen.c: Likewise.
35064         * sunrpc/clnt_perr.c: Likewise.
35065         * sunrpc/clnt_raw.c: Likewise.
35066         * sunrpc/clnt_simp.c: Likewise.
35067         * sunrpc/clnt_tcp.c: Likewise.
35068         * sunrpc/clnt_udp.c: Likewise.
35069         * sunrpc/clnt_unix.c: Likewise.
35070         * sunrpc/des_crypt.c: Likewise.
35071         * sunrpc/des_soft.c: Likewise.
35072         * sunrpc/get_myaddr.c: Likewise.
35073         * sunrpc/key_call.c: Likewise.
35074         * sunrpc/key_prot.c: Likewise.
35075         * sunrpc/netname.c: Likewise.
35076         * sunrpc/pm_getmaps.c: Likewise.
35077         * sunrpc/pm_getport.c: Likewise.
35078         * sunrpc/pmap_clnt.c: Likewise.
35079         * sunrpc/pmap_prot.c: Likewise.
35080         * sunrpc/pmap_prot2.c: Likewise.
35081         * sunrpc/pmap_rmt.c: Likewise.
35082         * sunrpc/publickey.c: Likewise.
35083         * sunrpc/rpc_cmsg.c: Likewise.
35084         * sunrpc/rpc_common.c: Likewise.
35085         * sunrpc/rpc_dtable.c: Likewise.
35086         * sunrpc/rpc_prot.c: Likewise.
35087         * sunrpc/rpc_thread.c: Likewise.
35088         * sunrpc/rtime.c: Likewise.
35089         * sunrpc/svc.c: Likewise.
35090         * sunrpc/svc_auth.c: Likewise.
35091         * sunrpc/svc_authux.c: Likewise.
35092         * sunrpc/svc_raw.c: Likewise.
35093         * sunrpc/svc_run.c: Likewise.
35094         * sunrpc/svc_simple.c: Likewise.
35095         * sunrpc/svc_tcp.c: Likewise.
35096         * sunrpc/svc_udp.c: Likewise.
35097         * sunrpc/svc_unix.c: Likewise.
35098         * sunrpc/svcauth_des.c: Likewise.
35099         * sunrpc/xcrypt.c: Likewise.
35100         * sunrpc/xdr.c: Likewise.
35101         * sunrpc/xdr_array.c: Likewise.
35102         * sunrpc/xdr_float.c: Likewise.
35103         * sunrpc/xdr_intXX_t.c: Likewise.
35104         * sunrpc/xdr_mem.c: Likewise.
35105         * sunrpc/xdr_rec.c: Likewise.
35106         * sunrpc/xdr_ref.c: Likewise.
35107         * sunrpc/xdr_sizeof.c: Likewise.
35108         * sunrpc/xdr_stdio.c: Likewise.
35110 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
35112         [BZ #12650]
35113         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35114         * sysdeps/ia64/dl-tls.h: Likewise.
35115         * sysdeps/powerpc/dl-tls.h: Likewise.
35116         * sysdeps/s390/dl-tls.h: Likewise.
35117         * sysdeps/sh/dl-tls.h: Likewise.
35118         * sysdeps/sparc/dl-tls.h: Likewise.
35119         * sysdeps/x86_64/dl-tls.h: Likewise.
35120         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35122 2011-03-14  Andreas Schwab  <schwab@redhat.com>
35124         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35125         rpath element also skip the following colon.
35126         (expand_dynamic_string_token): Add is_path parameter and pass
35127         down to DL_DST_REQUIRED and _dl_dst_substitute.
35128         (decompose_rpath): Call expand_dynamic_string_token with
35129         non-zero is_path.  Ignore empty rpaths.
35130         (_dl_map_object_from_fd): Call expand_dynamic_string_token
35131         with zero is_path.
35133 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
35135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35136         Make cancelable.
35138 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
35140         [BZ #12655]
35141         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35142         Patch by Filipe David Manana <fdmanana@apache.org>.
35144 2011-04-07  Andreas Schwab  <schwab@redhat.com>
35146         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35147         Maintain aligned stack.
35148         (CHECK_RSP): Remove unused macro.
35150 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
35152         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35153         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35155 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
35157         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35159         * include/features.h: Mention __USE_XOPEN2K8 in comment.
35161 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
35163         [BZ #12518]
35164         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35165         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35166         * sysdeps/x86_64/memmove.c: New file.
35167         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35168         (memcpy): Renamed to ...
35169         (__new_memcpy): This.
35170         (memcpy): Provide GLIBC_2_14 memcpy.
35171         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35172         (memcpy): Provide GLIBC_2_2_5 memcpy.
35174 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35176         [BZ #12631]
35177         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35179 2011-03-30  Andreas Schwab  <schwab@redhat.com>
35181         * misc/syncfs.c: New file.
35182         * misc/Makefile (routines): Add syncfs.
35183         * posix/unistd.h: Declare syncfs.
35184         * sysdeps/unix/syscalls.list: Add syncfs.
35186 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35188         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35189         open_by_handle_at.
35190         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35191         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35192         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35193         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35194         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35195         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35196         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35198 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35200         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35201         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35202         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35203         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35204         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35205         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35206         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35208         * io/Makefile: Compile fallocate.c, fallocate64.c, and
35209         sync_file_range.c with -fexceptions.
35210         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35211         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35212         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35213         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35214         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35215         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35216         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35217         sync_file_range as cancellation point
35218         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
35219         now a wrapper around __call_sync_file_range with cancellation handling.
35220         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35221         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
35222         function name to __call_sync_file_range.
35223         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35224         Add call_sync_file_range.
35226 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35229         bits/timex.h.
35231 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35233         * iconv/iconv.h: Fix typo in comment.
35234         * io/fcntl.h: Likewise.
35235         * libio/stdio.h: Likewise.
35236         * posix/spawn.h: Likewise.
35237         * posix/unistd.h: Likewise.
35238         * stdlib/stdlib.h: Likewise.
35239         * time/time.h: Likewise.
35240         * wcsmbs/wchar.h: Likewise.
35242         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35243         open_by_handle): Add.
35244         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35245         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
35246         Augment a few comments.
35247         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35248         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35249         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35250         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35251         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35252         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35253         open_by_handle.
35255         * io/fcntl.h (AT_EMPTY_PATH): Define.
35257 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
35259         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35260         * sysdeps/unix/sysv/linux/bits/time.h: New file.
35261         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35262         to...
35263         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
35264         * Versions.def: Add GLIBC_2.14.
35265         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35266         Export.
35268 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
35270         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35271         round counter.
35272         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35274 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35276         [BZ #12597]
35277         * string/test-strncmp.c (do_page_test): New function.
35278         (check2): Likewise.
35279         (test_main): Call check2.
35280         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35282 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
35284         [BZ #12587]
35285         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35286         Handle cache information in CPU leaf 4.
35287         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35289 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
35291         [BZ #12583]
35292         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35293         character representation.
35294         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35296 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35298         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35299         END(__isnan) to END(__isnanf) to match function entry point/label
35300         EALIGN(__isnanf,...).
35302 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35304         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35306 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35308         [BZ #12510]
35309         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35310         copy from the symbol referenced in the relocation to initialize the
35311         used variable.
35312         Patch by Piotr Bury <pbury@goahead.com>.
35313         * elf/Makefile: Add rules to build and tst-unique3.
35314         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35315         * elf/tst-unique3.cc: New file.
35316         * elf/tst-unique3.h: New file.
35317         * elf/tst-unique3lib.cc: New file.
35318         * elf/tst-unique3lib2.cc: New file.
35320         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35322 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35324         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35325         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35326         to _start.
35328 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35330         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35331         to-be-loaded object along a path to loader is ld.so.
35333 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35334             Ulrich Drepper  <drepper@gmail.com>
35336         * sysdeps/x86_64/memset.S: After aligning destination, code
35337         branches to different locations depending on the value of
35338         misalignment, when multiarch is enabled. Fix this.
35340 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35342         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35343         Set _x86_64_preferred_memory_instruction for AMD processsors.
35344         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35345         Set bit_Prefer_SSE_for_memop for AMD processors.
35347 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35349         * libio/fmemopen.c (fmemopen): Optimize a bit.
35351 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35353         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35355 2011-03-03  Roland McGrath  <roland@redhat.com>
35357         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35359 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35361         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35362         __bzero_ultra1 instead of __memset_ultra1.
35364 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35365             Ulrich Drepper  <drepper@gmail.com>
35367         [BZ #12509]
35368         * include/link.h (struct link_map): Add l_orig_initfini.
35369         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35370         returning unsuccessfully.
35371         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35372         close of a file loaded at startup, restore the original l_initfini
35373         list.
35374         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35375         list, store the pointer.
35376         * elf/Makefile ($(objpfx)noload-mem): New rule.
35377         (noload-ENV): Define.
35378         (tests): Add $(objpfx)noload-mem.
35379         * elf/noload.c: Include <memcheck.h>.
35380         (main): Call mtrace.  Close all opened handles.
35382 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35384         [BZ #12454]
35385         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35386         dependencies are missing.
35388 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35390         Fix __if_freereq crash: Unlike the generic version which uses free,
35391         Hurd needs munmap.
35392         * sysdeps/mach/hurd/ifreq.h: New file.
35394 2011-01-27  Petr Baudis  <pasky@suse.cz>
35395             Ulrich Drepper  <drepper@gmail.com>
35397         [BZ 12445]#
35398         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35399         to extend_alloca().
35400         * stdio-common/bug23.c: New file.
35401         * stdio-common/Makefile (tests): Add bug23.
35403 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35404             Ulrich Drepper  <drepper@gmail.com>
35406         [BZ #12489]
35407         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35408         before performing relro protection.  At old place add assertion
35409         to make sure nothing changed.
35411 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35412             Glauber de Oliveira Costa  <glommer@gmail.com>
35414         * elf/elf.h: Add new ARM TLS relocs.
35416 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35419         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35420         cast from r3.
35421         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35422         'tests' variable.
35423         * sysdeps/wordsize-64/tst-writev.c: New file.
35425 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35427         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35428         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35429         insns in _dl_start to prevent a TOC reference before relocs are
35430         resolved.
35432 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35434         [BZ #12469]
35435         * Makeconfig: Remove RANLIB definition.
35436         * Makerules: Don't use RANLIB.
35437         * aclocal.m4: Remove ranlib test.
35438         * configure.in: No need to check for ranlib.
35439         * elf/rtld-Rules: Don't use RANLIB.
35441 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35443         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35444         protection macro.
35445         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35446         inclusion protection macro.
35448         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35449         SIGRTMIN and SIGRTMAX and print information in that case only when
35450         SIGRTMIN is defined.
35452 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35454         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35455         arginfo fn returning -1.
35457         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35458         and thousands string is zero terminated.
35460 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35462         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35463         sysdeps/unix/sysv/linux/bits/socket.h.
35465 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35467         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35468         (__CPU_COUNT): Remove old macros.
35469         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35470         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35471         (__CPU_ALLOC, __CPU_FREE): Add macros.
35472         (__sched_cpualloc, __sched_cpufree): Add declarations.
35474 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35476         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35477         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35478         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35479         (readdhstai): Return value of addhstaiX call.
35480         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35481         (addgrbyX): Return value returned by cache_addgr.
35482         (readdgrbyname): Return value returned by addgrbyX.
35483         (readdgrbygid): Likewise.
35484         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35485         (addpwbyX): Return value returned by cache_addpw.
35486         (readdpwbyname): Return value returned by addhstbyX.
35487         (readdpwbyuid): Likewise.
35488         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35489         (addservbyX): Return value returned by cache_addserv.
35490         (readdservbyname): Return value returned by addservbyX:
35491         (readdservbyport): Likewise.
35492         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35493         (addhstbyX): Return value returned by cache_addhst.
35494         (readdhstbyname): Return value returned by addhstbyX.
35495         (readdhstbyaddr): Likewise.
35496         (readdhstbynamev6): Likewise.
35497         (readdhstbyaddrv6): Likewise.
35498         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35499         (readdinitgroups): Return value returned by addinitgroupsX.
35500         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35501         (prune_cache): Keep track of timeout value of re-added entries.
35502         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35503         * nscd/nscd.h: Adjust prototypes of readd* functions.
35505 2011-02-04  Roland McGrath  <roland@redhat.com>
35507         * nis/nis_server.c (nis_servstate): Use the right name for 0.
35508         (nis_stats): Likewise.
35509         * nis/nis_modify.c (nis_modify): Likewise.
35510         * nis/nis_remove.c (nis_remove): Likewise.
35511         * nis/nis_add.c (nis_add): Likewise.
35513         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35515         * posix/fnmatch_loop.c: Add some consts.
35517         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35519 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
35521         [BZ #12460]
35522         * config.make.in (config-cflags-novzeroupper): Define.
35523         * configure.in: Substitute libc_cv_cc_novzeroupper.
35524         * elf/Makefile (AVX-CFLAGS): Define.
35525         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35526         (CFLAGS-tst-auditmod4a.c): Likewise.
35527         (CFLAGS-tst-auditmod4b.c): Likewise.
35528         (CFLAGS-tst-auditmod6b.c): Likewise.
35529         (CFLAGS-tst-auditmod6c.c): Likewise.
35530         (CFLAGS-tst-auditmod7b.c): Likewise.
35531         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35533 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
35535         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35536         function to the callback.
35537         Patch partly by Jiri Olsa <jolsa@redhat.com>.
35539 2011-02-02  Andreas Schwab  <schwab@redhat.com>
35541         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35542         of errno.
35544 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
35546         [BZ #11724]
35547         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35548         of constructors.
35549         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35550         of destructors.
35551         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35553         [BZ #11724]
35554         * elf/Makefile: Add rules to build and run new test.
35555         * elf/tst-initorder.c: New file.
35556         * elf/tst-initorder.exp: New file.
35557         * elf/tst-initordera1.c: New file.
35558         * elf/tst-initordera2.c: New file.
35559         * elf/tst-initordera3.c: New file.
35560         * elf/tst-initordera4.c: New file.
35561         * elf/tst-initorderb1.c: New file.
35562         * elf/tst-initorderb2.c: New file.
35563         * elf/tst-order-a1.c: New file.
35564         * elf/tst-order-a2.c: New file.
35565         * elf/tst-order-a3.c: New file.
35566         * elf/tst-order-a4.c: New file.
35567         * elf/tst-order-b1.c: New file.
35568         * elf/tst-order-b2.c: New file.
35569         * elf/tst-order-main.c: New file.
35570         New test case by George Gensure <werkt0@gmail.com>.
35572 2010-10-01  Andreas Schwab  <schwab@redhat.com>
35574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35575         decoding ACE if AI_CANONIDN.
35577 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
35579         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35581 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
35583         * version.h (RELEASE): Bump for 2.13 release.
35584         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35586         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35588         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35589         MADV_NOHUGEPAGE.
35590         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35591         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35592         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35593         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35594         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35595         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35597         * posix/getconf.c: Update copyright year.
35598         * catgets/gencat.c: Likewise.
35599         * csu/version.c: Likewise.
35600         * debug/catchsegv.sh: Likewise.
35601         * debug/xtrace.sh: Likewise.
35602         * elf/ldconfig.c: Likewise.
35603         * elf/ldd.bash.in: Likewise.
35604         * elf/sprof.c (print_version): Likewise.
35605         * iconv/iconv_prog.c: Likewise.
35606         * iconv/iconvconfig.c: Likewise.
35607         * locale/programs/locale.c: Likewise.
35608         * locale/programs/localedef.c: Likewise.
35609         * malloc/memusage.sh: Likewise.
35610         * malloc/mtrace.pl: Likewise.
35611         * nscd/nscd.c (print_version): Likewise.
35612         * nss/getent.c: Likewise.
35614         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35615         PF_CAIF, and PF_ALG.
35616         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35618 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
35620         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35621         (modules-names): Use them.
35622         (ifunc-test-modules, ifunc-pie-tests): Define.
35623         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35624         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35625         (test-extras): Likewise.
35626         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35627         $(compile-command.c).
35628         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35629         (all-built-dso): Define.
35630         (check-textrel.out, check-execstack.out): Depend on it.
35632         * configure.in: Don't override --enable-multi-arch.
35634 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
35636         [BZ #6812]
35637         * nscd/hstcache.c (tryagain): Define.
35638         (cache_addhst): Return tryagain not notfound for temporary errors.
35639         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35640         failed.
35642 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
35644         [BZ #10563]
35645         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35646         to make the syscall.
35647         * sysdeps/unix/sysv/linux/setgroups.c: New file.
35649         [BZ #12378]
35650         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35651         and fall back to matching as normal character if the string ends before
35652         the matching ']' is found.  This is what POSIX requires.
35653         * posix/testfnm.c: Adjust test result.
35654         * posix/globtest.sh: Adjust test result.  Add new test.
35655         * posix/tst-fnmatch.input: Likewise.
35656         * posix/tst-fnmatch2.c: Add new test.
35658 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
35660         * elf/Makefile (check-execstack): Revert last change.  Depend on
35661         check-execstack.h.
35662         (check-execstack.h): New target.
35663         (generated): Add check-execstack.h.
35664         * elf/check-execstack.c: Include "check-execstack.h".
35665         (main): Revert last change.
35666         (handle_file): Return zero if GNU_STACK is absent and
35667         DEFAULT_STACK_PERMS doesn't include PF_X.
35669 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
35671         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35672         in child fails because the descriptor is already closed.
35673         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35674         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35675         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35677         [BZ #12397]
35678         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35679         syscall.
35681         [BZ #10484]
35682         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35683         temporary buffer used to handle multi lookups locally.
35684         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35686 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35688         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35689         loader is ld.so.
35691 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
35693         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35694         alignment for SSE2.
35696 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35698         [BZ #12394]
35699         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35700         characters.  When rounding increased number of integer digits recompute
35701         number of groups.
35702         * stdio-common/tst-grouping.c: New file.
35703         * stdio-common/Makefile: Add rules to build and run tst-grouping.
35705 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
35707         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35708         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
35710         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35711         void.
35712         * bits/select.h: Likewise.
35714 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
35716         * po/ja.po: Update from translation team.
35718 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
35720         [BZ #11155]
35721         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35722         implementation just like for lxstat, fxstatat, et al.
35724 2010-12-27  Jim Meyering  <meyering@redhat.com>
35726         [BZ #12348]
35727         * posix/regexec.c (build_trtable): Return failure indication upon
35728         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
35730 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
35732         [BZ #12201]
35733         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35734         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35735         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35736         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35738         [BZ #12207]
35739         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35741         [BZ #12204]
35742         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35743         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35745 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
35747         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35748         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35749         script has SORT_BY_INIT_PRIORITY.
35750         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35751         NO_CTORS_DTORS_SECTIONS is defined.
35752         * elf/soinit.c: Likewise.
35753         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35754         NO_CTORS_DTORS_SECTIONS is defined.
35755         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35756         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35757         * sysdeps/sh/init-first.c: Likewise.
35758         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35760 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
35762         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35763         always use the slow path.
35765 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
35767         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35768         similar rule which adds the sysdep directories to the header search in
35769         order to pick up the correct platform stackinfo.h.
35770         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35771         perform test if it is, otherwise return successfully without testing.
35772         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35773         DEFAULT_STACK_PERMS define in stackinfo.h.
35774         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35775         defined in stackinfo.h.
35776         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35777         DEFAULT_STACK_PERMS defined in stackinfo.h.
35778         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35779         * sysdeps/ia64/stackinfo.h: Likewise.
35780         * sysdeps/s390/stackinfo.h: Likewise.
35781         * sysdeps/sh/stackinfo.h: Likewise.
35782         * sysdeps/sparc/stackinfo.h: Likewise.
35783         * sysdeps/x86_64/stackinfo.h: Likewise.
35784         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35785         PF_X for powerpc64.  Retain PF_X for powerpc32.
35787 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
35789         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35790         accurately.
35791         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35792         GETDENTS_64BIT_ALIGNED.
35794 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
35796         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35798 2010-12-10  Andreas Schwab  <schwab@redhat.com>
35800         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35801         _GNU_SOURCE.
35803         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35804         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35805         Remove __restrict.
35806         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35807         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35809 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
35811         [BZ #11655]
35812         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35813         are initialized.
35815 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
35817         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35819 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
35821         * po/it.po: Update from translation team.
35823 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
35825         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35826         unused codes.
35828 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
35830         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35832 2010-11-24  Andreas Schwab  <schwab@redhat.com>
35834         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35835         specially.
35836         (gaih_getanswer_slice): Likewise.
35838 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
35840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35842 2010-05-31  Petr Baudis  <pasky@suse.cz>
35844         [BZ #11149]
35845         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35846         silently even in the chroot mode.
35848 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
35850         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35851         last patch a bit.  Pretty printing
35853 2010-05-31  Petr Baudis <pasky@suse.cz>
35855         [BZ #10085]
35856         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35857         initialization of skip_initgroups_dyn.
35859 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
35861         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35862         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35864 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
35866         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35868 2010-11-11  Andreas Schwab  <schwab@redhat.com>
35870         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35871         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35872         (tst-fnmatch-ENV): Set MALLOC_TRACE.
35873         ($(objpfx)tst-fnmatch-mem): New rule.
35874         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35875         * posix/tst-fnmatch.c (main): Call mtrace.
35877 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
35879         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35880         Support Intel processor model 6 and model 0x2c.
35882 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
35884         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35885           signed comparison.
35887 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
35889         [BZ #12205]
35890         * string/test-strncasecmp.c (check_result): New function.
35891         (do_one_test): Use it.
35892         (check1): New function.
35893         (test_main): Use it.
35894         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35895         Support strcasecmp and strncasecmp.
35897 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
35899         [BZ #12194]
35900         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35901         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35903 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35905         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35906         IFUNC support.
35907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35908         memset-x86-64.
35909         * sysdeps/x86_64/multiarch/bzero.S: New file.
35910         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35911         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35912         * sysdeps/x86_64/multiarch/memset.S: New file.
35913         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35915         Set bit_Prefer_SSE_for_memop for Intel processors.
35916         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35917         Define.
35918         (index_Prefer_SSE_for_memop): Define.
35919         (HAS_PREFER_SSE_FOR_MEMOP): Define.
35921 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
35923         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35924         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35926 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
35928         [BZ #12191]
35929         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35930         (__x86_64_raw_data_cache_size_half): Likewise.
35931         (__x86_64_raw_shared_cache_size): Likewise.
35932         (__x86_64_raw_shared_cache_size_half): Likewise.
35934         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35935         (__x86_64_raw_data_cache_size_half): Likewise.
35936         (__x86_64_raw_shared_cache_size): Likewise.
35937         (__x86_64_raw_shared_cache_size_half): Likewise.
35938         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35939         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35940         and __x86_64_raw_shared_cache_size_half.  Round
35941         __x86_64_data_cache_size_half, __x86_64_data_cache_size
35942         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35943         to multiple of 256 bytes.
35945 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
35947         [BZ #12167]
35948         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35949         of inacessible symlinks.  Verify result of symlink before returning it.
35950         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35951         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35953 2010-10-28  Erich Ritz  <erichritz@gmail.com>
35955         * math/math.h (isinf): Fix typo in comment.
35957 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
35959         * po/da.po: Update from translation team.
35961 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
35963         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35964         is added to the list.
35966 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35967             Ulrich Drepper  <drepper@gmail.com>
35969         * elf/dl-object.c (_dl_new_object): Don't append the new object to
35970         the global list here.  Move code to...
35971         (_dl_add_to_namespace_list): ...here.  New function.
35972         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35973         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35974         * elf/dl-load.c (lose): Don't remove the element from the list.
35975         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35976         (_dl_map_object): Likewise.
35978 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
35980         [BZ #12159]
35981         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35982         into all bytes of SSE register.
35983         Patch by Richard Li <richardpku@gmail.com>.
35985 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
35987         [BZ #12140]
35988         * malloc/malloc.c (_int_free): Fill correct number of bytes when
35989         perturbing.
35991 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
35993         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35994         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35995         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35996         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35998         submachine.
35999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36001 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36003         * include/dlfcn.h (__RTLD_SECURE): Define.
36004         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36005         mode & __RTLD_SECURE instead.
36006         (open_path): Rename preloaded parameter to secure.
36007         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36008         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36009         * elf/dl-deps.c (openaux): Likewise.
36010         * elf/rtld.c (struct map_args): Remove is_preloaded.
36011         (map_doit): Don't use it.
36012         (dl_main): Likewise.
36013         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36014         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36016 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36018         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36019         (sysd-rules-targets): Remove duplicates.
36020         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36021         rtld-%.$o dependency.
36023 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36025         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36026         _dl_map_object do it.
36028 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36030         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36031         fast fma builtins, define the macros in the C99 standard.
36032         (FP_FAST_FMAF): Likewise.
36033         (FP_FAST_FMAL): Likewise.
36034         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36036         * bits/mathdef.h: Update copyright year.
36037         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36039 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36041         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36042         builtins, define the macros in the C99 standard.
36043         (FP_FAST_FMAF): Likewise.
36044         (FP_FAST_FMAL): Likewise.
36045         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36046         multiply/add.
36047         (FP_FAST_FMAF): Likewise.
36049 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36051         [BZ #3268]
36052         * math/libm-test.inc (fma_test): Some new testcases.
36053         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36054         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36055         y and infinite z.  Do multiplication by C already in long double.
36056         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36058         y and infinite z.  Do bitwise or of inexact bit into u.d.
36059         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36060         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36061         * sysdeps/i386/fpu/s_fma.S: Removed.
36062         * sysdeps/i386/fpu/s_fmal.S: Removed.
36064 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36066         [BZ #3268]
36067         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36068         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36069         computation is not scheduled after fetestexcept.  Fix value
36070         of minimum denormal long double.
36072 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36074         [BZ #3268]
36075         * math/libm-test.inc (fma_test): Add some more tests.
36076         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36077         correctly.
36079 2010-10-15  Andreas Schwab  <schwab@redhat.com>
36081         * scripts/data/localplt-s390-linux-gnu.data: New file.
36082         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36084 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
36086         [BZ #3268]
36087         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36088         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36089         instead of dbl-64.
36090         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36091         inlines.
36092         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36094         if one of x and y is very large and the other is subnormal.
36095         * sysdeps/s390/fpu/s_fmaf.c: New file.
36096         * sysdeps/s390/fpu/s_fma.c: New file.
36097         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36098         * sysdeps/powerpc/fpu/s_fma.S: New file.
36099         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36100         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36101         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36103 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
36105         [BZ #3268]
36106         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36107         fma tests.
36108         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36109         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36110         * sysdeps/i386/i686/multiarch/s_fma.c: Include
36111         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36112         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36113         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36114         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36116 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
36118         [BZ #12078]
36119         * posix/regcomp.c (parse_branch): One more memory leak plugged.
36120         * posix/bug-regex31.input: Add test case.
36122 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36124         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36125         * posix/bug-regex31.input: New file.
36127         [BZ #12078]
36128         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36129         (parse_sub_exp): Fix last change, use postorder.
36131         * posix/bug-regex31.c: New file.
36132         * posix/Makefile: Add rules to build and run bug-regex31.
36134         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36136         [BZ #12078]
36137         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36139         [BZ #12108]
36140         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36141         to have entries in sys_siglist.
36143         [BZ #12093]
36144         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36145         be NULL.
36147 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
36149         [BZ #3268]
36150         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36151         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36152         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36153         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36154         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36155         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36156         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36157         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36158         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36159         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36160         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36161         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36162         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36163         * math/ftestexcept.c (fetestexcept): Likewise.
36164         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36165         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36166         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36167         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36168         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36169         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36170         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36172 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36174         [BZ #12107]
36175         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36176         newline.
36178 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
36180         * string/bug-strstr1.c: New file.
36181         * string/Makefile: Add rules to build and run bug-strstr1.
36183 2010-10-05  Eric Blake  <eblake@redhat.com>
36185         [BZ #12092]
36186         * string/str-two-way.h (two_way_long_needle): Always clear memory
36187         when skipping input due to the shift table.
36189 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
36191         [BZ #12005]
36192         * malloc/mcheck.c: Handle large requests.
36194         [BZ #12077]
36195         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36196         for strncmp and strncasecmp.
36197         * string/stratcliff.c: Add tests for strcmp and strncmp.
36198         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36200 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36202         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36203         __set_fpscr.
36205 2010-09-30  Andreas Jaeger  <aj@suse.de>
36207         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36208         (CGROUP_SUPER_MAGIC): Define.
36209         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36210         Handle btrfs and cgroup file systems.
36211         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36212         Likewise.
36214 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
36216         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36217         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36219 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36221         [BZ #12067]
36222         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36223         trying to locate the ELF header.
36225 2010-09-27  Andreas Schwab  <schwab@redhat.com>
36227         [BZ #11611]
36228         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36229         Mask out sign-bit copies when constructing f_fsid.
36231 2010-09-24  Petr Baudis <pasky@suse.cz>
36233         * debug/stack_chk_fail_local.c: Add missing licence exception.
36234         * debug/warning-nop.c: Likewise.
36236 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
36238         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36239         implementing getdents64 using getdents syscall, set d_type if
36240         __ASSUME_GETDENTS32_D_TYPE.
36242 2010-09-16  Andreas Schwab  <schwab@redhat.com>
36244         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36245         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36247 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
36249         [BZ #12037]
36250         * posix/unistd.h: Undo change of feature selection for ftruncate from
36251         2010-01-11.
36253 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
36255         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36256         detection.
36258 2010-09-20  Andreas Schwab  <schwab@redhat.com>
36260         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36261         fanotify_mark.
36262         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36264 2010-09-14  Andreas Schwab  <schwab@redhat.com>
36266         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36267         variables after CHECK_SP call.
36268         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36270 2010-09-13  Andreas Schwab  <schwab@redhat.com>
36271             Ulrich Drepper  <drepper@redhat.com>
36273         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36274         re-relocationg ld.so.
36275         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36276         _dl_init_paths call.
36277         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
36278         here anymore.
36280 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
36282         * resolv/res_init.c (__res_vinit): Count the default server we added.
36284 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
36285             Ulrich Drepper  <drepper@redhat.com>
36287         [BZ #11968]
36288         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36289         (____longjmp_chk): Use %ebx for saving value across system call.
36290         Add unwind info.
36292 2010-09-06  Andreas Schwab  <schwab@redhat.com>
36294         * manual/Makefile: Don't mix pattern rules with normal rules.
36296 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36298         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36299         operation.
36300         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36301         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36302         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36303         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36304         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36305         Likewise.
36307 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36309         [BZ #11979]
36310         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36311         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36313 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36315         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36316         * sysdeps/x86_64/addmul_1.S: Likewise.
36317         * sysdeps/x86_64/lshift.S: Likewise.
36318         * sysdeps/x86_64/mul_1.S: Likewise.
36319         * sysdeps/x86_64/rshift.S: Likewise.
36320         * sysdeps/x86_64/sub_n.S: Likewise.
36321         * sysdeps/x86_64/submul_1.S: Likewise.
36323 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36325         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36326         Define __sched_param instead of SCHED_* and sched_param when
36327         <bits/sched.h> is included with __need_schedparam defined.
36328         * bits/sched.h [__need_schedparam]
36329         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36330         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36331         (__defined_schedparam): Define to 1.
36332         (__sched_param): New structure, identical to sched_param.
36333         (__need_schedparam): Undefine.
36335 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36337         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36338         (epoll_create1): Declare.
36340         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36342 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36344         [BZ #7066]
36345         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36346         shifting retval into place.
36348 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36350         * nis/rpcsvc/nis.h: Update copyright notice.
36351         * nis/rpcsvc/nis.x: Likewise.
36352         * nis/rpcsvc/nis_callback.h: Likewise.
36353         * nis/rpcsvc/nis_callback.x: Likewise.
36354         * nis/rpcsvc/nis_object.x: Likewise.
36355         * nis/rpcsvc/nis_tags.h: Likewise.
36356         * nis/rpcsvc/yp.h: Likewise.
36357         * nis/rpcsvc/yp.x: Likewise.
36358         * nis/rpcsvc/ypupd.h: Likewise.
36359         * nis/yp_xdr.c: Likewise.
36360         * nis/ypupdate_xdr.c: Likewise.
36362         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36363         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36364         (pmap_getport): Use __libc_rpc_getport.
36365         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36366         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36367         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36369 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36372         fanotify_mark.
36374 2010-08-27  Roland McGrath  <roland@redhat.com>
36376         * sysdeps/i386/i686/multiarch/Makefile
36377         (CFLAGS-varshift.c): New variable.
36379 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36381         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36382         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36384         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36386         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36388 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36390         * sysdeps/x86_64/strlen.S: Unroll the loop.
36391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36392         strlen-sse2 strlen-sse2-bsf.
36393         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36394         __strlen_no_bsf if bit_Slow_BSF is set.
36395         (__strlen_sse42): Removed.
36396         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36397         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36399 2010-08-25  Roland McGrath  <roland@redhat.com>
36401         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36402         * sysdeps/x86_64/multiarch/varshift.c: New file.
36403         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36404         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36405         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36406         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36408 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36410         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36411         strlen-sse2 strlen-sse2-bsf.
36412         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36413         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36414         (__strlen_sse2): Removed.
36415         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36416         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36418         bit_Slow_BSF for Atom.
36419         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36420         (index_Slow_BSF): Define.
36421         (HAS_SLOW_BSF): Define.
36423 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36425         [BZ #10851]
36426         * resolv/res_init.c (__res_vinit): When no server address at all
36427         is given default to loopback.
36429 2010-08-24  Roland McGrath  <roland@redhat.com>
36431         * configure.in: Remove config-name.h generation.
36432         * configure: Regenerated.
36433         * config-name.in: File removed.
36434         * scripts/config-uname.sh: New file.
36435         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36436         ($(objdir)config-name.h): New target.
36438         * sunrpc/rpc_parse.h: Avoid nested comment.
36440 2010-08-24  Richard Henderson  <rth@redhat.com>
36441             Ulrich Drepper  <drepper@redhat.com>
36442             H.J. Lu  <hongjiu.lu@intel.com>
36444         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36446         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36447         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36448         _mm_alignr_epi8 with _mm_loadu_si128.
36449         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36450         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36451         (__m128i_shift_right): Removed.
36452         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36453         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36454         * sysdeps/x86_64/multiarch/varshift.h: New file.
36455         * sysdeps/x86_64/multiarch/varshift.S: New file.
36457 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36459         * configure.in: Move assembler checks to before sysdep dir checking.
36461 2010-08-20  Petr Baudis  <pasky@suse.cz>
36463         * LICENSES: Sync the sunrpc license.
36465 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36467         * sunrpc/auth_des.c: Update copyright notice once again.
36468         * sunrpc/auth_none.c: Likewise.
36469         * sunrpc/auth_unix.c: Likewise.
36470         * sunrpc/authdes_prot.c: Likewise.
36471         * sunrpc/authuxprot.c: Likewise.
36472         * sunrpc/bindrsvprt.c: Likewise.
36473         * sunrpc/clnt_gen.c: Likewise.
36474         * sunrpc/clnt_perr.c: Likewise.
36475         * sunrpc/clnt_raw.c: Likewise.
36476         * sunrpc/clnt_simp.c: Likewise.
36477         * sunrpc/clnt_tcp.c: Likewise.
36478         * sunrpc/clnt_udp.c: Likewise.
36479         * sunrpc/clnt_unix.c: Likewise.
36480         * sunrpc/des_crypt.c: Likewise.
36481         * sunrpc/des_soft.c: Likewise.
36482         * sunrpc/get_myaddr.c: Likewise.
36483         * sunrpc/getrpcport.c: Likewise.
36484         * sunrpc/key_call.c: Likewise.
36485         * sunrpc/key_prot.c: Likewise.
36486         * sunrpc/openchild.c: Likewise.
36487         * sunrpc/pm_getmaps.c: Likewise.
36488         * sunrpc/pm_getport.c: Likewise.
36489         * sunrpc/pmap_clnt.c: Likewise.
36490         * sunrpc/pmap_prot.c: Likewise.
36491         * sunrpc/pmap_prot2.c: Likewise.
36492         * sunrpc/pmap_rmt.c: Likewise.
36493         * sunrpc/rpc/auth.h: Likewise.
36494         * sunrpc/rpc/auth_unix.h: Likewise.
36495         * sunrpc/rpc/clnt.h: Likewise.
36496         * sunrpc/rpc/des_crypt.h: Likewise.
36497         * sunrpc/rpc/key_prot.h: Likewise.
36498         * sunrpc/rpc/netdb.h: Likewise.
36499         * sunrpc/rpc/pmap_clnt.h: Likewise.
36500         * sunrpc/rpc/pmap_prot.h: Likewise.
36501         * sunrpc/rpc/pmap_rmt.h: Likewise.
36502         * sunrpc/rpc/rpc.h: Likewise.
36503         * sunrpc/rpc/rpc_des.h: Likewise.
36504         * sunrpc/rpc/rpc_msg.h: Likewise.
36505         * sunrpc/rpc/svc.h: Likewise.
36506         * sunrpc/rpc/svc_auth.h: Likewise.
36507         * sunrpc/rpc/types.h: Likewise.
36508         * sunrpc/rpc/xdr.h: Likewise.
36509         * sunrpc/rpc_clntout.c: Likewise.
36510         * sunrpc/rpc_cmsg.c: Likewise.
36511         * sunrpc/rpc_common.c: Likewise.
36512         * sunrpc/rpc_cout.c: Likewise.
36513         * sunrpc/rpc_dtable.c: Likewise.
36514         * sunrpc/rpc_hout.c: Likewise.
36515         * sunrpc/rpc_main.c: Likewise.
36516         * sunrpc/rpc_parse.c: Likewise.
36517         * sunrpc/rpc_parse.h: Likewise.
36518         * sunrpc/rpc_prot.c: Likewise.
36519         * sunrpc/rpc_sample.c: Likewise.
36520         * sunrpc/rpc_scan.c: Likewise.
36521         * sunrpc/rpc_scan.h: Likewise.
36522         * sunrpc/rpc_svcout.c: Likewise.
36523         * sunrpc/rpc_tblout.c: Likewise.
36524         * sunrpc/rpc_util.c: Likewise.
36525         * sunrpc/rpc_util.h: Likewise.
36526         * sunrpc/rpcinfo.c: Likewise.
36527         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36528         * sunrpc/rpcsvc/key_prot.x: Likewise.
36529         * sunrpc/rpcsvc/klm_prot.x: Likewise.
36530         * sunrpc/rpcsvc/mount.x: Likewise.
36531         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36532         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36533         * sunrpc/rpcsvc/rex.x: Likewise.
36534         * sunrpc/rpcsvc/rstat.x: Likewise.
36535         * sunrpc/rpcsvc/rusers.x: Likewise.
36536         * sunrpc/rpcsvc/sm_inter.x: Likewise.
36537         * sunrpc/rpcsvc/spray.x: Likewise.
36538         * sunrpc/rpcsvc/yppasswd.x: Likewise.
36539         * sunrpc/rtime.c: Likewise.
36540         * sunrpc/svc.c: Likewise.
36541         * sunrpc/svc_auth.c: Likewise.
36542         * sunrpc/svc_authux.c: Likewise.
36543         * sunrpc/svc_raw.c: Likewise.
36544         * sunrpc/svc_run.c: Likewise.
36545         * sunrpc/svc_simple.c: Likewise.
36546         * sunrpc/svc_tcp.c: Likewise.
36547         * sunrpc/svc_udp.c: Likewise.
36548         * sunrpc/svc_unix.c: Likewise.
36549         * sunrpc/svcauth_des.c: Likewise.
36550         * sunrpc/xcrypt.c: Likewise.
36551         * sunrpc/xdr.c: Likewise.
36552         * sunrpc/xdr_array.c: Likewise.
36553         * sunrpc/xdr_float.c: Likewise.
36554         * sunrpc/xdr_mem.c: Likewise.
36555         * sunrpc/xdr_rec.c: Likewise.
36556         * sunrpc/xdr_ref.c: Likewise.
36557         * sunrpc/xdr_sizeof.c: Likewise.
36558         * sunrpc/xdr_stdio.c: Likewise.
36560         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36561         handling.
36563 2010-08-19  Andreas Schwab  <schwab@redhat.com>
36565         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36567 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
36569         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36570         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36571         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36572         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36573         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36574         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36575         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36576         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36577         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36578         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36579         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36580         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36581         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36582         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36584 2010-07-26  Anton Blanchard  <anton@samba.org>
36586         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36587         * malloc/arena.c (heap_trim): Likewise.
36589 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
36591         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36592         here.  Not...
36593         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36594         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36596 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36598         * sysdeps/i386/elf/Makefile: New file.
36600 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36602         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36603         from fanotify_init.
36604         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36605         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36607 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
36609         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36610         of strncasecmp_l.
36611         * sysdeps/multiarch/strcmp.S: Likewise.
36613 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
36615         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36616         strncase_l-nonascii.
36617         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36618         Add strncase_l-ssse3.
36619         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36620         * sysdeps/x86_64/strcmp.S: Likewise.
36621         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36622         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36623         * sysdeps/x86_64/strncase.S: New file.
36624         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36625         * sysdeps/x86_64/strncase_l.S: New file.
36626         * string/Makefile (strop-tests): Add strncasecmp.
36627         * string/test-strncasecmp.c: New file.
36629         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36630         warning.
36632         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36633         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36635 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36637         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36639 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
36641         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36642         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36643         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36645 2010-05-01  Alan Modra  <amodra@gmail.com>
36647         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36648         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36649         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36650         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36651         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36652         tidying.  Don't tail-call __sigjmp_save for static lib.
36653         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36654         save location.
36655         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36656         (CALL_MCOUNT): Add eh info, and nop after bl.
36657         (TAIL_CALL_SYSCALL_ERROR): New macro.
36658         (PSEUDO_RET): Use it.
36659         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36660         Correct save location of integer regs and cr.
36661         (_dl_profile_resolve): Correct cr save location.  Delete nops
36662         after bl when SHARED.  Reduce cfi size a little by better
36663         placement of cfi directives.
36664         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36665         make a stack frame.  Instead use parm save area as a temp.
36666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36667         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
36668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36669         Don't make a stack frame for parent, use parm save area.
36670         Increase child stack frame to 112 bytes.  Don't save unused reg,
36671         and adjust reg usage.  Set up cfi on error recovery and
36672         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36674         (__makecontext): Add dummy nop after jump to exit.
36675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36676         Use correct parm save area and cr save, reduce stack frame.
36677         Correct cfi for possible PSEUDO_RET frame setup.
36678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36679         Branch to local label emitted by PSEUDO_RET rather than
36680         __syscall_error.
36682 2010-08-12  Andreas Schwab  <schwab@redhat.com>
36684         [BZ #11904]
36685         * locale/programs/locale.c (print_assignment): New function.
36686         (show_locale_vars): Use it.
36688 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
36690         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36691         field.
36692         (struct statfs64): Likewise.
36693         (_STATFS_F_FLAGS): Define.
36694         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36695         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36696         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36697         (ST_VALID): Define locally.
36698         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36699         __statvfs_getflags, use the provided value.
36700         * sysdeps/unix/sysv/linux/kernel-features.h: Define
36701         __ASSUME_STATFS_F_FLAGS.
36703         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36705         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36706         Add sys/fanotify.h.
36707         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36708         fanotify_mask for GLIBC_2.13.
36709         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36710         fanotify_init and fanotify_mark.
36711         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36712         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36714         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36715         Add prlimit.
36716         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36717         prlimit64 for GLIBC_2.13.
36718         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36719         prlimit64.
36720         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36721         syscall.
36722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36723         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36724         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36725         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36726         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
36727         add prlimit alias.
36728         * sysdeps/unix/sysv/linux/prlimit.c: New file.
36730         [BZ #11903]
36731         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36732         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36734         * nss/Makefile: Add rules to build and run tst-nss-test1.
36735         * shlib-versions: Add entry for libnss_test1.
36736         * nss/nss_test1.c: New file.
36737         * nss/tst-nss-test1.c: New file.
36739         * nss/nsswitch.c (__nss_database_custom): Define new variable.
36740         (__nss_configure_lookup): Set appropriate entry in
36741         __nss_configure_lookup to true.
36742         * nss/nsswitch.h: Define enum with indeces of databases in
36743         databases and __nss_database_custom arrays.  Declare
36744         __nss_database_custom.
36745         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36746         to avoid using nscd when custom rules are installed.
36747         * nss/getXXbyYY_r.c: Likewise.
36748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36750         * nss/nss_files/files-parse.c: Whitespace fixes.
36752 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
36754         [BZ #11883]
36755         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36756         * posix/fnmatch_loop.c: Likewise.
36758 2010-07-17  Andi Kleen  <ak@linux.intel.com>
36760         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36761         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36762         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36763         * Versions.def [GLIBC_2.13]: Add.
36765 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
36767         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36768         Also fail if tpwd after pwuid call is NULL.
36770 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36772         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36773         when converting to ms.
36775 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36777         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36778         EOPNOTSUPP errors with ENOTTY.
36779         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36780         EOPNOTSUPP errors with ENOTTY.
36782 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
36784         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36785         Add strcasecmp_l-ssse3.
36786         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36787         strcasecmp.
36788         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36789         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36790         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36792 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
36794         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36796         * string/Makefile (strop-tests): Add strcasecmp.
36797         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36798         strcasecmp_l-nonascii.
36799         (gen-as-const-headers): Add locale-defines.sym.
36800         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36801         * sysdeps/x86_64/strcasecmp.S: New file.
36802         * sysdeps/x86_64/strcasecmp_l.S: New file.
36803         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36804         * sysdeps/x86_64/locale-defines.sym: New file.
36805         * string/test-strcasecmp.c: New file.
36807         * string/test-strcasestr.c: Test both ends of the range of characters.
36808         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36810 2010-07-29  Roland McGrath  <roland@redhat.com>
36812         [BZ #11856]
36813         * manual/locale.texi (Yes-or-No Questions): Fix example code.
36815 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
36817         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36818         for ld.so.
36820 2010-07-27  Andreas Schwab  <schwab@redhat.com>
36822         * manual/memory.texi (Malloc Tunable Parameters): Document
36823         M_PERTURB.
36825 2010-07-26  Roland McGrath  <roland@redhat.com>
36827         [BZ #11840]
36828         * configure.in (-fgnu89-inline check): Set and substitute
36829         gnu89_inline, not libc_cv_gnu89_inline.
36830         * configure: Regenerated.
36831         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36833 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
36835         * string/test-strnlen.c: New file.
36836         * string/Makefile (strop-tests): Add strnlen.
36837         * string/tester.c (test_strnlen): Add a few more test cases.
36838         * string/tst-strlen.c: Better error reporting.
36840         * sysdeps/x86_64/strnlen.S: New file.
36842 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
36844         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36845         lower-latency instructions.
36847 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
36849         * string/test-strcasestr.c: New file.
36850         * string/test-strstr.c: New file.
36851         * string/Makefile (strop-tests): Add strstr and strcasestr.
36852         * string/str-two-way.h: Don't undefine MAX.
36853         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36855 2010-07-21  Andreas Schwab  <schwab@redhat.com>
36857         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36858         strcasestr-nonascii.
36859         (CFLAGS-strcasestr-nonascii.c): Define.
36860         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36861         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36862         Remove unused attribute.
36864 2010-07-20  Roland McGrath  <roland@redhat.com>
36866         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36867         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
36868         ld.so.cache was broken.  With it, there is no way to disable dsocaps
36869         like LD_HWCAP_MASK can disable hwcaps.
36871 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36873         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36875 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
36877         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36878         call in strcasestr.
36879         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36880         __strcasestr_sse42_nonascii.
36881         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36882         strcasestr-nonascii.c.
36883         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36885 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
36887         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36888         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36889         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36890         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36892 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
36894         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36895         fcntl.
36897 2010-07-06  Andreas Schwab  <schwab@redhat.com>
36899         [BZ #11577]
36900         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36901         dl_signal_cerror.
36903 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
36905         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36906         _PC_PIPE_BUF using F_GETPIPE_SZ.
36908 2010-07-05  Roland McGrath  <roland@redhat.com>
36910         * manual/arith.texi (Rounding Functions): Fix rint description
36911         implicit in round description.
36913 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
36915         * elf/Makefile: Fix linking for a few tests to make recent linker
36916         happy.
36918 2010-06-30  Andreas Schwab  <schwab@redhat.com>
36920         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36921         $(common-objpfx)libc_nonshared.a.
36923 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
36925         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36926         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36927         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36928         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36929         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36930         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36931         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36932         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36947         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36948         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36949         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36950         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36951         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36952         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36953         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36954         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36955         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36956         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36957         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36958         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36974 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
36976         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36977         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
36978         * string/memmove.c (memmove): Renamed to ...
36979         (MEMMOVE): ...this.  Default to memmove.
36980         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36981         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36982         (END_CHK): Define.
36983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36984         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36985         mempcpy-ssse3-back memmove-ssse3-back.
36986         * sysdeps/x86_64/multiarch/bcopy.S: New file .
36987         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36988         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36989         * sysdeps/x86_64/multiarch/memcpy.S: New file.
36990         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36991         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36992         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36993         * sysdeps/x86_64/multiarch/memmove.c: New file.
36994         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36995         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36996         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36997         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36998         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36999         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37000         Define.
37001         (index_Fast_Copy_Backward): Define.
37002         (HAS_ARCH_FEATURE): Define.
37003         (HAS_FAST_REP_STRING): Define.
37004         (HAS_FAST_COPY_BACKWARD): Define.
37006 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37008         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37009         Restore proper fallback handling.
37011 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37013         [BZ #11701]
37014         * posix/group_member.c (__group_member): Correct checking loop.
37016         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37017         OOM in getpwuid_r correctly.  Return error number when the caller
37018         should return, otherwise -1.
37019         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37020         call returning > 0 value.
37021         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37023 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37025         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37026         libc_nonshared.a from targets in modules-names.
37028 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37030         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37031         requires it.
37033 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37035         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37036         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37037         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37038         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37040 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37042         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37044 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37046         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37047         and F_GETPIPE_SZ.
37048         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37049         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37050         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37051         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37052         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37053         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37055 2010-06-14  Roland McGrath  <roland@redhat.com>
37057         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37059 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37061         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37062         __REDIRECT followed by __THROW.
37063         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37064         * posix/getopt.h (getopt): Likewise.
37066 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37068         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37069         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37070         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37071         in AT_FLAGS.
37072         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37073         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37075 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37077         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37079 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
37081         [BZ #11640]
37082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37083         Properly check family and model.
37085 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
37087         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37089 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
37091         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37093 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
37095         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37096         symbol reference.
37098 2010-05-19  Andreas Schwab  <schwab@redhat.com>
37100         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37101         symbol reference.
37103 2010-05-21  Andreas Schwab  <schwab@redhat.com>
37105         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37106         and internal_recvmmsg.
37107         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37108         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37109         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37110         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37112         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37113         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37114         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37116 2010-05-20  Andreas Schwab  <schwab@redhat.com>
37118         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37120 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
37122         POWER7 optimizations.
37123         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37124         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37126 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
37128         * version.h: Update for 2.13 development version.
37130 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
37132         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37133         exceptions.  Return 0.
37135 2010-05-07  Roland McGrath  <roland@redhat.com>
37137         * elf/ldconfig.c (main): Add a const.
37139 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
37141         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37142         (args_options): Add no-idn option.
37143         (ahosts_keys_int): Add idn_flags to ai_flags.
37144         (parse_option): Handle 'i' option to clear idn_flags.
37146         * malloc/malloc.c (_int_free): Possible race in the most recently
37147         added check.  Only act on the data if no current modification
37148         happened.
37150 See ChangeLog.17 for earlier changes.