Move tests of atan2, hypot and pow from libm-test.inc to auto-libm-test-in.
[glibc.git] / ChangeLog
bloba19631db422e998343bfc696f2ae8d117534882f
1 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
3         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4         * math/auto-libm-test-out: Regenerated.
5         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6         (hypot_test_data): Likewise.
7         (pow_test_data): Likewise.
8         (pow_tonearest_test_data): Likewise.
9         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10         mpfr_ff_f.
11         (func_calc_desc): Add mpfr_ff_f union field.
12         (FUNC_mpfr_ff_f): New macro.
13         (test_functions): Add atan2, hypot and pow.
14         (special_fill_min): New function.
15         (special_fill_minus_min): Likewise.
16         (special_fill_min_subnorm): Likewise.
17         (special_fill_minus_min_subnorm): Likewise.
18         (special_real_inputs): Add min, -min, min_subnorm and
19         -min_subnorm.
20         (calc_generic_results): Handle mpfr_ff_f.
21         * sysdeps/i386/fpu/libm-test-ulps: Update.
22         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24 2013-12-16  Will Newton  <will.newton@linaro.org>
26         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27         (Aligned Memory Blocks): Add documentation for aligned_alloc
28         and suggest it as an alternative to posix_memalign.
29         (Hooks for Malloc): Document __memalign_hook is also called
30         for aligned_alloc.  (Summary of Malloc): Add summary for
31         aligned alloc.  Document __memalign_hook is also called
32         for aligned_alloc.
34 2013-12-16  Will Newton  <will.newton@linaro.org>
36         * manual/memory.texi (Malloc Examples): Clarify default
37         alignment documentation.  Suggest posix_memalign rather
38         than memalign or valloc.
39         (Aligned Memory Blocks): Remove suggestion to use memalign
40         or valloc.  Remove obsolete comment about BSD.
41         Document memalign errno values and mark the function obsolete.
42         Document posix_memalign returned error codes.  Mark valloc
43         as obsolete.  (Hooks for Malloc): __memalign_hook is also
44         called for posix_memalign and valloc.
45         (Summary of Malloc): Add posix_memalign to function summary.
46         __memalign_hook is also called for posix_memalign and valloc.
48 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51         TAYLOR_SIN.
52         (__sin): Adjust.
53         (__cos): Likewise.
54         (sloww): Use mynumber union.  Expand ternary operator into
55         if-else statements.
56         (cslow): use mynumber union.
58 2013-12-16  Allan McRae  <allan@archlinux.org>
60         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
61         * configure: Regenerated.
63         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
65         [BZ #14120]
66         * configure.ac: Added --enable-maintainer-mode. Check for
67         autoconf when enabled.
68         * configure: Regenerated.
70         * nscd/nscd.service: New file.
71         * nscd/nscd.tmpfiles: New file.
73 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
75         [BZ #12100]
76         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
77         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
78         * sysdeps/x86_64/multiarch/strstr.c: ... here.
79         (strstr): Add __strstr_sse2_unaligned ifunc.
80         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
81         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
82         (strcasestr): Remove __strcasestr_sse42 ifunc.
83         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
84         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
85         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
87 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
89         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
90         * sysdeps/sh/bits/fenv.h: ... here.
91         * sysdeps/sh/sh4/fpu/bits: Remove directory.
93 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
95         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
97 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
99         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
100         hypotf multiarch implementations.
101         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
102         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
103         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
104         multiarch hypot for PPC64.
105         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
106         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
107         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
108         multiarch hypotf for PPC64.
110 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
113         modff multiarch implementations.
114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
117         multiarch modf for PPC64.
118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
121         multiarch modff for PPC64.
123 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
125         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
126         and logl multiarch implementations.
127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
130         multiarch logb for PPC64.
131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
134         multiarch logb for PPC64.
135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
138         multiarch logb for PPC64.
140 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
142         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
143         isinff multiarch implementation.
144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
145         file.
146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
148         multiarch isinf for PPC64.
149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
150         file.
151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
152         multiarch isinff for PPC64.
154 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
156         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
157         finitef multiarch implementation.
158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
159         file.
160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
162         multiarch finite for PPC64.
163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
164         file.
165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
166         multiarch finitef for PPC64.
168 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
170         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
171         lrint multiarch implementation.
172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
173         file.
174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
176         multiarch llrint for PPC64.
177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
178         multiarch lrint for PPC64.
180 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
183         copysignf multiarch implementation.
184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
185         file.
186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
187         file.
188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
189         multiarch copysign for PPC64.
190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
191         multiarch copysignf for PPC64.
193 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
195         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
196         multiarch implementation.
197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
198         file.
199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
200         file.
201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
202         file.
203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
204         file.
205         multiarch llround for PPC64.
206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
207         multiarch trunc for PPC64.
208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
209         multiarch truncf for PPC64.
211 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
214         multiarch implementation.
215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
216         file.
217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
218         file.
219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
220         file.
221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
222         file.
223         multiarch llround for PPC64.
224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
225         multiarch round for PPC64.
226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
227         multiarch roundf for PPC64.
229 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
232         multiarch implementation.
233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
234         file.
235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
236         file.
237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
238         file.
239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
240         file.
241         multiarch llround for PPC64.
242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
243         multiarch floor for PPC64.
244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
245         multiarch floorf for PPC64.
247 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
249         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
250         multiarch implementation.
251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
252         file.
253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
254         file.
255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
256         file.
257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
258         file.
259         multiarch llround for PPC64.
260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
261         multiarch ceil for PPC64.
262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
263         multiarch ceilf for PPC64.
265 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
267         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
268         multiarch implementation.
269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
270         file.
271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
272         file.
273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
274         file.
275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
276         multiarch llround for PPC64.
277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
278         multiarch lround for PPC64.
280 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
283         multiarch implementation.
284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
287         file.
288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
291         multiarch isnan for PPC64.
292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
293         multiarch isnanf for PPC64.
295 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
297         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
298         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
299         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
300         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
301         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
304 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
306         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
307         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
308         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
309         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
311 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
314         multiarch implementations.
315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
316         (__libc_ifunc_impl_list): Likewise.
317         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
318         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
319         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
320         multiarch stpcpy for PPC64.
322 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
325         multiarch implementations.
326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
327         (__libc_ifunc_impl_list): Likewise.
328         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
329         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
330         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
331         multiarch strcpy for PPC64.
333 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
335         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
336         redefine function name.
337         (_wordcopy_fwd_dest_aligned): Likewise.
338         (_wordcopy_bwd_aligned): Likewise.
339         (_wordcopy_bwd_dest_aligned): Likewise.
340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
341         multiarch implementations.
342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
343         (__libc_ifunc_impl_list): Likewise.
344         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
345         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
347         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
348         multiarch wcscpy for PPC64.
350 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
353         multiarch implementations.
354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
355         (__libc_ifunc_impl_list): Likewise.
356         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
357         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
358         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
359         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
360         multiarch wcscpy for PPC64.
362 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
365         multiarch implementations.
366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
367         (__libc_ifunc_impl_list): Likewise.
368         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
369         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
370         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
371         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
372         multiarch wcsrchr for PPC64.
374 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
377         multiarch implementations.
378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
379         (__libc_ifunc_impl_list): Likewise.
380         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
381         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
382         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
383         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
384         multiarch wcschr for PPC64.
386 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
389         multiarch implementations.
390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
391         (__libc_ifunc_impl_list): Likewise.
392         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
393         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
394         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
395         multiarch strchrnul for PPC64.
397 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
400         implementations.
401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
402         (__libc_ifunc_impl_list): Likewise.
403         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
404         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
405         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
406         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
407         strchr for PPC64.
409 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
412         implementations.
413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
414         (__libc_ifunc_impl_list): Likewise.
415         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
416         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
417         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
418         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
419         strncmp for PPC64.
421 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
424         multiarch implementations.
425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
426         (__libc_ifunc_impl_list): Likewise.
427         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
428         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
429         strncasecmp for PPC64.
430         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
431         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
432         multiarch strncasecmp_l for PPC64.
434 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
437         multiarch implementations.
438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
439         (__libc_ifunc_impl_list): Likewise.
440         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
441         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
442         multiarch strcasecmp for PPC64.
443         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
444         file.
445         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
446         multiarch strcasecmp_l for PPC64.
448 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
451         implementations.
452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
453         (__libc_ifunc_impl_list): Likewise.
454         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
455         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
456         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
457         strnlen for PPC64.
459 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
462         implementations.
463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
464         (__libc_ifunc_impl_list): Likewise.
465         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
466         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
467         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
468         strlen for PPC64.
470 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
473         implementations.
474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
475         (__libc_ifunc_impl_list): Likewise.
476         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
477         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
478         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
479         rawmemrchr for PPC64.
481 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
484         implementation.
485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
486         (__libc_ifunc_impl_list): Likewise.
487         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
488         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
489         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
490         memrchr for PPC64.
492 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
495         implementation.
496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
497         (__libc_ifunc_impl_list): Likewise.
498         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
499         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
500         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
501         memchr for PPC64.
503 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
506         implementation.
507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
508         (__libc_ifunc_impl_list): Likewise.
509         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
510         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
511         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
512         mempcpy for PPC64.
514 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
516         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
517         avoid cretion of __bzero symbol.
518         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
519         Likewise.
520         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
521         Likewise.
522         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
523         Likewise.
524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
525         multiarch implementations.
526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
527         (__libc_ifunc_impl_list): Likewise.
528         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
529         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
530         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
531         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
532         bzero for PPC32.
533         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
534         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
535         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
536         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
537         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
538         memset for PPC64.
539         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
541 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
543         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
545         implementations.
546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
547         (__libc_ifunc_impl_list): Likewise.
548         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
549         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
550         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
551         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
552         memcmp for PPC64.
554 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
557         multiarch for POWER/PPC64.
558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
559         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
560         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
561         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
562         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
563         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
564         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
565         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
566         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
567         memcpy for PPC64.
569 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
571         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
572         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
573         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
574         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
575         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
576         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
577         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
578         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
579         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
580         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
581         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
582         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
583         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
584         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
585         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
594 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
596         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
598 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
600         * benchtests/Makefile (bench): Add exp2 and log2.
601         (LDLIBS-bench-exp2): Add -lm.
602         (LDLIBS-bench-log2): Likewise.
603         * benchtests/exp2-inputs: New inputs file.
604         * benchtests/log2-inputs: New inputs file.
605         * benchtests/log-inputs: Add new inputs.
606         * benchtests/tan-inputs: Likewise.
608 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
610         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
611         definition...
612         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
613         csloww1, csloww2): ... from here.
615         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
616         instead of structures.
617         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
618         (POLYNOMIAL): Likewise.
619         (TAYLOR_SLOW): Likewise.
620         (__sin): Likewise.
621         (__cos): Likewise.
622         (slow1): Likewise.
623         (slow2): Likewise.
624         (sloww): Likewise.
625         (sloww1); Likewise.
626         (sloww2): Likewise.
627         (bsloww1): Likewise.
628         (bsloww2): Likewise.
629         (cslow2): Likewise.
630         (csloww): Likewise.
631         (csloww1): Likewise.
632         (csloww2): Likewise.
634 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
636         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
637         (__malloc_assert, __libc_realloc, __libc_calloc,
638         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
639         memcpy and memset.
640         * malloc/hooks.c (realloc_check): Likewise.
642 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
644         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
645         * malloc/arena.c: Remove PER_THREAD conditional.
646         [!PER_THREAD]: Remove code.
647         (ptmalloc_unlock_all2): Likewise.
648         (ptmalloc_init): Likewise.
649         (_int_new_arena): Likewise.
650         (arena_get2): Likewise.
651         * malloc/hooks.c (__malloc_get_state): Likewise.
652         (__malloc_set_state): Likewise.
653         * malloc/malloc.c: Likewise.
654         (struct malloc_state): Likewise.
655         (struct malloc_par): Likewise.
656         (__libc_realloc): Likewise.
657         (__libc_mallopt): Likewise.
659 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
661         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
663 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
665         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
666         macro to a function.  Check for zero perturb_byte.
667         (_int_malloc, _int_free): Remove zero perturb_byte checks.
669 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
671         * malloc/malloc.c: (force_reg): Remove.
672         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
673         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
674         force_reg by atomic_forced_read.
675         * malloc/arena.c (ptmalloc_init): Likewise.
676         * malloc/hooks.c (top_check): Likewise.
678 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
682 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
686 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
688         * math/auto-libm-test-in: Add tests of lgamma.
689         * math/auto-libm-test-out: Regenerated.
690         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
691         (M_LOG_2_SQRT_PIl): Likewise.
692         (lgamma_test_data): Use AUTO_TESTS_f_f1.
693         * math/gen-auto-libm-tests.c (func_calc_method): Add value
694         mpfr_f_f1.
695         (func_calc_desc): Add mpfr_f_f1 union field.
696         (ARGS1): New macro.
697         (ARGS2): Likewise.
698         (ARGS3): Likewise.
699         (ARGS4): Likewise.
700         (RET1): Likewise.
701         (RET2): Likewise.
702         (CALC): Likewise.
703         (FUNC): Likewise.
704         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
705         (test_functions): Add lgamma.
706         (calc_generic_results): Handle mpfr_f_f1.
707         * sysdeps/i386/fpu/libm-test-ulps: Update.
708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
710 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
712         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
713         __mpn_add_n for PowerPC64/POWER7.
714         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
715         __mpn_sub_n for PowerPC64/POWER7.
717 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
719         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
720         __mpn_addmul_1 for PowerPC64.
721         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
722         __mpn_submul_1 for PowerPC64.
723         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
724         for PowerPC64.
725         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
726         for PowerPC64.
728 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
730         [BZ #15089]
731         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
733 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
735         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
737 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
739         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
740         add multiarch folders.
741         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
742         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
743         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
744         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
745         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
746         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
747         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
748         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
749         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
750         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
751         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
759 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
762         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
764         New file.
765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
766         New file.
767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
768         multiarch __ieee754_hypot for PowerPC32.
769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
770         New file.
771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
772         New file.
773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
774         multiarch __ieee754_hypotf for PowerPC32.
776 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
778         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
779         long_double_symbol only if __logbl is defined.
780         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
781         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
782         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
783         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
784         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
785         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
786         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
787         path for implementation.
788         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
789         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
791         logb, and logbl multiarch implementations for PowerPC32.
792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
793         file.
794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
795         file.
796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
797         multiarch logb for PowerPC32.
798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
799         file.
800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
801         file.
802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
803         multiarch logbf for PowerPC32.
804         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
806         file.
807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
808         multiarch logbl implementation for PowerPC32.
810 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
813         and modff multiarch implementations.
814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
815         New file.
816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
817         New file.
818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
819         multiarch modf for PowerPC32.
820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
821         New file.
822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
823         New file.
824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
825         multiarch modff for PowerPC32.
827 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
830         and lrintf multiarch implementations.
831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
832         New file.
833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
834         New file.
835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
836         multiarch lrint for PowerPC32.
837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
838         file: multiarch lrintf for PowerPC32.
840 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
843         and lroundf multiarch implementations.
844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
845         New file.
846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
847         New file.
848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
849         New file.
850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
851         multiarch lround for PowerPC32.
852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
853         file: multiarch lroundf for PowerPC32.
855 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
858         copysign and copysignf multiarch implementations.
859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
860         New file.
861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
862         New file.
863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
864         file: multiarch copysign for PowerPC32.
865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
866         file: multiarch copysignf for PowerPC32.
868 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
871         and truncf multiarch implementations.
872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
873         New file.
874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
875         file.
876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
877         multiarch trunc for PowerPC32.
878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
879         New file.
880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
881         New file.
882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
883         multiarch truncf for PowerPC32.
885 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
888         and roundf multiarch implementations.
889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
890         New file.
891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
892         file.
893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
894         multiarch round for PowerPC32.
895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
896         New file.
897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
898         New file.
899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
900         multiarch roundf for PowerPC32.
902 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
905         and floorf multiarch implementations.
906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
907         New file.
908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
909         file.
910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
911         multiarch floor for PowerPC32.
912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
913         New file.
914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
915         New file.
916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
917         multiarch floorf for PowerPC32.
919 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
922         and ceilf multiarch implementations.
923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
924         New file.
925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
926         file.
927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
928         multiarch ceil for PowerPC32.
929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
930         New file.
931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
932         file.
933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
934         multiarch ceilf for PowerPC32.
936 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
938         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
939         is defined.
940         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
941         FINITEF is defined.
942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
943         and finitef multiarch implementations.
944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
945         New file.
946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
947         file.
948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
949         multiarch finite for PowerPC32.
950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
951         New file.
952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
953         file: multiarch finitef for PowerPC32.
955 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
958         and isinff multiarch implementations.
959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
960         file.
961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
962         file.
963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
964         multiarch isinf for PowerPC32.
965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
966         New file.
967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
968         multiarch isinff for PowerPC32.
970 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
972         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
973         alias when __isnan is defined.
974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
975         and isnanf multiarch implementations.
976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
977         file.
978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
979         file.
980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
981         file.
982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
983         file.
984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
985         multiarch isnan for PowerPC32.
986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
987         New file.
988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
989         New file.
990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
991         multiarch isnanf for PowerPC32.
993 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
996         and sqrtf multiarch implementations.
997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
998         file.
999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1000         file.
1001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1002         multiarch sqrt for PowerPC32.
1003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1004         file.
1005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1006         file.
1007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1008         multiarch sqrtf for PowerPC32.
1010 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1013         and llroundf multiarch implementations.
1014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1015         New file.
1016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1017         New file.
1018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1019         New file.
1020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1021         file: multiarch llround for PowerPC32.
1022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1023         file: multiarch llroundf for PowerPC32.
1025 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1028         multiarch PowerPC32 fpu implementations.
1029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1030         New file.
1031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1032         New file.
1033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1034         multiarch llrint for PowerPC32.
1035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1036         New file.
1037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1038         New file.
1039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1040         file.
1042 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1046 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1048         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1049         file.
1050         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1051         file.
1052         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1053         file.
1054         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1055         multiarch wordcopy for PPC32.
1056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1057         wordcopy objects.
1058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1059         (__libc_ifunc_impl_list): Likewise.
1060         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1061         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1062         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1063         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1064         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1065         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1067 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1069         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1071         file.
1072         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1073         file.
1074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1075         file.
1076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1077         multiarch wcscpy for PPC32.
1078         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1079         multiarch objects.
1080         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1081         (__libc_ifunc_impl_list): Likewise.
1082         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1083         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1084         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1085         sysdeps/powerpc/power6/wcscpy.c.
1087 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1089         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1091         file.
1092         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1093         file.
1094         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1095         file.
1096         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1097         multiarch wcsrchr for PPC32.
1098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1099         multiarch objects.
1100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1101         (__libc_ifunc_impl_list): Likewise.
1102         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1103         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1104         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1105         sysdeps/powerpc/power6/wcsrchr.c.
1107 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1109         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1110         file.
1111         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1112         file.
1113         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1115         multiarch wcschr for PPc32.
1116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1117         multiarch objects.
1118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1119         (__libc_ifunc_impl_list): Likewise.
1120         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1121         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1122         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1123         sysdeps/powerpc/power6/wcschr.c.
1125 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1127         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1128         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1129         file.
1130         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1131         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1132         file: multiarch strchr for PPC32.
1133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1134         multiarch objects.
1135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1136         (__libc_ifunc_impl_list): Likewise.
1138 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1140         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1141         name.
1142         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1143         file.
1144         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1145         file.
1146         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1147         multiarch strchrnul for PPC32.
1148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1149         multiarch objects.
1150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1151         (__libc_ifunc_impl_list): Likewise.
1153 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1155         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1156         file.
1157         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1158         multiarch strncasecmp for PPC32.
1159         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1160         file.
1161         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1162         multiarch strncasecmp_l for PPC32.
1163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1164         strncasecmp multiarch objects.
1165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1166         (__libc_ifunc_impl_list): Likewise.
1168 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1170         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1171         file.
1172         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1173         multiarch strncasecmp for PPC32.
1174         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1175         New file.
1176         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1177         multiarch strcasecmp_l for PPC32.
1178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1179         multiarch objects.
1180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1181         (__libc_ifunc_impl_list): Likewise.
1183 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1185         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1186         file.
1187         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1188         file.
1189         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1190         multiarch strncmp for PPC32.
1191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1192         multiarch objects.
1193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1194         (__libc_ifunc_impl_list): Likewise.
1196 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1198         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1199         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1200         file.
1201         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1202         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1203         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1204         multiarch objects.
1205         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1206         (__libc_ifunc_impl_list): Likewise.
1208 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1210         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1211         file.
1212         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1213         file.
1214         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1216         multiarch objects.
1217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1218         (__libc_ifunc_impl_list): Likewise.
1220 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1222         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1223         file.
1224         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1225         file.
1226         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1227         multiarch rawmemchr for PPC32.
1228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1229         multiarch objects.
1230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1231         (__libc_ifunc_impl_list): Likewise.
1233 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1235         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1236         file.
1237         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1238         file.
1239         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1240         file: memrchr multiarch for PPC32.
1241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1242         multiarch objects.
1243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1244         (__libc_ifunc_impl_list): Likewise.
1246 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1248         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1249         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1250         file.
1251         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1252         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1253         multiarch memchr for PPC32.
1254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1255         multiarch objects.
1256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1257         (__libc_ifunc_impl_list): Likewise.
1259 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1261         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1262         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1263         file.
1264         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1265         file.
1266         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1267         file: multiarch mempcpy for PPC32.
1268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1269         multiarch objects.
1270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1271         (__libc_ifunc_impl_list): Likewise.
1273 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1275         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1276         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1277         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1278         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1279         multiarch bzero for PPC32.
1280         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1281         file.
1282         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1283         file.
1284         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1285         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1286         file: multiarch memset for PPC32.
1287         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1288         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1289         memset multiarch objects.
1290         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1291         (__libc_ifunc_impl_list): Likewise.
1293 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1296         file.
1297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1298         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1299         memcmp for PPC32.
1300         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1301         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1302         multiarch objects.
1303         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1304         (__libc_ifunc_impl_list): Likewise.
1306 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1308         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1309         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1310         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1311         file.
1312         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1313         file.
1314         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1315         file.
1316         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1317         multiarch memcpy for PPC32.
1318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1319         multiarch objects.
1320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1321         (__libc_ifunc_impl_list): Likewise.
1323 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1326         support multiarch for POWER/PPC32.
1327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1328         Likewise.
1329         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1331         Implies file to make multiarch folder appers before the fpu and
1332         default folder for power4 configuration.
1334 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1336         * scripts/bench.pl: Append volatile keyword to type.
1338 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1340         * sysdeps/sh/sotruss-lib.c: New file.
1341         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1343 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1347 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1349         [BZ #6810]
1350         * math/w_tgamma.c: Include <errno.h>.
1351         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1352         * math/w_tgammaf.c: Include <errno.h>.
1353         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1354         * math/w_tgammal.c: Include <errno.h>.
1355         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1356         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1357         underflow.  Add more tgamma tests.
1358         * math/auto-libm-test-out: Regenerated.
1359         * sysdeps/i386/fpu/libm-test-ulps: Update.
1360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1362         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1363         sin, sinh, tan, tanh, tgamma, y0 and y1.
1364         * math/auto-libm-test-out: Regenerated.
1365         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1366         (TEST_COND_x86): Likewise.
1367         (M_E2l): Remove macro.
1368         (M_E3l): Likewise.
1369         (M_2_SQRT_PIl): Likewise.
1370         (M_SQRT_PIl): Likewise.
1371         (M_1_DIV_El): Likewise.
1372         (log_test_data): Use AUTO_TESTS_f_f.
1373         (log10_test_data): Likewise.
1374         (log1p_test_data): Likewise.
1375         (log2_test_data): Likewise.
1376         (sin_test_data): Likewise.
1377         (sin_tonearest_test_data): Likewise.
1378         (sin_towardzero_test_data): Likewise.
1379         (sin_downward_test_data): Likewise.
1380         (sin_upward_test_data): Likewise.
1381         (sinh_test_data): Likewise.
1382         (sinh_tonearest_test_data): Likewise.
1383         (sinh_towardzero_test_data): Likewise.
1384         (sinh_downward_test_data): Likewise.
1385         (sinh_upward_test_data): Likewise.
1386         (tan_test_data): Likewise.
1387         (tan_tonearest_test_data): Likewise.
1388         (tan_towardzero_test_data): Likewise.
1389         (tan_downward_test_data): Likewise.
1390         (tan_upward_test_data): Likewise.
1391         (tanh_test_data): Likewise.
1392         (tgamma_test_data): Likewise.
1393         (y0_test_data): Likewise.
1394         (y1_test_data): Likewise.
1395         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1396         (special_real_inputs): Add pi/4.
1397         * sysdeps/i386/fpu/libm-test-ulps: Update.
1398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1400 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1402         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1403         "longjmp_target" static probes.
1404         (__longjmp): Rename to __longjmp_symbol.
1405         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1406         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1407         on which longjmp to generate.
1408         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1409         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1410         probe.
1411         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1412         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1413         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1414         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1415         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1416         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1418         __longjmp_symbol based on which __longjmp to generate.
1419         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1420         probe.
1421         (setjmp): Rename to setjmp_symbol.
1422         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1423         (_setjmp): Rename to _setjmp_symbol.
1424         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1425         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1426         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1427         which setjmp to generate.
1428         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1429         "longjmp_target" static probes.
1431 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1433         * benchtests/README: Add note about output arguments.
1434         * benchtests/bench-sincos.c: Remove file.
1435         * benchtests/sincos-inputs: New file.
1436         * scripts/bench.pl: Identify output arguments and define
1437         static variables for them.
1439         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1441         [BZ #15941]
1442         * Makefile (INSTALL): Add install-plain.texi as the primary
1443         dependency.
1444         * manual/install-plain.texi: New file.
1445         * manual/install.texi: Include node directive only for
1446         non-plaintext output.
1448 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1450         * stdlib/longlong.h: Update from GCC.
1452         [BZ #6807]
1453         [BZ #15901]
1454         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1455         * math/w_j0f.c (y0f): Likewise.
1456         * math/w_j0l.c (__y0l): Likewise.
1457         * math/w_j1.c (y1): Likewise.
1458         * math/w_j1f.c (y1f): Likewise.
1459         * math/w_j1l.c (__y1l): Likewise
1460         * math/w_jn.c (yn): Likewise.
1461         * math/w_jnf.c (ynf): Likewise.
1462         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1463         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
1464         value for Bessel function domain errors outside _SVID_ mode.
1465         Adjust sign of return value for yn (negative integer, 0).
1466         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1467         by zero in return for negative x and set sign appropriately for
1468         negative n.
1469         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1470         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1471         * math/libm-test.inc (y0_test_data): Add more tests and adjust
1472         expectations in error cases.
1473         (y1_test_data): Likewise.
1474         (yn_test_data): Likewise.
1475         * sysdeps/i386/fpu/libm-test-ulps: Update.
1476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1478 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1480         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1481         "64" to "64-v1".  Add "64-v2".
1482         (abi-64-options): Rename to ...
1483         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
1484         (abi-64-condition): Rename to ...
1485         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
1486         (abi-64-ld-soname): Rename to ...
1487         (abi-64-v1-ld-soname): ... this.
1488         (abi-64-v2-options): Define.
1489         (abi-64-v2-condition): Likewise.
1490         (abi-64-v2-ld-soname): Likewise.
1491         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1492         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1497 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1498             Alan Modra  <amodra@gmail.com>
1500         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1501         New versions for use with the ELFv2 ABI.
1502         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1503         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1504         declaration.
1505         (struct La_ppc64v2_retval): Likewise.
1506         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1507         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1508         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1509         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1510         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1511         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1512         Do not save or restore CR.
1513         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1514         (_dl_profile_resolve): Do no save or restore CR.  Support extended
1515         return values for ELFv2 ABI.  Fix location of FPR return registers.
1516         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1517         updated values for _CALL_ELF == 2.
1518         (La_regs, La_retval, int_retval): Likewise.
1520 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1522         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1523         (FRAME_MIN_SIZE_PARM): Likewise.
1524         (FRAME_BACKCHAIN): Likewise.
1525         (FRAME_CR_SAVE): Likewise.
1526         (FRAME_LR_SAVE): Likewise.
1527         (FRAME_TOC_SAVE): Likewise.
1528         (FRAME_PARM_SAVE): Likewise.
1529         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1530         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1531         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1532         (call_mcount_parm_offset): New macro.
1533         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1534         (PROF): Use symbolic stack frame offsets.
1535         (TAIL_CALL_SYSCALL_ERROR): Likewise.
1536         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1537         Redefine in terms of FRAME_MIN_SIZE.
1538         (_dl_runtime_resolve): Use symbolic stack frame offsets.
1539         (_dl_profile_resolve): Likewise.  Update comment.
1540         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1541         symbols stack frame offsets.
1542         (__sigsetjmp): Likewise.
1543         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1544         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1545         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1546         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1549         (FRAME_BACKCHAIN): Remove.
1550         (FRAME_CR_SAVE): Likewise.
1551         (FRAME_LR_SAVE): Likewise.
1552         (FRAME_COMPILER_DW): Likewise.
1553         (FRAME_LINKER_DW): Likewise.
1554         (FRAME_TOC_SAVE): Likewise.
1555         (FRAME_PARM_SAVE): Likewise.
1556         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1557         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1558         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1560         (CHECK_SP): Use symbolic stack frame offsets.
1561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1562         zone" instead of caller's parameter save area for temp storage.
1563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1564         Likewise.  Also, use symbolic stack frame offsets.
1565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1566         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1567         our own stack frame instead of the caller's.
1568         (__socket): Use symbolic stack frame offsets.
1570 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1571             Alan Modra  <amodra@gmail.com>
1573         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1574         Define.
1575         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1576         PPC64_LOCAL_ENTRY_OFFSET): Define.
1577         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1578         New function.
1579         (elf_machine_fixup_plt): Call it.
1580         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
1581         reloc arguments.
1582         (elf_machine_rela): Update call to elf_machine_plt_conflict.
1583         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1584         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1585         r2 before calling target.
1587 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1588             Alan Modra  <amodra@gmail.com>
1590         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1591         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1592         versions of macros to support ELFv2 ABI.
1593         (LOCALENTRY): New macro.
1594         (ENTRY, EALIGN): Use it.
1595         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1596         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1597         fall through into ENTRY entry point.
1598         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1599         Only define if _CALL_ELF != 2.
1601         (elf_machine_matches_host): Verify ABI version matches.
1602         (RTLD_START): Use LOCALENTRY.
1603         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1604         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1605         (PLT_ENTRY_WORDS): New macro.
1606         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1607         (elf_machine_runtime_setup): Support ELFv2 ABI.
1608         (elf_machine_fixup_plt): Likewise.
1609         (elf_machine_plt_conflict): Likewise.
1610         (resolve_ifunc): Likewise.
1611         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1612         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1613         Likewise.
1614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1615         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1617         (makecontext): Support ELFv2 ABI.
1618         * elf/elf.h (EF_PPC64_ABI): Define.
1620 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1622         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1623         New assembler macro.
1624         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1625         [ASSEMBLER] (ENTRY): ... but instead here ...
1626         [ASSEMBLER] (EALIGN): ... and here.
1627         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1628         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1629         [!ASSEMBLER] (ENTRY_2): Use it.
1630         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1631         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
1632         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1633         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1634         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1636         Use PPC64_LOAD_FUNCPTR.
1638 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1640         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1642 2013-12-04  Alan Modra  <amodra@gmail.com>
1644         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1645         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1646         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1647         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1649         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1650         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1651         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1652         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1653         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1654         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1656 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1659         (__makecontext): Fix incorrect CFI when backtracing out of
1660         context created via makecontext.
1661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1662         (__setcontext): Fix incorrect CFI during switch to new context.
1663         (__novec_setcontext): Likewise.
1665 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1667         [BZ #4772]
1668         * time/strptime_l.c (__strptime_internal): Allow modifiers
1669         in strptime.
1670         * time/tst-strptime.c (day_tests): Add testcase.
1673 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1675         * scripts/bench.pl: Skip over blank lines.
1677 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1679         [BZ #926]
1680         * manual/time.texi (Calendar Time): Clarify what timezone functions
1681         use.
1683 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1687 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1689         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1690         implementation.
1691         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1692         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1693         * debug/memset_chk.c (__memset_chk): Likewise.
1694         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1695         * debug/strncpy_chk.c: Likewise.
1697 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1699         [BZ #15268]
1700         [BZ #15425]
1701         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1702         (__ieee754_exp): For possibly underflowing results, check size of
1703         result and force underflow exception if required.
1704         * math/auto-libm-test-in: Add more tests of exp.
1705         * math/auto-libm-test-out: Regenerated.
1706         * sysdeps/i386/fpu/libm-test-ulps: Update.
1707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1709         [BZ #16283]
1710         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1711         * math/w_exp2f.c (__exp2f): Likewise.
1712         * math/w_exp2l.c (__exp2l): Likewise.
1713         * math/auto-libm-test-in: Do not allow missing errno on exp2
1714         underflow.
1715         * math/auto-libm-test-out: Regenerated.
1717 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1719         [BZ #16274]
1720         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1721         handle filename validation.
1722         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1723         (do_open): Delete.
1725 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1727         [BZ #6786]
1728         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1729         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1730         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1731         <float.h>.
1732         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1733         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1734         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1735         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1736         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1737         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1738         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1739         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1740         Add more erfc tests.
1741         * math/auto-libm-test-out: Regenerated.
1742         * sysdeps/i386/fpu/libm-test-ulps: Update.
1743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1745         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1746         exp2, expm1, j0 and j1.
1747         * math/auto-libm-test-out: Regenerated.
1748         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1749         (erfc_test_data): Likewise.
1750         (exp_test_data): Likewise.
1751         (exp_tonearest_test_data): Likewise.
1752         (exp_towardzero_test_data): Likewise.
1753         (exp_downward_test_data): Likewise.
1754         (exp_upward_test_data): Likewise.
1755         (exp10_test_data): Likewise.
1756         (exp2_test_data): Likewise.
1757         (expm1_test_data): Likewise.
1758         (j0_test_data): Likewise.
1759         (j1_test_data): Likewise.
1760         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1761         (input_flag_type): Add flag_xfail_rounding.
1762         (input_flags): Add xfail-rounding.
1763         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1764         (output_for_one_input_case): Handle flag_xfail_rounding.
1765         * sysdeps/i386/fpu/libm-test-ulps: Update.
1766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1768 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1770         [BZ #16289]
1771         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1772         division by 0.
1774 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1776         [BZ #16195]
1777         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1778         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1779         (STAP_PROBE0): New macro.
1780         (STAP_PROBE1): Likewise.
1781         (STAP_PROBE2): Likewise.
1782         (STAP_PROBE3): Likewise.
1783         (STAP_PROBE4): Likewise.
1785 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1787         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1789 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1791         * benchtests/Makefile (bench): Add sqrt.
1792         (LDLIBS-bench-sqrt): New.
1793         * benchtests/sqrt-input: New.
1795 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1797         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1798         (GAIH_EAI): Likewise.
1799         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1800         (gaih_inet): Likewise.
1801         (getaddrinfo): Don't use GAIH_EAI.
1803         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1804         (struct gaih): Remove definition.
1806 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1808         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1809         Use HERRNOP directly.
1811 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1815 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1817         * math/gen-auto-libm-tests.c (test_functions): Add more
1818         single-argument functions.
1819         (special_fill_pi_2): New function.
1820         (special_fill_minus_pi_2): Likewise.
1821         (special_fill_pi_6): Likewise.
1822         (special_fill_minus_pi_6): Likewise.
1823         (special_fill_pi_3): Likewise.
1824         (special_fill_2pi_3): Likewise.
1825         (special_fill_e): Likewise.
1826         (special_fill_1_e): Likewise.
1827         (special_fill_e_minus_1): Likewise.
1828         (special_real_inputs): Add more special inputs.
1829         (output_for_one_input_case): Do not require ERANGE on underflow to
1830         zero if round-to-nearest result does not underflow to zero, unless
1831         exact results required.
1832         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1833         atan, atanh, cbrt, cos and cosh.
1834         * math/auto-libm-test-out: Regenerated.
1835         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1836         (acos_tonearest_test_data): Likewise.
1837         (acos_towardzero_test_data): Likewise.
1838         (acos_downward_test_data): Likewise.
1839         (acos_upward_test_data): Likewise.
1840         (acosh_test_data): Likewise.
1841         (asin_test_data): Likewise.
1842         (asin_tonearest_test_data): Likewise.
1843         (asin_towardzero_test_data): Likewise.
1844         (asin_upward_test_data): Likewise.
1845         (asinh_test_data): Likewise.
1846         (atan_test_data): Likewise.
1847         (atanh_test_data): Likewise.
1848         (cbrt_test_data): Likewise.
1849         (cos_test_data): Likewise.
1850         (cos_tonearest_test_data): Likewise.
1851         (cos_towardzero_test_data): Likewise.
1852         (cos_downward_test_data): Likewise.
1853         (cos_upward_test_data): Likewise.
1854         (cosh_test_data): Likewise.
1855         (cosh_tonearest_test_data): Likewise.
1856         (cosh_towardzero_test_data): Likewise.
1857         (cosh_downward_test_data): Likewise.
1858         (cosh_upward_test_data): Likewise.
1859         * sysdeps/i386/fpu/libm-test-ulps: Update.
1860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1862 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1864         [BZ #6787]
1865         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1866         * math/w_exp10f.c (__exp10f): Likewise.
1867         * math/w_exp10l.c (__exp10l): Likewise.
1868         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1869         errno settings in existing tests.
1871         [BZ #14032]
1872         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1873         precision control set to double precision.
1874         * sysdeps/i386/fpu/w_sqrt.c: New file.
1875         * math/auto-libm-test-in: Add more tests.
1876         * math/auto-libm-test-out: Update.
1878         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1879         (sqrt_test_tonearest): New function.
1880         (sqrt_towardzero_test_data): New variable.
1881         (sqrt_test_towardzero): New function.
1882         (sqrt_downward_test_data): New variable.
1883         (sqrt_test_downward): New function.
1884         (sqrt_upward_test_data): New variable.
1885         (sqrt_test_upward): New function.
1886         (main): Call the new functions.
1888         * math/gen-auto-libm-tests.c: New file.
1889         * math/auto-libm-test-in: Likewise.
1890         * math/auto-libm-test-out: New generated file.
1891         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1892         variables.
1893         (%beautify): Add generated representations of zero.
1894         (top level): Set $auto_input and call parse_auto_input.
1895         (beautify): Remove trailing "f" from hex float constants.
1896         (parse_args): Handle XFAIL_TEST.
1897         (convert_condition): New function.
1898         (or_value): Likewise.
1899         (or_cond_value): Likewise.
1900         (generate_testfile): Handle AUTO_TESTS_* lines.
1901         (parse_auto_input): New function.
1902         * math/libm-test.inc (XFAIL_TEST): New macro.
1903         (ERRNO_UNCHANGED): Update value.
1904         (ERRNO_EDOM): Likewise.
1905         (ERRNO_ERANGE): Likewise.
1906         (IGNORE_RESULT): Likewise.
1907         (TEST_COND_flt_32): New macro.
1908         (TEST_COND_dbl_64): Likewise.
1909         (TEST_COND_ldbl_96_intel): Likewise.
1910         (TEST_COND_ldbl_96_m68k): Likewise.
1911         (TEST_COND_ldbl_128): Likewise.
1912         (TEST_COND_ldbl_128ibm): Likewise.
1913         (TEST_COND_long32): Likewise.
1914         (TEST_COND_long64): Likewise.
1915         (TEST_COND_before_rounding): Likewise.
1916         (TEST_COND_after_rounding): Likewise.
1917         (enable_test): Handle XFAIL_TEST flag.
1918         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1919         with finite results.
1920         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1921         auto-libm-test-out.
1923 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1924             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1926         [BZ #16214]
1927         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1928         __tls_get_addr_internal instead of __tls_get_offset in order to
1929         avoid GOT pointer dependency.  Make rtld export
1930         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1931         __tls_get_addr since we are a __tls_get_offset platform.
1932         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1933         GOT pointer being set up before.
1934         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1936 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
1938         * manual/math.texi (Errors in Math Functions): Document accuracy
1939         goals.
1941         [BZ #15004]
1942         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1943         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1944         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1945         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1946         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1947         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1948         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1949         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1950         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1951         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1952         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1953         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1954         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1955         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1956         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1957         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1959         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1960         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1961         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1962         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1963         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1964         Likewise.
1965         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1966         Likewise.
1967         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1968         Likewise.
1969         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1970         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1971         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1972         atomic-feupdateenv and flt-rounds.
1973         * sysdeps/powerpc/nofpu/Versions (libc): Add
1974         __atomic_feholdexcept, __atomic_feclearexcept,
1975         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1976         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1977         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1978         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1979         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1980         here.
1981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1982         Update.
1984         * manual/arith.texi (FP Exceptions): Document that exceptions may
1985         not be raised when matherr is used.
1986         (Math Error Reporting): Document overflow in directed rounding
1987         modes.  Document that errno may not be set when finite values are
1988         returned on overflow.  Document intent to set errno on underflow
1989         only for underflow to zero.
1991         [BZ #16271]
1992         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1993         round-to-nearest then adjust result for other rounding modes.
1994         * include/fenv.h (fegetround): Use libm_hidden_proto.
1995         * math/fegetround.c (fegetround): Use libm_hidden_def.
1996         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1997         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1998         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1999         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2000         Likewise.
2001         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2002         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2003         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2004         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2006 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2008         [BZ #16077]
2009         * nss/Versions (libnss_files): Add
2010         _nss_files_gethostbyname3_r.
2011         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2012         New function.
2013         (HOST_DB_LOOKUP): Remove macro.
2014         (_nss_files_gethostbyname_r): Implement function without the
2015         HOST_DB_LOOKUP macro.
2016         (_nss_files_gethostbyname2_r): Likewise.
2018 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2020         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2022 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2024         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2025         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2026         warning.
2028 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2030         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2031         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2032         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2033         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2034         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2035         __fe_nomask_env_priv and attribute_hidden.
2036         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2037         (libc_feupdateenv_test_ppc): Likewise.
2038         (libc_feresetround_ppc): Likewise.
2039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2040         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2041         compat_symbol macro.
2042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2043         (__fe_nomask_env): Likewise.
2044         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2046 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2048         * string/Makefile: Remove ifunc tests.
2049         * string/test-string.h: Define TEST_IFUNC.
2050         * string/test-bcopy-ifunc.c: Remove.
2051         * string/test-bzero-ifunc.c: Likewise.
2052         * string/test-memccpy-ifunc.c: Likewise.
2053         * string/test-memchr-ifunc.c: Likewise.
2054         * string/test-memcmp-ifunc.c: Likewise.
2055         * string/test-memcpy-ifunc.c: Likewise.
2056         * string/test-memmem-ifunc.c: Likewise.
2057         * string/test-memmove-ifunc.c: Likewise.
2058         * string/test-mempcpy-ifunc.c: Likewise.
2059         * string/test-memrchr-ifunc.c: Likewise.
2060         * string/test-memset-ifunc.c: Likewise.
2061         * string/test-rawmemchr-ifunc.c: Likewise.
2062         * string/test-stpcpy-ifunc.c: Likewise.
2063         * string/test-stpncpy-ifunc.c: Likewise.
2064         * string/test-strcasecmp-ifunc.c: Likewise.
2065         * string/test-strcasestr-ifunc.c: Likewise.
2066         * string/test-strcat-ifunc.c: Likewise.
2067         * string/test-strchr-ifunc.c: Likewise.
2068         * string/test-strchrnul-ifunc.c: Likewise.
2069         * string/test-strcmp-ifunc.c: Likewise.
2070         * string/test-strcpy-ifunc.c: Likewise.
2071         * string/test-strcspn-ifunc.c: Likewise.
2072         * string/test-strlen-ifunc.c: Likewise.
2073         * string/test-strncasecmp-ifunc.c: Likewise.
2074         * string/test-strncat-ifunc.c: Likewise.
2075         * string/test-strncmp-ifunc.c: Likewise.
2076         * string/test-strncpy-ifunc.c: Likewise.
2077         * string/test-strnlen-ifunc.c: Likewise.
2078         * string/test-strpbrk-ifunc.c: Likewise.
2079         * string/test-strrchr-ifunc.c: Likewise.
2080         * string/test-strspn-ifunc.c: Likewise.
2081         * string/test-strstr-ifunc.c: Likewise.
2083 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2085         * benchtests/Makefile: Remove ifunc tests.
2086         * benchtests/bench-string.h: Define TEST_IFUNC.
2087         * benchtests/bench-bcopy-ifunc.c: Remove.
2088         * benchtests/bench-bzero-ifunc.c: Likewise.
2089         * benchtests/bench-memccpy-ifunc.c: Likewise.
2090         * benchtests/bench-memchr-ifunc.c: Likewise.
2091         * benchtests/bench-memcmp-ifunc.c: Likewise.
2092         * benchtests/bench-memcpy-ifunc.c: Likewise.
2093         * benchtests/bench-memmem-ifunc.c: Likewise.
2094         * benchtests/bench-memmove-ifunc.c: Likewise.
2095         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2096         * benchtests/bench-memrchr-ifunc.c: Likewise.
2097         * benchtests/bench-memset-ifunc.c: Likewise.
2098         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2099         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2100         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2101         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2102         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2103         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2104         * benchtests/bench-strcat-ifunc.c: Likewise.
2105         * benchtests/bench-strchr-ifunc.c: Likewise.
2106         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2107         * benchtests/bench-strcmp-ifunc.c: Likewise.
2108         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2109         * benchtests/bench-strcpy-ifunc.c: Likewise.
2110         * benchtests/bench-strcspn-ifunc.c: Likewise.
2111         * benchtests/bench-strlen-ifunc.c: Likewise.
2112         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2113         * benchtests/bench-strncat-ifunc.c: Likewise.
2114         * benchtests/bench-strncmp-ifunc.c: Likewise.
2115         * benchtests/bench-strncpy-ifunc.c: Likewise.
2116         * benchtests/bench-strnlen-ifunc.c: Likewise.
2117         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2118         * benchtests/bench-strrchr-ifunc.c: Likewise.
2119         * benchtests/bench-strsep-ifunc.c: Likewise.
2120         * benchtests/bench-strspn-ifunc.c: Likewise.
2121         * benchtests/bench-strstr-ifunc.c: Likewise.
2123 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2125         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2127 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2129         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2130         * rt/aio.h: Likewise.
2131         * sysdeps/gnu/bits/utmp.h: Likewise.
2132         * sysdeps/gnu/bits/utmpx.h: Likewise.
2133         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2134         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2135         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2136         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2137         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2138         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2139         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2140         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2141         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2142         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2143         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2144         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2145         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2147         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2148         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2149         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2150         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2151         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2152         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2153         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2154         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2155         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2156         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2157         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2158         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2159         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2160         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2161         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2162         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2163         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2164         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2165         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2166         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2167         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2168         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2169         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2170         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2171         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2172         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2173         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2174         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2176 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2178         [BZ #16245]
2179         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2180         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2182 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2184         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2185         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2186         Likewise.
2188 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2190         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2191         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2192         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2193         (__fesetround): Remove define.
2194         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2195         rounding and exceptions handling.
2196         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2197         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2198         (__fe_nomask_env): Likewise.
2199         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2200         __fegetround instead of fegetround.
2201         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2202         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2204 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2206         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2207         it's there.
2209         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2211 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2213         [BZ #11157]
2214         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2215         (encrypt_r): Likewise.
2216         * malloc/obstack.h (obstack_free): Likewise.
2217         * posix/unistd.h (encrypt): Likewise.
2219 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2221         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2222         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2223         DL_CALL_DT_FINI() that call the functions directly.
2224         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2225         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2226         * elf/dl-fini.c: Likewise.
2228 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2230         * malloc/hooks.c (memalign_check): Add alignment rounding.
2231         * malloc/malloc.c (_mid_memalign): New function.
2232         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2233         Implement by calling _mid_memalign.
2234         * manual/probes.texi (Memory Allocation Probes): Remove
2235         memory_valloc_retry and memory_pvalloc_retry.
2237 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2239         * locale/programs/locarchive.c (open_archive): Add const
2240         qualifier to ARCHIVEFNAME and copy default fname to
2241         DEFAULT_FNAME.
2243         [BZ #15601]
2244         * libio/tst-widetext.input: Rename Oriya to Odia.
2245         * locale/iso-639.def: Likewise.
2247         * manual/probes.texi (Mathematical Function Probes): Add
2248         documentation for sin, cos, asin and acos probes.
2249         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2250         (__sin32): Add slowasin probe.
2251         (__cos32): Add slowacos probe.
2252         (__mpsin): Add slowsin probe.
2253         (__mpcos): Add slowcos probe.
2255 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2257         [BZ #15483]
2258         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2259         thread-local __sim_exceptions_thread and global
2260         __sim_exceptions_global.
2261         (__sim_disabled_exceptions): Change to thread-local
2262         __sim_disabled_exceptions_thread and global
2263         __sim_disabled_exceptions_global.
2264         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2265         and global __sim_round_mode_global.
2266         (__simulate_exceptions): Use thread-local floating-point state and
2267         set global state from it as needed.
2268         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2269         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2270         __sim_round_mode_thread.
2271         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2272         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2273         and global __sim_exceptions_global.
2274         (__sim_disabled_exceptions): Change to thread-local
2275         __sim_disabled_exceptions_thread and global
2276         __sim_disabled_exceptions_global.
2277         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2278         and global __sim_round_mode_global.
2279         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2280         (SIM_SET_GLOBAL): Likewise.
2281         * sysdeps/powerpc/soft-fp/sfp-machine.h
2282         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2283         __sim_round_mode_thread.
2284         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2285         __sim_disabled_exceptions_thread.
2286         (__sim_exceptions): Change to __sim_exceptions_thread.
2287         (__sim_disabled_exceptions): Change to
2288         __sim_disabled_exceptions_thread.
2289         (__sim_round_mode): Change to __sim_round_mode_thread.
2290         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2291         thread-local floating-point state and set global state from it as
2292         needed.
2293         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2294         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2295         (__sim_disabled_exceptions): Remove extern declaration.
2296         (feenableexcept): Use thread-local floating-point state and set
2297         global state from it as needed.
2298         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2299         extern declaration.
2300         (__sim_disabled_exceptions): Likewise.
2301         (__sim_round_mode): Likewise.
2302         (__fegetenv): Use thread-local floating-point state.
2303         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2304         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2305         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2306         floating-point state and set global state from it as needed.
2307         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2308         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2309         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2310         Likewise.
2311         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2312         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2313         Likewise.
2314         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2315         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2316         Use __sim_round_mode_thread.
2317         * math/test-fenv-tls.c: New file.
2318         * math/Makefile (tests): Add test-fenv-tls.
2319         ($(objpfx)test-fenv-tls): Depend on
2320         $(common-objpfx)nptl/libpthread.so.
2322 2013-11-19  Andreas Schwab  <schwab@suse.de>
2324         * locale/programs/locale.c (show_info): Decode wordarray elements.
2325         * locale/categories.def (LC_MONETARY): Add element for
2326         _NL_MONETARY_CRNCYSTR.
2327         * locale/C-monetary.c (conversion_rate): New variable.
2328         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2329         element.
2331 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2333         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2334         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2336 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2338         * elf/Makefile (tst-auxv): New test.
2339         * elf/tst-auxv.c: New
2340         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2342 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2344         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2345         (hidden_proto): Caller changed.
2346         (hidden_tls_proto): New macro.
2347         (libc_hidden_tls_proto): Likewise.
2348         (rtld_hidden_tls_proto): Likewise.
2349         (libm_hidden_tls_proto): Likewise.
2350         (libresolv_hidden_tls_proto): Likewise.
2351         (librt_hidden_tls_proto): Likewise.
2352         (libdl_hidden_tls_proto): Likewise.
2353         (libnss_files_hidden_tls_proto): Likewise.
2354         (libnsl_hidden_tls_proto): Likewise.
2355         (libnss_nisplus_hidden_tls_proto): Likewise.
2356         (libutil_hidden_tls_proto): Likewise.
2358 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2360         [BZ #10253]
2361         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2362         (decompose_rpath): Defer expansion to fillin_rpath.
2363         (_dl_init_paths): Pass linkmap to fillin_rpath.
2365 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2367         * benchtests/Makefile: Add strsep.
2368         * benchtests/bench-strsep.c: New file: strsep benchtest.
2369         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2371 2013-11-18  Andreas Schwab  <schwab@suse.de>
2373         * locale/programs/locale.c (show_info) [case byte]: Check for
2374         '\377' instead of '\177'.
2375         * locale/C-monetary.c (not_available): Always use "\377".
2376         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2377         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2378         detect unavailable sign_posn locale elements.
2379         * locale/localeconv.c (__localeconv): For grouping and
2380         mon_grouping handle "\177" and "\377" like no grouping.
2381         (INT_ELEM): New macro.  Use it to set all numeric members.
2382         * locale/programs/ld-monetary.c (monetary_read)
2383         <tok_mon_grouping>: Normalize single -1 to the empty string.
2384         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2385         Likewise.
2387 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2389         [BZ #16055]
2390         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2391         when we match (nil).
2392         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2394 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2396         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2397         (NO_TEST_INLINE): Update value.
2398         (ERRNO_UNCHANGED): Likewise.
2399         (ERRNO_EDOM): Likewise.
2400         (ERRNO_ERANGE): Likewise.
2401         (IGNORE_RESULT): Likewise.
2402         (check_float_internal): Check signs of NaN results if
2403         TEST_NAN_SIGN used.
2404         (check_complex): Pass TEST_NAN_SIGN flag through to second
2405         check_float_internal call.
2406         (copysign_test_data): Add tests with quiet NaNs as second
2407         argument.  Use TEST_NAN_SIGN.
2408         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2409         TEST_NAN_SIGN.
2410         (signbit_test_data): Add tests of quiet NaN argument.
2411         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2413         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2414         $ignore_result.
2415         (parse_args): Handle function results specified as IGNORE.
2416         * math/libm-test.inc (IGNORE_RESULT): New macro.
2417         (check_float_internal): Do not check numerical result if flag
2418         IGNORE_RESULT set.
2419         (check_complex): Pass through IGNORE_RESULT to second
2420         check_float_internal call.
2421         (check_int): Do not check numerical result if flag IGNORE_RESULT
2422         set.
2423         (check_long): Likewise.
2424         (check_bool): Likewise.
2425         (check_longlong): Likewise.
2426         (lrint_test_data): Add tests of infinite and NaN arguments.
2427         (lrint_tonearest_test_data): Likewise.
2428         (lrint_towardzero_test_data): Likewise.
2429         (lrint_downward_test_data): Likewise.
2430         (lrint_upward_test_data): Likewise.
2431         (llrint_test_data): Likewise.
2432         (llrint_tonearest_test_data): Likewise.
2433         (llrint_towardzero_test_data): Likewise.
2434         (llrint_downward_test_data): Likewise.
2435         (llrint_upward_test_data): Likewise.
2436         (lround_test_data): Likewise.
2437         (llround_test_data): Likewise.
2439         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2440         (ERRNO_UNCHANGED): Update value.
2441         (ERRNO_EDOM): Likewise.
2442         (ERRNO_ERANGE): Likewise.
2443         (NO_TEST_INLINE_FLOAT): New macro.
2444         (NO_TEST_INLINE_DOUBLE): Likewise.
2445         (enable_test): New function.
2446         (RUN_TEST_f_f): Check enable_test before running test.
2447         (RUN_TEST_2_f): Likewise.
2448         (RUN_TEST_fff_f): Likewise.
2449         (RUN_TEST_c_f): Likewise.
2450         (RUN_TEST_f_f1): Likewise.
2451         (RUN_TEST_fF_f1): Likewise.
2452         (RUN_TEST_fI_f1): Likewise.
2453         (RUN_TEST_ffI_f1): Likewise.
2454         (RUN_TEST_c_c): Likewise.
2455         (RUN_TEST_cc_c): Likewise.
2456         (RUN_TEST_f_i): Likewise.
2457         (RUN_TEST_f_i_tg): Likewise.
2458         (RUN_TEST_ff_i_tg): Likewise.
2459         (RUN_TEST_f_b): Likewise.
2460         (RUN_TEST_f_b_tg): Likewise.
2461         (RUN_TEST_f_l): Likewise.
2462         (RUN_TEST_f_L): Likewise.
2463         (RUN_TEST_fFF_11): Likewise.
2464         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2465         conditionals.
2466         (cosh_test_data): Likewise.
2467         (exp_test_data): Likewise.
2468         (expm1_test_data): Likewise.
2469         (hypot_test_data): Likewise.
2470         (pow_test_data): Likewise.
2471         (sinh_test_data): Likewise.
2472         (tanh_test_data): Likewise.
2473         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2474         flags argument.
2476         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2477         tests with quiet NaN input and output.
2478         (acosh_test_data): Likewise.
2479         (asin_test_data): Likewise.
2480         (asinh_test_data): Likewise.
2481         (atan_test_data): Likewise.
2482         (atanh_test_data): Likewise.
2483         (atan2_test_data): Likewise.
2484         (cbrt_test_data): Likewise.
2485         (cos_test_data): Likewise.
2486         (cosh_test_data): Likewise.
2487         (erf_test_data): Likewise.
2488         (erfc_test_data): Likewise.
2489         (exp_test_data): Likewise.
2490         (exp10_test_data): Likewise.
2491         (exp2_test_data): Likewise.
2492         (expm1_test_data): Likewise.
2493         (hypot_test_data): Likewise.
2494         (j0_test_data): Likewise.
2495         (j1_test_data): Likewise.
2496         (jn_test_data): Likewise.
2497         (lgamma_test_data): Likewise.
2498         (log_test_data): Likewise.
2499         (log10_test_data): Likewise.
2500         (log1p_test_data): Likewise.
2501         (log2_test_data): Likewise.
2502         (pow_test_data): Likewise.
2503         (scalb_test_data): Likewise.
2504         (sin_test_data): Likewise.
2505         (sincos_test_data): Likewise.
2506         (sinh_test_data): Likewise.
2507         (tan_test_data): Likewise.
2508         (tanh_test_data): Likewise.
2509         (tgamma_test_data): Likewise.
2510         (y0_test_data): Likewise.
2511         (y1_test_data): Likewise.
2512         (yn_test_data): Likewise.
2514         [BZ #16167]
2515         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2516         argument being NaN and avoid computations with second argument in
2517         that case.
2518         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2519         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2520         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2522 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
2524         * locale/iso-639.def: Add Chitwani Tharu (the).
2526 2013-11-14  Andreas Schwab  <schwab@suse.de>
2528         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2529         word instead of empty string.
2531 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2534         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2536         (__fe_nomask_env): Likewise.
2538 2013-11-13  Steve Ellcey  <sellcey@mips.com>
2540         * benchtests/bench-timing.h: Include time.h.
2542 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2544         [BZ #15997]
2545         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2546         to 3.4.0 for x32.
2547         * sysdeps/unix/sysv/linux/configure: Regenerated.
2549 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
2551         [BZ #16151]
2552         * stdlib/strtod_l.c (round_and_return): Do not consider
2553         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2554         exponent one less than half the least subnormal exponent.
2555         * stdlib/test-strtod-round-data: Add more tests.
2556         * stdlib/tst-strtod-round.c (tests): Regenerated.
2558 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2560         [BZ #14143]
2561         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2562         (__fe_mask_env): Likewise.
2563         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2564         libm_hidden_proto and add function prototype.
2565         (__fe_mask_env): Add function prototype.
2566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2567         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2569         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2571         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2573 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2575         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2576         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2578 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2580         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2581         of htab_find_slot().
2583 2013-11-11  David S. Miller  <davem@davemloft.net>
2585         [BZ #16150]
2586         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2587         symbol in the non-vis3 case in static builds.
2588         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2589         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2590         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2591         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2593 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2595         [BZ #387]
2596         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2597         it is empty.
2599 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2601         * benchtests/Makefile: Add bench-strtod.
2602         * benchtests/bench-strtod.c: New file: strtod benchtest
2604 2013-11-11  Andreas Schwab  <schwab@suse.de>
2606         [BZ #16153]
2607         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2608         terminating NUL in key length.
2610 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2612         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2613         Add artificial ODP entry for vDSO symbol for PPC64.
2614         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2615         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2617 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2619         [BZ #15374]
2620         * nss/getent.c (services_keys): Recognize services starting with digit.
2622 2013-11-06  David S. Miller  <davem@davemloft.net>
2624         [BZ #15985]
2625         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2626         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2628 2013-11-06  Will Newton  <will.newton@linaro.org>
2630         * manual/memory.texi (Malloc Examples): Remove register
2631         keyword from examples.
2633 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
2635         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2637 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
2639         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2640         depending on [__GCC_IEC_559 > 0].
2641         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2642         depending on [__GCC_IEC_559_COMPLEX > 0].
2644 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
2646         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2647         to iso-639.def.
2649 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
2651         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2653 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
2655         [BZ #16112]
2656         * malloc/malloc (malloc_info): Do not handle first bin as
2657         special case.
2659 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
2661         * locale/iso-639.def: Add Central Nahuatl (nhn).
2663 2013-11-01  Bruno Haible  <bruno@clisp.org>
2665         [BZ #7003]
2666         * manual/math.texi (BSD Random): Specify range upper bound as
2667         in POSIX.
2669 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
2671         * locale/iso-639.def: Add Meadow Mari (mhr).
2673 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2675         [BZ #14752], [BZ #15763]
2676         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2677         Validate name.
2678         * rt/tst_shm.c: Add test for escaping directory.
2680 2013-10-31  Andreas Schwab  <schwab@suse.de>
2682         [BZ #15917]
2683         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2684         followed by 'x' as part of digit sequence.
2685         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2687 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2689         [BZ #16037]
2690         * configure.ac: allow GNU Make 4.0 and greater.
2691         * configure: Regenerated.
2693 2013-10-30  Will Newton  <will.newton@linaro.org>
2695         [BZ #16038]
2696         * malloc/hooks.c (memalign_check): Limit alignment to the
2697         maximum representable power of two.
2698         * malloc/malloc.c (__libc_memalign): Likewise.
2699         * malloc/tst-memalign.c (do_test): Add test for very
2700         large alignment values.
2701         * malloc/tst-posix_memalign.c (do_test): Likewise.
2703 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2705         [BZ #11087]
2706         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2707         (munmap_chunk): Likewise.
2708         (mremap_chunk): Likewise.
2710 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2712         [BZ #15799]
2713         * stdlib/div.c (div): Remove obsolete code.
2714         * stdlib/ldiv.c (ldiv): Likewise.
2715         * stdlib/lldiv.c (lldiv): Likewise.
2717 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2719         [BZ #16071]
2720         * nss/nss_files/files-XXX.c (get_contents_ret): New
2721         enumerator.
2722         (get_contents): New function.
2723         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2725 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2727         * configure.in: Moved to ...
2728         * configure.ac: ... here. Change reference to configure.in
2729         to configure.ac.
2730         * sysdeps/arm/preconfigure.ac: ... here.
2731         configure.in to configure.ac.
2732         * sysdeps/gnu/configure.in: Moved to ...
2733         * sysdeps/gnu/configure.ac: ... here.
2734         * sysdeps/i386/configure.in: Moved to ...
2735         * sysdeps/i386/configure.ac: ... here.
2736         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2737         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2738         * sysdeps/mach/configure.in: Moved to ...
2739         * sysdeps/mach/configure.ac: ... here.
2740         * sysdeps/mach/hurd/configure.in: Moved to ...
2741         * sysdeps/mach/hurd/configure.ac: ... here.
2742         * sysdeps/powerpc/configure.in: Moved to ...
2743         * sysdeps/powerpc/configure.ac: ... here.
2744         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2745         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2746         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2747         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2748         * sysdeps/s390/s390-32/configure.in: Moved to ...
2749         * sysdeps/s390/s390-32/configure.ac: ... here.
2750         * sysdeps/s390/s390-64/configure.in: Moved to ...
2751         * sysdeps/s390/s390-64/configure.ac: ... here.
2752         * sysdeps/sh/configure.in: Moved to ...
2753         * sysdeps/sh/configure.ac: ... here.
2754         * sysdeps/sparc/configure.in: Moved to ...
2755         * sysdeps/sparc/configure.ac: ... here.
2756         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2757         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2758         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2759         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2760         * sysdeps/x86_64/configure.in: Moved to ...
2761         * sysdeps/x86_64/configure.ac: ... here.
2762         * sysdeps/x86_64/preconfigure.in: Moved to ...
2763         * sysdeps/x86_64/preconfigure.ac: ... here.
2764         * aclocal.m4: Change reference to configure.in to configure.ac.
2765         * config.h.in: Likewise.
2766         * manual/install.texi: Likewise.
2767         * manual/maint.texi: Likewise.
2768         * Makefile: Likewise.
2769         * malloc/Makefile: Likewise.
2770         * nscd/Makefile: Likewise.
2771         * Makeconfig: Change reference to configure.in and
2772         preconfigure.in to configure.ac and preconfigure.ac
2773         respectively.
2774         * INSTALL: Regenerated.
2775         * configure: Likewise.
2776         * sysdeps/gnu/configure: Likewise.
2777         * sysdeps/i386/configure: Likewise.
2778         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2779         * sysdeps/mach/configure: Likewise.
2780         * sysdeps/mach/hurd/configure: Likewise.
2781         * sysdeps/powerpc/configure: Likewise.
2782         * sysdeps/powerpc/powerpc32/configure: Likewise.
2783         * sysdeps/powerpc/powerpc64/configure: Likewise.
2784         * sysdeps/s390/s390-32/configure: Likewise.
2785         * sysdeps/s390/s390-64/configure: Likewise.
2786         * sysdeps/sh/configure: Likewise.
2787         * sysdeps/sparc/configure: Likewise.
2788         * sysdeps/unix/sysv/linux/configure: Likewise.
2789         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2790         * sysdeps/x86_64/configure: Likewise.
2791         * sysdeps/x86_64/preconfigure: Likewise.
2793 2013-10-29  Andreas Schwab  <schwab@suse.de>
2795         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2797 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2799         * benchtests/pow-inputs: Add new inputs.
2801         * benchtests/exp-inputs: Add new inputs.
2803         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2804         conditional check for return value.
2805         (__cos32): Likewise.
2807 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2809         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2810         to provide a boost for large inputs with word alignment.
2811         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2812         implementation based on optimized PPC64 strcpy.
2813         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2814         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2815         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2816         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2818 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2820         [BZ #2801]
2821         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2823 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2825         [BZ #14876]
2826         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2827         * time/tst-strptime.c (day_tests): Add testcase.
2829 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2831         [BZ #14029]
2832         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2834 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2836         [BZ #16074]
2837         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2838         MAP_FAILED on error.
2840 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2842         [BZ #16072]
2843         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2844         heap for large requests.
2846 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2848         [BZ #9954]
2849         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2850         result if the result has no associated interface.
2851         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2852         interface for all 127.X.Y.Z addresses.
2854 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2856         * locale/iso-639.def: Add Ligurian (lij)
2858 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2860         [BZ #15825]
2861         * sunrpc/rpc_main.c: Document rpcgen -5.
2863 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2865         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2867 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2869         [BZ #10278]
2870         * posix/glob.c: Match only directories when trailing slash is present.
2871         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2872         (main): Add testcase.
2874 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2876         [BZ #15670]
2877         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2879 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2881         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2882         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2883         AUTH_DES and cindex for FIPS 140-2.
2884         (DES Encryption): Add cindex FIPS 46-3.
2886         * locale/locarchive.h (struct locarhandle): Add fname.
2887         * locale/programs/localedef.c (main): Pass ARGV[remaining]
2888         if an optional argument was specified to --list-archive,
2889         otherwise NULL.
2890         * locale/programs/locarchive.c (show_archive_content): Take new
2891         argument fname and pass it via ah.fname to open_archive.
2892         * locale/programs/localedef.h: Update decl.
2893         (open_archive): If AH->fname is non-null, open that file
2894         rather than the default file name, and don't ignore ENOENT.
2895         (create_archive): Set AH.fname to NULL.
2896         (delete_locales_from_archive): Likewise.
2897         (add_locales_to_archive): Likewise.
2898         * locale/programs/locfile.c (write_all_categories): Likewise.
2900 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
2901             Aldy Hernandez  <aldyh@redhat.com>
2903         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2904         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2905         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2906         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2907         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2908         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2909         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2910         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2911         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2912         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2913         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2914         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2915         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2916         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2917         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2918         Likewise.
2919         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2920         Likewise.
2921         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2922         Likewise.
2923         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2924         Likewise.
2925         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2926         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2927         Likewise.
2928         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2929         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2930         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2931         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2932         Likewise.
2933         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2934         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2935         * sysdeps/powerpc/preconfigure: Likewise.
2936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2937         Likewise.
2938         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2939         Replace contents of file by #include of <fenv_libc.h>.
2940         * sysdeps/powerpc/soft-fp/sfp-machine.h
2941         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2942         and <sys/prctl.h>.
2943         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2944         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2945         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2946         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2947         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2948         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2949         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2950         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2951         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2952         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2953         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2954         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2956         Allow copysignl PLT reference to be missing.
2958 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
2959             Joseph Myers  <joseph@codesourcery.com
2961         [BZ #15948]
2962         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2963         single character.
2964         (add_to_tablewc): Assert sequence of wide characters is nonempty.
2966 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2968         * elf/tst-tls-dlinfo.c: Don't include tls.h.
2969         * elf/tst-tls1.c: Likewise.
2970         * elf/tst-tls10.h: Likewise.
2971         * elf/tst-tls14.c: Likewise.
2972         * elf/tst-tls2.c: Likewise.
2973         * elf/tst-tls3.c: Likewise.
2974         * elf/tst-tls4.c: Likewise.
2975         * elf/tst-tls5.c: Likewise.
2976         * elf/tst-tls6.c: Likewise.
2977         * elf/tst-tls7.c: Likewise.
2978         * elf/tst-tls8.c: Likewise.
2979         * elf/tst-tls9.c: Likewise.
2980         * elf/tst-tlsmod1.c: Likewise.
2981         * elf/tst-tlsmod13.c: Likewise.
2982         * elf/tst-tlsmod13a.c: Likewise.
2983         * elf/tst-tlsmod14a.c: Likewise.
2984         * elf/tst-tlsmod16a.c: Likewise.
2985         * elf/tst-tlsmod16b.c: Likewise.
2986         * elf/tst-tlsmod2.c: Likewise.
2987         * elf/tst-tlsmod3.c: Likewise.
2988         * elf/tst-tlsmod4.c: Likewise.
2989         * elf/tst-tlsmod5.c: Likewise.
2990         * elf/tst-tlsmod6.c: Likewise.
2992 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
2994         [BZ #12486]
2995         * malloc/malloc.c: remove checks for statistics.
2997 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2999         [BZ #15277]
3000         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3001         * inet/tst-network.c: Add testcase.
3003 2013-10-17  Andreas Schwab  <schwab@suse.de>
3005         [BZ #15218]
3006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3007         to determine canonical name.
3009 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3011         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3012         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3013         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3014         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3015         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3016         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3017         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3018         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3019         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3020         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3021         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3022         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3023         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3024         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3025         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3026         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3027         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3028         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3029         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3030         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3031         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3032         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3033         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3034         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3035         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3036         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3037         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3038         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3039         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3040         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3041         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3042         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3043         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3044         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3045         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3046         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3047         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3048         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3049         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3050         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3051         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3052         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3053         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3054         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3055         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3056         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3057         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3058         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3059         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3060         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3061         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3062         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3063         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3064         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3065         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3066         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3067         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3068         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3070 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3072         [BZ #16041]
3073         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3074         make result into a quiet NaN.
3076 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3078         * soft-fp/adddf3.c: Fix horizontal whitespace.
3079         * soft-fp/addsf3.c: Likewise.
3080         * soft-fp/addtf3.c: Likewise.
3081         * soft-fp/divdf3.c: Likewise.
3082         * soft-fp/divsf3.c: Likewise.
3083         * soft-fp/divtf3.c: Likewise.
3084         * soft-fp/double.h: Likewise.
3085         * soft-fp/eqdf2.c: Likewise.
3086         * soft-fp/eqsf2.c: Likewise.
3087         * soft-fp/eqtf2.c: Likewise.
3088         * soft-fp/extenddftf2.c: Likewise.
3089         * soft-fp/extended.h: Likewise.
3090         * soft-fp/extendsfdf2.c: Likewise.
3091         * soft-fp/extendsftf2.c: Likewise.
3092         * soft-fp/extendxftf2.c: Likewise.
3093         * soft-fp/fixdfdi.c: Likewise.
3094         * soft-fp/fixdfsi.c: Likewise.
3095         * soft-fp/fixdfti.c: Likewise.
3096         * soft-fp/fixsfdi.c: Likewise.
3097         * soft-fp/fixsfsi.c: Likewise.
3098         * soft-fp/fixsfti.c: Likewise.
3099         * soft-fp/fixtfdi.c: Likewise.
3100         * soft-fp/fixtfsi.c: Likewise.
3101         * soft-fp/fixtfti.c: Likewise.
3102         * soft-fp/fixunsdfdi.c: Likewise.
3103         * soft-fp/fixunsdfsi.c: Likewise.
3104         * soft-fp/fixunsdfti.c: Likewise.
3105         * soft-fp/fixunssfdi.c: Likewise.
3106         * soft-fp/fixunssfsi.c: Likewise.
3107         * soft-fp/fixunssfti.c: Likewise.
3108         * soft-fp/fixunstfdi.c: Likewise.
3109         * soft-fp/fixunstfsi.c: Likewise.
3110         * soft-fp/fixunstfti.c: Likewise.
3111         * soft-fp/floatdidf.c: Likewise.
3112         * soft-fp/floatdisf.c: Likewise.
3113         * soft-fp/floatditf.c: Likewise.
3114         * soft-fp/floatsidf.c: Likewise.
3115         * soft-fp/floatsisf.c: Likewise.
3116         * soft-fp/floatsitf.c: Likewise.
3117         * soft-fp/floattidf.c: Likewise.
3118         * soft-fp/floattisf.c: Likewise.
3119         * soft-fp/floattitf.c: Likewise.
3120         * soft-fp/floatundidf.c: Likewise.
3121         * soft-fp/floatundisf.c: Likewise.
3122         * soft-fp/floatunditf.c: Likewise.
3123         * soft-fp/floatunsidf.c: Likewise.
3124         * soft-fp/floatunsisf.c: Likewise.
3125         * soft-fp/floatunsitf.c: Likewise.
3126         * soft-fp/floatuntidf.c: Likewise.
3127         * soft-fp/floatuntisf.c: Likewise.
3128         * soft-fp/floatuntitf.c: Likewise.
3129         * soft-fp/fmadf4.c: Likewise.
3130         * soft-fp/fmasf4.c: Likewise.
3131         * soft-fp/fmatf4.c: Likewise.
3132         * soft-fp/gedf2.c: Likewise.
3133         * soft-fp/gesf2.c: Likewise.
3134         * soft-fp/getf2.c: Likewise.
3135         * soft-fp/ledf2.c: Likewise.
3136         * soft-fp/lesf2.c: Likewise.
3137         * soft-fp/letf2.c: Likewise.
3138         * soft-fp/muldf3.c: Likewise.
3139         * soft-fp/mulsf3.c: Likewise.
3140         * soft-fp/multf3.c: Likewise.
3141         * soft-fp/negdf2.c: Likewise.
3142         * soft-fp/negsf2.c: Likewise.
3143         * soft-fp/negtf2.c: Likewise.
3144         * soft-fp/op-1.h: Likewise.
3145         * soft-fp/op-2.h: Likewise.
3146         * soft-fp/op-4.h: Likewise.
3147         * soft-fp/op-8.h: Likewise.
3148         * soft-fp/op-common.h: Likewise.
3149         * soft-fp/quad.h: Likewise.
3150         * soft-fp/single.h: Likewise.
3151         * soft-fp/soft-fp.h: Likewise.
3152         * soft-fp/sqrtdf2.c: Likewise.
3153         * soft-fp/sqrtsf2.c: Likewise.
3154         * soft-fp/sqrttf2.c: Likewise.
3155         * soft-fp/subdf3.c: Likewise.
3156         * soft-fp/subsf3.c: Likewise.
3157         * soft-fp/subtf3.c: Likewise.
3158         * soft-fp/truncdfsf2.c: Likewise.
3159         * soft-fp/trunctfdf2.c: Likewise.
3160         * soft-fp/trunctfsf2.c: Likewise.
3161         * soft-fp/trunctfxf2.c: Likewise.
3162         * soft-fp/unorddf2.c: Likewise.
3163         * soft-fp/unordsf2.c: Likewise.
3164         * soft-fp/unordtf2.c: Likewise.
3166 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3168         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3169         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3171 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3173         * elf/dl-libc.c: Clear initfini list after freeing.
3175 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3177         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3178         * soft-fp/addsf3.c: Likewise.
3179         * soft-fp/addtf3.c: Likewise.
3180         * soft-fp/divdf3.c: Likewise.
3181         * soft-fp/divsf3.c: Likewise.
3182         * soft-fp/divtf3.c: Likewise.
3183         * soft-fp/double.h: Likewise.
3184         * soft-fp/eqdf2.c: Likewise.
3185         * soft-fp/eqsf2.c: Likewise.
3186         * soft-fp/eqtf2.c: Likewise.
3187         * soft-fp/extenddftf2.c: Likewise.
3188         * soft-fp/extended.h: Likewise.
3189         * soft-fp/extendsfdf2.c: Likewise.
3190         * soft-fp/extendsftf2.c: Likewise.
3191         * soft-fp/extendxftf2.c: Likewise.
3192         * soft-fp/fixdfdi.c: Likewise.
3193         * soft-fp/fixdfsi.c: Likewise.
3194         * soft-fp/fixdfti.c: Likewise.
3195         * soft-fp/fixsfdi.c: Likewise.
3196         * soft-fp/fixsfsi.c: Likewise.
3197         * soft-fp/fixsfti.c: Likewise.
3198         * soft-fp/fixtfdi.c: Likewise.
3199         * soft-fp/fixtfsi.c: Likewise.
3200         * soft-fp/fixtfti.c: Likewise.
3201         * soft-fp/fixunsdfdi.c: Likewise.
3202         * soft-fp/fixunsdfsi.c: Likewise.
3203         * soft-fp/fixunsdfti.c: Likewise.
3204         * soft-fp/fixunssfdi.c: Likewise.
3205         * soft-fp/fixunssfsi.c: Likewise.
3206         * soft-fp/fixunssfti.c: Likewise.
3207         * soft-fp/fixunstfdi.c: Likewise.
3208         * soft-fp/fixunstfsi.c: Likewise.
3209         * soft-fp/fixunstfti.c: Likewise.
3210         * soft-fp/floatdidf.c: Likewise.
3211         * soft-fp/floatdisf.c: Likewise.
3212         * soft-fp/floatditf.c: Likewise.
3213         * soft-fp/floatsidf.c: Likewise.
3214         * soft-fp/floatsisf.c: Likewise.
3215         * soft-fp/floatsitf.c: Likewise.
3216         * soft-fp/floattidf.c: Likewise.
3217         * soft-fp/floattisf.c: Likewise.
3218         * soft-fp/floattitf.c: Likewise.
3219         * soft-fp/floatundidf.c: Likewise.
3220         * soft-fp/floatundisf.c: Likewise.
3221         * soft-fp/floatunsidf.c: Likewise.
3222         * soft-fp/floatunsisf.c: Likewise.
3223         * soft-fp/floatuntidf.c: Likewise.
3224         * soft-fp/floatuntisf.c: Likewise.
3225         * soft-fp/floatuntitf.c: Likewise.
3226         * soft-fp/fmadf4.c: Likewise.
3227         * soft-fp/fmasf4.c: Likewise.
3228         * soft-fp/fmatf4.c: Likewise.
3229         * soft-fp/gedf2.c: Likewise.
3230         * soft-fp/gesf2.c: Likewise.
3231         * soft-fp/getf2.c: Likewise.
3232         * soft-fp/ledf2.c: Likewise.
3233         * soft-fp/lesf2.c: Likewise.
3234         * soft-fp/letf2.c: Likewise.
3235         * soft-fp/muldf3.c: Likewise.
3236         * soft-fp/mulsf3.c: Likewise.
3237         * soft-fp/multf3.c: Likewise.
3238         * soft-fp/negdf2.c: Likewise.
3239         * soft-fp/negsf2.c: Likewise.
3240         * soft-fp/negtf2.c: Likewise.
3241         * soft-fp/op-1.h: Likewise.
3242         * soft-fp/op-2.h: Likewise.
3243         * soft-fp/op-4.h: Likewise.
3244         * soft-fp/op-8.h: Likewise.
3245         * soft-fp/op-common.h: Likewise.
3246         * soft-fp/quad.h: Likewise.
3247         * soft-fp/single.h: Likewise.
3248         * soft-fp/soft-fp.h: Likewise.
3249         * soft-fp/sqrtdf2.c: Likewise.
3250         * soft-fp/sqrtsf2.c: Likewise.
3251         * soft-fp/sqrttf2.c: Likewise.
3252         * soft-fp/subdf3.c: Likewise.
3253         * soft-fp/subsf3.c: Likewise.
3254         * soft-fp/subtf3.c: Likewise.
3255         * soft-fp/truncdfsf2.c: Likewise.
3256         * soft-fp/trunctfdf2.c: Likewise.
3257         * soft-fp/trunctfsf2.c: Likewise.
3258         * soft-fp/trunctfxf2.c: Likewise.
3259         * soft-fp/unorddf2.c: Likewise.
3260         * soft-fp/unordsf2.c: Likewise.
3261         * soft-fp/unordtf2.c: Likewise.
3263 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3265         [BZ #15672]
3266         * misc/error.c (error_tail): Fix possible buffer overflow.
3268 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3270         [BZ #13028]
3271         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3272         address.
3274 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3276         [BZ #832]
3277         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3278         testing pipefail option.
3280 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3282         * soft-fp/double.h: Indent preprocessor directives inside #if.
3283         * soft-fp/extended.h: Likewise.
3284         * soft-fp/op-2.h: Likewise.
3285         * soft-fp/op-4.h: Likewise.
3286         * soft-fp/op-common.h: Likewise.
3287         * soft-fp/quad.h: Likewise.
3288         * soft-fp/single.h: Likewise.
3289         * soft-fp/soft-fp.h: Likewise.
3291 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3293         * iconv/iconv_prog.c: Fix typos.
3294         * stdio-common/psiginfo-data.h: Likewise.
3296 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3298         [BZ #15764]
3299         * locale/setlocale.c: Fix typo.
3301 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3303         [BZ #16036]
3304         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3305         signaling NaN arguments.
3306         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3307         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3309         [BZ #14910]
3310         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3311         unordered operands.
3312         * soft-fp/gesf2.c (__gesf2): Likewise.
3313         * soft-fp/getf2.c (__getf2): Likewise.
3314         * soft-fp/ledf2.c (__ledf2): Likewise.
3315         * soft-fp/lesf2.c (__lesf2): Likewise.
3316         * soft-fp/letf2.c (__letf2): Likewise.
3318         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3319         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3320         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3321         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3322         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3323         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3324         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3325         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3326         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3327         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3328         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3329         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3330         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3331         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3332         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3333         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3334         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3335         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3336         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3337         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3338         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3339         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3340         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3341         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3342         * soft-fp/floattidf.c (__floattidf): Likewise.
3343         * soft-fp/floattisf.c (__floattisf): Likewise.
3344         * soft-fp/floattitf.c (__floattitf): Likewise.
3345         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3346         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3347         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3348         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3349         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3350         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3351         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3352         * soft-fp/gesf2.c (__gesf2): Likewise.
3353         * soft-fp/getf2.c (__getf2): Likewise.
3354         * soft-fp/ledf2.c (__ledf2): Likewise.
3355         * soft-fp/lesf2.c (__lesf2): Likewise.
3356         * soft-fp/letf2.c (__letf2): Likewise.
3358         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3359         Undefine and redefine.
3360         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3361         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3362         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3363         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3364         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3365         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3366         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3367         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3368         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3369         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3370         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3371         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3372         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3373         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3374         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3376         [BZ #16032]
3377         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3378         without decrementing exponent if mantissa >= that for the
3379         denominator, not >.
3380         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3381         denominator, not >.  Decrement exponent in < case instead of
3382         incrementing in >= case.
3383         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3384         without decrementing exponent if mantissa >= that for the
3385         denominator, not >.
3387         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3388         computing saturated result for unsigned overflow.
3390 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3391             Jeff Law  <law@redhat.com>
3393         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3394         (atan2Mp): Add systemtap probe marker.
3395         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3396         (__ieee754_log): Add systemtap probe marker.
3397         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3398         (atanMp): Add systemtap probe marker.
3399         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3400         (tanMp): Add systemtap probe marker.
3401         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3402         (__slowexp): Add systemtap probe marker.
3403         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3404         (__slowpow): Add systemtap probe marker.
3405         * manual/probes.texi: Document probes.
3407 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3409         [BZ #15362]
3410         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3411         written.
3412         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3413         written.
3414         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3415         written to buffer but not flushed.
3416         * libio/iofwrite_u.c:  Likewise.
3417         * libio/iopadn.c:  Return bytes returned even if EOF was
3418         encountered.
3419         * libio/iowpadn.c:  Likewise.
3420         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3421         if _IO_padn does not write the whole buffer.
3422         [!COMPILE_WPRINTF] (PAD): Likewise.
3424 2013-10-10  David S. Miller  <davem@davemloft.net>
3426         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3427         directory block.
3429 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3431         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3432         instead of FSF address.
3433         * soft-fp/fixdfti.c: Likewise.
3434         * soft-fp/fixsfti.c: Likewise.
3435         * soft-fp/fixtfti.c: Likewise.
3436         * soft-fp/fixunsdfti.c: Likewise.
3437         * soft-fp/fixunssfti.c: Likewise.
3438         * soft-fp/fixunstfti.c: Likewise.
3439         * soft-fp/floattidf.c: Likewise.
3440         * soft-fp/floattisf.c: Likewise.
3441         * soft-fp/floattitf.c: Likewise.
3442         * soft-fp/floatuntidf.c: Likewise.
3443         * soft-fp/floatuntisf.c: Likewise.
3444         * soft-fp/floatuntitf.c: Likewise.
3445         * soft-fp/trunctfxf2.c: Likewise.
3447         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3448         * soft-fp/fixdfti.c: Likewise.
3449         * soft-fp/fixsfti.c: Likewise.
3450         * soft-fp/fixtfti.c: Likewise.
3451         * soft-fp/fixunsdfti.c: Likewise.
3452         * soft-fp/fixunssfti.c: Likewise.
3453         * soft-fp/fixunstfti.c: Likewise.
3454         * soft-fp/floattidf.c: Likewise.
3455         * soft-fp/floattisf.c: Likewise.
3456         * soft-fp/floattitf.c: Likewise.
3457         * soft-fp/floatuntidf.c: Likewise.
3458         * soft-fp/floatuntisf.c: Likewise.
3459         * soft-fp/floatuntitf.c: Likewise.
3460         * soft-fp/trunctfxf2.c: Likewise.
3462 2013-10-10  David S. Miller  <davem@davemloft.net>
3464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3466 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
3468         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3469         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3470         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3471         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3472         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3473         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3474         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3476         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3477         for NaNs before doing comparisons on argument.
3478         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3479         Likewise.
3481 2013-10-10  Will Newton  <will.newton@linaro.org>
3483         * malloc/hooks.c (memalign_check): Ensure the value of bytes
3484         passed to _int_memalign does not overflow.
3486 2013-10-10  Torvald Riegel  <triegel@redhat.com>
3488         * scripts/bench.pl: Add include-sources directive.
3489         * benchtests/README: Update documentation.
3491 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3493         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3494         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3495         instead of FP_INIT_ROUNDMODE.
3496         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3497         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3499         [BZ #16034]
3500         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
3501         copy class of input value.
3502         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
3503         not handle exceptions.
3504         * soft-fp/negsf2.c (__negsf2): Likewise.
3505         * soft-fp/negtf2.c (__negtf2): Likewise.
3506         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3508 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
3510         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3511         semicolon.  From Linux kernel.
3513 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
3515         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3517 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
3519         [BZ #156]
3520         * manual/socket.texi: Added statement about buffer
3521         for gethostbyname2_r.
3523 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
3525         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3526         Use .p2align directive instead, throughout.
3527         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3528         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3529         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3530         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3531         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3532         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3533         * sysdeps/x86_64/strchr.S: Likewise.
3534         * sysdeps/x86_64/strrchr.S: Likewise.
3536 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3538         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3540         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3542         * sysdeps/generic/math_private.h (__mpsin1): Remove
3543         declaration.
3544         (__mpcos1): Likewise.
3545         (__mpsin): New argument __range_reduce.
3546         (__mpcos): Likewise.
3547         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3548         (slow): Use __mpsin and __mpcos.
3549         (slow1): Likewise.
3550         (slow2): Likewise.
3551         (sloww): Likewise.
3552         (sloww1): Likewise.
3553         (sloww2): Likewise.
3554         (bsloww): Likewise.
3555         (bsloww1): Likewise.
3556         (bsloww2): Likewise.
3557         (cslow2): Likewise.
3558         (csloww): Likewise.
3559         (csloww1): Likewise.
3560         (csloww2): Likewise.
3561         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3562         range_reduce.  Merge in __mpsin1.
3563         (__mpcos): Likewise.
3564         (__mpsin1): Remove.
3565         (__mpcos1): Likewise.
3567 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3569         * locale/loadlocale.c (_nl_intern_locale_data): Use
3570         LOCFILE_ALIGNED_P.
3571         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3572         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3573         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3574         obstack data is appropriately aligned.
3575         (obstack_int32_grow_fast): Likewise.
3576         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3577         * locale/programs/locfile.c (add_locale_uint32): Likewise.
3578         (add_locale_uint32_array): Likewise.
3580 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3582         * benchtests/Makefile: Remove ARGLIST and RET variables.
3583         ($(objpfx)bench-%.c): Pass only function name to the script.
3584         * benchtests/README: Update documentation.
3585         * benchtests/acos-inputs: Add new directives.
3586         * benchtests/acosh-inputs: Likewise.
3587         * benchtests/asin-inputs: Likewise.
3588         * benchtests/asinh-inputs: Likewise.
3589         * benchtests/atan-inputs: Likewise.
3590         * benchtests/atanh-inputs: Likewise.
3591         * benchtests/cos-inputs: Likewise.
3592         * benchtests/cosh-inputs: Likewise.
3593         * benchtests/exp-inputs: Likewise.
3594         * benchtests/log-inputs: Likewise.
3595         * benchtests/pow-inputs: Likewise.
3596         * benchtests/rint-inputs: Likewise.
3597         * benchtests/sin-inputs: Likewise.
3598         * benchtests/sinh-inputs: Likewise.
3599         * benchtests/tan-inputs: Likewise.
3600         * benchtests/tanh-inputs: Likewise.
3601         * scripts/bench.pl: Add support for new directives.
3603 2013-10-07  Alan Modra  <amodra@gmail.com>
3605         * README: Fix careless merge.
3607 2013-10-05  Alan Modra  <amodra@gmail.com>
3609         * NEWS: Mention powerpc64le support and bugs fixed.
3610         * README: Both big-endian and little-endian powerpc64 supported.
3612 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3614         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3615         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3616         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3617         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3619 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
3621         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3622         match prototype.
3624 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
3626         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3627         Move -mhard-float appending from
3628         ports/sysdeps/powerpc/powerpc32/Makefile.
3629         [$(with-fp) = yes] (ASFLAGS): Likewise.
3630         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3631         * sysdeps/powerpc/nofpu: Move directory from
3632         ports/sysdeps/powerpc/nofpu.
3633         * sysdeps/powerpc/soft-fp: Move directory from
3634         ports/sysdeps/powerpc/soft-fp.
3635         * sysdeps/powerpc/powerpc32/405: Move directory from
3636         ports/sysdeps/powerpc/powerpc32/405.
3637         * sysdeps/powerpc/powerpc32/440: Move directory from
3638         ports/sysdeps/powerpc/powerpc32/440.
3639         * sysdeps/powerpc/powerpc32/464: Move directory from
3640         ports/sysdeps/powerpc/powerpc32/464.
3641         * sysdeps/powerpc/powerpc32/476: Move directory from
3642         ports/sysdeps/powerpc/powerpc32/476.
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3644         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3646         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3648         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3650         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3652         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3653         * README: Update for powerpc-*-linux-gnu software floating point
3654         support in libc.
3656         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3657         case to powerpc/powerpc32*.
3658         * sysdeps/unix/sysv/linux/configure: Regenerated.
3660         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3661         (_FPU_MASK_OM): Define as 0x04.
3662         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3663         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3664         0x00c10080.
3665         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3666         0x0000003c.
3667         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3670         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3671         getcontext_e500.
3672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3673         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3674         setcontext_e500.
3675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3676         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3677         and setcontext_e500.
3679 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3681         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3683 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3685         * manual/threads.texi (Default Thread Attributes): Fix typo.
3687 2013-10-04  Will Newton  <will.newton@linaro.org>
3689         * malloc/Makefile: Add tst-memalign.
3690         * malloc/tst-memalign.c: New file.
3692         * malloc/tst-posix_memalign.c: Add comments.
3693         (do_test): Add comments and call free on all potentially
3694         allocated pointers. Add space after cast.
3696         * malloc/tst-pvalloc.c: Add comments.
3697         (do_test): Add comments and call free on all potentially
3698         allocated pointers. Remove duplicate check for NULL pointer.
3699         Add space after cast.
3701         * malloc/tst-valloc.c: Add comments.
3702         (do_test): Add comments and call free on all potentially
3703         allocated pointers. Remove duplicate check for NULL pointer.
3704         Add space after cast.
3706 2013-10-04  Alan Modra  <amodra@gmail.com>
3708         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3709         Use stdint types in rather than __attribute__((mode())).
3710         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3712 2013-10-04  Alan Modra  <amodra@gmail.com>
3714         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3715         Correct handling of unaligned relocs for little-endian.
3716         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3718 2013-10-04  Alan Modra  <amodra@gmail.com>
3720         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3721         * configure: Regenerate.
3722         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3723         * shlib-versions: Likewise.
3725 2013-10-04  Alan Modra  <amodra@gmail.com>
3727         * string/tester.c (test_memrchr): Increment reported test cycle.
3729 2013-10-04  Alan Modra  <amodra@gmail.com>
3731         * string/test-memcpy.c (do_one_test): When reporting errors, print
3732         string address and don't overrun end of string.
3734 2013-10-04  Alan Modra  <amodra@gmail.com>
3736         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3737         insrdi.  Make better use of reg selection to speed exit slightly.
3738         Schedule entry path a little better.  Remove useless "are we done"
3739         checks on entry to main loop.  Handle wrapping around zero address.
3740         Correct main loop count.  Handle single left-over word from main
3741         loop inline rather than by using loop_small.  Remove extra word
3742         case in loop_small caused by wrong loop count.  Add little-endian
3743         support.
3744         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3745         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3746         cache hint.
3747         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3748         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3749         support.  Avoid rlwimi.
3750         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3752 2013-10-04  Alan Modra  <amodra@gmail.com>
3754         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3755         insrdi.  Formatting.
3756         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3757         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3758         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3759         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3760         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3761         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3763 2013-10-04  Alan Modra  <amodra@gmail.com>
3765         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3766         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3767         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3768         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3769         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3770         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3771         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3772         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3773         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3774         use of regs.  Use power7 mtocrf.  Tidy function tails.
3776 2013-10-04  Alan Modra  <amodra@gmail.com>
3778         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3779         Formatting.  Consistently use rXXX register defines or rN defines.
3780         Use early exit labels that avoid restoring unused non-volatile regs.
3781         Make cr field use more consistent with rWORDn compares.  Rename
3782         regs used as shift registers for unaligned loop, using rN defines
3783         for short lifetime/multiple use regs.
3784         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3785         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3786         addi 1,1,64 to pop stack frame.  Simplify return value code.
3787         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3789 2013-10-04  Alan Modra  <amodra@gmail.com>
3791         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3792         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3793         rather than rlwimi.
3794         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3795         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3796         little-endian support.  Correct typos.
3797         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3798         rather than rlwimi.
3799         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3800         in loop and entry code to keep "and." results.
3801         (strchr): Add little-endian support.  Comment.  Move cntlzd
3802         earlier in tail.
3803         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3805 2013-10-04  Alan Modra  <amodra@gmail.com>
3807         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3808         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3809         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3810         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3812 2013-10-04  Alan Modra  <amodra@gmail.com>
3814         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3815         (rTMP): Define as r11.
3816         (strcmp): Add little-endian support.  Optimise tail.
3817         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3818         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3819         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3820         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3821         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3822         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3823         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3825 2013-10-04  Alan Modra  <amodra@gmail.com>
3827         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3828         little-endian support.  Remove unnecessary "are we done" tests.
3829         Handle "s" wrapping around zero and extremely large "size".
3830         Correct main loop count.  Handle single left-over word from main
3831         loop inline rather than by using small_loop.  Correct comments.
3832         Delete "zero" tail, use "end_max" instead.
3833         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3835 2013-10-04  Alan Modra  <amodra@gmail.com>
3837         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3838         support.  Don't branch over align.
3839         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3840         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3841         support.  Rearrange tmp reg use to suit.  Comment.
3842         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3844 2013-10-04  Alan Modra  <amodra@gmail.com>
3846         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3848 2013-10-04  Alan Modra  <amodra@gmail.com>
3850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3851         conditional form of branch and link when obtaining pc.
3852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3854 2013-10-04  Alan Modra  <amodra@gmail.com>
3856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3857         HIWORD/LOWORD.
3858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3861 2013-10-04  Alan Modra  <amodra@gmail.com>
3863         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3864         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3865         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3866         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3867         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3868         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3869         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3870         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3871         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3872         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3874 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3875             Alistair Popple <alistair@ozlabs.au.ibm.com>
3876             Alan Modra <amodra@gmail.com>
3878         [BZ #15723]
3879         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3880         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3881         _dl_hwcap access for little-endian.
3882         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3883         destroy vmx regs when saving unaligned.
3884         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3885         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
3886         destroy vmx regs when saving unaligned.
3888 2013-10-04  Alan Modra  <amodra@gmail.com>
3890         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3891         Don't use a union to pack hi/low value.
3893 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3895         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3896         for little-endian.
3897         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3898         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3899         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3900         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3901         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3903 2013-10-04  Alan Modra  <amodra@gmail.com>
3905         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3906         constants to usual value for .cst8 section, and remove redundant
3907         high address load.
3908         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3909         constant for 0x1p52.  Load little-endian words of double from
3910         correct stack offsets.
3912 2013-10-04  Alan Modra  <amodra@gmail.com>
3914         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3915         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3916         words of double from correct stack offsets.
3917         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3918         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3919         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3920         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3921         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3922         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3923         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3924         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3925         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3926         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3927         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3928         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3929         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3930         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3931         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3932         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3933         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3935 2013-10-04  Alan Modra  <amodra@gmail.com>
3937         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3938         64-bit int/double union.
3939         (_FPU_SETCW): Likewise.
3940         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3941         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3943 2013-10-04  Alan Modra  <amodra@gmail.com>
3945         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3946         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3948 2013-10-04  Alan Modra  <amodra@gmail.com>
3950         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3951         use vector int constants.
3952         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3954 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3956         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3957         array with long long.
3958         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3959         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3960         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3961         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3962         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3963         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3964         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3965         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3966         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3967         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3968         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3969         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3970         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3972 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3974         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3975         (__signbit): Likewise.  Correct for little-endian.
3976         (__signbitl): Call __signbit.
3977         (lrint): Correct for little-endian.
3978         (lrintf): Call lrint.
3980 2013-10-04  Alan Modra  <amodra@gmail.com>
3982         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3983         union 32-bit int array member with 64-bit int array.
3984         (t515, tm256): Double rather than long double.
3985         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3987 2013-10-04  Alan Modra  <amodra@gmail.com>
3989         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3990         Delete.
3991         (IEEE854_LONG_DOUBLE_BIAS): Delete.
3992         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3993         version of math_ldbl.h.
3995 2013-10-04  Alan Modra  <amodra@gmail.com>
3997         [BZ #15734], [BZ #15735]
3998         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3999         all uses of ieee875 long double macros and unions.  Simplify test
4000         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4001         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4002         normalize after ldbl_extract_mantissa, and don't add hidden bit
4003         already handled.  Don't treat low word of ieee854 mantissa like
4004         low word of IBM long double and mask off bit when testing for
4005         zero.
4006         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4007         all uses of ieee875 long double macros and unions.  Simplify tests
4008         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4009         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4010         two1022, instead use their values.  Recognise that tests for large
4011         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4012         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4013         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4014         test for 0.0L and nan.  Correct negation.
4015         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4016         ieee875 long double macros and unions.  Correct output for large
4017         magnitude x.  Correct absolute value calculation.
4018         (__erfcl): Likewise.
4019         * math/libm-test.inc: Add tests for errors discovered in IBM long
4020         double versions of fmodl, remainderl, erfl and erfcl.
4022 2013-10-04  Alan Modra  <amodra@gmail.com>
4024         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4025         all uses of ieee854 long double macros and unions.  Simplify tests
4026         for long doubles that are fully specified by the high double.
4027         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4028         Likewise.
4029         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4030         Remove dead code too.
4031         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4032         (__ieee754_ynl): Likewise.
4033         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4034         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4035         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4036         Remove dead code too.
4037         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4038         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4039         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4040         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4041         Simplify.
4042         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4043         Simplify.
4044         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4045         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4046         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4047         Comment on variable precision.
4048         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4049         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4050         Likewise.
4051         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4052         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4053         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4054         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4055         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4057 2013-10-04  Alan Modra  <amodra@gmail.com>
4059         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4060         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4061         all uses of ieee854 long double macros and unions.
4062         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4063         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4064         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4065         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4066         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4067         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4068         Likewise.
4069         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4070         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4071         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4072         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4073         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4074         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4075         Simplify sign and nan test too.
4076         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4077         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4078         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4079         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4080         Likewise.
4081         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4082         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4083         Likewise.
4084         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4085         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4086         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4087         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4088         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4089         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4091 2013-10-04  Alan Modra  <amodra@gmail.com>
4093         * stdio-common/printf_size.c (__printf_size): Don't use
4094         union ieee854_long_double in fpnum union.
4095         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4096         signbit macro to retrieve sign from long double.
4097         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4098         retrieve sign from long double.
4099         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4100         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4101         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4102         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4103         * math/test-misc.c (main): Don't use union ieee854_long_double.
4105 2013-10-04  Alan Modra  <amodra@gmail.com>
4107         [BZ #15680]
4108         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4109         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4110         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4111         calculation.  Remove unnecessary test for denormal exponent.
4112         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4113         Correct handling of denormals.  Avoid undefined shift behaviour.
4114         Correct normalisation of low mantissa when low double is denormal.
4115         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4116         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4117         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4118         Correct normalisation of low mantissa.  Test for overflow of high
4119         mantissa and normalise.
4120         (ldbl_nearbyint): Use more readable constant for two52.
4121         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4122         (__mpn_construct_long_double): Fix test for overflow of high
4123         mantissa and correct normalisation.  Avoid undefined shift.
4125 2013-10-04  Alan Modra  <amodra@gmail.com>
4127         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4128         (union ibm_extended_long_double): Define as an array of ieee754_double.
4129         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4130         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4131         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4132         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4133         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4134         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4135         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4136         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4137         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4138         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4139         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4141 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4143         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4144         page size instead of calling getpagesize.
4146         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4147         (LOCFILE_ALIGN_MASK): Likewise.
4148         (LOCFILE_ALIGN_UP): Likewise.
4149         (LOCFILE_ALIGNED_P): Likewise.
4150         * locale/programs/ld-collate.c (collate_output): Use the new
4151         macros instead of __alignof__ (int32_t).
4152         * locale/weight.h (findidx): Likewise.
4154 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4156         [BZ #431]
4157         * manual/string.texi: Fix strncat and wcsncat.
4159 2013-10-03  Brooks Moses  <bmoses@google.com>
4161         [BZ #15915]
4162         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4163         * Makerules: ...here, and adjust associated comments.
4165 2013-10-02  Will Newton  <will.newton@linaro.org>
4167         * malloc/Makefile: Add tst-pvalloc.
4168         * malloc/tst-pvalloc.c: New file.
4170 2013-10-02  Will Newton  <will.newton@linaro.org>
4172         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4173         improve test coverage.
4175 2013-10-02  Will Newton  <will.newton@linaro.org>
4177         * malloc/Makefile: Add tst-posix_memalign.
4178         * malloc/tst-posix_memalign.c: New file.
4180 2013-10-01  Eric Blake  <eblake@redhat.com>
4182         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4183         Use __THROWNL rather than __THROW on static functions.
4185 2013-09-30  Petr Machata  <pmachata@redhat.com>
4187         * elf/elf.h (R_AARCH64_ABS16): New macro.
4188         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4189         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4190         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4191         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4192         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4193         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4194         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4195         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4196         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4197         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4198         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4199         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4200         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4201         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4202         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4203         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4204         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4205         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4206         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4207         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4208         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4209         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4210         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4211         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4212         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4213         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4214         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4215         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4216         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4217         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4218         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4219         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4220         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4221         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4222         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4223         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4224         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4225         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4226         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4227         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4228         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4229         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4230         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4231         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4232         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4233         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4234         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4235         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4236         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4237         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4238         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4239         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4240         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4241         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4242         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4243         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4244         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4245         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4246         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4247         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4248         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4249         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4250         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4251         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4252         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4253         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4254         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4255         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4256         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4257         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4258         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4259         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4260         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4261         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4262         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4263         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4264         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4265         (R_AARCH64_TLSDESC_LDR): Likewise.
4266         (R_AARCH64_TLSDESC_ADD): Likewise.
4267         (R_AARCH64_TLSDESC_CALL): Likewise.
4269 2013-09-30  Andreas Schwab  <schwab@suse.de>
4271         [BZ #15048]
4272         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4273         the nss database lookup.
4274         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4275         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4277 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4279         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4281 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4283         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4284         ${Bash-specific parameter/pattern/string} parameter expansion.
4285         * sysdeps/unix/make-syscalls.sh: Likewise.
4287 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4289         * sysdeps/sh/stackguard-macros.h: New file.
4291 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4294         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4295         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4296         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4297         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4298         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4300 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4302         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4303         Fix thread ID register.
4305 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4307         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4308         [POSIX || UNIX98]: Require rather than permitting all symbols from
4309         <time.h>.
4310         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4311         element of struct sched_param.
4312         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4313         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4314         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4315         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4316         constant.
4318 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4320         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4321         argument calculation.
4323 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4325         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4326         Expect macro.
4327         [POSIX] (pthread_attr_t): Do not require type.
4328         [POSIX] (pthread_cond_t): Likewise.
4329         [POSIX] (pthread_condattr_t): Likewise.
4330         [POSIX] (pthread_key_t): Likewise.
4331         [POSIX] (pthread_mutex_t): Likewise.
4332         [POSIX] (pthread_mutexattr_t): Likewise.
4333         [POSIX] (pthread_once_t): Likewise.
4334         [POSIX] (pthread_t): Likewise.
4335         [POSIX-based standards] (pthread_atfork): Expect function.
4337 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4338             Richard Sandiford  <richard@codesourcery.com>
4340         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4341         (swap_endianness_p): New extern variable.
4342         (set_big_endian): New inline function.
4343         (maybe_swap_uint32): Likewise.
4344         (maybe_swap_uint32_array): Likewise.
4345         (maybe_swap_uint32_obstack): Likewise.
4346         * locale/programs/locfile.c: Include <stdbool.h>.
4347         (swap_endianness_p): New variable.
4348         (add_locale_uint32): Call maybe_swap_uint32.
4349         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4350         (write_locale_data): Call maybe_swap_uint32_array.
4351         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4352         maybe_swap_uint32.
4353         (obstack_int32_grow_fast): Likewise.
4354         (output_weightwc): Call maybe_swap_uint32_obstack.
4355         (collate_output): Likewise.
4356         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4357         (OPT_LITTLE_ENDIAN): Likewise.
4358         (options): Add --little-endian and --big-endian options.
4359         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4360         * locale/programs/locarchive.c: Include "locfile.h".
4361         (GET): New macro.
4362         (SET): Likewise.
4363         (INC): Likewise.
4364         (create_archive): Use the new macros to access fields of
4365         structures directly mapped from or written to locale archives.
4366         (oldlocrecentcmp): Likewise.
4367         (enlarge_archive): Likewise.
4368         (insert_name): Likewise.
4369         (add_alias): Likewise.
4370         (add_locale): Likewise.
4371         (delete_locales_from_archive): Likewise.
4372         (show_archive_content): Likewise.
4373         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4374         locale data.
4376 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4378         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4379         http://www.gnu.org/doc/freemanuals.texi.
4380         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4382 2013-09-24  Will Newton  <will.newton@linaro.org>
4384         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4385         macro.
4387 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4389         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4390         unsigned char.
4392 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4394         * manual/threads.texi (POSIX Threads): Fix a typo.
4396 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4398         [BZ #14547]
4399         * string/tst-strcoll-overflow.c: New test case.
4400         * string/Makefile (xtests): Add tst-strcoll-overflow.
4401         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4402         cache if string sizes may cause integer overflow.
4404         [BZ #14547]
4405         * string/strcoll_l.c (coll_seq): New members rule, idx,
4406         save_idx and back_us.
4407         (get_next_seq_nocache): New function.
4408         (do_compare_nocache): New function.
4409         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4410         when malloc fails.
4412 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4414         [BZ #15754]
4415         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4416         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4417         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4419         [BZ #15754]
4420         * elf/Makefile (tests): Add tst-ptrguard1.
4421         (tests-static): Add tst-ptrguard1-static.
4422         (tst-ptrguard1-ARGS): Define.
4423         (tst-ptrguard1-static-ARGS): Define.
4424         * elf/tst-ptrguard1.c: New file.
4425         * elf/tst-ptrguard1-static.c: New file.
4426         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4427         * sysdeps/i386/stackguard-macros.h: Likewise.
4428         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4429         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4430         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4431         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4432         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4433         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4435 2013-09-23  Hector Marco  <hecmargi@upv.es>
4436             Ismael Ripoll  <iripoll@disca.upv.es>
4437             Carlos O'Donell  <carlos@redhat.com>
4439         [BZ #15754]
4440         * sysdeps/generic/stackguard-macros.h: Define
4441         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4442         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4443         Define __pointer_chk_guard_local.
4444         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4445         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4447 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4449         [BZ #15859]
4450         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4452 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4454         * include/string.h (__ffs): Declare as hidden.
4455         * string/ffs.c (__ffs): Define as hidden.
4456         * sysdeps/i386/ffs.c (__ffs): Likewise.
4457         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4458         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4459         * sysdeps/s390/ffs.c (__ffs): Likewise.
4460         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4462 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
4464         * NEWS: Mention malloc probes.
4466         * malloc/arena.c (new_heap): New memory_heap_new probe.
4467         (grow_heap): New memory_heap_more probe.
4468         (shrink_heap): New memory_heap_less probe.
4469         (heap_trim): New memory_heap_free probe.
4470         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4471         (systrim): New memory_sbrk_less probe.
4472         * manual/probes.texi: Document them.
4474         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4475         * manual/probes.texi: Document it.
4477         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4478         (__libc_realloc): Add memory_realloc_retry probe.
4479         (__libc_memalign): Add memory_memalign_retry probe.
4480         (__libc_valloc): Add memory_valloc_retry probe.
4481         (__libc_pvalloc): Add memory_pvalloc_retry probe.
4482         (__libc_calloc): Add memory_calloc_retry probe.
4483         * manual/probes.texi: Document them.
4485         * malloc/arena.c (get_free_list): Add probe
4486         memory_arena_reuse_free_list.
4487         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4488         and memory_arena_reuse.
4489         (arena_get2) [!PER_THREAD]: Likewise.
4490         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4491         memory_arena_reuse_realloc.
4492         * manual/probes.texi: Document them.
4494         * malloc/malloc.c (__libc_free): Add
4495         memory_mallopt_free_dyn_thresholds probe.
4496         (__libc_mallopt): Add multiple memory_mallopt probes.
4497         * manual/probes.texi: Document them.
4499         * malloc/malloc.c: Include stap-probe.h.
4500         (__libc_mallopt): Add memory_mallopt probe.
4501         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4502         * manual/probes.texi: New.
4503         * manual/Makefile (chapters): Add probes.
4504         * manual/threads.texi: Set next node.
4506 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
4508         [BZ #15963, #13985]
4509         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4510         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4511         Add `Chinese' to `nan' entry name.
4513 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4515         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4516         (POLYNOMIAL): Likewise.
4517         (TAYLOR_SINCOS): Likewise.
4518         (TAYLOR_SLOW): Likewise.
4519         (__sin): Use TAYLOR_SINCOS.
4520         (__cos): Likewise.
4521         (slow): Use TAYLOR_SLOW.
4522         (sloww): Likewise.
4523         (bsloww): Likewise.
4524         (csloww): Likewise.
4526 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4528         * stdlib/strtod_l.c: Fix buffer overrun.
4530 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4532         * benchtests/Makefile (bench): Add sincos.
4533         * benchtests/bench-sincos.c: New file.
4535         * math/libm-test.inc (cos_test_data): New test inputs.
4536         (sin_test_data): Likewise.
4538         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4539         macro.
4540         (__sin): Use it.
4541         (__cos): Likewise.
4542         (slow1): Likewise.
4543         (slow2): Likewise.
4544         (sloww1): Likewise.
4545         (sloww2): Likewise.
4546         (bsloww1): Likewise.
4547         (bsloww2): Likewise.
4548         (cslow2): Likewise.
4549         (csloww1): Likewise.
4550         (csloww2): Likewise.
4552         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4553         function.
4554         (__sin): Use it.
4555         (__cos): Likewise.
4557         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4558         gotos.
4559         (__cos): Likewise.
4561 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
4563         * config.h.in (HAVE_MIPS_NAN2008): New macro.
4564         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4565         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4566         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4567         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4568         * elf/cache.c (print_entry): Handle the new cache flags.
4570 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4571             Aldy Hernandez  <aldyh@redhat.com>
4573         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4574         Change condition to [_SOFT_FLOAT].
4575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4584         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4585         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4586         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4587         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4588         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4589         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4590         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4591         declaration.
4593 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4595         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4596         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4597         (__longjmp): Use LOAD_GP to load saved GPRs.
4598         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4599         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4600         (__sigsetjmp): Use SAVE_GP to save GPRs.
4602         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4603         Do not append -msoft-float.
4604         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4606 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4608         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4610 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
4612         [BZ #15966]
4613         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4614         (_FPU_GETCW): Use initial "__" on variable and field names but not
4615         on macro parameter name.
4616         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
4617         parentheses around reference to macro parameter.
4619 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
4621         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4622         prototype.
4623         (ctype_startup): Use uint32_t in cast and sizeof for
4624         ctype->charnames.
4626 2013-09-11  Jia Liu  <proljc@gmail.com>
4628         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4629         __daddr_t_defined.
4630         [__FreeBSD__]: Likewise.
4632 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
4634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4635         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4636         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4637         (strchr): Remove __strchr_sse42 ifunc selection.
4638         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4639         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4641 2013-09-11  Will Newton  <will.newton@linaro.org>
4643         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4644         parameter to RES. Remove hardcoded 1000 value.
4645         * benchtests/bench-skeleton.c (main): Pass RES parameter
4646         to TIMING_INIT and multiply result by 1000.
4648 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4652 2013-09-11  Andreas Schwab  <schwab@suse.de>
4654         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4655         if not defined.
4656         (O_TMPFILE) [__USE_GNU]: Define.
4657         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4658         Define.
4660 2013-09-11  Will Newton  <will.newton@linaro.org>
4662         [BZ #15857]
4663         * malloc/malloc.c (__libc_memalign): Check the value of bytes
4664         does not overflow.
4666 2013-09-11  Will Newton  <will.newton@linaro.org>
4668         [BZ #15856]
4669         * malloc/malloc.c (__libc_valloc): Check the value of bytes
4670         does not overflow.
4672 2013-09-11  Will Newton  <will.newton@linaro.org>
4674         [BZ #15855]
4675         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4676         does not overflow.
4678 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
4680         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4681         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4682         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4683         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4684         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4686 2013-09-10  Allan McRae  <allan@archlinux.org>
4688         [BZ #15748]
4689         * manual/arith.texi (Parsing of Floats): Clarify
4690         cross-reference.
4692         [BZ #15849]
4693         * manual/install.texi (Running make install): Mention
4694         --enable-pt-chown.
4695         * INSTALL: Regenerated.
4697 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4699         * csu/init-first.c (_init): Remove the !SHARED condition around
4700         FPU control word initialization.
4701         * elf/dl-support.c (_dl_fpu_control): New variable.
4702         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4703         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4704         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4705         * math/test-fpucw-static.c: New file.
4706         * math/test-fpucw-ieee.c: New file.
4707         * math/test-fpucw-ieee-static.c: New file.
4708         * math/Makefile (tests): Add `test-fpucw-ieee' and
4709         `$(tests-static)'.
4710         (tests-static): New variable.
4711         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4712         dependency to...
4713         [($(build-shared),yes)]
4714         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4715         ... this.
4716         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4717         New dependency.
4719 2013-09-09  Allan McRae  <allan@archlinux.org>
4721         [BZ #15939]
4722         * manual/string.texi (Collation Functions): Fix typo in
4723         strcoll example.
4724         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4726         [BZ #15893]
4727         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4729         [BZ #15892]
4730         * libio/memstream.c (open_memstream): Fix memory leak.
4731         * libio/wmemstream.c (open_wmemstream): Likewise.
4733         [BZ #15895]
4734         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4736 2013-09-09  Will Newton  <will.newton@linaro.org>
4738         * malloc/Makefile: Add tst-realloc to tests.
4739         * malloc/tst-realloc.c: New file.
4741 2013-09-09  Allan McRae  <allan@archlinux.org>
4743         [BZ #15844]
4744         * COPYING: Update from GNU website to fix FSF address.
4745         * COPYING.LIB: Likewise.
4747 2013-09-06  David S. Miller  <davem@davemloft.net>
4749         * po/zh_TW.po: Update Chinese (traditional) translation from
4750         translation project.
4752 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4753             Joseph Myers  <joseph@codesourcery.com>
4755         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4756         "localeinfo.h".
4757         (obstack_chunk_alloc): New macro.
4758         (obstack_chunk_free): Likewise.
4759         (record_offset): New function.
4760         (init_locale_data): Likewise.
4761         (align_locale_data): Likewise.
4762         (add_locale_empty): Likewise.
4763         (add_locale_raw_data): Likewise.
4764         (add_locale_raw_obstack): Likewise.
4765         (add_locale_string): Likewise.
4766         (add_locale_wstring): Likewise.
4767         (add_locale_uint32): Likewise.
4768         (add_locale_uint32_array): Likewise.
4769         (add_locale_char): Likewise.
4770         (start_locale_structure): Likewise.
4771         (end_locale_structure): Likewise.
4772         (start_locale_prelude): Likewise.
4773         (end_locale_prelude): Likewise.
4774         (write_locale_data): Take locale_file structure rather than an
4775         iovec.
4776         * locale/programs/locfile.h: Include "obstack.h".
4777         (struct locale_file): Change to store locale file contents instead
4778         of header.
4779         (init_locale_data): New prototype.
4780         (align_locale_data): Likewise.
4781         (add_locale_empty): Likewise.
4782         (add_locale_raw_data): Likewise.
4783         (add_locale_raw_obstack): Likewise.
4784         (add_locale_string): Likewise.
4785         (add_locale_wstring): Likewise.
4786         (add_locale_uint32): Likewise.
4787         (add_locale_uint32_array): Likewise.
4788         (add_locale_char): Likewise.
4789         (start_locale_structure): Likewise.
4790         (end_locale_structure): Likewise.
4791         (start_locale_prelude): Likewise.
4792         (end_locale_prelude): Likewise.
4793         (write_locale_data): Update prototype.
4794         * locale/programs/3level.h (struct TABLE): Remove result field.
4795         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4796         Use new locale_file interface.
4797         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4798         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4799         * locale/programs/ld-address.c (address_output): Use new
4800         locale_file interface.
4801         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4802         NO_ADD_LOCALE.
4803         (collate_finish): Don't call collseq_table_finalize.
4804         (collate_output): Use new locale_file interface.
4805         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4806         in file.
4807         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4808         (TABLE): Move defines earlier in file.
4809         (ELEMENT): Likewise.
4810         (DEFAULT): Likewise.
4811         (wctrans_table_add): Move macro and inline function earlier in
4812         file.
4813         (struct wctype_table): Move type earlier in file.
4814         (add_locale_wctype_table): New static prototype.
4815         (struct locale_ctype_t): Use logical types instead of struct iovec
4816         pointers for members.
4817         (ctype_output): Use new locale_file interface.
4818         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4819         new locale_file interface.
4820         (allocate_arrays): Update for use of new locale_file interface.
4821         * locale/programs/ld-identification.c (identification_output): Use
4822         new locale_file interface.
4823         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4824         * locale/programs/ld-messages.c (messages_output): Likewise.
4825         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4826         * locale/programs/ld-name.c (name_output): Likewise.
4827         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4828         * locale/programs/ld-paper.c (paper_output): Likewise.
4829         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4830         * locale/programs/ld-time.c (time_output): Likewise.
4832 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4834         * benchtests/Makefile: Add memrchr benchmark.
4835         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4836         benchmark as memrchr.
4837         * benchtests/bench-memrchr-ifunc.c: New file.
4838         * benchtests/bench-memrchr.c: New file.
4840 2013-09-06   Will Newton  <will.newton@linaro.org>
4842         * benchtests/Makefile (string-bench): Add memcpy.
4844 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4845             Cong Wang  <amwang@redhat.com>
4847         * sysdeps/unix/sysv/linux/bits/in.h
4848         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4849         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4850         before __USE_KERNEL_IPV6_DEFS uses.
4851         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4852         IPPROTO_BEETPH.
4853         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4854         sockaddr_in6, or ipv6_mreq.
4856 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4858         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4859         memory access for final bytes in some large inputs.
4860         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4862 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4864         * string/test-memrchr.c: New file.
4865         * string/test-memrchr-ifunc.c: New file.
4866         * string/Makefile: Add new memrchr testcase.
4868 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4870         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4871         fanotify_init returns EPERM.
4873 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4875         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4876         errors.
4877         (top level): Treat second token from macro or constant entries for
4878         allowed headers as allowed.
4879         * include/complex.h: Condition internal declarations on
4880         [!_ISOMAC].
4881         * include/fenv.h: Condition include of <stdbool.h> and internal
4882         declarations on [!_ISOMAC].
4884 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
4886         [BZ #15923]
4887         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4889 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4891         * configure.in (--enable-versioning): Remove configure option.
4892         (libc_cv_asm_symver_directive): Remove configure test.
4893         (libc_cv_ld_version_script_option): Likewise.
4894         (VERSIONING): Remove variable and AC_SUBST.
4895         (DO_VERSIONING): Remove AC_DEFINE.
4896         * configure: Regenerated.
4897         * config.h.in (DO_VERSIONING): Remove macro.
4898         * Makerules [$(versioning) = yes]: Change conditionals to
4899         [$(build-shared) = yes].
4900         * config.make.in (versioning): Remove variable.
4901         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4902         [$(build-shared) = yes].
4903         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4904         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4905         * elf/Makefile [$(versioning) = yes]: Change conditionals to
4906         [$(build-shared) = yes].
4907         * extra-lib.mk [$(versioning) = yes]: Likewise.
4908         * hurd/Makefile [$(versioning) = yes]: Likewise.
4909         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4910         [SHARED].
4911         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4912         [SHARED].
4913         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4914         [SHARED && !NO_HIDDEN].
4915         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4916         [SHARED].
4917         [SHARED && DO_VERSIONING]: Likewise..
4918         * libio/Makefile [$(versioning) = yes]: Change conditionals to
4919         [$(build-shared) = yes].
4920         * manual/install.texi (--disable-versioning): Remove
4921         documentation.
4922         * INSTALL: Regenerated.
4923         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4924         to [SHARED].
4925         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4926         [$(build-shared) = yes].
4927         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4928         * sysdeps/i386/i686/multiarch/strstr-c.c
4929         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4930         [SHARED && !NO_HIDDEN].
4931         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4932         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4933         * sysdeps/powerpc/powerpc32/dl-machine.c
4934         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4935         * sysdeps/powerpc/powerpc32/sysdep.h
4936         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4937         to [SHARED && PIC && !NO_HIDDEN].
4938         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4939         conditional to [SHARED].
4941 2013-09-04   Will Newton  <will.newton@linaro.org>
4943         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4944         * benchtests/bench-string.h: Include bench-timing.h instead
4945         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4946         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4947         call to HP_TIMING_DIFF_INIT.
4948         * benchtests/bench-memccpy.c: Use bench-timing.h macros
4949         instead of hp-timing.h macros.
4950         * benchtests/bench-memchr.c: Likewise.
4951         * benchtests/bench-memcmp.c: Likewise.
4952         * benchtests/bench-memcpy.c: Likewise.
4953         * benchtests/bench-memmem.c: Likewise.
4954         * benchtests/bench-memmove.c: Likewise.
4955         * benchtests/bench-memset.c: Likewise.
4956         * benchtests/bench-rawmemchr.c: Likewise.
4957         * benchtests/bench-strcasecmp.c: Likewise.
4958         * benchtests/bench-strcasestr.c: Likewise.
4959         * benchtests/bench-strcat.c: Likewise.
4960         * benchtests/bench-strchr.c: Likewise.
4961         * benchtests/bench-strcmp.c: Likewise.
4962         * benchtests/bench-strcpy.c: Likewise.
4963         * benchtests/bench-strcpy_chk.c: Likewise.
4964         * benchtests/bench-strlen.c: Likewise.
4965         * benchtests/bench-strncasecmp.c: Likewise.
4966         * benchtests/bench-strncat.c: Likewise.
4967         * benchtests/bench-strncmp.c: Likewise.
4968         * benchtests/bench-strncpy.c: Likewise.
4969         * benchtests/bench-strnlen.c: Likewise.
4970         * benchtests/bench-strpbrk.c: Likewise.
4971         * benchtests/bench-strrchr.c: Likewise.
4972         * benchtests/bench-strspn.c: Likewise.
4973         * benchtests/bench-strstr.c: Likewise.
4975 2013-09-04  Will Newton  <will.newton@linaro.org>
4977         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4979 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
4981         [BZ #15427]
4982         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4983         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4984         * math/libm-test.inc (lgamma_test_data): Add more tests.
4985         * sysdeps/i386/fpu/libm-test-ulps: Update.
4986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4988 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
4990         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4991         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4992         Add ifunc.
4993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4994         Add strcmp-sse2-unaligned
4995         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4997 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4999         * Versions.def (libc): Add GLIBC_2.19.
5001 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5003         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5004         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5006 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5008         [BZ #14155]
5009         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5010         intermediate calculations in recurrence.
5011         (__ieee754_ynf): Likewise.
5012         * math/libm-test.inc (jn_test_data): Do not allow spurious
5013         underflow exception.  Add more tests.
5014         (yn_test_data): Add more tests.
5015         * sysdeps/i386/fpu/libm-test-ulps: Update.
5016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5018 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5020         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5022 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5024         * csu/init-first.c: Fix then/than typos.
5025         * locale/programs/ld-collate.c: Likewise.
5026         * locale/programs/linereader.h: Likewise.
5027         * manual/charset.texi: Likewise.
5028         * manual/filesys.texi: Likewise.
5029         * manual/stdio.texi: Likewise.
5030         * manual/string.texi: Likewise.
5031         * stdlib/fmtmsg.c: Likewise.
5032         * sysdeps/i386/stpncpy.S: Likewise.
5033         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5034         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5035         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5036         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5038 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5040         * elf/dl-open.c: Fix typos.
5041         * iconvdata/gbbig5.c: Likewise.
5042         * iconvdata/iso-2022-jp.c: Likewise.
5043         * iconv/gconv_int.h: Likewise.
5044         * iconv/loop.c: Likewise.
5045         * nis/rpcsvc/nis.h: Likewise.
5046         * resolv/ns_name.c: Likewise.
5047         * stdio-common/vfscanf.c: Likewise.
5048         * streams/stropts.h: Likewise.
5049         * sunrpc/rpc_thread.c: Likewise.
5050         * sysdeps/i386/strpbrk.S: Likewise.
5051         * sysdeps/ieee754/k_standard.c: Likewise.
5052         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5053         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5054         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5055         * sysdeps/mach/hurd/profil.c: Likewise.
5056         * sysdeps/s390/dl-procinfo.h: Likewise.
5057         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5058         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5059         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5060         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5061         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5063 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5065         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5066         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5068 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5070         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5071         aix specific files.
5072         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5073         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5074         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5075         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5076         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5077         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5078         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5079         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5081 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5082             Roland McGrath  <roland@hack.frob.com>
5084         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5085         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5087 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5089         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5090         __executable_start symbol instead of _start.
5092 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5094         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5095         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5096         Move macros to...
5097         * sysdeps/gnu/ldsodefs.h: ... this new file.
5099         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5100         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5101         instead of ELFOSABI_LINUX.
5103         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5104         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5105         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5106         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5107         Likewise.
5108         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5109         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5110         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5111         Likewise.
5112         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5113         (ibm_extended_long_double): Add ieee_nan member.
5114         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5115         (do_test): New function.
5117         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5118         TEST_TRUNC.
5119         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5120         functions, renamed from truncdfsf_test, trunctfsf_test,
5121         trunctfdf_test.
5122         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5123         functions.
5124         (do_test): Run all these.
5126 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5128         * argp/argp-help.c: Fix typos.
5129         * argp/argp-parse.c: Likewise.
5130         * debug/backtracesyms.c: Likewise.
5131         * elf/elf.h: Likewise.
5132         * malloc/malloc.c: Likewise.
5133         * nis/nis_print.c: Likewise.
5134         * resolv/res_comp.c: Likewise.
5135         * stdlib/stdlib.h: Likewise.
5136         * sunrpc/clnt_tcp.c: Likewise.
5137         * sunrpc/clnt_udp.c: Likewise.
5138         * sunrpc/clnt_unix.c: Likewise.
5139         * sysdeps/unix/bsd/ptsname.c: Likewise.
5140         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5141         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5143         Likewise.
5144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5145         Likewise.
5146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5147         Likewise.
5148         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5150 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5152         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5155 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5157         [BZ #15897]
5158         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5159         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5160         ($(objpfx)bug-dl-leaf): New rule.
5161         ($(objpfx)bug-dl-leaf.so): Likewise.
5162         ($(objpfx)bug-dl-leaf.out): Likewise.
5163         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5164         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5165         * dlfcn/bug-dl-leaf.c: New test.
5166         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5167         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5168         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5169         (dlclose): Likewise.
5170         (dlmopen): Likewise.
5172 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5174         * include/netdb.h [!_ISOMAC]:
5175         Don't include <tls.h>.
5176         (h_errno, __libc_h_errno): Move declaration and macros out of
5177         [_LIBC_REENTRANT].
5179         * include/resolv.h [_RESOLV_H_]:
5180         Don't include <tls.h>.
5181         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5182         * resolv/res_libc.c: Don't include <tls.h>.
5183         (_res): Use __attribute__ ((nocommon)) in place of
5184         __attribute__ ((section (".bss"))).
5186         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5187         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5189         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5191         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5192         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5194         * resolv/res_mkquery.c: Include <sys/time.h>.
5196         * inet/ifreq.c: Moved to ...
5197         * sysdeps/unix/ifreq.c: ... here.
5198         * inet/ifreq.c: New file, true stub version.
5200         * socket/sa_len.c: New file.
5201         * socket/Makefile (aux): Add it.
5202         * sysdeps/unix/sysv/linux/Makefile
5203         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5204         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5205         and #include <socket/sa_len.c>.
5206         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5207         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5209         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5210         * bits/socket.h: ... here.
5212         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5213         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5214         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5216 2013-08-27  Andreas Schwab  <schwab@suse.de>
5218         [BZ #15736]
5219         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5220         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5221         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5222         * string/test-strcasecmp.c (test_main): Run tests in several
5223         locales.
5224         * string/test-strncasecmp.c (test_main): Likewise.
5226         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5227         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5228         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5229         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5230         (__strncasecmp_ssse3) [PIC]: Likewise.
5232 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5234         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5236         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5237         instead of explicitly declaring xdecrypt.
5238         * nis/nss_nis/nis-publickey.c: Likewise.
5240 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5242         [BZ #15890]
5243         * nscd/aicache.c: Include res_hconf.h.
5244         (addhstaiX): Initialize res_hconf.
5246 2013-08-26  Andreas Schwab  <schwab@suse.de>
5248         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5249         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5251 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5253         * nscd/aicache.c (addhstaiX): Fix indentation.
5255 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5257         * configure.ac: Quote $build_pt_chown test.
5258         * configure: Regenerated.
5260 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5262         [BZ #15532]
5263         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5264         * math/s_cexpf.c (__cexpf): Likewise.
5265         * math/s_cexpl.c (__cexpl): Likewise.
5266         * math/libm-test.inc (cexp_test_data): Correct expected return
5267         value for NaN + i0.  Add another test.
5269 2013-08-22  David S. Miller  <davem@davemloft.net>
5271         * po/ca.po: Update Catalan translation from translation project.
5272         * po/uk.po: Add Ukrainian translations from translation project.
5274 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5276         [BZ #15797]
5277         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5278         is infinite, not alongside NaN test.
5279         * math/s_fdimf.c (__fdimf): Likewise.
5280         * math/s_fdiml.c (__fdiml): Likewise.
5281         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5282         errno is unchanged.
5284 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5286         * argp/argp-help.c: Fix typos.
5287         * crypt/speeds.c: Likewise.
5288         * csu/check_fds.c: Likewise.
5289         * elf/dl-load.c: Likewise.
5290         * elf/dl-open.c: Likewise.
5291         * elf/reldep3.c: Likewise.
5292         * elf/reldep.c: Likewise.
5293         * elf/sprof.c: Likewise.
5294         * iconv/iconv_charmap.c: Likewise.
5295         * iconv/skeleton.c: Likewise.
5296         * iconv/strtab.c: Likewise.
5297         * io/lockf64.c: Likewise.
5298         * libio/libioP.h: Likewise.
5299         * resolv/gai_notify.c: Likewise.
5300         * resolv/ns_name.c: Likewise.
5301         * resolv/ns_samedomain.c: Likewise.
5302         * resolv/res_send.c: Likewise.
5303         * stdlib/random.c: Likewise.
5304         * sunrpc/rpc/xdr.h: Likewise.
5305         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5306         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5307         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5308         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5309         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5310         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5311         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5312         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5313         * sysdeps/mach/hurd/check_fds.c: Likewise.
5314         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5315         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5316         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5317         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5318         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5319         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5320         * sysdeps/pthread/aio_notify.c: Likewise.
5321         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5322         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5323         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5324         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5325         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5327 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5329         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5330         version if bit_Slow_SSE4_2 is set.
5331         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5332         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5334 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5336         [BZ #15867]
5337         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5338         trampoline stack frame information.
5339         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5340         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5341         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5342         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5343         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5344         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5345         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5346         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5347         sa_flags value.
5348         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5349         interrupting a syscall and set with option SA_SIGINFO.
5351 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5353         [BZ #15531]
5354         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5355         argument is infinite.
5356         * math/s_cprojf.c (__cprojf): Likewise.
5357         * math/s_cprojl.c (__cprojl): Likewise.
5358         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5359         * math/libm-test.inc (cproj_test_data): Add more tests.
5361         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5363         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5364         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5365         size.  Use __ffs to determine corresponding shift.
5367 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5368             Roland McGrath  <roland@hack.frob.com>
5370         * Makefile (INSTALL): Remove trailing blank lines from output of
5371         makeinfo.
5373 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5375         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5376         Align 32 bit compat elf_greg to 8 bytes.
5378 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5380         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5382 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5384         * string/strcoll_l.c (coll_seq): New structure.
5385         (get_next_seq_cached): New function.
5386         (get_next_seq): New function.
5387         (do_compare): New function.
5388         (STRCOLL): Use GNU style definition.  Simplify implementation
5389         by using get_next_seq, get_next_seq_cached and do_compare.
5391 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5393         [BZ #14699]
5394         CVE-2013-4237
5395         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5396         member.
5397         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5398         member.
5399         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5400         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5401         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5402         conditional.
5403         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5404         GETDENTS_64BIT_ALIGNED.
5405         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5406         * manual/filesys.texi (Reading/Closing Directory): Document
5407         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5408         strongly.
5409         * manual/conf.texi (Limits for Files): Add portability note to
5410         NAME_MAX, PATH_MAX.
5411         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5413 2013-08-13  Andreas Schwab  <schwab@suse.de>
5415         [BZ #15749]
5416         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5417         of fabs.
5418         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5419         LDBL_MAX_EXP >= 16384]: Add tests for it.
5421 2013-08-12  David S. Miller  <davem@davemloft.net>
5423         * version.h (RELEASE): Set to "development".
5424         (VERSION): Set to "2.18.90".
5425         * NEWS: Add 2.19 section.
5427 2013-08-03  David S. Miller  <davem@davemloft.net>
5429         * po/ko.po: Update Korean translation from translation project.
5431 2013-08-01  David S. Miller  <davem@davemloft.net>
5433         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5434         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5435         Bilka.
5437 2013-07-30  David S. Miller  <davem@davemloft.net>
5439         * po/fr.po: Update French translation from translation project.
5441 2013-07-28  David S. Miller  <davem@davemloft.net>
5443         * po/cs.po: Update Czech translation from translation project.
5445         * po/sv.po: Update Swedish translation from translation project.
5447 2013-07-27  David S. Miller  <davem@davemloft.net>
5449         * po/eo.po: Update Esperanto translation from translation project.
5451         * po/vi.po: Update Vietnamese translation from translation project.
5453         * po/de.po: Update German translation from translation project.
5455 2013-07-26  David S. Miller  <davem@davemloft.net>
5457         * po/bg.po: Update Bulgarian translation from translation project.
5459         * po/nl.po: Update Dutch translation from translation project.
5460         * po/pl.po: Update Polish translation from translation project.
5461         * po/ru.po: Update Russian translation from translation project.
5463 2013-07-24  David S. Miller  <davem@davemloft.net>
5465         * po/libc.pot: Update.
5467 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5469         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5470         variable page size.
5471         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5472         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5473         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5475 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5477         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5479 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5480             Andreas Schwab  <schwab@suse.de>
5481             Roland McGrath  <roland@hack.frob.com>
5482             Joseph Myers  <joseph@codesourcery.com>
5483             Carlos O'Donell  <carlos@redhat.com>
5485         [BZ #15755]
5486         * config.h.in: Define HAVE_PT_CHOWN.
5487         * config.make.in (build-pt-chown): New variable.
5488         * configure.in (--enable-pt_chown): New configure option.
5489         * configure: Regenerate.
5490         * login/Makefile: Include Makeconfig.  Build pt_chown only if
5491         build-pt-chown is enabled.
5492         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5493         pt_chown to fix pty ownership.
5494         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5495         CLOSE_ALL_FDS.
5496         * manual/install.texi (Configuring and compiling): Mention
5497         --enable-pt_chown. Add @findex for grantpt.
5498         * INSTALL: Regenerate.
5500 2013-07-20  David S. Miller  <davem@davemloft.net>
5502         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5503         difference between 32-bit and 64-bit.
5505 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
5507         [BZ #15711]
5508         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5509         Avoid system header dependency with -ffreestanding.
5510         ($(objpfx)bits/syscall%d): Likewise.
5512 2013-07-13  David S. Miller  <davem@davemloft.net>
5514         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5515         underflows from atanl/atan2l due to bug 15319.
5516         (casinh_test_data): Likewise.
5518 2013-07-07  David S. Miller  <davem@davemloft.net>
5520         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5522 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
5524         * sysdeps/i386/fpu/libm-test-ulps: Update.
5525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5527 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5529         * configure.in (--enable-lock-elision): Fix message text.
5530         * INSTALL: Regenerate.
5531         * configure: Regenerate.
5533 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5537 2013-07-03  Andreas Jaeger  <aj@suse.de>
5539         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5540         define.
5541         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5542         (ptrace_peeksiginfo_args): Add.
5543         (__ptrace_peeksiginfo_flags): Add.
5544         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5545         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5546         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5548 2013-07-03  Allan McRae  <allan@archlinux.org>
5550         * sysdeps/i386/fpu/libm-test-ulps: Update.
5552 2013-07-02  David S. Miller  <davem@davemloft.net>
5554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5556 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
5558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5560 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5562         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5565 2013-07-02  Andi Kleen <ak@linux.intel.com>
5567         * config.h.in (ENABLE_LOCK_ELISION): Add.
5568         * configure.in (--enable-lock-elision): Add option.
5569         * manual/install.texi: Document --enable lock elision.
5570         * configure: Regenerate
5571         * INSTALL: Regenerate.
5573 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5575         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5576         SSE4.2 strcasecmp for libc.a.
5577         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5579 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5581         [BZ #13304]
5582         * soft-fp/op-common.h (_FP_FMA): New macro.
5583         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5584         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
5585         (_FP_MUL_MEAT_1_imm): ... here.
5586         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
5587         (_FP_MUL_MEAT_1_wide): ... here.
5588         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
5589         (_FP_MUL_MEAT_1_hard): ... here.
5590         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5591         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
5592         (_FP_MUL_MEAT_2_wide): ... here.
5593         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
5594         (_FP_MUL_MEAT_2_wide_3mul): ... here.
5595         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
5596         (_FP_MUL_MEAT_2_gmp): ... here.
5597         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5598         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
5599         (_FP_MUL_MEAT_4_wide): ... here.
5600         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
5601         (_FP_MUL_MEAT_4_gmp): ... here.
5602         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5603         (_FP_WFRACBITS_DW_S): Likewise.
5604         (_FP_WFRACXBITS_DW_S): Likewise.
5605         (_FP_HIGHBIT_DW_S): Likewise.
5606         (FP_FMA_S): Likewise.
5607         (_FP_FRAC_HIGH_DW_S): Likewise.
5608         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5609         (_FP_WFRACBITS_DW_D): Likewise.
5610         (_FP_WFRACXBITS_DW_D): Likewise.
5611         (_FP_HIGHBIT_DW_D): Likewise.
5612         (FP_FMA_D): Likewise.
5613         (_FP_FRAC_HIGH_DW_D): Likewise.
5614         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5615         (_FP_WFRACBITS_DW_E): Likewise.
5616         (_FP_WFRACXBITS_DW_E): Likewise.
5617         (_FP_HIGHBIT_DW_E): Likewise.
5618         (FP_FMA_E): Likewise.
5619         (_FP_FRAC_HIGH_DW_E): Likewise.
5620         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5621         (_FP_WFRACBITS_DW_Q): Likewise.
5622         (_FP_WFRACXBITS_DW_Q): Likewise.
5623         (_FP_HIGHBIT_DW_Q): Likewise.
5624         (FP_FMA_Q): Likewise.
5625         (_FP_FRAC_HIGH_DW_Q): Likewise.
5626         * soft-fp/fmasf4.c: New file.
5627         * soft-fp/fmadf4.c: Likewise.
5628         * soft-fp/fmatf4.c: Likewise.
5630 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5633         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5634         Silvermont.
5635         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5636         macro.
5637         (index_Slow_SSE4_2): Likewise.
5638         (index_Prefer_PMINUB_for_stringop): Likewise.
5639         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5640         bit_Slow_SSE4_2 is set.
5641         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5642         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5644 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5646         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5647         rtld_global._dl_hwcap2.
5648         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5649         POWER8.
5650         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5651         POWER8 feature descriptions defined in _dl_hwcap2.
5652         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5653         string handling for POWER8 feature bits.
5654         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5655         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5656         _dl_powerpc_cap_flags.
5657         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5658         * sysdeps/powerpc/rtld-global-offsets.sym
5659         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5660         _dl_hwcap2 in the rtld_global_ro structure.
5662 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5664         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5665         hardware capabilities in support of AT_HWCAP2.
5666         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5667         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5668         GLRO(dl_hwcap2).
5669         (_dl_show_auxv): Add support for calling _dl_procinfo to display
5670         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
5671         explicitly the unknown a_type display mechanism is used.
5672         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5673         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5674         struct member.
5675         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5676         to macro prototype for AT_HWCAP2 support.
5677         * sysdeps/i386/dl-procinfo.h: Likewise.
5678         * sysdeps/s390/dl-procinfo.h: Likewise.
5679         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5680         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5681         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5682         return -1 for unknown a_type display fallback.
5683         * sysdeps/sparc/dl-procinfo.h: Likewise.
5684         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5685         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5687 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5689         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5690         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5692 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5694         [BZ #12492]
5695         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5696         mprotect making __stack_prot writable.
5698 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5699             Joseph Myers  <joseph@codesourcery.com>
5701         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5702         as being properly aligned.
5704 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5706         * dlfcn/modstatic5.c: New file.
5707         * dlfcn/tststatic5.c: New file.
5708         * dlfcn/Makefile (tests): Add tststatic5.
5709         (tests-static): Likewise.
5710         (modules-names): Add modstatic5.
5711         (tststatic5-ENV): New variable.
5712         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5714         [BZ #15022]
5715         * elf/dl-support.c (_dl_main_map): New variable.
5716         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5717         (_dl_nns, _dl_load_adds): Set to 1.
5718         (_dl_initial_searchlist): Refer to _dl_main_map.
5719         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5720         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5721         call to _dl_get_origin.
5722         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5723         around call_map.
5724         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5725         * dlfcn/modstatic3.c: New file.
5726         * dlfcn/tststatic3.c: New file.
5727         * dlfcn/tststatic4.c: New file.
5728         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5729         (tests-static): Likewise.
5730         (modules-names): Add modstatic3.
5731         (tststatic3-ENV, tststatic4-ENV): New variables.
5732         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5733         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5735 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5737         * configure.in (CC): Require GCC version 4.4 or later.
5738         * configure: Regenerated.
5739         * manual/install.texi (Tools for Compilation): Update GCC version
5740         requirement.
5741         * INSTALL: Regenerated.
5743 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5745         [BZ #15674]
5746         * string/test-memcmp.c (check2): New.
5747         (main): Call check2.
5749         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5751 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5753         [BZ #15022]
5754         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5755         over to...
5756         (dl_open_worker) [!SHARED]: ... here.
5758 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5760         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5762 2013-06-25  Richard Henderson  <rth@redhat.com>
5764         * locale/programs/locarchive.c: Include <libc-internal.h>
5766 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5768         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5769         trailing whitespace removed.
5771 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5773         [BZ #10283]
5774         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5775         * locale/programs/locarchive.c: Include libc-mmap.h.
5776         (prepare_address_space): Take two new outputs (the mmap base and len).
5777         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5778         values.
5779         (create_archive): Declare new mmap base and len values for
5780         prepare_address_space, and store the result in ah.
5781         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5782         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5783         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5784         Declare new mmap base and len values for
5785         prepare_address_space, and store the result in new_ah.
5786         (open_archive): Declare new mmap base and len values for
5787         prepare_address_space, and store the result in ah.
5788         (close_archive): If ah->mmap_base is not NULL, use that and
5789         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5790         * sysdeps/generic/libc-mmap.h: New file.
5792 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5794         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5795         (ALIGN_UP): Likewise.
5796         (PTR_ALIGN_DOWN): Likewise.
5797         (PTR_ALIGN_UP): Likewise.
5799 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5801         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5802         entry mapped to PPC_PLATFORM_POWER8.
5803         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5804         POWER8.
5805         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5806         (_dl_string_platform): Add case for exporting platform position for
5807         POWER8.
5808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5809         search path to sysdeps/powerpc/powerpc32/power8 directory.
5810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5811         search path to sysdeps/powerpc/powerpc64/power8 directory.
5812         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5813         power7 directories.
5814         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5815         power7 directories.
5817 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5819         * INSTALL: Regenerate.
5821         * nscd/connections.c (nscd_init): Fix comment.
5823 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5825         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5827         [BZ #15667]
5828         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5829         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5831 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5833         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5834         DL_DST_REQ_STATIC.
5835         (DL_DST_REQ_STATIC): Remove macro.
5837 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5839         [BZ #7006]
5840         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5841         with a shift of 0 bits.
5843 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5845         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5846         $(tststatic-ENV).
5848 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5850         [BZ #15655]
5851         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5853 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5855         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5856         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5857         accepts -fno-tree-loop-distribute-patterns.
5858         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5859         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5860         recursive call.
5861         * string/memset.c (memset): Likewise.
5862         * string/test-memmove.c (simple_memmove): Disable loop transformation
5863         to library calls.
5864         * string/test-memset.c (simple_memset): Likewise.
5865         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5866         * benchtests/bench-memset.c (simple_memset): Likewise.
5867         * configure: Regenerated.
5869 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5871         * math/test-misc.c (main): Ignore fesetround failure when failures
5872         of subsequent rounding tests would be ignored.
5874         [BZ #15654]
5875         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5876         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5877         * math/fegetenv.c (__fegetenv): Return 0.
5878         * math/fegetexcept.c (fegetexcept): Return 0.
5879         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5880         FE_TONEAREST.
5881         * math/feholdexcpt.c (feholdexcept): Return 0.
5882         * math/fesetenv.c (__fesetenv): Return 0.
5883         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5884         argument FE_TONEAREST.
5885         * math/feupdateenv.c (__feupdateenv): Return 0.
5886         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5888 2013-06-18  Roland McGrath  <roland@hack.frob.com>
5890         * elf/rtld-Rules (rtld-compile-command.S): New variable.
5891         (rtld-compile-command.s, rtld-compile-command.c): New variables.
5892         ($(objpfx)rtld-%.os rules): Use them.
5894 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5896         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5897         fields.
5899 2013-06-17  Roland McGrath  <roland@hack.frob.com>
5901         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5902         length of target pattern, then descending length of dependency pattern.
5903         * configure.in (AWK): Require gawk 3.1.2 or newer.
5904         * manual/install.texi (Tools for Compilation): Say that we do.
5905         * configure: Regenerated.
5907         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5908         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5909         * scripts/sysd-rules.awk: ... this new script.
5910         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5911         than a glob-style pattern.
5913 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
5915         * math/test-misc.c (main): Do not treat incorrectly rounded
5916         conversions as failure unless ROUNDING_TESTS passes.
5918 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
5920         [BZ #15631]
5921         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5922         restore exception state around main square root computation, then
5923         check for inexactness explicitly.
5925         * math/libm-test.inc (fma_test_data): Add another test.
5927 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5929         * manual/threads.texi (Non-POSIX Extensions): New document
5930         node.  Document pthread_getattr_default_np and
5931         pthread_setattr_default_np.
5933         * Versions.def (libpthread): Add GLIBC_2.18.
5934         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5936         Likewise.
5937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5938         Likewise.
5939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5940         Likewise.
5941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5942         Likewise.
5943         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5944         Likewise.
5945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5946         Likewise.
5947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5948         Likewise.
5949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5950         Likewise.
5951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5952         Likewise.
5954 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5956         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5957         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5959 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5960             H.J. Lu  <hjl.tools@gmail.com>
5962         [BZ #15627]
5963         * sysdeps/x86_64/rtld-memset.c: Remove file.
5964         * sysdeps/x86_64/rtld-memset.S: New file.
5966 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
5968         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5969         (test_in_one_mode): Take arguments for whether the rounding mode
5970         is supported for each floating-point type.
5971         (do_test): Pass new arguments to test_in_one_mode using
5972         ROUNDING_TESTS.
5974 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5976         * posix/tst-waitid.c (do_test): Distinguish different instances of
5977         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
5978         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5979         before entering the kernel for waitpid.
5981 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5983         * NEWS: Fix note on clock function precision.  Text by Roland
5984         McGrath.
5986 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5988         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5989         it into place only when and if the sanity check passes.
5991 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
5993         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5994         output for whether conversion result is exact.  Take argument
5995         indicating whether type is IBM long double.
5996         (round_for_all): Change need_exact field to ibm_ld.
5997         * stdlib/tst-strtod-round.c (struct exactness): New type.
5998         (struct test): Change bool ld_ok field to struct exactness exact.
5999         (TEST): Update all definitions for change to field.
6000         (tests): Regenerate array contents.
6001         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6002         field value.  Check for IBM long double here.
6003         (do_test): Update calls to test_in_one_mode.
6005 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6007         [BZ #12515]
6008         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6009         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6011 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6013         [BZ #15605]
6014         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6015         generated by the compiler on loop optimizations.
6016         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6017         general definitions.
6019 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6021         * math/bug-nextafter.c: Include <math-tests.h>.
6022         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6023         the relevant type.
6024         * math/bug-nexttoward.c: Include <math-tests.h>.
6025         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6026         the relevant type.
6027         * math/test-misc.c: Include <math-tests.h>.
6028         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6029         the relevant type.
6031 2013-06-12  Andreas Jaeger  <aj@suse.de>
6033         * po/ia.po: Update Interlingua translation from translation
6034         project.
6036 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6038         * include/fenv.h: Include stdbool.h.
6039         (struct rm_ctx): New structure.
6040         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6041         Define macro.
6042         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6043         (SET_RESTORE_ROUNDF): Likewise.
6044         (SET_RESTORE_ROUNDL): Likewise.
6045         (SET_RESTORE_ROUND_NOEX): Likewise.
6046         (SET_RESTORE_ROUND_NOEXF): Likewise.
6047         (SET_RESTORE_ROUND_NOEXL): Likewise.
6048         (SET_RESTORE_ROUND_53BIT): Likewise.
6049         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6050         (libc_feresetround_noexf_ctx): Likewise.
6051         (libc_feresetround_noexl_ctx): Likewise.
6052         (libc_feholdsetround_53bit_ctx): Likewise.
6053         (libc_feresetround_53bit_ctx): Likewise.
6054         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6055         (libc_feholdexcept_setround_sse_ctx): New function.
6056         (libc_fesetenv_sse_ctx): Likewise.
6057         (libc_feupdateenv_sse_ctx): Likewise.
6058         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6059         (libc_feholdexcept_setround_387_ctx): Likewise.
6060         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6061         (libc_feholdsetround_387_prec_ctx): Likewise.
6062         (libc_feholdsetround_387_ctx): Likewise.
6063         (libc_feholdsetround_387_53bit_ctx): Likewise.
6064         (libc_feholdsetround_sse_ctx): Likewise.
6065         (libc_feresetround_sse_ctx): Likewise.
6066         (libc_feresetround_387_ctx): Likewise.
6067         (libc_feupdateenv_387_ctx): Likewise.
6068         (libc_feholdexcept_setroundf_ctx): Define macro.
6069         (libc_fesetenvf_ctx): Likewise.
6070         (libc_feupdateenvf_ctx): Likewise.
6071         (libc_feholdsetroundf_ctx): Likewise.
6072         (libc_feresetroundf_ctx): Likewise.
6073         (libc_feholdexcept_setround_ctx): Likewise.
6074         (libc_fesetenv_ctx): Likewise.
6075         (libc_feupdateenv_ctx): Likewise.
6076         (libc_feholdsetround_ctx): Likewise.
6077         (libc_feresetround_ctx): Likewise.
6078         (libc_feholdexcept_setroundl_ctx): Likewise.
6079         (libc_feupdateenvl_ctx): Likewise.
6080         (libc_feholdsetroundl_ctx): Likewise.
6081         (libc_feresetroundl_ctx): Likewise.
6082         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6083         (libc_feresetround_53bit_ctx): Likewise.
6085 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6087         * locale/iso-639.def: Convert to UTF-8.
6089 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6091         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6092         (EXCEPTION_TESTS_double): Likewise.
6093         (EXCEPTION_TESTS_long_double): Likewise.
6094         (EXCEPTION_TESTS): Likewise.
6095         * math/libm-test.inc (test_exceptions): Only test exceptions if
6096         EXCEPTION_TESTS (FLOAT).
6098 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6100         * benchtests/Makefile (string-bench): Add strcpy_chk and
6101         stpcpy_chk.
6102         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6103         * benchtests/bench-stpcpy_chk.c: New file.
6104         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6105         * benchtests/bench-strcpy_chk.c: New file.
6106         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6107         code.
6108         (do_test): Likewise.
6110 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6112         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6113         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6114         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6115         with tabs where appropriate.
6116         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6117         dl-procinfo.h.
6118         [PPC_PLATFORM_PPC440]: Likewise.
6119         [PPC_PLATFORM_PPC464]: Likewise.
6120         [PPC_PLATFORM_PPC476]: Likewise.
6121         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6122         ppc464, and ppc476 platform strings merging from ports/
6123         dl-procinfo.h.
6125 2013-06-11  Andreas Schwab  <schwab@suse.de>
6127         [BZ #14991]
6128         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6129         (from_ucs4_idx): Regenerate.
6130         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6131         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6132         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6133         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6134         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6135         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6136         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6137         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6138         from FROM_LOOP and TO_LOOP specific macros.
6139         (BODY): Handle combining characters.
6140         * iconvdata/BIG5HKSCS.irreversible: Update.
6141         * iconvdata/BIG5HKSCS.precomposed: New file.
6142         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6143         characters.
6144         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6146 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6148         * include/sys/time.h: Fix indentation and add copyright header.
6150         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6151         (do_test): Likewise.
6152         * string/test-memchr.c (do_one_test): Likewise.
6153         (do_test): Likewise.
6154         * string/test-memcmp.c (do_one_test): Likewise.
6155         (do_test): Likewise.
6156         * string/test-memcpy.c (do_one_test): Likewise.
6157         (do_test): Likewise.
6158         * string/test-memmem.c (do_one_test): Likewise.
6159         (do_test): Likewise.
6160         (do_random_tests): Likewise.
6161         * string/test-memmove.c (do_one_test): Likewise.
6162         (do_test): Likewise.
6163         * string/test-memset.c (do_one_test): Likewise.
6164         (do_test): Likewise.
6165         * string/test-rawmemchr.c (do_one_test): Likewise.
6166         (do_test): Likewise.
6167         * string/test-strcasecmp.c (do_one_test): Likewise.
6168         (do_test): Likewise.
6169         * string/test-strcasestr.c (do_one_test): Likewise.
6170         (do_test): Likewise.
6171         * string/test-strcat.c (do_one_test): Likewise.
6172         (do_test): Likewise.
6173         * string/test-strchr.c (do_one_test): Likewise.
6174         (do_test): Likewise.
6175         * string/test-strcmp.c (do_one_test): Likewise.
6176         (do_test): Likewise.
6177         * string/test-strcpy.c (do_one_test): Likewise.
6178         (do_test): Likewise.
6179         * string/test-string.h: Likewise.
6180         (test_init): Likewise.
6181         * string/test-strlen.c (do_one_test): Likewise.
6182         (do_test): Likewise.
6183         * string/test-strncasecmp.c (do_one_test): Likewise.
6184         (do_test): Likewise.
6185         * string/test-strncat.c (do_one_test): Likewise.
6186         (do_test): Likewise.
6187         * string/test-strncmp.c (do_one_test): Likewise.
6188         (do_test_limit): Likewise.
6189         (do_test): Likewise.
6190         * string/test-strncpy.c (do_one_test): Likewise.
6191         (do_test): Likewise.
6192         * string/test-strnlen.c (do_one_test): Likewise.
6193         (do_test): Likewise.
6194         * string/test-strpbrk.c (do_one_test): Likewise.
6195         (do_test): Likewise.
6196         * string/test-strrchr.c (do_one_test): Likewise.
6197         (do_test): Likewise.
6198         * string/test-strspn.c (do_one_test): Likewise.
6199         (do_test): Likewise.
6200         * string/test-strstr.c (do_one_test): Likewise.
6201         (do_test): Likewise.
6203         * benchtests/Makefile (string-bench): Add string benchmarks.
6204         * benchtests/bench-bcopy-ifunc.c: New file.
6205         * benchtests/bench-bcopy.c: New file.
6206         * benchtests/bench-bzero-ifunc.c: New file.
6207         * benchtests/bench-bzero.c: New file.
6208         * benchtests/bench-memccpy-ifunc.c: New file.
6209         * benchtests/bench-memccpy.c: New file.
6210         * benchtests/bench-memchr-ifunc.c: New file.
6211         * benchtests/bench-memchr.c: New file.
6212         * benchtests/bench-memcmp-ifunc.c: New file.
6213         * benchtests/bench-memcmp.c: New file.
6214         * benchtests/bench-memmem-ifunc.c: New file.
6215         * benchtests/bench-memmem.c: New file.
6216         * benchtests/bench-memmove-ifunc.c: New file.
6217         * benchtests/bench-memmove.c: New file.
6218         * benchtests/bench-mempcpy-ifunc.c: New file.
6219         * benchtests/bench-mempcpy.c: New file.
6220         * benchtests/bench-memset-ifunc.c: New file.
6221         * benchtests/bench-memset.c: New file.
6222         * benchtests/bench-rawmemchr-ifunc.c: New file.
6223         * benchtests/bench-rawmemchr.c: New file.
6224         * benchtests/bench-stpcpy-ifunc.c: New file.
6225         * benchtests/bench-stpcpy.c: New file.
6226         * benchtests/bench-stpncpy-ifunc.c: New file.
6227         * benchtests/bench-stpncpy.c: New file.
6228         * benchtests/bench-strcasecmp-ifunc.c: New file.
6229         * benchtests/bench-strcasecmp.c: New file.
6230         * benchtests/bench-strcasestr-ifunc.c: New file.
6231         * benchtests/bench-strcasestr.c: New file.
6232         * benchtests/bench-strcat-ifunc.c: New file.
6233         * benchtests/bench-strcat.c: New file.
6234         * benchtests/bench-strchr-ifunc.c: New file.
6235         * benchtests/bench-strchr.c: New file.
6236         * benchtests/bench-strchrnul-ifunc.c: New file.
6237         * benchtests/bench-strchrnul.c: New file.
6238         * benchtests/bench-strcmp-ifunc.c: New file.
6239         * benchtests/bench-strcmp.c: New file.
6240         * benchtests/bench-strcpy-ifunc.c: New file.
6241         * benchtests/bench-strcpy.c: New file.
6242         * benchtests/bench-strcspn-ifunc.c: New file.
6243         * benchtests/bench-strcspn.c: New file.
6244         * benchtests/bench-strlen-ifunc.c: New file.
6245         * benchtests/bench-strlen.c: New file.
6246         * benchtests/bench-strncasecmp-ifunc.c: New file.
6247         * benchtests/bench-strncasecmp.c: New file.
6248         * benchtests/bench-strncat-ifunc.c: New file.
6249         * benchtests/bench-strncat.c: New file.
6250         * benchtests/bench-strncmp-ifunc.c: New file.
6251         * benchtests/bench-strncmp.c: New file.
6252         * benchtests/bench-strncpy-ifunc.c: New file.
6253         * benchtests/bench-strncpy.c: New file.
6254         * benchtests/bench-strnlen-ifunc.c: New file.
6255         * benchtests/bench-strnlen.c: New file.
6256         * benchtests/bench-strpbrk-ifunc.c: New file.
6257         * benchtests/bench-strpbrk.c: New file.
6258         * benchtests/bench-strrchr-ifunc.c: New file.
6259         * benchtests/bench-strrchr.c: New file.
6260         * benchtests/bench-strspn-ifunc.c: New file.
6261         * benchtests/bench-strspn.c: New file.
6262         * benchtests/bench-strstr-ifunc.c: New file.
6263         * benchtests/bench-strstr.c: New file.
6265         * benchtests/Makefile: Disable parallel execution of targets.
6266         (string-bench): Add memcpy.
6267         (benchset): New variable to store a list of benchmark sets.
6268         (bench-func): Renamed from bench.
6269         (bench-set): New target.
6270         (bench): Depend on bench-func and bench-set.
6271         * benchtests/README: Add section on benchmark sets.
6272         * benchtests/bench-memcpy-ifunc.c: New file.
6273         * benchtests/bench-memcpy.c: New file.
6274         * benchtests/bench-string.h: New file.
6276 2013-06-11  Andreas Schwab  <schwab@suse.de>
6278         [BZ #15577]
6279         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6280         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6281         values in the triple.
6282         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6283         terminator in the group key.
6285 2013-06-11  Andreas Jaeger  <aj@suse.de>
6287         * po/zh_TW.po: Update Chinese (traditional) translation from
6288         translation project.
6290 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6292         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6293         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6294         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6295         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6296         (clock_getcpuclockid): Likewise.
6297         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6298         Add weak_alias and libc_hidden_def.
6299         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6300         * rt/clock_gettime.c (clock_gettime): Rename to
6301         __clock_gettime.  Add weak_alias and libc_hidden_def.
6302         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6303         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6304         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6305         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6306         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6307         Likewise.
6308         * rt/clock_settime.c (clock_settime): Rename to
6309         __clock_settime.  Add weak_alias and libc_hidden_def.
6310         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6312 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6314         * mach/err_boot.sub: Remove trailing whitespace.
6315         * mach/err_ipc.sub: Likewise.
6316         * mach/err_mach.sub: Likewise.
6318         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6319         (ROUNDING_TESTS_double): Likewise.
6320         (ROUNDING_TESTS_long_double): Likewise.
6321         (ROUNDING_TESTS): Likewise.
6322         * math/libm-test.inc: Include <math-tests.h>.
6323         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6324         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6325         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6326         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6328 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6330         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6331         of assigning.
6333 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6335         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6336         otherwise empty TRANS lines.
6337         * sysdeps/gnu/errlist.c: Regenerated.
6339         * catgets/gencat.c (error_print): Use (void) in function
6340         definition.
6341         * crypt/crypt_util.c (__init_des): Likewise.
6342         * crypt/speeds.c (Stop): Likewise.
6343         (main): Likewise.
6344         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6345         * inet/ruserpass.c (token): Likewise.
6346         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6347         * intl/localealias.c (extend_alias_table): Likewise.
6348         * intl/plural-exp.c (init_germanic_plural): Likewise.
6349         * libio/fcloseall.c (__fcloseall): Likewise.
6350         * libio/genops.c (_IO_flush_all): Likewise.
6351         (_IO_flush_all_linebuffered): Likewise.
6352         (_IO_cleanup): Likewise.
6353         (_IO_iter_begin): Likewise.
6354         (_IO_iter_end): Likewise.
6355         (_IO_list_lock): Likewise.
6356         (_IO_list_unlock): Likewise.
6357         (_IO_list_resetlock): Likewise.
6358         * libio/getchar.c (getchar): Likewise.
6359         * libio/getchar_u.c (getchar_unlocked): Likewise.
6360         * libio/getwchar.c (getwchar): Likewise.
6361         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6362         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6363         * login/getpt.c (__getpt): Likewise.
6364         * login/tst-utmp.c (main): Likewise.
6365         * malloc/hooks.c (__malloc_check_init): Likewise.
6366         * malloc/malloc.c (__malloc_stats): Likewise.
6367         * malloc/mtrace.c (tr_break): Likewise.
6368         (mtrace): Likewise.
6369         (muntrace): Likewise.
6370         * misc/fstab.c (endfsent): Likewise.
6371         * misc/getclktck.c (__getclktck): Likewise.
6372         * misc/getdtsz.c (__getdtablesize): Likewise.
6373         * misc/gethostid.c (gethostid): Likewise.
6374         * misc/getpagesize.c (__getpagesize): Likewise.
6375         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6376         (__get_nprocs): Likewise.
6377         (__get_phys_pages): Likewise.
6378         (__get_avphys_pages): Likewise.
6379         * misc/getttyent.c (getttyent): Likewise.
6380         (setttyent): Likewise.
6381         (endttyent): Likewise.
6382         * misc/getusershell.c (getusershell): Likewise.
6383         (endusershell): Likewise.
6384         (setusershell): Likewise.
6385         (initshells): Likewise.
6386         * misc/hsearch.c (__hdestroy): Likewise.
6387         * misc/sync.c (sync): Likewise.
6388         * misc/syslog.c (closelog_internal): Likewise.
6389         (closelog): Likewise.
6390         * misc/ttyslot.c (ttyslot): Likewise.
6391         * misc/vhangup.c (vhangup): Likewise.
6392         * posix/fork.c (__fork): Likewise.
6393         * posix/getegid.c (__getegid): Likewise.
6394         * posix/geteuid.c (__geteuid): Likewise.
6395         * posix/getgid.c (__getgid): Likewise.
6396         * posix/getpid.c (__getpid): Likewise.
6397         * posix/getppid.c (__getppid): Likewise.
6398         * posix/getuid.c (__getuid): Likewise.
6399         * posix/pause.c (pause): Likewise.
6400         * posix/setpgrp.c (setpgrp): Likewise.
6401         * posix/setsid.c (__setsid): Likewise.
6402         * posix/test-vfork.c (noop): Likewise.
6403         * resolv/gethnamaddr.c (_endhtent): Likewise.
6404         (_gethtent): Likewise.
6405         (ht_endhostent): Likewise.
6406         (gethostent): Likewise.
6407         (dns_service): Likewise.
6408         * stdlib/drand48.c (drand48): Likewise.
6409         * stdlib/lrand48.c (lrand48): Likewise.
6410         * stdlib/mrand48.c (mrand48): Likewise.
6411         * stdlib/rand.c (rand): Likewise.
6412         * stdlib/random.c (__random): Likewise.
6413         * stdlib/setenv.c (clearenv): Likewise.
6414         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6415         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6416         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6417         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6418         (__get_nprocs): Likewise.
6419         (__get_phys_pages): Likewise.
6420         (__get_avphys_pages): Likewise.
6421         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6422         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6423         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6424         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6425         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6426         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6427         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6428         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6429         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6430         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6431         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6432         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6433         * sysdeps/posix/clock.c (clock): Likewise.
6434         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6435         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6436         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6437         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6438         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6439         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6440         (__get_nprocs_conf): Likewise.
6441         (__get_phys_pages): Likewise.
6442         (__get_avphys_pages): Likewise.
6443         * time/clock.c (clock): Likewise.
6444         * time/tzset.c (__tzname_max): Likewise.
6446 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6448         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6449         (__bswap_32): Do not use "register".
6450         * crypt/crypt.c (_ufc_doit_r): Likewise.
6451         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6452         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6453         * gmon/gmon.c (__monstartup): Likewise.
6454         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6455         * hurd/hurdmalloc.c (more_memory): Likewise.
6456         (malloc): Likewise.
6457         (free): Likewise.
6458         (realloc): Likewise.
6459         (malloc_fork_prepare): Likewise.
6460         (malloc_fork_parent): Likewise.
6461         (malloc_fork_child): Likewise.
6462         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6463         (_svcauth_des): Likewise.
6464         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6465         * inet/inet_net.c (inet_network): Likewise.
6466         * inet/inet_netof.c (inet_netof): Likewise.
6467         * inet/rcmd.c (__validuser2_sa): Likewise.
6468         * io/fts.c (fts_open): Likewise.
6469         (fts_load): Likewise.
6470         (fts_close): Likewise.
6471         (fts_read): Likewise.
6472         (fts_children): Likewise.
6473         (fts_build): Likewise.
6474         (fts_stat): Likewise.
6475         (fts_sort): Likewise.
6476         (fts_alloc): Likewise.
6477         (fts_lfree): Likewise.
6478         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6479         (_IO_file_xsgetn): Likewise.
6480         (_IO_file_xsgetn_mmap): Likewise.
6481         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6482         (_IO_cookie_write): Likewise.
6483         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6484         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6485         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6486         * malloc/obstack.c (_obstack_begin): Likewise.
6487         (_obstack_begin_1): Likewise.
6488         (_obstack_newchunk): Likewise.
6489         (_obstack_allocated_p): Likewise.
6490         (obstack_free): Likewise.
6491         (_obstack_memory_used): Likewise.
6492         * misc/getttyent.c (getttynam): Likewise.
6493         (getttyent): Likewise.
6494         (skip): Likewise.
6495         (value): Likewise.
6496         * misc/getusershell.c (initshells): Likewise.
6497         * misc/syslog.c (__vsyslog_chk): Likewise.
6498         * misc/ttyslot.c (ttyslot): Likewise.
6499         * nis/nis_hash.c (__nis_hash): Likewise.
6500         * posix/fnmatch_loop.c (FCT): Likewise.
6501         * posix/getconf.c (print_all): Likewise.
6502         (main): Likewise.
6503         * posix/getopt.c (exchange): Likewise.
6504         * posix/glob.c (globfree): Likewise.
6505         (prefix_array): Likewise.
6506         (__glob_pattern_type): Likewise.
6507         * resolv/arpa/nameser.h (NS_GET16): Likewise.
6508         (NS_GET32): Likewise.
6509         (NS_PUT16): Likewise.
6510         (NS_PUT32): Likewise.
6511         * resolv/gethnamaddr.c (getanswer): Likewise.
6512         (gethostbyname2): Likewise.
6513         (gethostbyaddr): Likewise.
6514         (_gethtent): Likewise.
6515         (_gethtbyname2): Likewise.
6516         (_gethtbyaddr): Likewise.
6517         * resolv/ns_print.c (dst_s_get_int16): Likewise.
6518         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6519         * resolv/res_init.c (__res_vinit): Likewise.
6520         (net_mask): Likewise.
6521         * resolv/res_mkquery.c (outchar): Likewise.
6522         (PRINT): Likewise.
6523         * stdio-common/printf_fp.c (outchar): Likewise.
6524         (PRINT): Likewise.
6525         * stdio-common/printf_fphex.c (outchar): Likewise.
6526         (PRINT): Likewise.
6527         * stdio-common/printf_size.c (outchar): Likewise.
6528         (PRINT): Likewise.
6529         * stdio-common/test_rdwr.c (main): Likewise.
6530         * stdio-common/tfformat.c (matches): Likewise.
6531         * stdio-common/vfprintf.c (outchar): Likewise.
6532         (printf_unknown): Likewise.
6533         (buffered_vfprintf): Likewise.
6534         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6535         * stdio-common/xbug.c (AppendToBuffer): Likewise.
6536         (ReadFile): Likewise.
6537         * stdlib/qsort.c (SWAP): Likewise.
6538         (_quicksort): Likewise.
6539         * stdlib/setenv.c (__add_to_environ): Likewise.
6540         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6541         * stdlib/strtol_l.c (__strtol_l): Likewise.
6542         * stdlib/tst-strtod.c (main): Likewise.
6543         * stdlib/tst-strtol.c (main): Likewise.
6544         * stdlib/tst-strtoll.c (main): Likewise.
6545         * string/bits/string2.h (__strcmp_cc): Likewise.
6546         (__strcmp_cg): Likewise.
6547         (__strcspn_c1): Likewise.
6548         (__strcspn_c2): Likewise.
6549         (__strcspn_c3): Likewise.
6550         (__strspn_c1): Likewise.
6551         (__strspn_c2): Likewise.
6552         (__strspn_c3): Likewise.
6553         (__strsep_1c): Likewise.
6554         (__strsep_2c): Likewise.
6555         (__strsep_3c): Likewise.
6556         * string/memccpy.c (__memccpy): Likewise.
6557         * string/stpcpy.c (__stpcpy): Likewise.
6558         * string/strcmp.c (strcmp): Likewise.
6559         * string/strrchr.c (strrchr): Likewise.
6560         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6561         Likewise.
6562         * sysdeps/mach/hurd/getcwd.c
6563         (_hurd_canonicalize_directory_name_internal): Likewise.
6564         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6565         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6566         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6567         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6568         Likewise, in both definitions.
6569         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6570         definitions.
6571         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6572         64] (__bswap_64): Likewise.
6573         * time/test_time.c (main): Likewise.
6574         * time/tzfile.c (__tzfile_read): Likewise.
6575         (__tzfile_compute): Likewise.
6576         * time/tzset.c (__tzset_parse_tz): Likewise.
6577         (tzset_internal): Likewise.
6578         (compute_change): Likewise.
6579         * wcsmbs/wcscat.c (__wcscat): Likewise.
6580         * wcsmbs/wcschr.c (wcschr): Likewise.
6581         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6582         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6583         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6584         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6585         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6586         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6587         * wcsmbs/wmemchr.c (wmemchr): Likewise.
6588         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6589         * wcsmbs/wmemset.c (wmemset): Likewise.
6591 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
6593         * scripts/config.guess: Update to version 2013-05-16.
6594         * scripts/config.sub: Update to version 2013-04-24.
6595         * scripts/install-sh: Update to version 2011-11-20.07.
6596         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6597         * scripts/move-if-change: Update to version 2012-01-06 07:23.
6599 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
6601         * debug/fgetws_u_chk.c: Fix leading whitespaces.
6602         * elf/sln.c: Likewise.
6603         * hurd/hurd/ioctl.h: Likewise.
6604         * hurd/hurdmalloc.c: Likewise.
6605         * hurd/xattr.c: Likewise.
6606         * include/shlib-compat.h: Likewise.
6607         * inet/ruserpass.c: Likewise.
6608         * libio/iofgets_u.c: Likewise.
6609         * libio/iofgetws_u.c: Likewise.
6610         * locale/programs/ld-identification.c: Likewise.
6611         * locale/programs/ld-time.c: Likewise.
6612         * mach/msg-destroy.c: Likewise.
6613         * nss/nss_files/files-netgrp.c: Likewise.
6614         * resolv/res_data.c: Likewise.
6615         * soft-fp/op-1.h: Likewise.
6616         * soft-fp/op-2.h: Likewise.
6617         * soft-fp/op-4.h: Likewise.
6618         * soft-fp/op-common.h: Likewise.
6619         * stdio-common/printf_fphex.c: Likewise.
6620         * stdlib/strtod_l.c: Likewise.
6621         * sunrpc/rpc/clnt.h: Likewise.
6622         * sysdeps/generic/framestate.c: Likewise.
6623         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6624         * sysdeps/i386/bsd-setjmp.S: Likewise.
6625         * sysdeps/i386/__longjmp.S: Likewise.
6626         * sysdeps/i386/setjmp.S: Likewise.
6627         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6628         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6629         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6630         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6631         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6632         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6633         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6634         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6635         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6636         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6637         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6638         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6639         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6640         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6641         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6642         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6643         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6644         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6645         * sysdeps/ieee754/support.c: Likewise.
6646         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6647         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6648         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6649         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6650         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6651         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6652         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6653         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6654         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6655         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6656         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6657         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6658         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6659         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6660         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6661         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6662         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6665 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
6667         * posix/transbug.c: Remove executable mode.
6669 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
6671         * crypt/speeds.c: Remove trailing whitespace.
6672         * dlfcn/default.c: Likewise.
6673         * elf/ifuncdep2.c: Likewise.
6674         * elf/ifuncmain1.c: Likewise.
6675         * elf/ifuncmain1vis.c: Likewise.
6676         * elf/testobj.h: Likewise.
6677         * elf/tst-stackguard1.c: Likewise.
6678         * gmon/sys/gmon.h: Likewise.
6679         * hurd/hurdmsg.c: Likewise.
6680         * hurd/new-fd.c: Likewise.
6681         * hurd/ports-get.c: Likewise.
6682         * iconvdata/ibm1008_420.c: Likewise.
6683         * inet/tst-getni1.c: Likewise.
6684         * inet/tst-getni2.c: Likewise.
6685         * libio/ioungetc.c: Likewise.
6686         * libio/wfiledoalloc.c: Likewise.
6687         * manual/libm-err-tab.pl: Likewise.
6688         * math/w_dremf.c: Likewise.
6689         * misc/ftruncate.c: Likewise.
6690         * posix/bug-glob2.c: Likewise.
6691         * posix/tst-pcre.c: Likewise.
6692         * posix/wait4.c: Likewise.
6693         * resolv/README: Likewise.
6694         * resolv/res_debug.h: Likewise.
6695         * resolv/tst-inet_ntop.c: Likewise.
6696         * setjmp/bug269-setjmp.c: Likewise.
6697         * soft-fp/extended.h: Likewise.
6698         * soft-fp/op-1.h: Likewise.
6699         * soft-fp/op-2.h: Likewise.
6700         * soft-fp/op-4.h: Likewise.
6701         * soft-fp/op-8.h: Likewise.
6702         * soft-fp/testit.c: Likewise.
6703         * stdio-common/bug16.c: Likewise.
6704         * stdlib/random.c: Likewise.
6705         * sunrpc/rpcsvc/rquota.x: Likewise.
6706         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6707         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6708         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6709         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6710         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6711         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6712         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6713         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6714         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6715         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6716         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6717         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6718         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6719         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6720         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6721         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6722         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6723         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6724         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6725         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6726         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6727         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6728         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6729         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6730         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6731         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6732         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6733         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6734         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6735         * sysdeps/ieee754/s_lib_version.c: Likewise.
6736         * sysdeps/mach/hurd/check_fds.c: Likewise.
6737         * sysdeps/mach/hurd/getsockname.c: Likewise.
6738         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6739         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6740         * sysdeps/powerpc/bits/link.h: Likewise.
6741         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6742         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6743         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6744         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6745         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6746         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6747         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6748         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6749         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6750         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6751         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6752         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6753         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6754         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6755         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6756         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6757         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6758         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6759         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6760         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6761         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6762         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6763         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6764         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6765         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6766         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6767         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6768         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6769         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6770         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6771         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6772         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6773         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6774         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6775         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6776         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6777         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6778         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6779         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6780         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6781         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6782         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6783         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6784         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6785         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6786         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6787         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6788         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6789         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6790         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6791         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6792         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6793         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6794         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6795         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6796         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6797         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6798         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6799         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6800         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6801         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6802         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6803         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6804         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6805         * sysdeps/powerpc/sysdep.h: Likewise.
6806         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6807         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6808         * sysdeps/sh/dl-trampoline.S: Likewise.
6809         * sysdeps/sh/memset.S: Likewise.
6810         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6811         * sysdeps/sh/strlen.S: Likewise.
6812         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6813         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6814         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6815         * sysdeps/sparc/sparc32/rem.S: Likewise.
6816         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6817         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6818         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6819         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6820         * sysdeps/sparc/sparc32/urem.S: Likewise.
6821         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6822         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6823         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6824         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6825         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6826         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6827         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6828         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6829         * sysdeps/unix/bsd/times.c: Likewise.
6830         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6831         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6835         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6836         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6837         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6838         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6839         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6840         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6841         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6842         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6843         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6844         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6845         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6846         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6847         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6848         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6849         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6850         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6851         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6852         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6853         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6854         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6855         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6856         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6857         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6858         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6859         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6860         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6861         * sysdeps/x86_64/strcspn.S: Likewise.
6863 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6865         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6866         generated file.  Regenerate properly from gen-translit.pl.
6867         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6868         locale/C-translit.h.
6870 2013-06-05  Andreas Schwab  <schwab@suse.de>
6872         [BZ #15100]
6873         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6874         week as 6 instead of -1.
6875         * time/tst-strptime.c (day_tests): Add test case.
6877 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6879         * sysdeps/generic/math_private.h
6880         (libc_feholdexcept_setround_53bit): Replace with
6881         libc_feholdsetround_53bit.
6882         (libc_feupdateenv_53bit): Replace with
6883         libc_feresetround_53bit.
6884         (SET_RESTORE_ROUND_53BIT): Adjust.
6886 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6888         * string/test-strchrnul.c: Add copyright header.
6890         * posix/tst-getaddrinfo4.c: Increase test timeout.
6892 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
6894         [BZ #15536]
6895         * math/libm-test.inc (MAX_EXP): Remove
6896         (MIN_EXP): Define.
6897         (ulp): Use MIN_EXP - MANT_DIG.
6898         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6900 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
6902         * po/be.po: Revert last change.
6903         * po/zh_CN.po: Likewise.
6904         * po/header.pot: Likewise.
6906 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
6908         * Makefile ($(common-objpfx)linkobj/libc.so): Define
6909         link-libc-deps to empty as target-specific variable.
6910         * Makerules (link-libc-args): New variable.
6911         (libc-for-link): Likewise.
6912         (link-libc-deps): Likewise.
6913         (lib%.so): Depend on $(link-libc-deps).  Link with
6914         $(link-libc-args).
6915         (build-module): Link with $(link-libc-args).
6916         (build-module-asneeded): Likewise.
6917         (build-module-helper-objlist): Filter out $(link-libc-deps) from
6918         list of objects.
6919         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6920         target-specific variable.
6921         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6922         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6923         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6924         libc.
6925         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6926         libc and ld.so.
6927         ($(objpfx)libpcprofile.so): Likewise.
6928         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6929         libc_nonshared.a.
6930         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6931         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6932         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6933         $(link-libc-deps).
6934         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6935         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6936         * login/Makefile ($(objpfx)libutil.so): Likewise.
6937         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6938         * math/Makefile ($(objpfx)libm.so): Likewise.
6939         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6940         $(objpfx)libnsl.so): Define libc-for-link as target-specific
6941         variable instead of depending directly on libc.
6942         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6943         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6944         $(link-libc-deps).
6945         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6946         libc.
6947         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6948         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6949         ($(objpfx)libanl.so): Likewise.
6950         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6951         ld.so.
6952         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6953         $(link-libc-deps).
6954         * sysdeps/i386/fpu/Makefile: Remove file.
6955         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6956         ($(objpfx)libm.so): Remove dependency on ld.so.
6958 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
6960         [BZ # 15553]
6961         * nis/yp_xdr.c (XDRMAXNAME): Define.
6962         (XDRMAXRECORD): Define.
6963         (xdr_domainname): Use XDRMAXNAME.
6964         (xdr_mapname): Likewise.
6965         (xdr_peername): Likewise.
6966         (xdr_keydat): Use XDRMAXRECORD.
6967         (xdr_valdat): Likewise.
6969 2013-05-30  Jeff Law  <law@redhat.com>
6971         [BZ #14256]
6972         * manual/errno.texi (ESTALE): Update to account for more than
6973         just NFS file systems.
6974         * sysdeps/gnu/errlist.c: Regenerated.
6976 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6978         [BZ #15465]
6979         * elf/Makefile (tests): Add tst-null-argv.
6980         (modules-names):  Add tst-null-argv-lib.
6981         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6982         (tst-null-argv-ENV): Set environment for tst-null-argv.
6983         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6984         (RTLD_PROGNAME): New macro.
6985         * elf/tst-null-argv.c: New test case.
6986         * elf/tst-null-argv-lib.c: Library for test case.
6987         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6988         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6989         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6990         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6991         * elf/dl-init.c (call_init): Likewise.
6992         (_dl_init): Likewise.
6993         * elf/dl-load.c (print_search_path): Likewise.
6994         (_dl_map_object): Likewise.
6995         * elf/dl-lookup.c (do_lookup_x): Likewise.
6996         (add_dependency): Likewise.
6997         (_dl_lookup_symbol_x): Likewise.
6998         (_dl_debug_bindings): Likewise.
6999         * elf/dl-open.c (_dl_show_scope): Likewise.
7000         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7001         * elf/dl-version.c (match_symbol): Likewise.
7002         (_dl_check_map_versions): Likewise.
7003         * elf/rtld.c (dl_main): Likewise.
7004         (print_unresolved): Use RTLD_PROGNAME.
7005         (print_missing_version): Likewise.
7006         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7007         (elf_machine_rela): Likewise.
7008         * sysdeps/powerpc/powerpc32/dl-machine.c
7009         (__process_machine_rela): Likewise.
7010         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7011         Likewise.
7012         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7013         Likewise.
7014         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7015         Likewise.
7016         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7017         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7018         Likewise.
7019         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7020         Likewise.
7021         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7023 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7025         * po/be.po: Add descriptive title.
7026         * po/zh_CN.po: Likewise.
7027         * po/header.pot: Likewise.
7029 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7031         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7032         error message.
7033         (enlarge_archive): Likewise.
7035 2013-05-28  Ben North  <ben@redfrontdoor.org>
7037         * manual/arith.texi (frexp): It is the magnitude of the return
7038         value which lies in [0.5, 1), not the return value itself.
7040 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7044 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7046         * stdio-common/bug26.c (main): Correct fscanf template.
7048         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7049         declare _dl_skip_args.
7051         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7052         Don't declare.
7054         * manual/platform.texi: Add missing @end deftypefun.
7056 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7058         [BZ #15529]
7059         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7060         bit of mantissa of 2^16382.
7061         * math/libm-test.inc (hypot_test_data): Add more tests.
7063         * math/libm-test.inc: Add drem and pow10 to list of tested
7064         functions.
7065         (pow10_test): New function.
7066         (drem_test): Likewise.
7067         (drem_test_tonearest): Likewise.
7068         (drem_test_towardzero): Likewise.
7069         (drem_test_downward): Likewise.
7070         (drem_test_upward): Likewise.
7071         (main): Call the new functions.
7073         * math/libm-test.inc (finite_test_data): Remove.
7074         (finite_test): Run tests from isfinite_test_data.
7075         (gamma_test_data): Remove.
7076         (gamma_test): Run tests from lgamma_test_data.
7077         * sysdeps/i386/fpu/libm-test-ulps: Update.
7078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7080 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7082         * manual/platform.texi: Add PowerPC PPR function set documentation.
7083         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7084         implementation.
7086 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7088         * math/libm-test.inc (MAX_EXP): Define.
7089         (ULPDIFF): Define.
7090         (ulp): New function.
7091         (check_float_internal): Use ULPDIFF.
7092         (cpow_test): Disable failing test.
7093         (check_ulp): Test ulp() implemetnation.
7094         (main): Call check_ulp before starting tests.
7096 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7098         * math/gen-libm-test.pl (generate_testfile): Do not handle
7099         START_DATA and END_DATA.
7100         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7101         END_DATA.
7102         (acos_tonearest_test_data): Likewise.
7103         (acos_towardzero_test_data): Likewise.
7104         (acos_downward_test_data): Likewise.
7105         (acos_upward_test_data): Likewise.
7106         (acosh_test_data): Likewise.
7107         (asin_test_data): Likewise.
7108         (asin_tonearest_test_data): Likewise.
7109         (asin_towardzero_test_data): Likewise.
7110         (asin_downward_test_data): Likewise.
7111         (asin_upward_test_data): Likewise.
7112         (asinh_test_data): Likewise.
7113         (atan_test_data): Likewise.
7114         (atanh_test_data): Likewise.
7115         (atan2_test_data): Likewise.
7116         (cabs_test_data): Likewise.
7117         (cacos_test_data): Likewise.
7118         (cacosh_test_data): Likewise.
7119         (carg_test_data): Likewise.
7120         (casin_test_data): Likewise.
7121         (casinh_test_data): Likewise.
7122         (catan_test_data): Likewise.
7123         (catanh_test_data): Likewise.
7124         (cbrt_test_data): Likewise.
7125         (ccos_test_data): Likewise.
7126         (ccosh_test_data): Likewise.
7127         (ceil_test_data): Likewise.
7128         (cexp_test_data): Likewise.
7129         (cimag_test_data): Likewise.
7130         (clog_test_data): Likewise.
7131         (clog10_test_data): Likewise.
7132         (conj_test_data): Likewise.
7133         (copysign_test_data): Likewise.
7134         (cos_test_data): Likewise.
7135         (cos_tonearest_test_data): Likewise.
7136         (cos_towardzero_test_data): Likewise.
7137         (cos_downward_test_data): Likewise.
7138         (cos_upward_test_data): Likewise.
7139         (cosh_test_data): Likewise.
7140         (cosh_tonearest_test_data): Likewise.
7141         (cosh_towardzero_test_data): Likewise.
7142         (cosh_downward_test_data): Likewise.
7143         (cosh_upward_test_data): Likewise.
7144         (cpow_test_data): Likewise.
7145         (cproj_test_data): Likewise.
7146         (creal_test_data): Likewise.
7147         (csin_test_data): Likewise.
7148         (csinh_test_data): Likewise.
7149         (csqrt_test_data): Likewise.
7150         (ctan_test_data): Likewise.
7151         (ctan_tonearest_test_data): Likewise.
7152         (ctan_towardzero_test_data): Likewise.
7153         (ctan_downward_test_data): Likewise.
7154         (ctan_upward_test_data): Likewise.
7155         (ctanh_test_data): Likewise.
7156         (ctanh_tonearest_test_data): Likewise.
7157         (ctanh_towardzero_test_data): Likewise.
7158         (ctanh_downward_test_data): Likewise.
7159         (ctanh_upward_test_data): Likewise.
7160         (erf_test_data): Likewise.
7161         (erfc_test_data): Likewise.
7162         (exp_test_data): Likewise.
7163         (exp_tonearest_test_data): Likewise.
7164         (exp_towardzero_test_data): Likewise.
7165         (exp_downward_test_data): Likewise.
7166         (exp_upward_test_data): Likewise.
7167         (exp10_test_data): Likewise.
7168         (exp2_test_data): Likewise.
7169         (expm1_test_data): Likewise.
7170         (fabs_test_data): Likewise.
7171         (fdim_test_data): Likewise.
7172         (finite_test_data): Likewise.
7173         (floor_test_data): Likewise.
7174         (fma_test_data): Likewise.
7175         (fma_towardzero_test_data): Likewise.
7176         (fma_downward_test_data): Likewise.
7177         (fma_upward_test_data): Likewise.
7178         (fmax_test_data): Likewise.
7179         (fmin_test_data): Likewise.
7180         (fmod_test_data): Likewise.
7181         (fpclassify_test_data): Likewise.
7182         (frexp_test_data): Likewise.
7183         (gamma_test_data): Likewise.
7184         (hypot_test_data): Likewise.
7185         (ilogb_test_data): Likewise.
7186         (isfinite_test_data): Likewise.
7187         (isgreater_test_data): Likewise.
7188         (isgreaterequal_test_data): Likewise.
7189         (isinf_test_data): Likewise.
7190         (isless_test_data): Likewise.
7191         (islessequal_test_data): Likewise.
7192         (islessgreater_test_data): Likewise.
7193         (isnan_test_data): Likewise.
7194         (isnormal_test_data): Likewise.
7195         (issignaling_test_data): Likewise.
7196         (isunordered_test_data): Likewise.
7197         (j0_test_data): Likewise.
7198         (j1_test_data): Likewise.
7199         (jn_test_data): Likewise.
7200         (ldexp_test_data): Likewise.
7201         (lgamma_test_data): Likewise.
7202         (lrint_test_data): Likewise.
7203         (lrint_tonearest_test_data): Likewise.
7204         (lrint_towardzero_test_data): Likewise.
7205         (lrint_downward_test_data): Likewise.
7206         (lrint_upward_test_data): Likewise.
7207         (llrint_test_data): Likewise.
7208         (llrint_tonearest_test_data): Likewise.
7209         (llrint_towardzero_test_data): Likewise.
7210         (llrint_downward_test_data): Likewise.
7211         (llrint_upward_test_data): Likewise.
7212         (log_test_data): Likewise.
7213         (log10_test_data): Likewise.
7214         (log1p_test_data): Likewise.
7215         (log2_test_data): Likewise.
7216         (logb_test_data): Likewise.
7217         (logb_downward_test_data): Likewise.
7218         (lround_test_data): Likewise.
7219         (llround_test_data): Likewise.
7220         (modf_test_data): Likewise.
7221         (nearbyint_test_data): Likewise.
7222         (nextafter_test_data): Likewise.
7223         (nexttoward_test_data): Likewise.
7224         (pow_test_data): Likewise.
7225         (pow_tonearest_test_data): Likewise.
7226         (pow_towardzero_test_data): Likewise.
7227         (pow_downward_test_data): Likewise.
7228         (pow_upward_test_data): Likewise.
7229         (remainder_test_data): Likewise.
7230         (remainder_tonearest_test_data): Likewise.
7231         (remainder_towardzero_test_data): Likewise.
7232         (remainder_downward_test_data): Likewise.
7233         (remainder_upward_test_data): Likewise.
7234         (remquo_test_data): Likewise.
7235         (rint_test_data): Likewise.
7236         (rint_tonearest_test_data): Likewise.
7237         (rint_towardzero_test_data): Likewise.
7238         (rint_downward_test_data): Likewise.
7239         (rint_upward_test_data): Likewise.
7240         (round_test_data): Likewise.
7241         (scalb_test_data): Likewise.
7242         (scalbn_test_data): Likewise.
7243         (scalbln_test_data): Likewise.
7244         (signbit_test_data): Likewise.
7245         (sin_test_data): Likewise.
7246         (sin_tonearest_test_data): Likewise.
7247         (sin_towardzero_test_data): Likewise.
7248         (sin_downward_test_data): Likewise.
7249         (sin_upward_test_data): Likewise.
7250         (sincos_test_data): Likewise.
7251         (sinh_test_data): Likewise.
7252         (sinh_tonearest_test_data): Likewise.
7253         (sinh_towardzero_test_data): Likewise.
7254         (sinh_downward_test_data): Likewise.
7255         (sinh_upward_test_data): Likewise.
7256         (sqrt_test_data): Likewise.
7257         (tan_test_data): Likewise.
7258         (tan_tonearest_test_data): Likewise.
7259         (tan_towardzero_test_data): Likewise.
7260         (tan_downward_test_data): Likewise.
7261         (tan_upward_test_data): Likewise.
7262         (tanh_test_data): Likewise.
7263         (tgamma_test_data): Likewise.
7264         (trunc_test_data): Likewise.
7265         (y0_test_data): Likewise.
7266         (y1_test_data): Likewise.
7267         (yn_test_data): Likewise.
7268         (significand_test_data): Likewise.
7270         * math/gen-libm-test.pl (@functions): Remove variable.
7271         (generate_testfile): Don't handle START and END lines.
7272         * math/libm-test.inc (START): New macro.
7273         (END): Likewise.
7274         (END_COMPLEX): Likewise.
7275         (acos_test): Use END macro without arguments.
7276         (acos_test_tonearest): Likewise.
7277         (acos_test_towardzero): Likewise.
7278         (acos_test_downward): Likewise.
7279         (acos_test_upward): Likewise.
7280         (acosh_test): Likewise.
7281         (asin_test): Likewise.
7282         (asin_test_tonearest): Likewise.
7283         (asin_test_towardzero): Likewise.
7284         (asin_test_downward): Likewise.
7285         (asin_test_upward): Likewise.
7286         (asinh_test): Likewise.
7287         (atan_test): Likewise.
7288         (atanh_test): Likewise.
7289         (atan2_test): Likewise.
7290         (cabs_test): Likewise.
7291         (cacos_test): Use END_COMPLEX macro without arguments.
7292         (cacosh_test): Likewise.
7293         (carg_test): Use END macro without arguments.
7294         (casin_test): Use END_COMPLEX macro without arguments.
7295         (casinh_test): Likewise.
7296         (catan_test): Likewise.
7297         (catanh_test): Likewise.
7298         (cbrt_test): Use END macro without arguments.
7299         (ccos_test): Use END_COMPLEX macro without arguments.
7300         (ccosh_test): Likewise.
7301         (ceil_test): Use END macro without arguments.
7302         (cexp_test): Use END_COMPLEX macro without arguments.
7303         (cimag_test): Use END macro without arguments.
7304         (clog_test): Use END_COMPLEX macro without arguments.
7305         (clog10_test): Likewise.
7306         (conj_test): Likewise.
7307         (copysign_test): Use END macro without arguments.
7308         (cos_test): Likewise.
7309         (cos_test_tonearest): Likewise.
7310         (cos_test_towardzero): Likewise.
7311         (cos_test_downward): Likewise.
7312         (cos_test_upward): Likewise.
7313         (cosh_test): Likewise.
7314         (cosh_test_tonearest): Likewise.
7315         (cosh_test_towardzero): Likewise.
7316         (cosh_test_downward): Likewise.
7317         (cosh_test_upward): Likewise.
7318         (cpow_test): Use END_COMPLEX macro without arguments.
7319         (cproj_test): Likewise.
7320         (creal_test): Use END macro without arguments.
7321         (csin_test): Use END_COMPLEX macro without arguments.
7322         (csinh_test): Likewise.
7323         (csqrt_test): Likewise.
7324         (ctan_test): Likewise.
7325         (ctan_test_tonearest): Likewise.
7326         (ctan_test_towardzero): Likewise.
7327         (ctan_test_downward): Likewise.
7328         (ctan_test_upward): Likewise.
7329         (ctanh_test): Likewise.
7330         (ctanh_test_tonearest): Likewise.
7331         (ctanh_test_towardzero): Likewise.
7332         (ctanh_test_downward): Likewise.
7333         (ctanh_test_upward): Likewise.
7334         (erf_test): Use END macro without arguments.
7335         (erfc_test): Likewise.
7336         (exp_test): Likewise.
7337         (exp_test_tonearest): Likewise.
7338         (exp_test_towardzero): Likewise.
7339         (exp_test_downward): Likewise.
7340         (exp_test_upward): Likewise.
7341         (exp10_test): Likewise.
7342         (exp2_test): Likewise.
7343         (expm1_test): Likewise.
7344         (fabs_test): Likewise.
7345         (fdim_test): Likewise.
7346         (finite_test): Likewise.
7347         (floor_test): Likewise.
7348         (fma_test): Likewise.
7349         (fma_test_towardzero): Likewise.
7350         (fma_test_downward): Likewise.
7351         (fma_test_upward): Likewise.
7352         (fmax_test): Likewise.
7353         (fmin_test): Likewise.
7354         (fmod_test): Likewise.
7355         (fpclassify_test): Likewise.
7356         (frexp_test): Likewise.
7357         (gamma_test): Likewise.
7358         (hypot_test): Likewise.
7359         (ilogb_test): Likewise.
7360         (isfinite_test): Likewise.
7361         (isgreater_test): Likewise.
7362         (isgreaterequal_test): Likewise.
7363         (isinf_test): Likewise.
7364         (isless_test): Likewise.
7365         (islessequal_test): Likewise.
7366         (islessgreater_test): Likewise.
7367         (isnan_test): Likewise.
7368         (isnormal_test): Likewise.
7369         (issignaling_test): Likewise.
7370         (isunordered_test): Likewise.
7371         (j0_test): Likewise.
7372         (j1_test): Likewise.
7373         (jn_test): Likewise.
7374         (ldexp_test): Likewise.
7375         (lgamma_test): Likewise.
7376         (lrint_test): Likewise.
7377         (lrint_test_tonearest): Likewise.
7378         (lrint_test_towardzero): Likewise.
7379         (lrint_test_downward): Likewise.
7380         (lrint_test_upward): Likewise.
7381         (llrint_test): Likewise.
7382         (llrint_test_tonearest): Likewise.
7383         (llrint_test_towardzero): Likewise.
7384         (llrint_test_downward): Likewise.
7385         (llrint_test_upward): Likewise.
7386         (log_test): Likewise.
7387         (log10_test): Likewise.
7388         (log1p_test): Likewise.
7389         (log2_test): Likewise.
7390         (logb_test): Likewise.
7391         (logb_test_downward): Likewise.
7392         (lround_test): Likewise.
7393         (llround_test): Likewise.
7394         (modf_test): Likewise.
7395         (nearbyint_test): Likewise.
7396         (nextafter_test): Likewise.
7397         (nexttoward_test): Likewise.
7398         (pow_test): Likewise.
7399         (pow_test_tonearest): Likewise.
7400         (pow_test_towardzero): Likewise.
7401         (pow_test_downward): Likewise.
7402         (pow_test_upward): Likewise.
7403         (remainder_test): Likewise.
7404         (remainder_test_tonearest): Likewise.
7405         (remainder_test_towardzero): Likewise.
7406         (remainder_test_downward): Likewise.
7407         (remainder_test_upward): Likewise.
7408         (remquo_test): Likewise.
7409         (rint_test): Likewise.
7410         (rint_test_tonearest): Likewise.
7411         (rint_test_towardzero): Likewise.
7412         (rint_test_downward): Likewise.
7413         (rint_test_upward): Likewise.
7414         (round_test): Likewise.
7415         (scalb_test): Likewise.
7416         (scalbn_test): Likewise.
7417         (scalbln_test): Likewise.
7418         (signbit_test): Likewise.
7419         (sin_test): Likewise.
7420         (sin_test_tonearest): Likewise.
7421         (sin_test_towardzero): Likewise.
7422         (sin_test_downward): Likewise.
7423         (sin_test_upward): Likewise.
7424         (sincos_test): Likewise.
7425         (sinh_test): Likewise.
7426         (sinh_test_tonearest): Likewise.
7427         (sinh_test_towardzero): Likewise.
7428         (sinh_test_downward): Likewise.
7429         (sinh_test_upward): Likewise.
7430         (sqrt_test): Likewise.
7431         (tan_test): Likewise.
7432         (tan_test_tonearest): Likewise.
7433         (tan_test_towardzero): Likewise.
7434         (tan_test_downward): Likewise.
7435         (tan_test_upward): Likewise.
7436         (tanh_test): Likewise.
7437         (tgamma_test): Likewise.
7438         (trunc_test): Likewise.
7439         (y0_test): Likewise.
7440         (y1_test): Likewise.
7441         (yn_test): Likewise.
7442         (significand_test): Likewise.
7444 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7446         [BZ #15381]
7447         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7449 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7451         [BZ #14894]
7452         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7453         __ppc_mdoio and __ppc_mdoom.
7454         * manual/platform.texi: Document new functions __ppc_yield,
7455         __ppc_mdoio and __ppc_mdoom.
7457 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7459         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7460         (main): Mention "tls" pseudo-hwcap is legacy.
7461         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7463 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7465         * math/gen-libm-test.pl (parse_args): Output only string of
7466         arguments as text for test name, not full call or descriptions of
7467         tests for extra outputs.
7468         (generate_testfile): Do not pass function name to parse_args.
7469         Generate this_func variable from START.
7470         * math/libm-test.inc (struct test_f_f_data): Rename test_name
7471         field to arg_str.
7472         (struct test_ff_f_data): Likewise.
7473         (test_ff_f_data_nexttoward): Likewise.
7474         (struct test_fi_f_data): Likewise.
7475         (struct test_fl_f_data): Likewise.
7476         (struct test_if_f_data): Likewise.
7477         (struct test_fff_f_data): Likewise.
7478         (struct test_c_f_data): Likewise.
7479         (struct test_f_f1_data): Likewise.  Remove field extra_name.
7480         (struct test_fF_f1_data): Likewise.
7481         (struct test_ffI_f1_data): Likewise.
7482         (struct test_c_c_data): Rename test_name field to arg_str.
7483         (struct test_cc_c_data): Likewise.
7484         (struct test_f_i_data): Likewise.
7485         (struct test_ff_i_data): Likewise.
7486         (struct test_f_l_data): Likewise.
7487         (struct test_f_L_data): Likewise.
7488         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
7489         and extra2_name.
7490         (COMMON_TEST_SETUP): New macro.
7491         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7492         (COMMON_TEST_CLEANUP): Likewise.
7493         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7494         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
7495         macros.
7496         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7497         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
7498         macros.
7499         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7500         (RUN_TEST_fff_f): Take argument string.  Call new setup and
7501         cleanup macros.
7502         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7503         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
7504         macros.
7505         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7506         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
7507         macros.
7508         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7509         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
7510         cleanup macros.
7511         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7512         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
7513         cleanup macros.
7514         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7515         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
7516         cleanup macros.
7517         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7518         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
7519         macros.
7520         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7521         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
7522         macros.
7523         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7524         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
7525         macros.
7526         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7527         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
7528         cleanup macros.
7529         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7530         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
7531         cleanup macros.
7532         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7533         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
7534         macros.
7535         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7536         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
7537         cleanup macros.
7538         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7539         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
7540         macros.
7541         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7542         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
7543         macros.
7544         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7545         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
7546         cleanup macros.
7547         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7549 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7551         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7552         to _sifields.sigfault.
7553         (si_addr_lsb): Define new macro.
7554         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7555         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7556         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7558 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
7560         [BZ #15441]
7561         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7562         returns -1.
7563         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7564         null return -1.
7565         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7566         loading the domain.
7568 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7570         * math/gen-libm-test.pl (parse_args): Do not include expected
7571         result in test name.
7572         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7573         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7574         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7575         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7576         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7579 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7581         * benchtests/Makefile: Sort function entries.
7583         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7584         tanh, asinh, acosh, atanh.
7585         * benchtests/acos-inputs: New file.
7586         * benchtests/acosh-inputs: New file.
7587         * benchtests/asin-inputs: New file.
7588         * benchtests/asinh-inputs: New file.
7589         * benchtests/atanh-inputs: New file.
7590         * benchtests/cosh-inputs: New file.
7591         * benchtests/log-inputs: New file.
7592         * benchtests/sinh-inputs: New file.
7593         * benchtests/tanh-inputs: New file.
7595 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
7597         [BZ #15339]
7598         * posix/tst-getaddrinfo4.c: New test.
7599         * posix/Makefile (tests): Add it.
7601 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7603         [BZ #15339]
7604         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7605         when no services were used.
7606         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7607         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7609 2013-05-21  Andreas Schwab  <schwab@suse.de>
7611         [BZ #15014]
7612         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7613         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7614         successful.
7615         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7616         redundant variable declarations and reallocation of buffer when
7617         parsing as IPv6 address.  Always set NSS status when called from
7618         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
7619         buffer too small.  Correct computation of needed size.
7620         * nss/Makefile (tests): Add test-digits-dots.
7621         * nss/test-digits-dots.c: New test.
7623 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7625         * benchtests/Makefile: Remove instructions for adding
7626         benchmark tests.
7627         * benchtests/README: New file to explain how to execute and
7628         enhance the benchmark tests.
7630 2013-05-21  Andreas Schwab  <schwab@suse.de>
7632         [BZ #15493]
7633         * setjmp/Makefile (tests): Add tst-sigsetjmp.
7634         * setjmp/tst-sigsetjmp.c: New test.
7636 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7638         * sysdeps/x86_64/memset.S (memset): New implementation.
7639         (__bzero): Likewise.
7640         (__memset_tail): New function.
7642 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7644         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7645         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7646         __memcpy_sse2_unaligned ifunc selection.
7647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7648         Add memcpy-sse2-unaligned.S.
7649         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7650         Add: __memcpy_sse2_unaligned.
7652 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
7654         [BZ #15490]
7655         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7656         math_force_eval before restoring floating-point envrionment.
7657         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7658         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7659         Likewise.
7660         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7661         <math_private.h>.
7662         (__nearbyintl): Use math_force_eval before restoring
7663         floating-point environment.
7664         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7666         * math/gen-libm-test.pl (special_functions): Remove.
7667         (parse_args): Don't handle TEST_extra.  Handle functions with no
7668         return value.
7669         * math/libm-test.inc (struct test_sincos_data): Replace with
7670         struct test_fFF_11_data.
7671         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7672         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7673         (sincos_test_data): Change element type to struct
7674         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
7675         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7676         RUN_TEST_LOOP_sincos.
7677         * math/README.libm-test: Don't mention special handling of
7678         individual functions.
7679         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7680         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7681         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7682         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7683         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7686         * math/gen-libm-test.pl (get_variable): Remove function.
7687         (parse_args): Don't show pointer parameters to call in test
7688         names.  Use "extra output N" in test names for extra outputs
7689         rather than naming variables.
7691 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7693         [BZ #15488]
7694         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7695         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7696         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7697         double tests.
7698         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7699         disable.
7700         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7701         check_long_double.
7703         * math/gen-libm-test.pl (@tests): Remove variable.
7704         ($count): Likewise.
7705         (new_test): Remove function.
7706         (show_exceptions): New function.
7707         (special_functions): Use show_exceptions instead of new_test.
7708         (parse_args): Likewise.
7709         (generate_testfile): Pass only function name in generated call to
7710         print_max_error or print_complex_max_error.
7711         (get_ulps): Do not handle complex tests specially.
7712         (output_test): Rename to ...
7713         (get_all_ulps_for_test): ... this.  Return a string rather than
7714         printing to a file.  Require ulps to be present.
7715         (output_ulps): Generate arrays rather than #defines.
7716         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7717         (struct ulp_data): New type.
7718         (BUILD_COMPLEX_ULP): Remove macro.
7719         (compare_ulp_data): New function.
7720         (find_ulps): Likewise.
7721         (find_test_ulps): Likewise.
7722         (find_function_ulps): Likewise.
7723         (find_complex_function_ulps): Likewise.
7724         (print_max_error): Determine allowed ulps using
7725         find_function_ulps.
7726         (print_complex_max_error): Determine allowed ulps using
7727         find_complex_function_ulps.
7728         (check_float_internal): Determine max ulps using find_test_ulps.
7729         (check_float): Do not take max_ulp parameter.  Update call to
7730         check_float_internal.
7731         (check_complex): Likewise.
7732         (check_int): Do not take max_ulp parameter.
7733         (check_long): Likewise.
7734         (check_bool): Likewise.
7735         (check_longlong): Likewise.
7736         (struct test_f_f_data): Remove max_ulp field.
7737         (struct test_ff_f_data): Likewise.
7738         (struct test_ff_f_data_nexttoward): Likewise.
7739         (struct test_fi_f_data): Likewise.
7740         (struct test_fl_f_data): Likewise.
7741         (struct test_if_f_data): Likewise.
7742         (struct test_fff_f_data): Likewise.
7743         (struct test_c_f_data): Likewise.
7744         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7745         (struct test_fF_f1_data): Likewise.
7746         (struct test_ffI_f1_data): Likewise.
7747         (struct test_c_c_data): Remove max_ulp field.
7748         (struct test_cc_c_data): Likewise.
7749         (struct test_f_i_data): Likewise.
7750         (struct test_ff_i_data): Likewise.
7751         (struct test_f_l_data): Likewise.
7752         (struct test_f_L_data): Likewise.
7753         (struct test_sincos_data): Likewise.
7754         (RUN_TEST_f_f): Do not handle ulps.
7755         (RUN_TEST_LOOP_f_f): Likewise.
7756         (RUN_TEST_2_f): Likewise.
7757         (RUN_TEST_LOOP_2_f): Likewise.
7758         (RUN_TEST_fff_f): Likewise.
7759         (RUN_TEST_LOOP_fff_f): Likewise.
7760         (RUN_TEST_c_f): Likewise.
7761         (RUN_TEST_LOOP_c_f): Likewise.
7762         (RUN_TEST_f_f1): Likewise.
7763         (RUN_TEST_LOOP_f_f1): Likewise.
7764         (RUN_TEST_fF_f1): Likewise.
7765         (RUN_TEST_LOOP_fF_f1): Likewise.
7766         (RUN_TEST_fI_f1): Likewise.
7767         (RUN_TEST_LOOP_fI_f1): Likewise.
7768         (RUN_TEST_ffI_f1): Likewise.
7769         (RUN_TEST_LOOP_ffI_f1): Likewise.
7770         (RUN_TEST_c_c): Likewise.
7771         (RUN_TEST_LOOP_c_c): Likewise.
7772         (RUN_TEST_cc_c): Likewise.
7773         (RUN_TEST_LOOP_cc_c): Likewise.
7774         (RUN_TEST_f_i): Likewise.
7775         (RUN_TEST_LOOP_f_i): Likewise.
7776         (RUN_TEST_f_i_tg): Likewise.
7777         (RUN_TEST_LOOP_f_i_tg): Likewise.
7778         (RUN_TEST_ff_i_tg): Likewise.
7779         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7780         (RUN_TEST_f_b): Likewise.
7781         (RUN_TEST_LOOP_f_b): Likewise.
7782         (RUN_TEST_f_b_tg): Likewise.
7783         (RUN_TEST_LOOP_f_b_tg): Likewise.
7784         (RUN_TEST_f_l): Likewise.
7785         (RUN_TEST_LOOP_f_l): Likewise.
7786         (RUN_TEST_f_L): Likewise.
7787         (RUN_TEST_LOOP_f_L): Likewise.
7788         (RUN_TEST_sincos): Likewise.
7789         (RUN_TEST_LOOP_sincos): Likewise.
7791 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7793         [BZ #15480]
7794         [BZ #15485]
7795         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7796         main case of finite arguments, set rounding mode to FE_TONEAREST
7797         and discard exceptions.
7798         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7799         exceptions.
7800         (remainder_tonearest_test_data): New variable.
7801         (remainder_test_tonearest): New function.
7802         (remainder_towardzero_test_data): New variable.
7803         (remainder_test_towardzero): New function.
7804         (remainder_downward_test_data): New variable.
7805         (remainder_test_downward): New function.
7806         (remainder_upward_test_data): New variable.
7807         (remainder_test_upward): New function.
7808         (main): Call the new test functions.
7810         * math/libm-test.inc (struct test_f_f1_data): Remove field
7811         extra_init.
7812         (struct test_fF_f1_data): Likewise.
7813         (struct test_ffI_f1_data): Likewise.
7814         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7815         based on value of EXTRA_EXPECTED.
7816         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7817         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7818         EXTRA_VAR based on value of EXTRA_EXPECTED.
7819         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7820         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7821         EXTRA_VAR based on value of EXTRA_EXPECTED.
7822         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7823         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7824         EXTRA_VAR based on value of EXTRA_EXPECTED.
7825         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7826         * math/gen-libm-test.pl (parse_args): Don't output initializers
7827         for extra output values.
7829         * math/libm-test.inc (check_int): Expect result to be exactly
7830         equal to expected value and do not handle ulps.
7831         (check_long): Likewise.
7832         (check_longlong): Likewise.
7834         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7835         exceptions.
7836         (cimag_test_data): Likewise.
7837         (conj_test_data): Likewise.
7838         (copysign_test_data): Likewise.
7839         (cproj_test_data): Likewise.
7840         (creal_test_data): Likewise.
7841         (fabs_test_data): Likewise.
7842         (fdim_test_data): Likewise.
7843         (finite_test_data): Likewise.
7844         (floor_test_data): Likewise.
7845         (fmax_test_data): Likewise.
7846         (fmin_test_data): Likewise.
7847         (fmod_test_data): Likewise.
7848         (fpclassify_test_data): Likewise.
7849         (frexp_test_data): Likewise.
7850         (ilogb_test_data): Likewise.
7851         (isfinite_test_data): Likewise.
7852         (isgreater_test_data): Likewise.
7853         (isgreaterequal_test_data): Likewise.
7854         (isinf_test_data): Likewise.
7855         (isless_test_data): Likewise.
7856         (islessequal_test_data): Likewise.
7857         (islessgreater_test_data): Likewise.
7858         (isnan_test_data): Likewise.
7859         (isnormal_test_data): Likewise.
7860         (issignaling_test_data): Likewise.
7861         (isunordered_test_data): Likewise.
7862         (ldexp_test_data): Likewise.
7863         (lrint_test_data): Likewise.
7864         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7865         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7866         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7867         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7868         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7869         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7870         test input.
7871         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7872         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7873         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7874         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7875         that test input.
7876         (lrint_downward_test_data): Test for "inexact" exceptions.
7877         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7878         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7879         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7880         test input.
7881         (lrint_upward_test_data): Test for "inexact" exceptions.
7882         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7883         test input.
7884         (llrint_test_data): Test for "inexact" exceptions.
7885         (llrint_test_data) [TEST_FLOAT]: Disable one test.
7886         (llrint_tonearest_test_data): Test for "inexact" exceptions.
7887         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7888         (llrint_towardzero_test_data): Test for "inexact" exceptions.
7889         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7890         (llrint_downward_test_data): Test for "inexact" exceptions.
7891         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7892         (llrint_upward_test_data): Test for "inexact" exceptions.
7893         (logb_test_data): Likewise.
7894         (logb_downward_test_data): Likewise.
7895         (nextafter_test_data): Likewise.
7896         (nexttoward_test_data): Likewise.
7897         (remainder_test_data): Likewise.
7898         (remquo_test_data): Likewise.
7899         (scalbn_test_data): Likewise.
7900         (scalbln_test_data): Likewise.
7901         (signbit_test_data): Likewise.
7902         (sqrt_test_data): Likewise.
7903         (significand_test_data): Likewise.
7905 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7907         [BZ #15424]
7908         * benchtests/bench-modf.c (struct args): Mark arg0 as
7909         volatile.
7910         * scripts/bench.pl: Mark members of struct args as volatile.
7912 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7914         [BZ # 15497]
7915         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7916         negative infinity on POWER6 or lower.
7917         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7919 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7921         [BZ #15442]
7922         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7923         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7924         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7925         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7926         (_FP_SETQNAN): New macro.
7927         (_FP_SETQNAN_SEMIRAW): Likewise.
7928         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7929         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7930         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7931         (FP_EXTEND): Use _FP_FRAC_SNANP.
7932         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7933         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7934         into account.
7935         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7936         New macro.
7937         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7938         Likewise.
7940 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7942         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7943         with DIVIDE_BY_ZERO_EXCEPTION.
7944         (gamma_test_data): Likewise.
7945         (lgamma_test_data): Likewise.
7946         (log_test_data): Likewise.
7947         (log10_test_data): Likewise.
7948         (log2_test_data): Likewise.
7949         (tgamma_test_data): Likewise.
7951         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7952         (acos_test_tonearest): Likewise.
7953         (acos_test_towardzero): Likewise.
7954         (acos_test_downward): Likewise.
7955         (acos_test_upward): Likewise.
7956         (acosh_test): Likewise.
7957         (asin_test): Likewise.
7958         (asin_test_tonearest): Likewise.
7959         (asin_test_towardzero): Likewise.
7960         (asin_test_downward): Likewise.
7961         (asin_test_upward): Likewise.
7962         (asinh_test): Likewise.
7963         (atan_test): Likewise.
7964         (atanh_test): Likewise.
7965         (atan2_test): Likewise.
7966         (cabs_test): Likewise.
7967         (cacos_test): Likewise.
7968         (cacosh_test): Likewise.
7969         (casin_test): Likewise.
7970         (casinh_test): Likewise.
7971         (catan_test): Likewise.
7972         (catanh_test): Likewise.
7973         (cbrt_test): Likewise.
7974         (ccos_test): Likewise.
7975         (ccosh_test): Likewise.
7976         (cexp_test): Likewise.
7977         (clog_test): Likewise.
7978         (clog10_test): Likewise.
7979         (cos_test): Likewise.
7980         (cos_test_tonearest): Likewise.
7981         (cos_test_towardzero): Likewise.
7982         (cos_test_downward): Likewise.
7983         (cos_test_upward): Likewise.
7984         (cosh_test): Likewise.
7985         (cosh_test_tonearest): Likewise.
7986         (cosh_test_towardzero): Likewise.
7987         (cosh_test_downward): Likewise.
7988         (cosh_test_upward): Likewise.
7989         (cpow_test): Likewise.
7990         (csin_test): Likewise.
7991         (csinh_test): Likewise.
7992         (csqrt_test): Likewise.
7993         (ctan_test): Likewise.
7994         (ctan_test_tonearest): Likewise.
7995         (ctan_test_towardzero): Likewise.
7996         (ctan_test_downward): Likewise.
7997         (ctan_test_upward): Likewise.
7998         (ctanh_test): Likewise.
7999         (ctanh_test_tonearest): Likewise.
8000         (ctanh_test_towardzero): Likewise.
8001         (ctanh_test_downward): Likewise.
8002         (ctanh_test_upward): Likewise.
8003         (erf_test): Likewise.
8004         (erfc_test): Likewise.
8005         (exp_test): Likewise.
8006         (exp_test_tonearest): Likewise.
8007         (exp_test_towardzero): Likewise.
8008         (exp_test_downward): Likewise.
8009         (exp_test_upward): Likewise.
8010         (exp10_test): Likewise.
8011         (exp2_test): Likewise.
8012         (expm1_test): Likewise.
8013         (fmod_test): Likewise.
8014         (gamma_test): Likewise.
8015         (hypot_test): Likewise.
8016         (j0_test): Likewise.
8017         (j1_test): Likewise.
8018         (jn_test): Likewise.
8019         (lgamma_test): Likewise.
8020         (log_test): Likewise.
8021         (log10_test): Likewise.
8022         (log1p_test): Likewise.
8023         (log2_test): Likewise.
8024         (logb_test_downward): Likewise.
8025         (pow_test): Likewise.
8026         (pow_test_tonearest): Likewise.
8027         (pow_test_towardzero): Likewise.
8028         (pow_test_downward): Likewise.
8029         (pow_test_upward): Likewise.
8030         (remainder_test): Likewise.
8031         (remquo_test): Likewise.
8032         (sin_test): Likewise.
8033         (sin_test_tonearest): Likewise.
8034         (sin_test_towardzero): Likewise.
8035         (sin_test_downward): Likewise.
8036         (sin_test_upward): Likewise.
8037         (sincos_test): Likewise.
8038         (sinh_test): Likewise.
8039         (sinh_test_tonearest): Likewise.
8040         (sinh_test_towardzero): Likewise.
8041         (sinh_test_downward): Likewise.
8042         (sinh_test_upward): Likewise.
8043         (sqrt_test): Likewise.
8044         (tan_test): Likewise.
8045         (tan_test_tonearest): Likewise.
8046         (tan_test_towardzero): Likewise.
8047         (tan_test_downward): Likewise.
8048         (tan_test_upward): Likewise.
8049         (tanh_test): Likewise.
8050         (tgamma_test): Likewise.
8051         (y0_test): Likewise.
8052         (y1_test): Likewise.
8053         (yn_test): Likewise.
8055         * math/gen-libm-test.pl (adjust_arg): Remove function.
8056         (special_function): Remove argument $in_func.  Only handle
8057         generating output for tables of tests, not inside functions.
8058         (parse_args): Likewise.
8059         (generate_testfile): Remove variable $in_func.  Update call to
8060         parse_args.
8061         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8062         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8063         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8064         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8065         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8066         (MAX_VALUE_INIT): Rename macro to max_value.
8067         (MIN_VALUE_INIT): Rename macro to min_value.
8068         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8069         (plus_zero): Remove variable.
8070         (minus_zero): Likewise.
8071         (plus_infty): Likewise.
8072         (minus_infty): Likewise.
8073         (qnan_value): Likewise.
8074         (max_value): Likewise.
8075         (min_value): Likewise.
8076         (min_subnorm_value): Likewise.
8078 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8080         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8081         uint64_t or uint32_t usage.
8082         * crypt/sha256-block.c: Likewise.
8083         * crypt/sha256-crypt.c: Likewise.
8084         * crypt/sha256.c: Likewise.
8085         * crypt/sha512-block.c: Likewise.
8086         * crypt/sha512-crypt.c: Likewise.
8087         * crypt/sha512.c: Likewise.
8088         * debug/backtrace-tst.c: Likewise.
8089         * debug/pcprofiledump.c: Likewise.
8090         * elf/cache.c: Likewise.
8091         * elf/dl-cache.c: Likewise.
8092         * elf/dl-misc.c: Likewise.
8093         * elf/dl-profile.c: Likewise.
8094         * elf/dl-support.c: Likewise.
8095         * elf/ldconfig.c: Likewise.
8096         * elf/sprof.c: Likewise.
8097         * iconv/dummy-repertoire.c: Likewise.
8098         * iconv/iconv_charmap.c: Likewise.
8099         * iconv/skeleton.c: Likewise.
8100         * iconvdata/8bit-generic.c: Likewise.
8101         * iconvdata/cp737.h: Likewise.
8102         * iconvdata/cp775.h: Likewise.
8103         * iconvdata/ibm1008.h: Likewise.
8104         * iconvdata/ibm1025.h: Likewise.
8105         * iconvdata/ibm1046.h: Likewise.
8106         * iconvdata/ibm1097.h: Likewise.
8107         * iconvdata/ibm1112.h: Likewise.
8108         * iconvdata/ibm1122.h: Likewise.
8109         * iconvdata/ibm1123.h: Likewise.
8110         * iconvdata/ibm1124.h: Likewise.
8111         * iconvdata/ibm1129.h: Likewise.
8112         * iconvdata/ibm1130.h: Likewise.
8113         * iconvdata/ibm1132.h: Likewise.
8114         * iconvdata/ibm1133.h: Likewise.
8115         * iconvdata/ibm1137.h: Likewise.
8116         * iconvdata/ibm1140.h: Likewise.
8117         * iconvdata/ibm1141.h: Likewise.
8118         * iconvdata/ibm1142.h: Likewise.
8119         * iconvdata/ibm1143.h: Likewise.
8120         * iconvdata/ibm1144.h: Likewise.
8121         * iconvdata/ibm1145.h: Likewise.
8122         * iconvdata/ibm1146.h: Likewise.
8123         * iconvdata/ibm1147.h: Likewise.
8124         * iconvdata/ibm1148.h: Likewise.
8125         * iconvdata/ibm1149.h: Likewise.
8126         * iconvdata/ibm1153.h: Likewise.
8127         * iconvdata/ibm1154.h: Likewise.
8128         * iconvdata/ibm1155.h: Likewise.
8129         * iconvdata/ibm1156.h: Likewise.
8130         * iconvdata/ibm1157.h: Likewise.
8131         * iconvdata/ibm1158.h: Likewise.
8132         * iconvdata/ibm1160.h: Likewise.
8133         * iconvdata/ibm1161.h: Likewise.
8134         * iconvdata/ibm1162.h: Likewise.
8135         * iconvdata/ibm1163.h: Likewise.
8136         * iconvdata/ibm1164.h: Likewise.
8137         * iconvdata/ibm1166.h: Likewise.
8138         * iconvdata/ibm1167.h: Likewise.
8139         * iconvdata/ibm12712.h: Likewise.
8140         * iconvdata/ibm1390.h: Likewise.
8141         * iconvdata/ibm1399.h: Likewise.
8142         * iconvdata/ibm16804.h: Likewise.
8143         * iconvdata/ibm4517.h: Likewise.
8144         * iconvdata/ibm4899.h: Likewise.
8145         * iconvdata/ibm4909.h: Likewise.
8146         * iconvdata/ibm4971.h: Likewise.
8147         * iconvdata/ibm5347.h: Likewise.
8148         * iconvdata/ibm803.h: Likewise.
8149         * iconvdata/ibm856.h: Likewise.
8150         * iconvdata/ibm901.h: Likewise.
8151         * iconvdata/ibm902.h: Likewise.
8152         * iconvdata/ibm9030.h: Likewise.
8153         * iconvdata/ibm9066.h: Likewise.
8154         * iconvdata/ibm921.h: Likewise.
8155         * iconvdata/ibm922.h: Likewise.
8156         * iconvdata/ibm9448.h: Likewise.
8157         * iconvdata/isiri-3342.h: Likewise.
8158         * iconvdata/jis0201.h: Likewise.
8159         * include/link.h: Likewise.
8160         * include/netdb.h: Likewise.
8161         * inet/check_native.c: Likewise.
8162         * inet/check_pf.c: Likewise.
8163         * inet/getipv4sourcefilter.c: Likewise.
8164         * inet/getnameinfo.c: Likewise.
8165         * inet/getsourcefilter.c: Likewise.
8166         * inet/htonl.c: Likewise.
8167         * inet/setipv4sourcefilter.c: Likewise.
8168         * inet/setsourcefilter.c: Likewise.
8169         * inet/test-inet6_opt.c: Likewise.
8170         * inet/tst-network.c: Likewise.
8171         * locale/C-collate.c: Likewise.
8172         * locale/C-ctype.c: Likewise.
8173         * locale/C-time.c: Likewise.
8174         * locale/C-translit.h: Likewise.
8175         * locale/loadarchive.c: Likewise.
8176         * locale/programs/3level.h: Likewise.
8177         * locale/programs/charmap.c: Likewise.
8178         * locale/programs/charmap.h: Likewise.
8179         * locale/programs/ld-address.c: Likewise.
8180         * locale/programs/ld-collate.c: Likewise.
8181         * locale/programs/ld-ctype.c: Likewise.
8182         * locale/programs/ld-identification.c: Likewise.
8183         * locale/programs/ld-measurement.c: Likewise.
8184         * locale/programs/ld-messages.c: Likewise.
8185         * locale/programs/ld-monetary.c: Likewise.
8186         * locale/programs/ld-name.c: Likewise.
8187         * locale/programs/ld-numeric.c: Likewise.
8188         * locale/programs/ld-paper.c: Likewise.
8189         * locale/programs/ld-telephone.c: Likewise.
8190         * locale/programs/ld-time.c: Likewise.
8191         * locale/programs/linereader.c: Likewise.
8192         * locale/programs/locale.c: Likewise.
8193         * locale/programs/locarchive.c: Likewise.
8194         * locale/programs/locfile.h: Likewise.
8195         * locale/programs/repertoire.c: Likewise.
8196         * locale/programs/simple-hash.c: Likewise.
8197         * locale/programs/simple-hash.h: Likewise.
8198         * malloc/memusage.c: Likewise.
8199         * malloc/memusagestat.c: Likewise.
8200         * nis/nis_defaults.c: Likewise.
8201         * nis/nis_hash.c: Likewise.
8202         * nis/nis_print.c: Likewise.
8203         * nis/nis_xdr.c: Likewise.
8204         * nscd/connections.c: Likewise.
8205         * nscd/hstcache.c: Likewise.
8206         * nscd/nscd_gethst_r.c: Likewise.
8207         * nscd/nscd_getserv_r.c: Likewise.
8208         * nscd/nscd_helper.c: Likewise.
8209         * nscd/servicescache.c: Likewise.
8210         * nss/makedb.c: Likewise.
8211         * nss/nss_db/db-XXX.c: Likewise.
8212         * nss/nss_db/db-initgroups.c: Likewise.
8213         * nss/nss_db/db-netgrp.c: Likewise.
8214         * nss/nss_files/files-network.c: Likewise.
8215         * nss/nss_files/files-parse.c: Likewise.
8216         * posix/bug-regex5.c: Likewise.
8217         * posix/fnmatch_loop.c: Likewise.
8218         * posix/regcomp.c: Likewise.
8219         * posix/regexec.c: Likewise.
8220         * posix/tst-rfc3484-2.c: Likewise.
8221         * posix/tst-rfc3484-3.c: Likewise.
8222         * posix/tst-rfc3484.c: Likewise.
8223         * resolv/nss_dns/dns-canon.c: Likewise.
8224         * resolv/nss_dns/dns-network.c: Likewise.
8225         * resolv/res_init.c: Likewise.
8226         * resolv/res_mkquery.c: Likewise.
8227         * resolv/tst-aton.c: Likewise.
8228         * stdlib/cxa_atexit.c: Likewise.
8229         * stdlib/cxa_finalize.c: Likewise.
8230         * stdlib/gen-fpioconst.c: Likewise.
8231         * stdlib/strtol_l.c: Likewise.
8232         * string/tst-endian.c: Likewise.
8233         * sunrpc/auth_des.c: Likewise.
8234         * sunrpc/clnt_udp.c: Likewise.
8235         * sunrpc/rtime.c: Likewise.
8236         * sunrpc/svcauth_des.c: Likewise.
8237         * sunrpc/xdr.c: Likewise.
8238         * sunrpc/xdr_intXX_t.c: Likewise.
8239         * sunrpc/xdr_rec.c: Likewise.
8240         * sysdeps/generic/ldconfig.h: Likewise.
8241         * sysdeps/generic/ldsodefs.h: Likewise.
8242         * sysdeps/generic/memusage.h: Likewise.
8243         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8244         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8245         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8246         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8247         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8248         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8249         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8250         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8251         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8252         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8253         * sysdeps/posix/getaddrinfo.c: Likewise.
8254         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8255         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8256         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8257         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8258         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8259         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8260         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8261         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8262         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8263         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8264         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8265         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8266         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8267         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8268         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8269         * sysdeps/x86_64/dl-tls.h: Likewise.
8270         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8271         * time/alt_digit.c: Likewise.
8272         * time/era.c: Likewise.
8273         * wcsmbs/tst-c16c32-1.c: Likewise.
8275 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8277         * math/libm-test.inc (struct test_sincos_data): New type.
8278         (RUN_TEST_LOOP_sincos): New macro.
8279         (sincos_test_data): New variable.
8280         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8282 2013-05-16  Richard Henderson  <rth@redhat.com>
8284         * math/atest-exp2.c (LIMB64): New macro.
8285         (CONSTSZ): New macro.
8286         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8287         (hexdig): Move ...
8288         (print_mpn_fp): ... to function scope.
8289         (read_mpn_hex): Remove.
8290         (get_log2): Remove.
8291         (exp2_mpn): Use mp_log2.
8292         (main): Use mp_exp1.
8294 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8296         * math/libm-test.inc: Remove comment about not testing "inexact"
8297         exceptions.
8298         (INEXACT_EXCEPTION): New macro.
8299         (NO_INEXACT_EXCEPTION): Likewise.
8300         (INVALID_EXCEPTION_OK): Update value.
8301         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8302         (OVERFLOW_EXCEPTION_OK): Likewise.
8303         (UNDERFLOW_EXCEPTION_OK): Likewise.
8304         (IGNORE_ZERO_INF_SIGN): Likewise.
8305         (ERRNO_UNCHANGED): Likewise.
8306         (ERRNO_EDOM): Likewise.
8307         (ERRNO_ERANGE): Likewise.
8308         (test_exceptions): Handle testing "inexact" exceptions.
8309         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8310         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8311         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8312         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8313         INEXACT_EXCEPTION.
8314         (rint_towardzero_test_data): Likewise.
8315         (rint_downward_test_data): Likewise.
8316         (rint_upward_test_data): Likewise.
8318         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8319         with OVERFLOW_EXCEPTION.
8320         (exp10_test_data): Likewise.
8321         (exp2_test_data): Likewise.
8322         (expm1_test_data): Likewise.
8323         (lgamma_test_data): Likewise.
8324         (pow_test_data): Likewise.
8325         (tgamma_test_data): Likewise.
8326         (yn_test_data): Remove duplicate test of overflow.
8328         * math/libm-test.inc (struct test_cc_c_data): New type.
8329         (RUN_TEST_LOOP_cc_c): New macro.
8330         (cpow_test_data): New variable.
8331         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8333         * math/libm-test.inc (struct test_f_L_data): New type.
8334         (RUN_TEST_LOOP_f_L): New macro.
8335         (llrint_test_data): New variable.
8336         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8337         (llrint_tonearest_test_data): New variable.
8338         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8339         (llrint_towardzero_test_data): New variable.
8340         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8341         (llrint_downward_test_data): New variable.
8342         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8343         (llrint_upward_test_data): New variable.
8344         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8345         (llround_test_data): New variable.
8346         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8348 2013-05-13  Peter Collingbourne  <pcc@google.com>
8350         * math/atest-exp2.c (get_log2): Remove const attribute.
8352 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8354         * math/libm-test.inc (struct test_f_l_data): New type.
8355         (RUN_TEST_LOOP_f_l): New macro.
8356         (lrint_test_data): New variable.
8357         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8358         (lrint_tonearest_test_data): New variable.
8359         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8360         (lrint_towardzero_test_data): New variable.
8361         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8362         (lrint_downward_test_data): New variable.
8363         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8364         (lrint_upward_test_data): New variable.
8365         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8366         (lround_test_data): New variable.
8367         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8369 2013-05-15  Peter Collingbourne  <pcc@google.com>
8371         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8372         (EXTRACT_WORDS64) Use where appropriate.
8373         (INSERT_WORDS64) Likewise.
8375         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8376         constraints with x constraints.
8377         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8379         * malloc/obstack.c (_obstack_compat): Add initializer.
8381 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8383         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8384         si_trapno and add si_addr_lsb to _sifields.sigfault.
8385         (si_trapno): Remove macro.
8386         (si_addr_lsb): Define new macro.
8387         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8389 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8391         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8392         instead of TEST_f_l.
8393         (llrint_test_tonearest): Likewise.
8394         (llrint_test_towardzero): Likewise.
8395         (llrint_test_downward): Likewise.
8396         (llrint_test_upward): Likewise.
8397         (llround_test): Likewise.
8399         * math/libm-test.inc (struct test_f_i_data): Add comment.
8400         (RUN_TEST_LOOP_f_b): New macro.
8401         (RUN_TEST_LOOP_f_b_tg): Likewise.
8402         (finite_test_data): New variable.
8403         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8404         (isfinite_test_data): New variable.
8405         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8406         (isinf_test_data): New variable.
8407         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8408         (isnan_test_data): New variable.
8409         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8410         (isnormal_test_data): New variable.
8411         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8412         (issignaling_test_data): New variable.
8413         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8414         (signbit_test_data): New variable.
8415         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8417         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8418         with INVALID_EXCEPTION.
8419         (acosh_test_data): Likewise.
8420         (asin_test_data): Likewise.
8421         (atanh_test_data): Likewise.
8422         (fmod_test_data): Likewise.
8423         (log_test_data): Likewise.
8424         (log10_test_data): Likewise.
8425         (log2_test_data): Likewise.
8426         (pow_test_data): Likewise.
8427         (sqrt_test_data): Likewise.
8428         (y0_test_data): Likewise.
8429         (y1_test_data): Likewise.
8430         (yn_test_data): Likewise.
8432         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8433         function contents.
8435         * math/libm-test.inc (struct test_ff_i_data): New type.
8436         (RUN_TEST_LOOP_ff_i_tg): New macro.
8437         (isgreater_test_data): New variable.
8438         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8439         (isgreaterequal_test_data): New variable.
8440         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8441         (isless_test_data): New variable.
8442         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8443         (islessequal_test_data): New variable.
8444         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8445         (islessgreater_test_data): New variable.
8446         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8447         (isunordered_test_data): New variable.
8448         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8450 2013-05-14  David S. Miller  <davem@davemloft.net>
8452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8454 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8456         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8458         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8459         extra_test to int.
8460         (struct test_f_i_data): Change type of max_ulp to int.
8462         * math/libm-test.inc (test_ffI_f1_data): New type.
8463         (RUN_TEST_LOOP_ffI_f1): New macro.
8464         (remquo_test_data): New variable.
8465         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8467         * setjmp/tst-setjmp-fp.c: New file.
8468         * setjmp/Makefile (tests): Add tst-setjmp-fp.
8469         (link-libm): New variable.
8470         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8472         * math/libm-test.inc (struct test_f_i_data): New type.
8473         (RUN_TEST_LOOP_f_i): New macro.
8474         (RUN_TEST_LOOP_f_i_tg): Likewise.
8475         (fpclassify_test_data): New variable.
8476         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8477         (ilogb_test_data): New variable.
8478         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8480         * math/libm-test.inc (scalbln_test): Correct function name in END
8481         call.
8483         * math/libm-test.inc (struct test_f_f1_data): Add comment.
8484         (RUN_TEST_LOOP_fI_f1): New macro.
8485         (frexp_test_data): New variable.
8486         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8488         * math/libm-test.inc (struct test_fF_f1_data): New type.
8489         (RUN_TEST_LOOP_fF_f1): New macro.
8490         (modf_test_data): New variable.
8491         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8493         * math/libm-test.inc (struct test_f_f1_data): New type.
8494         (RUN_TEST_LOOP_f_f1): New macro.
8495         (gamma_test_data): New variable.
8496         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8497         (lgamma_test_data): New variable.
8498         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8500 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
8502         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8503         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8504         (main): Comment "tls" pseudo-hwcap.
8506 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
8508         * math/libm-test.inc (struct test_fl_f_data): New type.
8509         (RUN_TEST_LOOP_fl_f): New variable.
8510         (scalbln_test_data): New variable.
8511         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8513         * math/libm-test.inc (struct test_fi_f_data): New type.
8514         (RUN_TEST_LOOP_fi_f): New macro.
8515         (ldexp_test_data): New variable.
8516         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8517         (scalbn_test_data): New variable.
8518         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8520         * math/libm-test.inc (struct test_c_f_data): New type.
8521         (RUN_TEST_LOOP_c_f): New macro.
8522         (cabs_test_data): New variable.
8523         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8524         (carg_test_data): New variable.
8525         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8526         (cimag_test_data): New variable.
8527         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8528         (creal_test_data): New variable.
8529         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8531         * math/libm-test.inc (struct test_if_f_data): New type.
8532         (RUN_TEST_LOOP_if_f): New macro.
8533         (jn_test_data): New variable.
8534         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8535         (yn_test_data): New variable.
8536         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8538         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8540 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8542         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8543         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8545 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8547         * benchtests/Makefile (CPPFLAGS-nonlib): Add
8548         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8549         (bench-deps): Add bench-timing.h.
8550         * benchtests-bench-skeleton.c: Include bench-timing.h.
8551         (main): Use TIMING_* macros instead of clock_gettime.
8552         * benchtests/bench-timing.h: New file.
8554         [BZ #14582]
8555         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8556         Renamed from _LIB_VERSION.
8557         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8559 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
8561         * math/libm-test.inc (struct test_fff_f_data): New type.
8562         (RUN_TEST_LOOP_fff_f): New macro.
8563         (fma_test_data): New variable.
8564         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8565         (fma_towardzero_test_data): New variable.
8566         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8567         (fma_downward_test_data): New variable.
8568         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8569         (fma_upward_test_data): New variable.
8570         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8572         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8573         (struct test_c_c_data): New type.
8574         (RUN_TEST_LOOP_c_c): New macro.
8575         (cacos_test_data): New variable.
8576         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8577         (cacosh_test_data): New variable.
8578         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8579         (casin_test_data): New variable.
8580         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8581         (casinh_test_data): New variable.
8582         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8583         (catan_test_data): New variable.
8584         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8585         (catanh_test_data): New variable.
8586         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8587         (ccos_test_data): New variable.
8588         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8589         (ccosh_test_data): New variable.
8590         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8591         (cexp_test_data): New variable.
8592         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8593         (clog_test_data): New variable.
8594         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8595         (clog10_test_data): New variable.
8596         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8597         (conj_test_data): New variable.
8598         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8599         (cproj_test_data): New variable.
8600         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8601         (csin_test_data): New variable.
8602         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8603         (csinh_test_data): New variable.
8604         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8605         (csqrt_test_data): New variable.
8606         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8607         (ctan_test_data): New variable.
8608         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8609         (ctan_tonearest_test_data): New variable.
8610         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8611         (ctan_towardzero_test_data): New variable.
8612         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8613         (ctan_downward_test_data): New variable.
8614         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8615         (ctan_upward_test_data): New variable.
8616         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8617         (ctanh_test_data): New variable.
8618         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8619         (ctanh_tonearest_test_data): New variable.
8620         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8621         (ctanh_towardzero_test_data): New variable.
8622         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8623         (ctanh_downward_test_data): New variable.
8624         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8625         (ctanh_upward_test_data): New variable.
8626         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8627         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8628         of BUILD_COMPLEX.
8630         * math/libm-test.inc (struct test_ff_f_data): New type.
8631         (struct test_ff_f_data_nexttoward): Likewise.
8632         (RUN_TEST_LOOP_2_f): New macro.
8633         (RUN_TEST_LOOP_ff_f): Likewise.
8634         (atan2_test_data): New variable.
8635         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8636         (copysign_test_data): New variable.
8637         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8638         (fdim_test_data): New variable.
8639         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8640         (fmax_test_data): New variable.
8641         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8642         (fmin_test_data): New variable.
8643         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8644         (fmod_test_data): New variable.
8645         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8646         (hypot_test_data): New variable.
8647         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8648         (nextafter_test_data): New variable.
8649         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8650         (nexttoward_test_data): New variable.
8651         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8652         (pow_test_data): New variable.
8653         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8654         (pow_tonearest_test_data): New variable.
8655         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8656         (pow_towardzero_test_data): New variable.
8657         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8658         (pow_downward_test_data): New variable.
8659         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8660         (pow_upward_test_data): New variable.
8661         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8662         (remainder_test_data): New variable.
8663         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8664         (scalb_test_data): New variable.
8665         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8666         * sysdeps/i386/fpu/libm-test-ulps: Update.
8668 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
8670         * math/libm-test.inc (fma_test): Use max_value instead of local
8671         variable fltmax.
8672         (nextafter_test): Likewise.
8674         * math/libm-test.inc (acos_towardzero_test_data): New variable.
8675         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8676         (acos_downward_test_data): New variable.
8677         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8678         (acos_upward_test_data): New variable.
8679         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8680         (acosh_test_data): New variable.
8681         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8682         (asin_test_data): New variable.
8683         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8684         (asin_tonearest_test_data): New variable.
8685         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8686         (asin_towardzero_test_data): New variable.
8687         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8688         (asin_downward_test_data): New variable.
8689         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8690         (asin_upward_test_data): New variable.
8691         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8692         (asinh_test_data): New variable.
8693         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8694         (atan_test_data): New variable.
8695         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8696         (atanh_test_data): New variable.
8697         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8698         (cbrt_test_data): New variable.
8699         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8700         (ceil_test_data): New variable.
8701         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8702         (cos_test_data): New variable.
8703         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8704         (cos_tonearest_test_data): New variable.
8705         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8706         (cos_towardzero_test_data): New variable.
8707         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8708         (cos_downward_test_data): New variable.
8709         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8710         (cos_upward_test_data): New variable.
8711         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8712         (cosh_test_data): New variable.
8713         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8714         (cosh_tonearest_test_data): New variable.
8715         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8716         (cosh_towardzero_test_data): New variable.
8717         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8718         (cosh_downward_test_data): New variable.
8719         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8720         (cosh_upward_test_data): New variable.
8721         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8722         (erf_test_data): New variable.
8723         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8724         (erfc_test_data): New variable.
8725         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8726         (exp_test_data): New variable.
8727         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8728         (exp_tonearest_test_data): New variable.
8729         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8730         (exp_towardzero_test_data): New variable.
8731         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8732         (exp_downward_test_data): New variable.
8733         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8734         (exp_upward_test_data): New variable.
8735         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8736         (exp10_test_data): New variable.
8737         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8738         (exp2_test_data): New variable.
8739         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8740         (expm1_test_data): New variable.
8741         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8742         (fabs_test_data): New variable.
8743         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8744         (floor_test_data): New variable.
8745         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8746         (j0_test_data): New variable.
8747         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8748         (j1_test_data): New variable.
8749         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8750         (log_test_data): New variable.
8751         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8752         (log10_test_data): New variable.
8753         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8754         (log1p_test_data): New variable.
8755         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8756         (log2_test_data): New variable.
8757         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8758         (logb_test_data): New variable.
8759         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8760         (logb_downward_test_data): New variable.
8761         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8762         (nearbyint_test_data): New variable.
8763         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8764         (rint_test_data): New variable.
8765         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8766         (rint_tonearest_test_data): New variable.
8767         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8768         (rint_towardzero_test_data): New variable.
8769         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8770         (rint_downward_test_data): New variable.
8771         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8772         (rint_upward_test_data): New variable.
8773         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8774         (round_test_data): New variable.
8775         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8776         (sin_test_data): New variable.
8777         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8778         (sin_tonearest_test_data): New variable.
8779         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8780         (sin_towardzero_test_data): New variable.
8781         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8782         (sin_downward_test_data): New variable.
8783         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8784         (sin_upward_test_data): New variable.
8785         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8786         (sinh_test_data): New variable.
8787         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8788         (sinh_tonearest_test_data): New variable.
8789         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8790         (sinh_towardzero_test_data): New variable.
8791         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8792         (sinh_downward_test_data): New variable.
8793         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8794         (sinh_upward_test_data): New variable.
8795         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8796         (sqrt_test_data): New variable.
8797         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8798         (tan_test_data): New variable.
8799         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8800         (tan_tonearest_test_data): New variable.
8801         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8802         (tan_towardzero_test_data): New variable.
8803         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8804         (tan_downward_test_data): New variable.
8805         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8806         (tan_upward_test_data): New variable.
8807         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8808         (tanh_test_data): New variable.
8809         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8810         (tgamma_test_data): New variable.
8811         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8812         (trunc_test_data): New variable.
8813         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8814         (y0_test_data): New variable.
8815         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8816         (y1_test_data): New variable.
8817         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8818         (significand_test_data): New variable.
8819         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8821 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8823         [BZ #12387]
8824         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8826 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8828         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8830 2013-05-10  Andreas Jaeger  <aj@suse.de>
8832         [BZ #15448]
8833         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8834         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8836 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8838         * math/gen-libm-test.pl (adjust_arg): New function.
8839         (special_functions): Handle generating output in both functions
8840         and arrays.
8841         (parse_args): Likewise.
8842         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8843         $in_func argument to parse_args.
8844         * math/libm-test.inc (struct test_f_f_data): New type.
8845         (IF_ROUND_INIT_): New macro.
8846         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8847         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8848         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8849         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8850         (ROUND_RESTORE_): Likewise.
8851         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8852         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8853         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8854         (ROUND_RESTORE_FE_UPWARD): Likewise.
8855         (RUN_TEST_LOOP_f_f): New macro.
8856         (acos_test_data): New variable.
8857         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8858         (acos_tonearest_test_data): New variable.
8859         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8861 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8863         * benchtests/bench-skeleton.c (startup): Fix coding style.
8865 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8867         [BZ #6809]
8868         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8869         negative infinity argument.
8870         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8871         negative infinity argument.
8872         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8873         negative infinity argument.
8874         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8875         domain errors.
8877 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8879         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8880         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8881         * iconv/iconv_prog.c (main): Likewise.
8882         * locale/programs/charmap-dir.c (charmap_readdir)
8883         (fopen_uncompressed): Likewise.
8884         * locale/programs/locfile.c (siblings_uncached)
8885         (write_locale_data): Use lstat64 instead of lstat.
8886         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8887         stat.
8889 2013-05-10  Andreas Jaeger  <aj@suse.de>
8891         [BZ #15395]
8892         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8893         localization.
8894         Include <locale.h>.
8896 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
8898         * elf/dl-close.c (_dl_close_worker): Add comments.
8900 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
8902         [BZ #15359]
8903         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8904         high part of pi/2.
8905         (__ieee754_rem_pio2l): Update comments.
8907         [BZ #15429]
8908         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8909         high part of pi/2.
8910         (__ieee754_rem_pio2l): Update comments.
8912         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8913         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8915         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8916         M_PI_4l.
8918         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8919         (M_PI_34_LOG10El): Likewise.
8920         (M_PI2_LOG10El): Likewise.
8921         (M_PI4_LOG10El): Likewise.
8922         (M_PI_LOG10El): Likewise.
8924 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8928 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
8930         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8931         (MINUS_ZERO_INIT): Likewise.
8932         (PLUS_INFTY_INIT): Likewise.
8933         (MINUS_INFTY_INIT): Likewise.
8934         (QNAN_VALUE_INIT): Likewise.
8935         (MAX_VALUE_INIT): Likewise.
8936         (MIN_VALUE_INIT): Likewise.
8937         (MIN_SUBNORM_VALUE_INIT): Likewise.
8938         (plus_zero): Initialize with PLUS_ZERO_INIT.
8939         (minus_zero): Initialize with MINUS_ZERO_INIT.
8940         (plus_infty): Initialize with PLUS_INFTY_INIT.
8941         (minus_infty): Initialize with MINUS_INFTY_INIT.
8942         (qnan_value): Initialize with QNAN_VALUE_INIT.
8943         (max_value): Initialize with MAX_VALUE_INIT.
8944         (min_value): Initialize with MIN_VALUE_INIT.
8945         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8947         * math/libm-test.inc (RUN_TEST_if_f): New macro.
8948         (jn_test): Use TEST_if_f instead of TEST_ff_f.
8949         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8950         (yn_test): Use TEST_if_f instead of TEST_ff_f.
8952         * math/libm-test.inc (RUN_TEST_f_f): New macro.
8953         (RUN_TEST_2_f): Likewise.
8954         (RUN_TEST_ff_f): Likewise.
8955         (RUN_TEST_fi_f): Likewise.
8956         (RUN_TEST_fl_f): Likewise.
8957         (RUN_TEST_fff_f): Likewise.
8958         (RUN_TEST_c_f): Likewise.
8959         (RUN_TEST_f_f1): Likewise.
8960         (RUN_TEST_fF_f1): Likewise.
8961         (RUN_TEST_fI_f1): Likewise.
8962         (RUN_TEST_ffI_f1): Likewise.
8963         (RUN_TEST_c_c): Likewise.
8964         (RUN_TEST_cc_c): Likewise.
8965         (RUN_TEST_f_i): Likewise.
8966         (RUN_TEST_f_i_tg): Likewise.
8967         (RUN_TEST_ff_i_tg): Likewise.
8968         (RUN_TEST_f_b): Likewise.
8969         (RUN_TEST_f_b_tg): Likewise.
8970         (RUN_TEST_f_l): Likewise.
8971         (RUN_TEST_f_L): Likewise.
8972         (RUN_TEST_sincos): Likewise.
8973         * math/gen-libm-test.pl (new_test): Take new argument to indicate
8974         whether to show exceptions.  Do not include ");\n" in return
8975         value.
8976         (special_functions): Output call to RUN_TEST_sincos instead of
8977         check_float calls.  Update calls to new_test.
8978         (parse_args): Output call to single RUN_TEST_* macro instead of
8979         check_* calls and other assignments.  Update calls to new_test.
8981         [BZ #2546]
8982         [BZ #2560]
8983         [BZ #5159]
8984         [BZ #15426]
8985         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8986         input to result for tgamma overflow.
8987         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8988         (gamma_coeff): New variable.
8989         (NCOEFF): New macro.
8990         (gamma_positive): New function.
8991         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8992         underflow here.  Use gamma_positive instead of exp (lgamma) for
8993         other arguments.
8994         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8995         (gamma_coeff): New variable.
8996         (NCOEFF): New macro.
8997         (gammaf_positive): New function.
8998         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8999         underflow here.  Use gamma_positive instead of exp (lgamma) for
9000         other arguments.
9001         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9002         (gamma_coeff): New variable.
9003         (NCOEFF): New macro.
9004         (gammal_positive): New function.
9005         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9006         underflow here.  Use gamma_positive instead of exp (lgamma) for
9007         other arguments.
9008         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9009         (gamma_coeff): New variable.
9010         (NCOEFF): New macro.
9011         (gammal_positive): New function.
9012         (__ieee754_gammal_r): Handle positive infinity, overflow and
9013         underflow here.  Handle NaN the same as positive infinity.  Remove
9014         check x < 0xffffffff for negative integers.  Use gamma_positive
9015         instead of exp (lgamma) for other arguments.
9016         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9017         (gamma_coeff): New variable.
9018         (NCOEFF): New macro.
9019         (gammal_positive): New function.
9020         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9021         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9022         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9023         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9024         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9025         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9026         * sysdeps/generic/math_private.h (__gamma_productf): New
9027         prototype.
9028         (__gamma_product): Likewise.
9029         (__gamma_productl): Likewise.
9030         * math/Makefile (libm-calls): Add gamma_product.
9031         * math/libm-test.inc (tgamma_test): Add more tests.
9032         * sysdeps/i386/fpu/libm-test-ulps: Update.
9033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9035 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9037         * benchtests/bench-skeleton.c (main): Preheat CPU.
9039 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9041         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9043 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9045         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9046         and _dl_skip_args_internal.
9048 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9050         * manual/message.texi (Message Translation): Talk about users.
9051         Message to key mapping impacts design.
9053 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9055         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9057         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9059         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9060         * sysdeps/wordsize-64/glob64.c: ... here.
9062         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9063         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9064         New macros.
9066         * debug/getlogin_r_chk.c: Moved to ...
9067         * login/getlogin_r_chk.c: ... here.
9068         * debug/Makefile (routines): Move getlogin_r_chk to ...
9069         * login/Makefile (routines): ... here.
9070         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9071         * login/Versions (libc: GLIBC_2.4): ... here.
9073         * io/poll.c (__poll): Renamed from poll.
9074         Add libc_hidden_def.
9075         (poll): Define as weak alias.
9077         * debug/ptsname_r_chk.c: Moved to ...
9078         * login/ptsname_r_chk.c: ... here.
9079         * debug/Makefile (routines): Move ptsname_r_chk to ...
9080         * login/Makefile (routines): ... here.
9081         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9082         * login/Versions (libc: GLIBC_2.4): ... here.
9084         * posix/getlogin.c: Moved to ...
9085         * login/getlogin.c: ... here.
9086         * posix/getlogin_r.c: Moved to ...
9087         * login/getlogin_r.c: ... here.
9088         * posix/getlogin_r.c: Moved to ...
9089         * login/getlogin_r.c: ... here.
9090         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9091         * login/Makefile (routines): ... here.
9092         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9093         * login/Versions (libc: GLIBC_2.0): ... here.
9095         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9096         (setrlimit): Define as weak alias.
9098         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9099         Call __ names for open, ftruncate, and close.
9100         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9101         (truncate): Define as weak alias.
9103 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9105         * math/gen-libm-test.pl (parse_args): Initialize x before each
9106         test of frexp, modf and remquo.
9108         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9109         test signgam value.
9111 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9113         [BZ #15418]
9114         [BZ #15419]
9115         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9116         internal tests.
9117         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9119 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9121         * elf/dl-writev.h: New file.
9122         * elf/dl-misc.c: Include it.
9123         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9124         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9126 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9128         * math/libm-test.inc (noXFails): Remove variable.
9129         (noXPasses): Likewise.
9130         (BUILD_COMPLEX_INT): Remove macro.
9131         (print_screen): Remove xfail argument.
9132         (print_screen_max_error): Likewise.
9133         (update_stats): Likewise.
9134         (print_max_error): Likewise.  Update calls to other affected
9135         functions.
9136         (print_complex_max_error): Likewise.
9137         (test_single_exception): Update calls to print_screen.
9138         (test_single_errno): Likewise.
9139         (check_float_internal): Remove xfail argument.  Update calls to
9140         other affected functions.
9141         (check_float): Likewise.
9142         (check_complex): Likewise.
9143         (check_int): Likewise.
9144         (check_long): Likewise.
9145         (check_bool): Likewise.
9146         (check_longlong): Likewise.
9147         (main): Don't print noXFails and noXPasses.
9148         * math/gen-libm-test.pl (top level): Don't mention expected
9149         failure handling in comment.
9150         (new_test): Don't handle expected failures.
9151         (parse_args): Don't mention expected failure handling in comment.
9152         (generate_testfile): Don't handle expected failures.
9153         (parse_ulps): Likewise.
9154         (print_ulps_file): Likewise.
9155         (get_failure): Remove function.
9156         (output_test): Don't handle expected failures.
9157         * make/README.libm-test: Don't mention expected failure handling.
9159         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9160         (minus_zero): Likewise.
9161         (plus_infty): Likewise.
9162         (minus_infty): Likewise.
9163         (qnan_value): Likewise.
9164         (max_value): Likewise.
9165         (min_value): Likewise.
9166         (min_subnorm_value): Likewise.
9167         (initialize): Do not initialize those variables dynamically.
9169 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9171         * io/open.c (__open_2): Moved to ...
9172         * io/open_2.c: ... this new file.
9173         * io/open64.c (__open64_2): Moved to ...
9174         * io/open64_2.c: ... this new file.
9175         * io/openat.c (__openat_2): Moved to ...
9176         * io/openat_2.c: ... this new file.
9177         * io/openat64.c (__openat64_2): Moved to ...
9178         * io/openat64_2.c: ... this new file.
9179         * io/Makefile (routines): Add them.
9180         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9181         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9182         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9183         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9184         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9185         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9186         (__openat64): Add hidden_ver.
9187         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9188         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9190         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9191         Separately conditionalize setting of GLRO(dl_sysinfo) so
9192         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9193         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9195 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9197         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9198         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9199         definition.
9200         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9201         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9202         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9203         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9204         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9206 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9208         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9209         test signgam value.
9211         * math/libm-test.inc (hypot_test): Do not use
9212         IGNORE_ZERO_INF_SIGN.
9214 2013-05-03  Andreas Jaeger  <aj@suse.de>
9216         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9217         Linux 3.9.
9218         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9219         (PF_MAX): Adjust for VSOCK change.
9221 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9225 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9227         [BZ #15264]
9228         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9229         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9230         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9232 2013-05-02  David S. Miller  <davem@davemloft.net>
9234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9236 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9238         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9240 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9242         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9244 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9246         [BZ #14952]
9247         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9248         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9249         Use __attribute__ ((__gnu_inline__)).
9250         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9251         Don't use __attribute__ ((__gnu_inline__)).
9253 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9255         [BZ #15423]
9256         * math/s_catan.c (__catan): Handle small real or imaginary part of
9257         input specially to avoid spurious underflow.
9258         * math/s_catanf.c (__catanf): Likewise.
9259         * math/s_catanh.c (__catanh): Likewise.
9260         * math/s_catanhf.c (__catanhf): Likewise.
9261         * math/s_catanhl.c (__catanhl): Likewise.
9262         * math/s_catanl.c (__catanl): Likewise.
9263         * math/libm-test.inc (catan_test): Add more tests.
9264         (catanh_test): Likewise.
9265         * sysdeps/i386/fpu/libm-test-ulps: Update.
9266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9268 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9272 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9274         [BZ #15416]
9275         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9276         accurately for denominator in atan2.
9277         * math/s_catanf.c (__catanf): Likewise.
9278         * math/s_catanh.c (__catanh): Likewise.
9279         * math/s_catanhf.c (__catanhf): Likewise.
9280         * math/s_catanhl.c (__catanhl): Likewise.
9281         * math/s_catanl.c (__catanl): Likewise.
9282         * math/libm-test.inc (catan_test): Add more tests.
9283         (catanh_test): Likewise.
9284         * sysdeps/i386/fpu/libm-test-ulps: Update.
9285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9287 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9289         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9291         * benchtests/Makefile (bench): Remove slow benchmarks.
9292         * benchtests/atan-inputs: Add slow benchmark inputs.
9293         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9294         (BENCH_FUNC): Accept variant offset.
9295         (VARIANT): Define.
9296         * benchtests/bench-skeleton.c (main): Run benchmark for each
9297         variant.
9298         * benchtests/cos-inputs: Add slow benchmark inputs.
9299         * benchtests/exp-inputs: Likewise.
9300         * benchtests/pow-inputs: Likewise.
9301         * benchtests/sin-inputs: Likewise.
9302         * benchtests/slowatan-inputs: Remove.
9303         * benchtests/slowatan.c: Remove.
9304         * benchtests/slowcos-inputs: Remove.
9305         * benchtests/slowcos.c: Remove.
9306         * benchtests/slowexp-inputs: Remove.
9307         * benchtests/slowexp.c: Remove.
9308         * benchtests/slowpow-inputs: Remove.
9309         * benchtests/slowpow.c: Remove.
9310         * benchtests/slowsin-inputs: Remove.
9311         * benchtests/slowsin.c: Remove.
9312         * benchtests/slowtan-inputs: Remove.
9313         * benchtests/slowtan.c: Remove.
9314         * benchtests/tan-inputs: Add slow benchmark inputs.
9315         * scripts/bench.pl: Parse comments and directives.
9317         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9318         in CPPFLAGS.
9319         ($(objpfx)bench-%.c): Remove *-ITER.
9320         * benchtests/bench-modf.c: Remove definition of ITER.
9321         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9322         (main): Loop for DURATION seconds instead of fixed number of
9323         iterations.
9324         * scripts/bench.pl: Don't expect iterations in parameters.
9326 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9328         * io/fchdir.c (__fchdir): Renamed from fchdir.
9329         (fchdir): Define as weak alias.
9331 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9333         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9334         (ERRNO_EDOM): Likewise.
9335         (ERRNO_ERANGE): Likewise.
9336         (noErrnoTests): New variable.
9337         (init_max_error): Set errno to 0.
9338         (test_single_errno): New function.
9339         (test_errno): Likewise.
9340         (check_float_internal): Call test_errno.  Set errno to 0.
9341         (check_complex): Refer to errno tests in comment.
9342         (check_int): Call test_errno.  Set errno to 0.
9343         (check_long): Likewise.
9344         (check_bool): Likewise.
9345         (check_longlong): Likewise.
9346         (cos_test): Use ERRNO_* flags for errno tests instead of
9347         check_int.
9348         (expm1_test): Likewise.
9349         (fmod_test): Likewise.
9350         (ilogb_test): Likewise.
9351         (lgamma_test): Likewise.
9352         (pow_test): Likewise.
9353         (remainder_test): Likewise.
9354         (sin_test): Likewise.
9355         (tan_test): Likewise.
9356         (yn_test): Likewise.
9357         (initialize): Set errno to 0.
9358         (main): Print number of errno tests.
9359         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9361 2013-04-29  Andreas Jaeger  <aj@suse.de>
9363         [BZ #15084]
9364         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9365         and RES_USEVC.
9367         [BZ #15085]
9368         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9369         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9370         unimplemented.
9372         [BZ #15380]
9373         * stdlib/random.c (__initstate): Return NULL if
9374         __initstate fails.
9376         [BZ #15086]
9377         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9378         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9379         RES_SNGLKUPREOP.
9381 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9385 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9387         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9388         of individual tests.
9389         (casin_test): Likewise.
9390         (casinh_test): Likewise.
9392 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9394         [BZ #15409]
9395         * math/s_catan.c (__catan): Handle arguments with large real or
9396         imaginary part separately without squaring.
9397         * math/s_catanf.c (__catanf): Likewise.
9398         * math/s_catanh.c (__catanh): Likewise.
9399         * math/s_catanhf.c (__catanhf): Likewise.
9400         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9401         and redefine.
9402         (__catanhl): Handle arguments with large real or imaginary part
9403         separately without squaring.
9404         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9405         and redefine.
9406         (__catanl): Handle arguments with large real or imaginary part
9407         separately without squaring.
9408         * math/libm-test.inc (catan_test): Add more tests.
9409         (catanh_test): Likewise.
9410         * sysdeps/i386/fpu/libm-test-ulps: Update.
9411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9413 2013-04-27  Andreas Jaeger  <aj@suse.de>
9415         [BZ #15007]
9416         * stdlib/stdlib.h: Update guards for qecvt.
9417         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9418         <stdlib.h>.
9420 2013-04-27  Allan McRae  <allan@archlinux.org>
9422         * sysdeps/i386/fpu/libm-test-ulps: Update.
9424 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9426         [BZ #15406]
9427         * math/s_catan.c: Include <float.h>.
9428         (__catan): Ensure underflow exception occurs for underflowed
9429         result.
9430         * math/s_catanf.c: Include <float.h>.
9431         (__catanf): Ensure underflow exception occurs for underflowed
9432         result.
9433         * math/s_catanh.c: Include <float.h>.
9434         (__catanh): Ensure underflow exception occurs for underflowed
9435         result.
9436         * math/s_catanhf.c: Include <float.h>.
9437         (__catanhf): Ensure underflow exception occurs for underflowed
9438         result.
9439         * math/s_catanhl.c: Include <float.h>.
9440         (__catanhl): Ensure underflow exception occurs for underflowed
9441         result.
9442         * math/s_catanl.c: Include <float.h>.
9443         (__catanl): Ensure underflow exception occurs for underflowed
9444         result.
9445         * math/libm-test.inc (catan_test): Add more tests.
9446         (catanh_test): Likewise.
9448         [BZ #15405]
9449         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9450         underflowed result.
9451         * math/s_ccoshf.c (__ccoshf): Likewise.
9452         * math/s_ccoshl.c (__ccoshl): Likewise.
9453         * math/s_csin.c (__csin): Likewise.
9454         * math/s_csinf.c (__csinf): Likewise.
9455         * math/s_csinh.c (__csinh): Likewise.
9456         * math/s_csinhf.c (__csinhf): Likewise.
9457         * math/s_csinhl.c (__csinhl): Likewise.
9458         * math/s_csinl.c (__csinl): Likewise.
9459         * math/libm-test.inc (ccos_test): Add more tests.
9460         (ccosh_test): Likewise.
9461         (csin_test): Likewise.
9462         (csinh_test): Likewise.
9464 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9466         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9467         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9468         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9469         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9470         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9471         powerpc/power5+/fpu folders.
9472         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9475 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9479 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
9481         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9482         additions to variable.
9483         [$(config-machine) = x86_64] (modules-names): Likewise.
9484         ($(objpfx)tst-audit3): Remove dependency.
9485         ($(objpfx)tst-audit3.out): Likewise.
9486         ($(objpfx)tst-audit4): Likewise.
9487         ($(objpfx)tst-audit4.out): Likewise.
9488         ($(objpfx)tst-audit5): Likewise.
9489         ($(objpfx)tst-audit5.out): Likewise.
9490         ($(objpfx)tst-audit6): Likewise.
9491         ($(objpfx)tst-audit6.out): Likewise.
9492         ($(objpfx)tst-audit7): Likewise.
9493         ($(objpfx)tst-audit7.out): Likewise.
9494         (tst-audit3-ENV): Remove variable.
9495         (tst-audit4-ENV): Likewise.
9496         (tst-audit5-ENV): Likewise.
9497         (tst-audit6-ENV): Likewise.
9498         (tst-audit7-ENV): Likewise.
9499         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9500         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9501         addition to variable.
9502         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9503         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9504         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9505         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9506         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9507         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9508         tst-audit3, tst-audit4 and tst-audit5.
9509         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9510         tst-audit6 and tst-audit7.
9511         [$(subdir) = elf] (modules-names): Add audit modules for those
9512         tests.
9513         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9514         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9515         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9516         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9517         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9518         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9519         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9520         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9521         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9522         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9523         [$(subdir) = elf] (tst-audit3-ENV): New variable.
9524         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9525         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9526         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9527         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9528         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9529         Likewise.
9530         [$(subdir) = elf && $(config-cflags-avx) = yes]
9531         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9532         [$(subdir) = elf && $(config-cflags-avx) = yes]
9533         (CFLAGS-tst-auditmod4a.c): Likewise.
9534         [$(subdir) = elf && $(config-cflags-avx) = yes]
9535         (CFLAGS-tst-auditmod4b.c): Likewise.
9536         [$(subdir) = elf && $(config-cflags-avx) = yes]
9537         (CFLAGS-tst-auditmod6b.c): Likewise.
9538         [$(subdir) = elf && $(config-cflags-avx) = yes]
9539         (CFLAGS-tst-auditmod6c.c): Likewise.
9540         [$(subdir) = elf && $(config-cflags-avx) = yes]
9541         (CFLAGS-tst-auditmod7b.c): Likewise.
9542         * elf/tst-audit3.c: Move to ...
9543         * sysdeps/x86_64/tst-audit3.c: ... here.
9544         * elf/tst-audit4.c: Move to ...
9545         * sysdeps/x86_64/tst-audit4.c: ... here.
9546         * elf/tst-audit5.c: Move to ...
9547         * sysdeps/x86_64/tst-audit5.c: ... here.
9548         * elf/tst-audit6.c: Move to ...
9549         * sysdeps/x86_64/tst-audit6.c: ... here.
9550         * elf/tst-audit7.c: Move to ...
9551         * sysdeps/x86_64/tst-audit7.c: ... here.
9552         * elf/tst-auditmod3a.c: Move to ...
9553         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9554         * elf/tst-auditmod3b.c: Move to ...
9555         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9556         * elf/tst-auditmod4a.c: Move to ...
9557         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9558         * elf/tst-auditmod4b.c: Move to ...
9559         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9560         * elf/tst-auditmod5a.c: Move to ...
9561         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9562         * elf/tst-auditmod5b.c: Move to ...
9563         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9564         * elf/tst-auditmod6a.c: Move to ...
9565         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9566         * elf/tst-auditmod6b.c: Move to ...
9567         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9568         * elf/tst-auditmod6c.c: Move to ...
9569         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9570         * elf/tst-auditmod7a.c: Move to ...
9571         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9572         * elf/tst-auditmod7b.c: Move to ...
9573         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9575 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
9577         [BZ #15366]
9578         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9579         define unconditionally.
9580         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9581         define unconditionally.
9582         (INT8_C, INT16_C, etc.): Likewise.
9584 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
9586         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9587         __ehdr_start with hidden visibility.
9589         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9591 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
9593         * math/libm-test.inc (cos_test): Use accurate hex constants.
9594         (sincost_test): Likewise.
9596 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
9598         * math/libm-test.inc (catan_test): Add more tests.
9599         (catanh_test): Likewise.
9601         * math/s_catanf.c (__catanf): Use suffixed floating-point
9602         constants.
9603         * math/s_catanhf.c (__catanhf): Likewise.
9604         * math/s_catanhl.c (__catanhl): Likewise.
9605         * math/s_catanl.c (__catanl): Likewise.
9607         [BZ #15394]
9608         * math/s_catan.c (__catan): Calculate imaginary part of result
9609         with log1p not log unless computing log of number close to 0.
9610         * math/s_catanf.c (__catanf): Likewise.
9611         * math/s_catanl.c (__catanl): Likewise.
9612         * math/s_catanh.c (__catanh): Calculate real part of result with
9613         log1p not log unless computing log of number close to 0.
9614         * math/s_catanhf.c (__catanhf): Likewise.
9615         * math/s_catanhl.c (__catanhl): Likewise.
9616         * math/libm-test.inc (catan_test): Add more tests.
9617         (catanh_test): Likewise.
9618         * sysdeps/i386/fpu/libm-test-ulps: Update.
9619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9621 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9623         * benchtests/Makefile: Mention files in which fast and slow
9624         paths of math functions are implemented.
9626 2013-04-23  Roland McGrath  <roland@hack.frob.com>
9628         * sysdeps/posix/timespec_get.c: New file.
9630 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9632         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9633         POWER.
9634         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9635         for POWER.
9636         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9637         powerpc/power5/fpu folders.
9638         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9639         * benchtests/Makefile: Add modf testcase.
9640         * benchtests/bench-modf.c: New file: Benchmark test for mo
9642 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9644         [BZ #14888]
9645         * time/Makefile (tests): Add tst-strptime-whitespace.
9646         * time/strptime_l.c (get_number): Use ISSPACE.
9647         (__strptime_internal): Likewise.
9648         * time/tst-strptime-whitespace.c: New test case.
9650 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
9652         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9653         member.
9654         (_nss_files_init): Set it here.
9656 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
9658         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9659         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9660         unsigned.
9662 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
9664         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9666 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9668         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9669         size just once.
9671 2013-04-21  David S. Miller  <davem@davemloft.net>
9673         * po/ru.po: Update Russion translation from translation project.
9675 2013-04-17  Adam Conrad  <adconrad@0c3.net>
9677         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9678         and setfsgid.
9680 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9682         * configure.in: Remove i386 configure warning. Remove i386 case.
9683         * configure: Regenerate.
9684         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9685         Add example to error message.
9686         * sysdeps/i386/configure: Regenerate.
9688 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9690         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9691         slowtan.
9692         * benchtests/cos-inputs: New file.
9693         * benchtests/slowcos-inputs: New file.
9694         * benchtests/slowcos.c: New file.
9695         * benchtests/slowtan-inputs: New file.
9696         * benchtests/slowtan.c: New file.
9697         * benchtests/tan-inputs: New file.
9699 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9701         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9702         considered kosher.
9704 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9706         * benchtests/Makefile: Include cppflags-iterator.mk to add
9707         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9709         * Makefile.in (bench-clean): New target.
9710         * benchtests/Makefile (bench-clean): Likewise.
9712 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9714         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9716 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9718         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9720 2013-04-15  Andreas Schwab  <schwab@suse.de>
9722         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9723         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9724         * nscd/pwdcache.c (cache_addpw): Likewise.
9725         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9726         more than recsize.
9728 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9730         * benchtests/Makefile (bench): Write all output to
9731         bench-out.tmp together.
9733 2013-04-15  Andreas Schwab  <schwab@suse.de>
9735         * nscd/nscd.c (main): Don't fork again after closing files.
9737 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9739         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9741         * benchtests/Rules (bench-deps): Collect dependencies into a
9742         single variable.  Add Makefile to dependencies.
9743         ($(objpfx)bench-%.c): Depend on bench-deps.
9745 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9746             Xavier Roche  <roche+kml2@exalead.com>
9748         [BZ #15361]
9749         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9750         just that it's a file descriptor.
9751         * manual/llio.texi (Synchronizing AIO Operations): Update description
9752         for EBADF error from aio_fsync.
9754 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9756         * Rules (bench): Move target definition...
9757         * benchtests/Makefile: ... here.
9759 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9761         * math/libm-test.inc (cos_test): Fix PI/2 test.
9762         (sincos_test): Likewise.
9763         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9764         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9766 2013-04-11  Andreas Schwab  <schwab@suse.de>
9768         [BZ #13988]
9769         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9770         accept exponent character only when digits were seen.
9771         * stdio-common/Makefile (tests): Add bug26.
9772         * stdio-common/bug26.c: New file.
9774         [BZ #14293]
9775         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9776         non-freeable.
9778 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9780         * Makeconfig (rtld-prefix): Define built linker prefix.
9781         * Rules (run-bench): Use it.
9782         * math/Makefile (run-regen-ulps): Likewise.
9784         * Rules (bench): Remove eval.
9786 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9787             Roland McGrath  <roland@hack.frob.com>
9788             Ondrej Bilka  <neleai@seznam.cz>
9790         [BZ #15346]
9791         * time/getdate.c: Include ctype.h and alloca.h.
9792         (__getdate_r): Trim leading and trailing spaces of input.
9793         * time/tst-getdate.c (tests): Add tests with leading and
9794         trailing spaces.
9796 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9798         [BZ #14280]
9799         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9800         when computing value.
9802 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9804         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9805         Use testrun.sh to run libm tests.
9807         [BZ #15309]
9808         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9810 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9812         [BZ #15264]
9813         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9815 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9817         * Makefile.in (regen-ulps): New target.
9818         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9819         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9820         [ifneq (no,$(PERL)] (regen-ulps): New target.
9821         [ifeq (no,$(PERL)] (regen-ulps): New target.
9822         * math/libm-test.inc (ulps_file_name): Define.
9823         (output_dir): New variable.
9824         (options): Add "output-dir" option.
9825         (parse_opt): Handle 'o' case.
9826         (main): If output_dir is non-NULL use it as a prefix
9827         otherwise use "".
9828         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9830 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9832         [BZ #10060, #10062]
9833         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9834         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9835         fail configure if __sync_val_compare_and_swap is not inlined.
9836         * sysdeps/i386/configure: Regenerate.
9837         * configure.in: Build for i686 when configured for i386.
9838         * configure: Regenerate.
9839         * README: Remove i386 reference.
9841 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9843         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9844         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9846 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9848         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9849         (lmsnanval): New variables.
9850         (F): Add conversion tests.
9851         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9852         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9854         * stdio-common/tstdiomisc.c (F): Properly collect individual
9855         tests' results.
9857         [BZ #14686, #15336]
9858         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9859         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9860         Instead, use input NaN values or generate a qNaN by arithmetic
9861         operation.  Also fix bugs to comply with the standard.
9862         * math/libm-test.inc (remainder_test): Add more tests.
9864         [BZ #15335, #15342]
9865         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9867         input NaN values or generate a qNaN by arithmetic operation.
9869         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9870         unreachable code.
9872         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9873         definitions.
9875 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9877         [BZ #14478]
9878         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9879         underflowed result.
9880         * math/s_cexpf.c (__cexpf): Likewise.
9881         * math/s_cexpl.c (__cexpl): Likewise.
9882         * math/libm-test.inc (cexp_test): Add more tests.
9884 2013-04-03  Andreas Schwab  <schwab@suse.de>
9886         [BZ #15330]
9887         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9888         order arrays from heap if bigger than alloca cutoff.
9890 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
9892         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9893         (SNAN_TESTS_double): Refer to GCC PR56831.
9894         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9895         GCC PR56828.
9897 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9899         * Rules (bench): Move bench.out after the run is complete.
9901         * Rules (bench): Echo currently running benchmark.
9903         * benchtests/Makefile (bench): Add atan and slowatan.
9904         * benchtests/atan-inputs: New file.
9905         * benchtests/slowatan-inputs: New file.
9906         * benchtests/slowatan.c: New file.
9908         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9909         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9910         its value.
9912         [BZ #15305]
9913         * sysdeps/unix/sysv/linux/kernel-features.h
9914         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9915         __ASSUME_XFS_RESTRICTED_CHOWN.
9916         * sysdeps/unix/sysv/linux/pathconf.c
9917         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9918         Save and restore errno.
9920 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
9922         [BZ #15327]
9923         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9924         arguments using __kernel_casinh.
9925         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9926         arguments using __kernel_casinhf.
9927         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9928         arguments using __kernel_casinhl.
9929         * math/libm-test.inc (cacosh_test): Add more tests.
9930         * sysdeps/i386/fpu/libm-test-ulps: Update.
9931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9933 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9935         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9936         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9938         * bench/Makefile (bench): Add sin and slowsin.
9939         * benchtests/sin-inputs: New file.
9940         * benchtests/slowsin-inputs: New file.
9941         * benchtests/slowsin.c: New file.
9943         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9944         (bench): Add slowexp and slowpow.
9945         (exp-ITER): Increase iterations.
9946         (pow-ITER): Likewise.
9947         * benchtests/exp-inputs: Change input.
9948         * benchtests/pow-inputs: Likewise.
9949         * benchtests/slowexp-inputs: New file.
9950         * benchtests/slowexp.c: New file.
9951         * benchtests/slowpow-inputs: New file.
9952         * benchtests/slowpow.c: New file.
9954 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9956         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9957         instructions.
9958         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9959         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9960         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9961         * benchtests/Makefile: Add rint benchtest.
9962         * benchtests/rint-inputs: Input for rint benchtest.
9964 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9966         * Versions.def (libm): Add GLIBC_2.18.
9967         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9968         hidden libm prototypes.
9969         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9970         * math/Makefile (libm-calls): Add s_issignaling.
9971         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9972         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
9973         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9974         declaration.
9975         * math/math.h [__USE_GNU] (issignaling): New macro.
9976         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9977         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9978         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9979         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9980         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9981         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9982         * manual/arith.texi (issignaling): New section.
9983         * manual/libm-err-tab.pl (@all_functions): Update comment.
9984         * math/gen-libm-test.pl (parse_args): Apply special handling for
9985         issignaling.
9986         * math/libm-test.inc (print_float, issignaling_test): New
9987         functions.
9988         (check_float_internal): Add issignaling checks.
9989         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9990         default definition.
9991         * sysdeps/powerpc/math-tests.h: New file.
9992         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9993         tests.
9994         * math/test-snan.c (TEST_FUNC): Likewise.
9996 2013-03-30  David S. Miller  <davem@davemloft.net>
9998         * po/de.po: Update from translation team.
10000 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10002         [BZ #10357]
10003         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10004         imaginary part less than 1.0 and real part less than 0.5
10005         specially.
10006         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10007         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10008         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10009         (cacos_test): Add more tests.
10010         (casin_test): Likewise.
10011         (casinh_test): Likewise.
10012         * sysdeps/i386/fpu/libm-test-ulps: Update.
10013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10015 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10017         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10018         ONE with its value.
10020         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10021         (__pow_mp): Replace ONE and MONE with their values.
10022         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10023         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10024         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10025         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10026         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10027         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10029         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10031         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10032         (__pow_mp): Replace ZERO and MZERO with their values.
10033         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10034         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10035         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10036         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10037         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10038         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10039         (__sqr): Likewise.
10041         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10043         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10045 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10047         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10048         Declare with __attribute__ ((weak)).
10049         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10050         Call __call_tls_dtors only if it's not NULL.
10052 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10054         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10055         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10056         magic __ehdr_start linker symbol if it's defined.
10057         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10058         them up here if it was already done.
10060         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10061         (_dl_aux_init): Use const in cast when setting it.
10062         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10063         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10064         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10066         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10067         Declare them here.
10068         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10069         * csu/libc-tls.c: Nor here.
10070         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10072         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10073         (__libc_message): Never call vsyslog.
10075 2013-03-28  Alan Modra  <amodra@gmail.com>
10077         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10078         Define as empty.
10079         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10080         Likewise.
10082 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10084         [BZ #15214]
10085         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10086         underflow.
10087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10089 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10091         [BZ #15304]
10092         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10093         Don't add gid passed as argument.
10095         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10097 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10099         [BZ #15307]
10100         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10101         imaginary part between 1.0 and 1.5 and real part less than 0.5
10102         specially.
10103         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10104         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10105         * math/libm-test.inc (cacos_test): Add more tests.
10106         (casin_test): Likewise.
10107         (casinh_test): Likewise.
10108         * sysdeps/i386/fpu/libm-test-ulps: Update.
10109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10111 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10113         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10114         constants.
10115         (norm): Likewise.
10116         (denorm): Likewise.
10117         (__dbl_mp): Likewise.
10118         (add_magnitudes): Likewise.
10119         (sub_magnitudes): Likewise.
10120         (__add): Likewise.
10121         (__sub): Likewise.
10122         (__mul): Likewise.
10123         (__sqr): Likewise.
10124         (__inv): Likewise.
10125         (__dvd): Likewise.
10127         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10128         commented code.
10129         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10130         (__dubcos): Likewise.
10131         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10132         (__ieee754_acos): Likewise.
10133         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10134         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10135         (__exp1): Likewise.
10136         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10137         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10138         (log1): Likewise.
10139         (my_log2): Likewise.
10140         (checkint): Likewise.
10141         * sysdeps/ieee754/dbl-64/e_remainder.c
10142         (__ieee754_remainder): Likewise.
10143         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10144         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10145         (bsloww): Likewise.
10146         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10148         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10149         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10150         MANTISSA_STORE_T to store computations on mantissa.  Use
10151         macros for rounding and division.
10152         (denorm): Likewise.
10153         (__dbl_mp): Likewise.
10154         (add_magnitudes): Likewise.
10155         (sub_magnitudes): Likewise.
10156         (__mul): Likewise.
10157         (__sqr): Likewise.
10158         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10159         powers of two in terms of TWOPOW macro.
10160         (mp_no): Make type of mantissa as MANTISSA_T.
10161         [!RADIXI]: Define RADIXI.
10162         [!TWO52]: Define TWO52.
10163         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10165 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10167         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10168         llroundl symbol when building for PPC32.
10170 2013-03-24  Mark H Weaver  <mhw@netris.org>
10172         * manual/arith.texi (Normalization Functions): Fix prototypes for
10173         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10175 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10177         [BZ #13889]
10178         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10179         high value to check if expl overflow.
10180         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10181         to check for underflow and overflow.
10182         * math/libm-test.inc: Add exp test.
10184 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10186         [BZ #11120]
10187         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10188         with NOT_IN_libc.
10190 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10192         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10193         symbol.
10195 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10197         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10198         wrap blocks consisting of several statements.
10200         * sysdeps/generic/math-tests.h: New file.
10201         * sysdeps/i386/fpu/math-tests.h: Likewise.
10202         * math/test-snan.c: Include it.
10203         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10205 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10207         [BZ #15285]
10208         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10209         (__ieee754_j0l): Do not improve calculations using cos of twice
10210         input for inputs above LDBL_MAX / 2.0L.
10211         (__ieee754_y0l): Likewise.
10212         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10213         (__ieee754_j1l): Do not improve calculations using cos of twice
10214         input for inputs above LDBL_MAX / 2.0L.
10215         (__ieee754_y1l): Likewise.
10216         * math/libm-test.inc (j0_test): Add another test.
10217         (j1_test): Likewise.
10218         (y0_test): Likewise.
10219         (y1_test): Likewise.
10220         * sysdeps/i386/fpu/libm-test-ulps: Update.
10222 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10224         * Rules ($(objpfx)bench-%.c): Include code from a C source
10225         file.
10227 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10229         [BZ #15287]
10230         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10231         imaginary part 1.0 and real part less than 0.5 specially.
10232         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10233         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10234         * math/libm-test.inc (cacos_test): Add more tests.
10235         (casin_test): Likewise.
10236         (casinh_test): Likewise.
10237         * sysdeps/i386/fpu/libm-test-ulps: Update.
10238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10240 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10242         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10243         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10245 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10247         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10248         * config.make.in (config-cflags-sse4): Remove variable.
10249         (config-cflags-avx): Likewise.
10250         (config-cflags-sse2avx): Likewise.
10251         (config-cflags-novzeroupper): Likewise.
10252         (config-asflags-i686): Likewise.
10253         (have-mfma4): Likewise.
10254         (have-as-vis3): Likewise.
10255         (MIG): Likewise.
10256         * configure.in (MIG): Do not AC_SUBST.
10257         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10258         (libc_cv_cc_sse4): Do not AC_SUBST.
10259         (libc_cv_cc_avx): Likewise.
10260         (libc_cv_cc_sse2avx): Likewise.
10261         (libc_cv_cc_novzeroupper): Likewise.
10262         (libc_cv_cc_fma4): Likewise.
10263         (libc_cv_as_i686): Likewise.
10264         (libc_cv_sparc_as_vis3): Likewise.
10265         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10266         LIBC_CONFIG_VAR.
10267         (config-asflags-i686): Likewise.
10268         (config-cflags-avx): Likewise.
10269         (config-cflags-sse2avx): Likewise.
10270         (have-mfma4): Likewise.
10271         (config-cflags-novzeroupper): Likewise.
10272         * sysdeps/mach/configure.in (MIG): Likewise.
10273         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10274         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10275         LIBC_CONFIG_VAR.
10276         (config-cflags-avx): Likewise.
10277         (config-cflags-sse2avx): Likewise.
10278         (have-mfma4): Likewise.
10279         (config-cflags-novzeroupper): Likewise.
10280         * configure: Regenerated.
10281         * sysdeps/i386/configure: Likewise.
10282         * sysdeps/mach/configure: Likewise.
10283         * sysdeps/sparc/configure: Likewise.
10284         * sysdeps/x86_64/configure: Likewise.
10286 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10288         [BZ #14812]
10289         * locale/programs/localedef.c (options): Put N_ translation marker
10290         on argument names, not just descriptions.
10292 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10294         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10296 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10298         [BZ #14176]
10299         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10301 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10303         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10304         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10305         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10306         [!BEFORE_ABORT] (before_abort): New function.
10307         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10308         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10309         (writev_for_fatal): New function.
10310         (WRITEV_FOR_FATAL): New macro; call that.
10311         (backtrace_and_maps): New function.
10312         (BEFORE_ABORT): New macro; call that.
10313         (struct str_list): Type removed.
10314         (__libc_message, __libc_fatal): Functions removed.
10315         Include <sysdeps/posix/libc_fatal.c> instead.
10317 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10319         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10320         constants.
10321         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10322         double constants.
10324 2013-03-19  Andreas Schwab  <schwab@suse.de>
10326         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10327         * sysdeps/gnu/configure: Regenerate.
10329         * configure.in: Substitute libc_cv_rtlddir.
10330         * configure: Regenerate.
10331         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10332         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10333         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10334         * elf/Makefile (install-others, CFLAGS-interp.c)
10335         (ldso_install, common-ldd-rewrite): Likewise.
10336         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10337         $(inst_slibdir)/$(rtld-installed-name).
10338         * scripts/rellns-sh: Add -p option.
10339         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10340         for source.
10342 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10344         * manual/nptl.texi: Renamed to ...
10345         * manual/threads.texi: ... this.
10346         * manual/Makefile (chapters): Update.
10348 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10350         [BZ #14812]
10351         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10352         on argument names, not just descriptions.
10353         * malloc/memusagestat.c (options): Likewise.
10354         * nss/getent.c (options): Likewise.
10356 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10358         [BZ #14812]
10359         * iconv/iconv_prog.c (options): Put N_ translation marker
10360         on argument names, not just descriptions.
10361         * iconv/iconvconfig.c (options): Likewise.
10363 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10365         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10366         implementation which is faster on all x86_64 architectures.
10367         Tested on AMD, Intel Nehalem, SNB, IVB.
10368         * sysdeps/x86_64/strnlen.S: Likewise.
10370         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10371         Remove all multiarch strlen and strnlen versions.
10372         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10373         Remove strlen and strnlen related parts.
10375         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10376         Inline strlen part.
10377         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10379         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10380         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10381         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10382         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10383         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10384         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10386 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10388         * manual/memory.texi (Malloc Tunable Parameters):
10389         Sort parameters alphabetically. Add comments for missing entries.
10391 2013-03-17  David S. Miller  <davem@davemloft.net>
10393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10395 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10397         [BZ #15283]
10398         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10399         for arguments at most half maximum finite value.
10400         * math/libm-test.inc (j0_test): Add more tests.
10401         (j1_test): Likewise.
10402         (y0_test): Likewise.
10403         (y1_test): Likewise.
10404         * sysdeps/i386/fpu/libm-test-ulps: Update.
10405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10407         [BZ #14155]
10408         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10409         1 / x and functions P and Q for arguments above 0x1p256L.
10410         (__ieee754_y0l): Likewise.
10411         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10412         (__ieee754_y1l): Likewise.
10413         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10414         (j1_test): Likewise.
10415         (y0_test): Likewise.
10416         (y1_test): Likewise.
10418 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10420         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10421         variable.
10423 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10425         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10426         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10427         zero since it's initialized to EXEC_PAGESIZE.
10429         * sysdeps/unix/sysv/linux/ldsodefs.h
10430         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10431         * sysdeps/generic/ldsodefs.h: ... here.
10433 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10435         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10437         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10438         math/test-snan.c.
10439         * math/test-snan.c: Renamed from
10440         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10441         * math/Makefile (tests): Add test-snan.
10442         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10443         test-powerpc-snan.
10445         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10446         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10447         functions.
10448         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10449         __builtin_nan family of functions.
10450         * math/libm-test.inc (initialize): Initialize qnan_value with
10451         __builtin_nan family of functions.
10452         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10453         Remove variables.
10454         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10455         Remove functions.
10456         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10457         storage class.  Initialize qNaN_var and sNaN_var with
10458         __builtin_nan and __builtin_nans families of functions,
10459         respectively.
10461         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10462         (sqrt_test): Remove duplicate test with qNaN input.
10463         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10464         (round_test, signbit_test, significand_test): Note missing +/-Inf
10465         as well as qNaN tests.
10467         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10468         qNaN_var.  Fix a few strings, too.
10469         * math/libm-test.inc (nan_value): Rename to qnan_value.
10470         * math/gen-libm-test.pl (%beautify): Adjust to that.
10471         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10472         * math/test-misc.c (main): Likewise.
10473         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10474         to __qnan_bytes, and __qnan_union, respectively.
10475         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10476         Likewise.
10477         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10478         and lqnanval, respectively.
10479         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10480         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10481         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10482         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10484         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10485         * math/test-misc.c (main) [__x86_64__]: Enable test for long
10486         doubles.
10488         * math/test-misc.c (main): Fix copy'n'pastos.
10489         * misc/tst-efgcvt.c (special): Likewise.
10491         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10492         Remove declarations.
10494 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10496         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10497         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10498         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10499         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10501 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10503         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10504         macro to return vdso values correctly in IFUNC implementations.
10505         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10506         Optimization by using IFUNC.
10508 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10509             Richard Henderson  <rth@redhat.com>
10510             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10512         * Makefile.in (bench): New target.
10513         * NEWS: Mention the benchmark framework.
10514         * Rules (bench): Likewise.
10515         (binaries-bench): Generate binaries for functions to
10516         benchmark.
10517         * benchtests/Makefile: New makefile for benchmark tests.
10518         * benchtests/bench-skeleton.c: New skeleton file for benchmark
10519         programs.
10520         * benchtests/exp-inputs: New input file for EXP function.
10521         * benchtests/pow-inputs: New input file for POW function.
10522         * scripts/bench.pl: New script to generate source files for
10523         benchmark programs.
10525 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10527         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10528         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10529         computations on mantissa.  Use macros for rounding and
10530         division.
10531         (denorm): Likewise.
10532         (__dbl_mp): Likewise.
10533         (add_magnitudes): Likewise.
10534         (sub_magnitudes): Likewise.
10535         (__mul): Likewise.
10536         (__sqr): Likewise.
10537         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10538         powers of two in terms of TWOPOW macro.
10539         (mp_no): Make type of mantissa as MANTISSA_T.
10540         [!RADIXI]: Define RADIXI.
10541         [!TWO52]: Define TWO52.
10542         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10544         * manual/nptl.texi (cindex): Modify threads to pthreads.
10546 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
10548         * sysdeps/x86_64/preconfigure: Regenerated.
10550 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
10552         [BZ #14155]
10553         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10554         0x1p28 and above.
10555         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10556         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10557         0x1p28 and above.
10558         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10559         * math/libm-test.inc (j0_test): Do not allow one spurious
10560         underflow exception.
10561         (y1_test): Likewise.
10563 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10565         * manual/Makefile (chapters): Add nptl.
10566         * manual/debug.texi (Debugging Support): Add link to Threads
10567         chapter.
10568         * manual/nptl.texi: New file.
10570         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10572 2013-03-14  Petr Baudis  <pasky@ucw.cz>
10574         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10575         for non-NULL pointer before the memory validity test. Pointed
10576         out by Holger Brunck <holger.brunck@keymile.com>.
10578 2013-03-13  Andreas Schwab  <schwab@suse.de>
10580         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10581         instead of .os.
10583 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
10585         * timezone/zic.c: Update from tzcode 2013b.
10587 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
10589         * manual/install.texi (Configuring and compiling):
10590         Mention i686 and i586.
10591         * INSTALL: Regenerate.
10593 2013-03-12  Roland McGrath  <roland@hack.frob.com>
10595         * sysdeps/init_array/elf-init.c: New file.
10596         * csu/elf-init.c
10597         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10598         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10600         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10601         __gmon_start__ as global, but as static with a .preinit_array pointer.
10602         * sysdeps/init_array/gmon-start.c: New file.  Use that.
10603         * sysdeps/init_array/crti.S: New file, empty except for comments.
10604         * sysdeps/init_array/crtn.S: Likewise.
10606 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
10608         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10609         definining bcopy.
10610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10611         Remove Prefer_SSE_for_memop.
10612         * sysdeps/x86_64/multiarch/init-arch.h: Remove
10613         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10614         HAS_PREFER_SSE_FOR_MEMOP.
10615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10616         memset-x86-64.
10617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10618         Remove bzero, memset ifunc support.
10619         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10620         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10621         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10622         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10624 2013-03-11  Andreas Schwab  <schwab@suse.de>
10626         [BZ #15234]
10627         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10628         by SHLIB_COMPAT.
10629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10630         (GLIBC_2.16): Remove pthread_atfork.
10632 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10634         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10635         (ptestcases.h): Likewise.
10637 2013-03-08  Roland McGrath  <roland@hack.frob.com>
10639         * Makeconfig ($(common-objpfx)config.status): Depend on
10640         sysdeps/*/preconfigure{,.in} too.
10642 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
10644         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10645         (__free_hook): Use void * instead of __malloc_ptr_t.
10646         (__malloc_hook): Likewise.
10647         (__realloc_hook): Likewise.
10648         (__memalign_hook): Likewise.
10649         (__after_morecore_hook): Likewise.
10650         * malloc/arena.c (save_malloc_hook): Likewise.
10651         (save_free_hook): Likewise.
10652         * malloc/hooks.c (malloc_hook_ini): Likewise.
10653         (realloc_hook_ini): Likewise.
10654         (memalign_hook_ini): Likewise.
10655         * malloc/malloc.c (malloc_hook_ini): Likewise.
10656         (realloc_hook_ini): Likewise.
10657         (memalign_hook_ini): Likewise.
10658         (__free_hook): Likewise.
10659         (__malloc_hook): Likewise.
10660         (__realloc_hook): Likewise.
10661         (__memalign_hook): Likewise.
10662         (__libc_malloc): Likewise.
10663         (__libc_free): Likewise.
10664         (__libc_realloc): Likewise.
10665         (__libc_memalign): Likewise.
10666         (__libc_valloc): Likewise.
10667         (__libc_pvalloc): Likewise.
10668         (__libc_calloc): Likewise.
10669         (__posix_memalign): Likewise.
10670         * malloc/morecore.c (__sbrk): Likewise.
10671         (__default_morecore): Likewise.
10673         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10675         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10676         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10677         __malloc_ptrdiff_t.
10679         * malloc/malloc.h (__malloc_size_t): Remove macro.
10680         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10681         __malloc_size_t.
10682         (old_memalign_hook): Likewise.
10683         (old_realloc_hook): Likewise.
10684         (struct hdr): Likewise.
10685         (flood): Likewise.
10686         (mallochook): Likewise.
10687         (memalignhook): Likewise.
10688         (reallochook): Likewise.
10689         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10690         (tr_old_realloc_hook): Likewise.
10691         (tr_old_memalign_hook): Likewise.
10692         (tr_mallochook): Likewise.
10693         (tr_reallochook): Likewise.
10694         (tr_memalignhook): Likewise.
10696 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10698         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10699         default_ldbl_pack and using as default implementation.
10700         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10701         implementation.
10702         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10703         redundant definition.
10704         (ldbl_insert_mantissa): Likewise.
10705         (ldbl_canonicalize): Likewise.
10706         (ldbl_nearbyint): Likewise.
10707         (ldbl_pack): Rename to ldbl_pack_ppc.
10708         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10709         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10710         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10712 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10715         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10716         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10717         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10719         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10720         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10721         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10723 2013-03-07  Andreas Jaeger  <aj@suse.de>
10725         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10726         bits/mman-linux.h.
10728 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10730         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10731         Include mpa.h and declare __MPEXP.
10732         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10733         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10734         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10735         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10736         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10737         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10738         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10740         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10741         (__slowpow): Use long double EXPL and LOGL functions to
10742         compute POW.
10743         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10744         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10745         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10746         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10747         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10748         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10751         intermediate variable to calculate exponent.
10752         (__sqr): Likewise.
10753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10754         Likewise.
10755         (__sqr): Likewise.
10757         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10758         [!NO__SQR]: Define __sqr.
10759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10760         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10761         sysdeps/ieee754/dbl-64/mpa.c.
10762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10764         [BZ #12723]
10765         * posix/Makefile (tests): Add tst-pathconf.
10766         * posix/tst-pathconf.c: New test case.
10767         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10768         _PC_PIPE_BUF.
10769         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10771 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10773         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10775 2013-03-06  Andreas Jaeger  <aj@suse.de>
10777         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10778         definition via __MAP_ANONYMOUS.
10780         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10781         it's not part of Linux headers.
10783         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10784         (MAP_HUGE_MASK): Define.
10786         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10787         Define.
10788         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10789         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10790         Define.
10791         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10792         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10793         Define.
10794         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10795         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10796         Define.
10797         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10799         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10800         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10801         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10802         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10803         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10804         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10806         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10807         Handle f2fs.
10809         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10810         Handle f2fs and efivarfs.
10812         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10813         f2fs.
10815         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10816         (EFIVARFS_MAGIC): Add.
10817         (F2FS_LINK_MAX): Add.
10819 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10821         * stdio-common/vfprintf.c: Replace __builtin_expect with
10822         __glibc_unlikely.
10824 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10826         [BZ #13550]
10827         * sysdeps/generic/bp-sym.h: Remove file.
10828         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10829         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10830         <bp-sym.h> and <bp-asm.h>.
10831         (__longjmp): Don't use BP_SYM.
10832         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10833         and <bp-asm.h>.
10834         (memcpy): Don't use BP_SYM.
10835         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10836         <bp-sym.h> and <bp-asm.h>.
10837         (memcpy): Don't use BP_SYM.
10838         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10839         <bp-asm.h>.
10840         (memcpy): Don't use BP_SYM.
10841         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10842         <bp-asm.h>.
10843         (memset): Don't use BP_SYM.
10844         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10845         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10846         (__bzero): Don't use BP_SYM.
10847         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10848         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10849         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10850         <bp-sym.h> and <bp-asm.h>.
10851         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10852         pointers.
10853         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10854         <bp-sym.h> and <bp-asm.h>.
10855         (memcpy): Don't use BP_SYM.
10856         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10857         <bp-sym.h> and <bp-asm.h>.
10858         (memset): Don't use BP_SYM.
10859         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10860         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10861         (__bzero): Don't use BP_SYM.
10862         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10863         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10864         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10865         <bp-sym.h> and <bp-asm.h>.
10866         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10867         pointers.
10868         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10869         <bp-sym.h> and <bp-asm.h>.
10870         (memcpy): Don't use BP_SYM.
10871         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10872         <bp-sym.h> and <bp-asm.h>.
10873         (memset): Don't use BP_SYM.
10874         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10875         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10876         (__bzero): Don't use BP_SYM.
10877         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10878         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10879         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10880         <bp-sym.h> and <bp-asm.h>.
10881         (__memchr): Don't use BP_SYM.
10882         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10883         <bp-sym.h> and <bp-asm.h>.
10884         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10885         pointers.
10886         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10887         <bp-sym.h> and <bp-asm.h>.
10888         (memcpy): Don't use BP_SYM.
10889         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10890         <bp-sym.h> and <bp-asm.h>.
10891         (__mempcpy): Don't use BP_SYM.
10892         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10893         <bp-sym.h> and <bp-asm.h>.
10894         (__memrchr): Don't use BP_SYM.
10895         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10896         <bp-sym.h> and <bp-asm.h>.
10897         (memset): Don't use BP_SYM.
10898         (__bzero): Likewise.
10899         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10900         <bp-sym.h> and <bp-asm.h>.
10901         (__rawmemchr): Don't use BP_SYM.
10902         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10903         <bp-sym.h> and <bp-asm.h>.
10904         (__STRCMP): Don't use BP_SYM.
10905         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10906         <bp-sym.h> and <bp-asm.h>.
10907         (strchr): Don't use BP_SYM.
10908         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10909         <bp-sym.h> and <bp-asm.h>.
10910         (__strchrnul): Don't use BP_SYM.
10911         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10912         <bp-sym.h> and <bp-asm.h>.
10913         (strlen): Don't use BP_SYM.
10914         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10915         <bp-sym.h> and <bp-asm.h>.
10916         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10917         pointers.
10918         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10919         <bp-sym.h> and <bp-asm.h>.
10920         (__strnlen): Don't use BP_SYM.
10921         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10922         <bp-sym.h> and <bp-asm.h>.
10923         (__GI__setjmp): Don't use BP_SYM.
10924         (_setjmp): Likewise.
10925         (__sigsetjmp): Likewise.
10926         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10927         (L(start_addresses)): Don't use BP_SYM.
10928         (_start): Likewise.
10929         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10930         <bp-asm.h>.
10931         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10932         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10933         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10934         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10935         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10936         <bp-asm.h>.
10937         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10938         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
10939         about bounded pointers.
10940         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10941         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10942         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10943         <bp-asm.h>.
10944         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10945         about bounded pointers.  Remove GKM FIXME comments.
10946         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10947         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10948         <bp-asm.h>.
10949         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10950         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
10951         Remove GKM FIXME comments.
10952         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10953         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10954         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10955         <bp-asm.h>.
10956         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10957         about bounded pointers.  Remove GKM FIXME comment.
10958         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10959         and <bp-asm.h>.
10960         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10961         pointers.
10962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10963         <bp-sym.h> and <bp-asm.h>.
10964         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10966         <bp-sym.h> and <bp-asm.h>.
10967         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10968         comment.
10970 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10972         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10973         call free(NULL).
10975 2013-03-05  David S. Miller  <davem@davemloft.net>
10977         * po/es.po: Update from translation team.
10979 2013-03-05  Andreas Jaeger  <aj@suse.de>
10981         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10982         <bits/mman-linux.h>.
10983         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10984         is fine.
10985         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10986         <bits/mman-linux.h> to end of file.
10987         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10988         is fine.
10989         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10990         <bits/mman-linux.h> to end of file.
10991         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10992         is fine.
10993         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10994         <bits/mman-linux.h> to end of file.
10996         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10997         (MCL_CURRENT, MCL_FUTURE): Define here.
10999 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11001         [BZ #15232]
11002         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11003         attribute_hidden.
11004         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11006 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11008         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11009         fourth parameter needed for rt_sigprocmask syscall.
11010         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11011         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11012         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11013         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11014         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11015         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11017 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11019         [BZ #13550]
11020         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11021         comment about bounded pointers.
11022         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11023         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11025 2013-03-04  Andreas Jaeger  <aj@suse.de>
11027         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11028         common definitions.
11030         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11031         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11032         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11033         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11034         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11035         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11037 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11039         [BZ #15055]
11040         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11041         __ieee754_sqrl instead of __sqrl.
11043 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11045         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11046         * sysdeps/powerpc/fpu_control.h: ... here.
11047         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11048         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11049         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11050         * sysdeps/powerpc/bits/mathinline.h: ... here.
11052 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11054         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11055         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11056         to just [NEED_DL_SYSINFO_DSO].
11057         * elf/dl-support.c: Likewise.
11058         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11059         * elf/rtld.c (dl_main): Likewise.
11060         * elf/setup-vdso.h (setup_vdso): Likewise.
11061         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11062         * sysdeps/unix/sysv/linux/dl-sysdep.c
11063         (_dl_discover_osversion): Likewise.
11065 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11067         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11068         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11070 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11072         * NEWS: Mention libm performance improvements and non-x86 PI
11073         futex support.
11075         * csu/libc-start.c (__pthread_initialize_minimal): Change
11076         function arguments.
11077         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11079 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11081         [BZ #13550]
11082         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11083         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11084         <bp-sym.h> and <bp-asm.h>.
11085         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11086         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11087         and <bp-asm.h>.
11088         (memcpy): Don't use BP_SYM.
11089         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11090         <bp-asm.h>.
11091         (__mpn_add_n): Don't use BP_SYM.
11092         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11093         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11094         and <bp-asm.h>.
11095         (__mpn_addmul_1): Don't use BP_SYM.
11096         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11097         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11098         <bp-sym.h>.
11099         (_setjmp): Don't use BP_SYM.
11100         (__novmx_setjmp): Likewise.
11101         (__GI__setjmp): Likewise.
11102         (__vmx_setjmp): Likewise.
11103         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11104         <bp-sym.h>.
11105         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11106         (__bzero): Don't use BP_SYM.
11107         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11108         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11109         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11110         <bp-sym.h> and <bp-asm.h>.
11111         (memcpy): Don't use BP_SYM.
11112         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11113         <bp-sym.h> and <bp-asm.h>.
11114         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11115         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11116         <bp-sym.h> and <bp-asm.h>.
11117         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11118         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11119         <bp-asm.h>.
11120         (__mpn_lshift): Don't use BP_SYM.
11121         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11122         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11123         <bp-asm.h>.
11124         (memset): Don't use BP_SYM.
11125         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11126         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11127         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11128         <bp-asm.h>.
11129         (__mpn_mul_1): Don't use BP_SYM.
11130         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11131         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11132         <bp-sym.h> and <bp-asm.h>.
11133         (memcmp): Don't use BP_SYM.
11134         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11135         <bp-sym.h> and <bp-asm.h>.
11136         (memcpy): Don't use BP_SYM.
11137         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11138         <bp-sym.h> and <bp-asm.h>.
11139         (memset): Don't use BP_SYM.
11140         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11141         <bp-sym.h> and <bp-asm.h>.
11142         (strncmp): Don't use BP_SYM.
11143         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11144         <bp-sym.h> and <bp-asm.h>.
11145         (memcpy): Don't use BP_SYM.
11146         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11147         <bp-sym.h> and <bp-asm.h>.
11148         (memset): Don't use BP_SYM.
11149         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11150         <bp-sym.h> and <bp-asm.h>.
11151         (__memchr): Don't use BP_SYM.
11152         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11153         <bp-sym.h> and <bp-asm.h>.
11154         (memcmp): Don't use BP_SYM.
11155         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11156         <bp-sym.h> and <bp-asm.h>.
11157         (memcpy): Don't use BP_SYM.
11158         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11159         <bp-sym.h> and <bp-asm.h>.
11160         (__mempcpy): Don't use BP_SYM.
11161         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11162         <bp-sym.h> and <bp-asm.h>.
11163         (__memrchr): Don't use BP_SYM.
11164         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11165         <bp-sym.h> and <bp-asm.h>.
11166         (memset): Don't use BP_SYM.
11167         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11168         <bp-sym.h> and <bp-asm.h>.
11169         (__rawmemchr): Don't use BP_SYM.
11170         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11171         <bp-sym.h> and <bp-asm.h>.
11172         (__STRCMP): Don't use BP_SYM.
11173         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11174         <bp-sym.h> and <bp-asm.h>.
11175         (strchr): Don't use BP_SYM.
11176         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11177         <bp-sym.h> and <bp-asm.h>.
11178         (__strchrnul): Don't use BP_SYM.
11179         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11180         <bp-sym.h> and <bp-asm.h>.
11181         (strlen): Don't use BP_SYM.
11182         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11183         <bp-sym.h> and <bp-asm.h>.
11184         (strncmp): Don't use BP_SYM.
11185         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11186         <bp-sym.h> and <bp-asm.h>.
11187         (__strnlen): Don't use BP_SYM.
11188         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11189         <bp-asm.h>.
11190         (__mpn_rshift): Don't use BP_SYM.
11191         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11192         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11193         <bp-sym.h> and <bp-asm.h>.
11194         (__sigsetjmp): Don't use BP_SYM.
11195         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11196         (L(start_addresses)): Don't use BP_SYM.
11197         (_start): Likewise.
11198         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11199         <bp-asm.h>.
11200         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11201         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11202         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11203         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11204         <bp-asm.h>.
11205         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11206         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11207         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11208         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11209         <bp-asm.h>.
11210         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11211         comments.
11212         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11213         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11214         <bp-asm.h>.
11215         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11216         FIXME comments.
11217         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11218         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11219         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11220         <bp-asm.h>.
11221         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11222         comment.
11223         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11224         and <bp-asm.h>.
11225         (strncmp): Don't use BP_SYM,
11226         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11227         <bp-asm.h>.
11228         (__mpn_sub_n): Don't use BP_SYM.
11229         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11230         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11231         and <bp-asm.h>.
11232         (__mpn_submul_1): Don't use BP_SYM.
11233         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11235         <bp-sym.h> and <bp-asm.h>.
11236         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11238         <bp-sym.h> and <bp-asm.h>.
11239         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11240         comment.
11242 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11244         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11245         Use ZK to minimize writes to Z.
11246         (sub_magnitudes): Simplify code a bit.
11247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11248         Use ZK to minimize writes to Z.
11249         (sub_magnitudes): Simplify code a bit.
11251 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11253         * csu/gmon-start.c: Add special exception to license text.
11255 2013-02-27  Richard Henderson  <rth@redhat.com>
11257         * scripts/config.guess: Update from config.git.
11258         * scripts/config.sub: Likewise.
11260 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11262         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11264         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11266         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11268         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11270         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11272 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11274         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11275         [$(build-shared = yes].
11277 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11279         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11280         (__mul): Reduce iterations for calculating mantissa.
11282         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11283         MPTWO.
11284         (__mpranred): Likewise.
11286         [BZ #15160]
11287         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11288         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11290 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11292         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11293         Define __attribute__.
11295 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11297         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11298         unused.
11299         * posix/regex_internal.h (__attribute): Remove.
11300         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11301         (re_string_context_at): Likewise.
11302         (bitset_not): Use __attribute__ and mark function as possibly
11303         unused.
11304         (bitset_merge): Likewise.
11305         (bitset_mask): Likewise.
11306         (re_string_char_size_at): Likewise.
11307         (re_string_wchar_at): Likewise.
11308         (re_string_elem_size_at): Likewise.
11310 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11312         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11313         code.
11314         (cc32): Likewise.
11316         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11317         (__acr): Likewise.
11318         (__cpy): Likewise.
11319         (norm): Likewise.
11320         (denorm): Likewise.
11321         (__dbl_mp): Likewise.
11322         (add_magnitudes): Likewise.
11323         (sub_magnitudes): Likewise.
11324         (__mul): Likewise.
11325         (__inv): Likewise.
11327         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11328         style.
11330         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11331         style.
11333         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11334         code.
11336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11337         up changes with default code.
11338         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11339         Likewise.
11341 2013-02-24  Allan McRae  <allan@archlinux.org>
11343         * manual/socket.texi (The Internet Namespace): Order menu items
11344         to match that in the file.
11346         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11347         node listing of the info page menu.
11349 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11351         [BZ #13550]
11352         * sysdeps/i386/bp-asm.h: Remove file.
11353         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11354         (PARMS): Do not use macros from bp-asm.h.
11355         (S1): Likewise.
11356         (S2): Likewise.
11357         (SIZE): Likewise.
11358         (__mpn_add_n): Do not use BP_SYM
11359         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11360         "bp-asm.h".
11361         (PARMS): Do not use macros from bp-asm.h.
11362         (S1): Likewise.
11363         (SIZE): Likewise.
11364         (__mpn_addmul_1): Do not use BP_SYM
11365         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11366         "bp-asm.h".
11367         (PARMS): Do not use macros from bp-asm.h.
11368         (SIGMSK): Likewise.
11369         (_setjmp): Likewise.  Do not use BP_SYM.
11370         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11371         "bp-asm.h".
11372         (PARMS): Do not use macros from bp-asm.h.
11373         (SIGMSK): Likewise.
11374         (setjmp): Likewise.  Do not use BP_SYM.
11375         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11376         "bp-asm.h".
11377         (PARMS): Do not use macros from bp-asm.h.
11378         (__frexp): Do not use BP_SYM.
11379         (frexp): Likewise.
11380         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11381         "bp-asm.h".
11382         (PARMS): Do not use macros from bp-asm.h.
11383         (__frexpf): Do not use BP_SYM.
11384         (frexpf): Likewise.
11385         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11386         "bp-asm.h".
11387         (PARMS): Do not use macros from bp-asm.h.
11388         (__frexpl): Do not use BP_SYM.
11389         (frexpl): Likewise.
11390         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11391         "bp-asm.h".
11392         (PARMS): Do not use macros from bp-asm.h.
11393         (__remquo): Do not use BP_SYM.
11394         (remquo): Likewise.
11395         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11396         "bp-asm.h".
11397         (PARMS): Do not use macros from bp-asm.h.
11398         (__remquof): Do not use BP_SYM.
11399         (remquof): Likewise.
11400         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11401         "bp-asm.h".
11402         (PARMS): Do not use macros from bp-asm.h.
11403         (__remquol): Do not use BP_SYM.
11404         (remquol): Likewise.
11405         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11406         "bp-asm.h".
11407         (PARMS): Do not use macros from bp-asm.h.
11408         (DEST): Likewise.
11409         (SRC): Likewise.
11410         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11411         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11412         "bp-asm.h".
11413         (PARMS): Do not use macros from bp-asm.h.
11414         (strlen): Do not use BP_SYM.
11415         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11416         "bp-asm.h".
11417         (PARMS): Do not use macros from bp-asm.h.
11418         (S1): Likewise.
11419         (S2): Likewise.
11420         (SIZE): Likewise.
11421         (__mpn_add_n): Do not use BP_SYM.
11422         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11423         "bp-asm.h".
11424         (PARMS): Do not use macros from bp-asm.h.
11425         (S1): Likewise.
11426         (SIZE): Likewise.
11427         (__mpn_addmul_1): Do not use BP_SYM.
11428         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11429         weak_alias.
11430         (bzero): Likewise.
11431         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11432         "bp-asm.h".
11433         (PARMS): Do not use macros from bp-asm.h.
11434         (S): Likewise.
11435         (SIZE): Likewise.
11436         (__mpn_lshift): Do not use BP_SYM.
11437         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11438         "bp-asm.h".
11439         (PARMS): Do not use macros from bp-asm.h.
11440         (DEST): Likewise.
11441         (SRC): Likewise.
11442         (LEN): Likewise.
11443         (memcpy): Likewise.  Do not use BP_SYM.
11444         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11445         libc_hidden_def and weak_alias.
11446         (mempcpy): Do not use BP_SYM in weak_alias.
11447         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11448         "bp-asm.h".
11449         (PARMS): Do not use macros from bp-asm.h.
11450         (DEST): Likewise.
11451         (LEN): Likewise.
11452         [!BZERO_P] (CHR): Likewise.
11453         (memset): Likewise.  Do not use BP_SYM.
11454         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11455         "bp-asm.h".
11456         (PARMS): Do not use macros from bp-asm.h.
11457         (S1): Likewise.
11458         (SIZE): Likewise.
11459         (__mpn_mul_1): Do not use BP_SYM.
11460         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11461         "bp-asm.h".
11462         (PARMS): Do not use macros from bp-asm.h.
11463         (S): Likewise.
11464         (SIZE): Likewise.
11465         (__mpn_rshift): Do not use BP_SYM.
11466         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11467         "bp-asm.h".
11468         (PARMS): Do not use macros from bp-asm.h.
11469         (STR): Likewise.
11470         (CHR): Likewise.
11471         (strchr): Likewise.  Do not use BP_SYM.
11472         (index): Do not use BP_SYM in weak_alias.
11473         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11474         "bp-asm.h".
11475         (PARMS): Do not use macros from bp-asm.h.
11476         (DEST): Likewise.
11477         (SRC): Likewise.
11478         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
11479         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11480         "bp-asm.h".
11481         (PARMS): Do not use macros from bp-asm.h.
11482         (strlen): Do not use BP_SYM.
11483         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11484         "bp-asm.h".
11485         (PARMS): Do not use macros from bp-asm.h.
11486         (S1): Likewise.
11487         (S2): Likewise.
11488         (SIZE): Likewise.
11489         (__mpn_sub_n): Do not use BP_SYM.
11490         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11491         "bp-asm.h".
11492         (PARMS): Do not use macros from bp-asm.h.
11493         (S1): Likewise.
11494         (SIZE): Likewise.
11495         (__mpn_submul_1): Do not use BP_SYM.
11496         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11497         "bp-asm.h".
11498         (PARMS): Do not use macros from bp-asm.h.
11499         (S1): Likewise.
11500         (S2): Likewise.
11501         (SIZE): Likewise.
11502         (__mpn_add_n): Do not use BP_SYM.
11503         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11504         weak_alias.
11505         (bzero): Likewise.
11506         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11507         "bp-asm.h".
11508         (PARMS): Do not use macros from bp-asm.h.
11509         (BLK2): Likewise.
11510         (LEN): Likewise.
11511         (memcmp): Do not use BP_SYM.
11512         (bcmp): Do not use BP_SYM in weak_alias.
11513         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11514         "bp-asm.h".
11515         (PARMS): Do not use macros from bp-asm.h.
11516         (DEST): Likewise.
11517         (SRC): Likewise.
11518         (LEN): Likewise.
11519         (memcpy): Likewise.  Do not use BP_SYM.
11520         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11521         "bp-asm.h".
11522         (PARMS): Do not use macros from bp-asm.h.
11523         (DEST): Likewise.
11524         (SRC): Likewise.
11525         (LEN): Likewise.
11526         (memmove): Likewise.  Do not use BP_SYM.
11527         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11528         "bp-asm.h".
11529         (PARMS): Do not use macros from bp-asm.h.
11530         (DEST): Likewise.
11531         (SRC): Likewise.
11532         (LEN): Likewise.
11533         (__mempcpy): Likewise.  Do not use BP_SYM.
11534         (mempcpy): Do not use BP_SYM in weak_alias.
11535         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11536         "bp-asm.h".
11537         (PARMS): Do not use macros from bp-asm.h.
11538         (DEST): Likewise.
11539         (LEN): Likewise.
11540         [!BZERO_P] (CHR): Likewise.
11541         (memset): Likewise.  Do not use BP_SYM.
11542         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11543         "bp-asm.h".
11544         (PARMS): Do not use macros from bp-asm.h.
11545         (STR2): Likewise.
11546         (strcmp): Do not use BP_SYM.
11547         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11548         "bp-asm.h".
11549         (PARMS): Do not use macros from bp-asm.h.
11550         (STR): Likewise.
11551         (DELIM): Likewise.
11552         [USE_AS_STRTOK_R] (SAVE): Likewise.
11553         (FUNCTION): Likewise.  Do not use BP_SYM.
11554         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11555         aliases.
11556         (strtok_r): Likewise.
11557         (__GI___strtok_r): Likewise.
11558         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11559         (PARMS): Do not use macros from bp-asm.h.
11560         (S): Likewise.
11561         (SIZE): Likewise.
11562         (__mpn_lshift): Do not use BP_SYM.
11563         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11564         (PARMS): Do not use macros from bp-asm.h.
11565         (STR): Likewise.
11566         (CHR): Likewise.
11567         (__memchr): Do not use BP_SYM.
11568         (memchr): Do not use BP_SYM in weak_alias.
11569         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11570         (PARMS): Do not use macros from bp-asm.h.
11571         (BLK2): Likewise.
11572         (LEN): Likewise.
11573         (memcmp): Do not use BP_SYM.
11574         (bcmp): Do not use BP_SYM in weak_alias.
11575         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11576         (PARMS): Do not use macros from bp-asm.h.
11577         (S1): Likewise.
11578         (SIZE): Likewise.
11579         (__mpn_mul_1): Do not use BP_SYM.
11580         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11581         "bp-asm.h".
11582         (PARMS): Do not use macros from bp-asm.h.
11583         (STR): Likewise.
11584         (CHR): Likewise.
11585         (__rawmemchr): Do not use BP_SYM.
11586         (rawmemchr): Do not use BP_SYM in weak_alias.
11587         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11588         (PARMS): Do not use macros from bp-asm.h.
11589         (S): Likewise.
11590         (SIZE): Likewise.
11591         (__mpn_rshift): Do not use BP_SYM.
11592         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11593         (PARMS): Do not use macros from bp-asm.h.
11594         (SIGMSK): Likewise.
11595         (__sigsetjmp): Likewise.  Do not use BP_SYM.
11596         * sysdeps/i386/start.S: Do not include "bp-sym.h".
11597         (_start): Do not use BP_SYM.
11598         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11599         (PARMS): Do not use macros from bp-asm.h.
11600         (DEST): Likewise.
11601         (SRC): Likewise.
11602         (__stpcpy): Likewise.  Do not use BP_SYM.
11603         (stpcpy): Do not use BP_SYM in weak_alias.
11604         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11605         "bp-asm.h".
11606         (PARMS): Do not use macros from bp-asm.h.
11607         (DEST): Likewise.
11608         (SRC): Likewise.
11609         (LEN): Likewise.
11610         (__stpncpy): Likewise.  Do not use BP_SYM.
11611         (stpncpy): Do not use BP_SYM in weak_alias.
11612         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11613         (PARMS): Do not use macros from bp-asm.h.
11614         (STR): Likewise.
11615         (CHR): Likewise.
11616         (strchr): Likewise.  Do not use BP_SYM.
11617         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11618         "bp-asm.h".
11619         (PARMS): Do not use macros from bp-asm.h.
11620         (STR): Likewise.
11621         (CHR): Likewise.
11622         (__strchrnul): Likewise.  Do not use BP_SYM.
11623         (strchrnul): Do not use BP_SYM in weak_alias.
11624         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11625         "bp-asm.h".
11626         (PARMS): Do not use macros from bp-asm.h.
11627         (STOP): Likewise.
11628         (strcspn): Do not use BP_SYM.
11629         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11630         "bp-asm.h".
11631         (PARMS): Do not use macros from bp-asm.h.
11632         (STR): Likewise.
11633         (STOP): Likewise.
11634         (strpbrk): Likewise.  Do not use BP_SYM.
11635         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11636         "bp-asm.h".
11637         (PARMS): Do not use macros from bp-asm.h.
11638         (STR): Likewise.
11639         (CHR): Likewise.
11640         (strrchr): Likewise.  Do not use BP_SYM.
11641         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11642         (PARMS): Do not use macros from bp-asm.h.
11643         (SKIP): Likewise.
11644         (strspn): Do not use BP_SYM.
11645         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11646         (PARMS): Do not use macros from bp-asm.h.
11647         (STR): Likewise.
11648         (DELIM): Likewise.
11649         (SAVE): Likewise.
11650         (FUNCTION): Likewise.  Do not use BP_SYM.
11651         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11652         aliases.
11653         (strtok_r): Likewise.
11654         (__GI___strtok_r): Likewise.
11655         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11656         (PARMS): Do not use macros from bp-asm.h.
11657         (S1): Likewise.
11658         (S2): Likewise.
11659         (SIZE): Likewise.
11660         (__mpn_sub_n): Do not use BP_SYM.
11661         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11662         "bp-asm.h".
11663         (PARMS): Do not use macros from bp-asm.h.
11664         (S1): Likewise.
11665         (SIZE): Likewise.
11666         (__mpn_submul_1): Do not use BP_SYM.
11667         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11668         <bp-sym.h>.
11669         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11670         and <bp-asm.h>.
11671         (PARMS): Do not use macros from bp-asm.h.
11672         (FLAGS): Likewise.
11673         (PTID): Likewise.
11674         (TLS): Likewise.
11675         (CTID): Likewise.
11676         (__clone): Do not use BP_SYM.
11677         (clone): Do not use BP_SYM in weak_alias.
11678         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11679         and <bp-asm.h>.
11680         (PARMS): Do not use macros from bp-asm.h.
11681         (LEN): Likewise.
11682         (__mmap64): Do not use BP_SYM.
11683         (mmap64): Do not use BP_SYM in weak_alias.
11684         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11685         <bp-sym.h> and <bp-asm.h>.
11686         (PARMS): Do not use macros from bp-asm.h.
11687         (__posix_fadvise64_l64): Do not use BP_SYM.
11688         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11689         (PARMS): Do not use macros from bp-asm.h.
11690         (NSOPS): Likewise.
11691         (semtimedop): Do not use BP_SYM.
11692         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11693         and <bp-asm.h>.
11695 2013-02-21  Allan McRae  <allan@archlinux.org>
11697         * manual/message.texi (Charset conversion in gettext):
11698         Move @end statement to beginning of line.
11700 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11702         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11703         static.
11704         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11705         Likewise.
11707         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11708         (denorm): Likewise.
11709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11712 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11714         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11715         tail-call to the resolved function if pltexit isn't needed.
11717 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11719         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11720         or Y being zero as being unlikely.
11721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11722         Likewise.
11724 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11726         * manual/nss.texi (System Databases and Name Service Switch):
11727         Remove frobnicate @pxref.
11729 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11731         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11732         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11734 2013-02-20  Petr Machata  <pmachata@redhat.com>
11736         * elf/elf.h (R_ARM_TARGET1): New macro.
11737         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11738         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11739         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11740         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11741         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11742         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11743         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11744         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11745         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11746         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11747         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11748         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11749         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11750         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11751         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11752         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11753         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11754         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11755         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11756         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11757         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11758         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11759         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11760         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11761         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11762         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11763         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11764         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11765         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11766         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11767         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11768         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11769         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11770         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11771         (R_ARM_THM_GOT_BREL12): Likewise.
11772         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11773         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11774         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11775         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11776         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11777         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11778         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11779         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11780         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11782 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11784         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11785         __attribute_used__ to __attribute__ ((unused)).
11787 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11789         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11790         powerpc mpa.c.
11791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11792         comment formatting.
11793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11795 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11797         [BZ #13550]
11798         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11799         Remove macro.
11800         (ENTER): Remove both macro definitions.
11801         (LEAVE): Likewise.
11802         (CHECK_BOUNDS_LOW): Likewise.
11803         (CHECK_BOUNDS_HIGH): Likewise.
11804         (CHECK_BOUNDS_BOTH): Likewise.
11805         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11806         (RETURN_BOUNDED_POINTER): Likewise.
11807         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11808         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11809         (POP_ERRNO_LOCATION_RETURN): Likewise.
11810         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11811         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11812         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11813         macros.
11814         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11815         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11816         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11817         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11818         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11819         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11820         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11821         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11822         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11823         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11824         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11825         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11826         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11827         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11828         removed macros.
11829         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11830         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11831         macros.
11832         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11833         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11834         * sysdeps/i386/i586/memset.S (memset): Likewise.
11835         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11836         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11837         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11838         macros.
11839         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11840         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11841         Change uses of L(2) to L(out).
11842         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11843         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11844         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11845         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11846         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11847         removed macros.
11848         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11849         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11850         macros.
11851         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11852         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11853         (RETURN): Do not use macro LEAVE.
11854         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11855         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11856         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11857         * sysdeps/i386/i686/memset.S (memset): Likewise.
11858         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11859         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11860         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11861         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11862         Likewise.
11863         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11864         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11865         L(1_2) and L(1_3) into L(1).
11866         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11867         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11868         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11869         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11870         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11871         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11872         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11873         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11874         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11875         macros.
11876         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11877         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11878         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11879         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11880         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11881         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11882         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11883         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11884         * sysdeps/i386/strcspn.S (strcspn): Likewise.
11885         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11886         * sysdeps/i386/strrchr.S (strrchr): Likewise.
11887         * sysdeps/i386/strspn.S (strspn): Likewise.
11888         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11889         conditional code.
11890         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11891         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11892         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11893         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
11894         L(1_3) into L(1_1).
11895         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11896         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11897         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11898         macros.
11899         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11901 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
11903         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11904         macro.
11906 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11908         * math/atest-exp.c (exp_mpn): Remove ROUND.
11909         * math/atest-exp2.c (exp_mpn): Likewise.
11910         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11912         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11913         * stdlib/tst-tls-atexit-lib.c: Likewise.
11914         * stdlib/tst-tls-atexit.c: Likewise.
11916 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11918         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11919         and __attribute_alloc_size__.
11921 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11923         * include/programs/xmalloc.h: Change __attribute_alloc_size to
11924         __attribute_alloc_size__.
11925         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11926         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11928 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11930         * include/programs/xmalloc.h: New file.
11931         * catgets/gencat.c: Include it.
11932         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11933         * elf/pldd.c: Likewise.
11934         * iconv/iconv_charmap.c: Likewise.
11935         * iconv/iconvconfig.c: Likewise.
11936         * iconv/strtab.c: Likewise.
11937         * locale/programs/locale.c: Likewise.
11938         * locale/programs/localedef.h: Likewise.
11939         * locale/programs/simple-hash.c: Likewise.
11940         * nscd/nscd.h: Likewise.
11941         * nss/makedb.c: Likewise.
11942         * sysdeps/generic/ldconfig.h: Likewise.
11944 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11946         * Versions.def: Add GLIBC_2.18.
11947         * include/link.h (struct link_map): New member l_tls_dtor_count.
11948         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11949         (__call_tls_dtors): Likewise.
11950         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11951         __cxa_thread_atexit_impl.
11952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11953         Likewise.
11954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11955         Likewise.
11956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11957         Likewise.
11958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11959         Likewise.
11960         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11962         Likewise.
11963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11964         Likewise.
11965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11967         Likewise.
11968         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11969         (tests): Add test case tst-tls-atexit.
11970         (modules-names): Add shared library for tst-tls-atexit.
11971         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11972         (GLIBC_PRIVATE): Add __call_tls_dtors.
11973         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11974         for libstdc++.
11975         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11976         * stdlib/tst-tls-atexit.c: New test case.
11977         * stdlib/tst-tls-atexit-lib.c: New test case.
11979         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11981         * elf/Versions (ld): Add _dl_find_dso_for_object.
11982         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11983         * elf/dl-open.c (_dl_find_dso_for_object): New function.
11984         (dl_open_worker): Use _dl_find_dso_for_object.
11985         * elf/dl-sym.c (do_sym): Likewise.
11986         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11988 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11990         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11991         Syntactic changes only.
11992         (_dl_runtime_profile): Do a tail-call to the resolved function.
11994 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
11996         [BZ #13550]
11997         * sysdeps/x86_64/bp-asm.h: Remove file.
11998         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11999         <bp-sym.h> and <bp-asm.h>.
12000         (__clone): Do not use BP_SYM.
12001         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12002         <bp-sym.h> and <bp-asm.h>.
12003         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12004         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12005         "bp-asm.h".
12006         (_setjmp): Do not use BP_SYM.
12007         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12008         "bp-asm.h".
12009         (setjmp): Do not use BP_SYM.
12010         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12011         libc_hidden_def.
12012         (mempcpy): Do not use BP_SYM in weak_alias.
12013         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12014         "bp-asm.h".
12015         (strchr): Do not use BP_SYM.
12016         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12017         "bp-asm.h".
12018         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12019         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12020         (_start): Do not use BP_SYM.
12021         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12022         "bp-asm.h".
12023         (strcat): Do not use BP_SYM.
12024         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12025         "bp-asm.h".
12026         (STRCMP): Do not use BP_SYM.
12027         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12028         "bp-asm.h".
12029         (STRCPY): Do not use BP_SYM.
12030         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12031         "bp-asm.h".
12032         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12033         "bp-asm.h".
12034         (FUNCTION): Do not use BP_SYM.
12035         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12036         weak_alias.
12037         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12039 2013-02-17  Andreas Jaeger  <aj@suse.de>
12041         * time/Versions: Sort entries.
12042         * string/Versions: Likewise.
12043         * resolv/Versions: Likewise.
12044         * posix/Versions: Likewise.
12045         * iconv/Versions: Likewise.
12046         * elf/Versions: Likewise.
12047         * wcsmbs/Versions: Likewise.
12049 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12051         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12052         loop termination condition.
12054         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12055         variable to calculate EZ.
12056         (__sqr): Likewise.
12058         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12059         the lower precision input.
12061 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12063         [BZ #13550]
12064         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12065         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12066         (run-via-rtld-prefix): Do not handle %-bp tests.
12067         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12068         (all-object-suffixes): Remove .ob.
12069         (bppfx): Remove variable.
12070         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12071         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12072         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12073         [$(build-bounded) = yes] (libtype.ob): Likewise.
12074         * Makerules (elide-routines.ob): Remove variable.
12075         (do-tests-clean): Do not handle *-bp.out.
12076         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12077         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12078         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12079         (tests): Do not include $(tests-bp.out).
12080         (xtests): Do not include $(xtests-bp.out).
12081         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12082         [$(build-bounded) = yes] ($(addprefix
12083         $(objpfx),$(binaries-bounded))): Remove rule.
12084         ($(objpfx)%-bp.out): Remove rule.
12085         * config.make.in (build-bounded): Remove variable.
12086         * crypt/Makefile [$(build-bounded) = yes]
12087         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12088         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12089         append to variable.
12090         [$(build-bounded) = yes] (install-lib): Likewise.
12091         [$(build-bounded) = yes] (generated): Likewise.
12092         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12093         Remove rule.
12094         * intl/Makefile [$(build-bounded) = yes]
12095         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12096         * math/Makefile [$(build-bounded) = yes]
12097         ($(tests:%=$(objpfx)%-bp): Likewise.
12098         * misc/Makefile [$(build-bounded) = yes]
12099         ($(objpfx)tst-tsearch-bp): Likewise.
12100         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12101         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12102         Remove dependency.
12103         * string/Makefile (o-objects.ob): Remove variable.
12104         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12105         (CFLAGS-.ob): Remove variable.
12106         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12107         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12108         both definitions of variable.
12109         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12110         (ASFLAGS-.ob): Remove variable.
12112 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12114         [BZ #13550]
12115         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12116         Remove __BOUNDED_POINTERS__ from condition.
12117         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12118         * string/bits/string2.h [!__NO_STRING_INLINES &&
12119         !__BOUNDED_POINTERS__]: Likewise.
12120         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12121         Likewise.
12122         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12123         Remove conditional code.
12124         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12125         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12126         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12127         condition.
12129         [BZ #13550]
12130         * csu/libc-start.c: Do not include <bp-sym.h>.
12131         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12132         * elf/dl-open.c: Do not include <bp-sym.h>.
12133         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12134         * math/fegetenv.c: Do not include <bp-sym.h>.
12135         (fegetenv): Do not use BP_SYM in versioned symbols.
12136         * nptl/sysdeps/pthread/bits/libc-lockP.h
12137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12138         <bp-sym.h>.
12139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12140         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12142         (__pthread_mutex_destroy): Likewise.
12143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12144         (__pthread_mutex_lock): Likewise.
12145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12146         (__pthread_mutex_trylock): Likewise.
12147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12148         (__pthread_mutex_unlock): Likewise.
12149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12150         (__pthread_mutexattr_init): Likewise.
12151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12152         (__pthread_mutexattr_destroy): Likewise.
12153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12154         (__pthread_mutexattr_settype): Likewise.
12155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12156         (__pthread_rwlock_init): Likewise.
12157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12158         (__pthread_rwlock_destroy): Likewise.
12159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12160         (__pthread_rwlock_rdlock): Likewise.
12161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12162         (__pthread_rwlock_tryrdlock): Likewise.
12163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12164         (__pthread_rwlock_wrlock): Likewise.
12165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12166         (__pthread_rwlock_trywrlock): Likewise.
12167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12168         (__pthread_rwlock_unlock): Likewise.
12169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12170         (__pthread_key_create): Likewise.
12171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12172         (__pthread_setspecific): Likewise.
12173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12174         (__pthread_getspecific): Likewise.
12175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12176         Likewise.
12177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12178         (_pthread_cleanup_push_defer): Likewise.
12179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12180         (_pthread_cleanup_pop_restore): Likewise.
12181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12182         (pthread_setcancelstate): Likewise.
12183         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12184         <bp-sym.h>.
12185         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12186         (memchr): Do not use BP_SYM in weak_alias.
12187         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12188         (fegetenv): Do not use BP_SYM in versioned symbols.
12189         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12190         (fesetenv): Do not use BP_SYM in versioned symbols.
12191         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12192         (feupdateenv): Do not use BP_SYM in versioned symbols.
12193         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12194         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12195         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12196         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12197         (open64): Do not use BP_SYM in weak_alias.
12198         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12199         (fegetenv): Do not use BP_SYM in versioned symbols.
12200         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12201         (fesetenv): Do not use BP_SYM in versioned symbols.
12202         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12203         (feupdateenv): Do not use BP_SYM in versioned symbols.
12204         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12205         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12206         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12207         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12208         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12209         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12210         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12211         <bp-sym.h>.
12212         (__libc_start_main): Do not use BP_SYM.
12214 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12216         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12217         redundant return line.
12218         (norm): Likewise.
12219         (denorm): Likewise.
12220         (dbl_mp): Likewise.
12221         (sub_magnitudes): Likewise.
12222         (__add): Likewise.
12223         (__sub): Likewise.
12224         (__mul): Likewise.
12225         (__inv): Likewise.
12226         (__dvd): Likewise.
12227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12228         (norm): Likewise.
12229         (denorm): Likewise.
12230         (dbl_mp): Likewise.
12231         (sub_magnitudes): Likewise.
12232         (__add): Likewise.
12233         (__sub): Likewise.
12234         (__mul): Likewise.
12235         (__inv): Likewise.
12236         (__dvd): Likewise.
12238         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12239         instead of __mul.
12240         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12241         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12242         (cc32): Likewise.
12244         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12245         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12246         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12247         of __mul for squares.
12248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12249         function
12250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12251         Likewise.
12252         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12253         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12255 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12257         [BZ #13550]
12258         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12259         code.
12260         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12261         prototype or function definition.  Rename ubp_* variables and
12262         parameters.  Remove argv definitions conditional on
12263         [__BOUNDED_POINTERS__].
12264         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12265         * elf/dl-runtime.c (_dl_fixup): Likewise.
12266         * include/set-hooks.h (RUN_HOOK): Likewise.
12267         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12268         definition.
12269         * string/strcpy.c (strcpy): Do not use __unbounded.
12270         * sysdeps/generic/frame.h (struct layout): Likewise.
12271         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12272         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12273         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12274         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12275         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12276         (__backtrace): Likewise.
12277         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12278         use __ptrvalue.
12279         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12280         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12281         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12282         Likewise.
12283         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12284         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12285         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12286         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12287         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12288         Do not use __unbounded.
12289         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12290         Rename __unboundedrlimits parameter to rlimits in prototype.
12291         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12292         Do not use __unbounded.
12293         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12294         not use __ptrvalue.
12295         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12296         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12297         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12298         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12299         __ptrvalue or __unbounded.
12300         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12301         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12302         use __unbounded.
12303         (__new_msgctl): Do not use __ptrvalue.
12304         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12305         __unbounded.
12306         (__libc_msgrcv): Do not use __ptrvalue.
12307         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12308         startup_info): Do not use __unbounded.
12309         (__libc_start_main): Likewise.  Rename ubp_* variables and
12310         parameters.  Remove argv definitions conditional on
12311         [__BOUNDED_POINTERS__].
12312         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12313         __ptrvalue.
12314         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12315         use __unbounded.
12316         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12317         or __ptrvalue.
12318         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12319         use __unbounded.
12320         (__new_shmctl): Do not use __ptrvalue.
12321         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12322         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12323         Likewise.
12324         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12325         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12326         (__libc_sigaction): Likewise.
12327         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12328         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12329         Likewise.
12330         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12332 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12334         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12336         * string/mempcpy.c: Implement by calling memcpy.
12338 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12340         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12342         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12343         evaluation.
12345         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12346         values in the mantissa.
12348         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12349         minimize writes to Z.
12350         (sub_magnitudes): Simplify code a bit.
12352 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12354         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12355         from the message.  The linker prefixes all warnings with that already.
12357 2013-02-12  Andreas Schwab  <schwab@suse.de>
12359         [BZ #15078]
12360         * posix/regexec.c (extend_buffers): Add parameter min_len.
12361         (check_matching): Pass minimum needed length.
12362         (clean_state_log_if_needed): Likewise.
12363         (get_subexp): Likewise.
12364         * posix/Makefile (tests): Add bug-regex34.
12365         (bug-regex34-ENV): Define.
12366         * posix/bug-regex34.c: New file.
12368         [BZ #11561]
12369         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12370         elements compare against the byte sequence of it, not its name.
12371         * posix/Makefile (tests): Add bug-regex35.
12372         (bug-regex35-ENV): Define.
12373         * posix/bug-regex35.c: New file.
12375 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12377         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12378         comment.
12379         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12380         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12381         (CHECK_EOL): Add undef.
12383 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12385         * bits/stdlib-bsearch.h: New file.
12386         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12387         * stdlib/stdlib.h: Likewise.
12389 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12391         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12392         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12393         declaration.
12394         * manual/search.texi (Array Search Function): Add missing const in
12395         lfind prototype.
12396         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12397         declaration to use rlim_t.
12398         (Basic Scheduling Functions): Remove erroneous const from
12399         sched_getparam prototype.  Remove erroneous * from
12400         sched_get_priority_max and sched_get_priority_min prototypes.
12401         (Resource Usage): Fix summary @comment on vtimes to refer to
12402         sys/vtimes.h rather than vtimes.h.
12403         Add missing *s in vtimes prototype.
12404         (Limits on Resources): Fix ulimit prototype to return long int.
12405         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12406         prototypes to use long int rather than double.
12407         (BSD Random): Fix initstate and setstate to use char *, not void *.
12408         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12409         prototype to make second argument 'struct aiocb64 *const[]'.
12410         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12411         (Status of AIO Operations): Remove erroneous const in aio_return and
12412         aio_return64 prototypes.
12413         (Synchronizing I/O): Fix sync prototype to return void.
12414         * manual/startup.texi (Suboptions): Remove an erroneous const in
12415         getsubopt prototype.
12416         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12417         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12418         use size_t rather than int.
12419         (Scanning All Users): Likewise for getpwent_r.
12420         (Setting Groups): Add missing const to setgroups prototype.
12421         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12422         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12423         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12424         'const void *' rather than 'const char *'.
12425         (Host Address Functions): Likewise for inet_ntop.
12426         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12427         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12428         ssize_t for return value.
12429         (Sending Data): Likewise for send, sendto, sendmsg.
12430         (Socket Option Functions): Add a missing const in setsockopt prototype.
12431         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12432         use wchar_t for the argument.
12433         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12434         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12435         take no arguments.
12436         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12437         double/float/long double for second argument.
12438         Fix return types of significand, significandf, significandl.
12439         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12440         argument in fchmod prototype.
12441         (File Owner): Use uid_t and gid_t in fchown prototype.
12442         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12443         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12444         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12445         use 'const struct dirent **' as argument types to CMP function pointer
12446         argument.
12447         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12448         (File Times): Fix summary magic @comment for struct utimbuf and utime
12449         to refer to utime.h, not time.h.
12450         * manual/string.texi (Argz Functions): Add missing const in
12451         argz_extract and argz_next prototypes.
12452         (Finding Tokens in a String): Likewise for basename.
12453         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12454         (Copying and Concatenation): Fix typo in wmemmove prototype.
12455         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12456         (Signal Stack): Remove erroneous const in sigstack prototype.
12457         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12458         prototype.
12459         (Simple Calendar Time): Likewise for stime.
12460         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12461         prototype.
12462         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12463         say sys/sysctl.h instead.
12464         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12465         and vsyslog prototypes.
12467 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12469         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12470         Remove.
12472 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12474         * misc/sys/mman.h: Fix typo in mremap comment.
12476 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12478         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12479         the '\0' terminator.
12481 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12483         [BZ #13550]
12484         * debug/segfault.c: Don't include <bp-checks.h>.
12485         * sysdeps/generic/bp-checks.h: Remove file.
12486         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12487         (__GETDENTS): Don't use CHECK_N.
12488         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12489         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12490         (__getgroups): Don't use CHECK_N.
12491         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12492         (setgroups): Don't use CHECK_N.
12493         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12494         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12495         (__libc_msgrcv): Don't use CHECK_N.
12496         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12497         (__libc_msgsnd): Don't use CHECK_N.
12498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12499         <bp-checks.h>.
12500         (__libc_pread): Don't use CHECK_N.
12501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12502         include <bp-checks.h>.
12503         (__libc_pread64): Don't use CHECK_N.
12504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12505         include <bp-checks.h>.
12506         (__libc_pwrite): Don't use CHECK_N.
12507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12508         include <bp-checks.h>.
12509         (__libc_pwrite64): Don't use CHECK_N.
12510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12511         <bp-checks.h>.
12512         (__libc_pread): Don't use CHECK_N.
12513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12514         include <bp-checks.h>.
12515         (__libc_pread64): Don't use CHECK_N.
12516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12517         include <bp-checks.h>.
12518         (__libc_pwrite): Don't use CHECK_N.
12519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12520         include <bp-checks.h>.
12521         (__libc_pwrite64): Don't use CHECK_N.
12522         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12523         (do_pread): Don't use CHECK_N.
12524         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12525         (do_pread64): Don't use CHECK_N.
12526         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12527         (do_pwrite): Don't use CHECK_N.
12528         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12529         (do_pwrite64): Don't use CHECK_N.
12530         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12531         (__libc_readv): Don't use CHECK_N.
12532         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12533         (semop): Don't use CHECK_N.
12534         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12535         <bp-checks.h>.
12536         (semtimedop): Don't use CHECK_N.
12537         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12538         (__libc_pread): Don't use CHECK_N.
12539         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12540         <bp-checks.h>.
12541         (__libc_pread64): Don't use CHECK_N.
12542         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12543         <bp-checks.h>.
12544         (__libc_pwrite): Don't use CHECK_N.
12545         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12546         <bp-checks.h>.
12547         (__libc_pwrite64): Don't use CHECK_N.
12548         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12549         <bp-checks.h>.
12550         (__libc_msgrcv): Don't use CHECK_N.
12551         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12552         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
12553         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12554         (__libc_writev): Don't use CHECK_N.
12556 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12558         * string/strcpy.c: Removed unused variable.
12560         * Makeconfig (+sysdep-includes): Define with := rather than =.
12561         Use an existing include/ subdir of each sysdeps dir before it.
12563 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12565         * nscd/connection.c (register_traced_file): Comment function.
12566         [HAVE_INOTIFY] (union __inev): Define.
12567         [HAVE_INOTIFY] (inotify_check_files): New function.
12568         [HAVE_INOTIFY] (clear_db_cache): Likewise.
12569         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12570         clear_db_cache.
12571         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12573 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12575         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12576         loaded if not already and that a failure is permanent.
12578 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12580         [BZ #15006]
12581         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12582         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12584 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12586         [BZ #13550]
12587         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12588         (CHECK_1_NULL_OK): Likewise.
12589         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12590         (__fxstat): Do not use CHECK_1.
12591         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12592         <bp-checks.h>.
12593         (___fxstat64): Do not use CHECK_1.
12594         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12595         <bp-checks.h>.
12596         (__fxstatat): Do not use CHECK_1.
12597         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12598         <bp-checks.h>.
12599         (__fxstatat64): Do not use CHECK_1.
12600         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12601         <bp-checks.h>.
12602         (__fxstat): Do not use CHECK_1.
12603         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12604         <bp-checks.h>.
12605         (__fxstatat): Do not use CHECK_1.
12606         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12607         <bp-checks.h>.
12608         (__getresgid): Do not use CHECK_1.
12609         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12610         <bp-checks.h>.
12611         (__getresuid): Do not use CHECK_1.
12612         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12613         <bp-checks.h>.
12614         (__lxstat): Do not use CHECK_1.
12615         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12616         <bp-checks.h>.
12617         (__old_msgctl): Do not use CHECK_1.
12618         (__new_msgctl): Likewise.
12619         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12620         <bp-checks.h>.
12621         (__new_setrlimit): Do not use CHECK_1.
12622         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12623         <bp-checks.h>.
12624         (__old_shmctl): Do not use CHECK_1.
12625         (__new_shmctl): Likewise.
12626         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12627         <bp-checks.h>.
12628         (__xstat): Do not use CHECK_1.
12629         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12630         (__lxstat): Do not use CHECK_1.
12631         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12632         <bp-checks.h>.
12633         (___lxstat64): Do not use CHECK_1.
12634         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12635         (__old_msgctl): Do not use CHECK_1.
12636         (__new_msgctl): Likewise.
12637         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12638         <bp-checks.h>.
12639         (__gettimeofday): Do not use CHECK_1.
12640         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12641         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12642         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12643         <bp-checks.h>.
12644         (__gettimeofday): Do not use CHECK_1.
12645         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12646         (__old_shmctl): Do not use CHECK_1_NULL_OK.
12647         (__new_shmctl): Do not use CHECK_1.
12648         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12649         <bp-checks.h>.
12650         (do_sigtimedwait): Do not use CHECK_1.
12651         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12652         <bp-checks.h>.
12653         (do_sigwaitinfo): Do not use CHECK_1.
12654         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12655         <bp-checks.h>.
12656         (msgctl): Do not use CHECK_1.
12657         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12658         <bp-checks.h>.
12659         (shmctl): Do not use CHECK_1.
12660         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12661         (ustat): Do not use CHECK_1.
12662         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12663         <bp-checks.h>.
12664         (__fxstat): Do not use CHECK_1.
12665         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12666         <bp-checks.h>.
12667         (__fxstatat): Do not use CHECK_1.
12668         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12669         <bp-checks.h>.
12670         (__lxstat): Do not use CHECK_1.
12671         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12672         <bp-checks.h>.
12673         (__xstat): Do not use CHECK_1.
12674         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12675         (__xstat): Do not use CHECK_1.
12676         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12677         (___xstat64): Do not use CHECK_1.
12679         [BZ #13550]
12680         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12681         definitions.
12682         (CHECK_BOUNDS_HIGH): Likewise.
12683         * string/strcpy.c: Do not include <bp-checks.h>.
12684         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12686 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12688         * nscd/nscd-client.h (__nscd_drop_map_ref):
12689         Add __attribute__ ((unused)).
12690         * nis/nss-nisplus.h (niserr2nss): Likewise.
12692         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12693         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12695         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12696         Remove inline keyword.
12697         * include/rounding-mode.h (round_away): Likewise.
12698         * libio/wfileops.c (adjust_wide_data): Likewise.
12699         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12700         (__m128i_strloadu_tolower): Likewise.
12701         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12702         (__m128i_strloadu_tolower): Likewise.
12703         * time/mktime.c (ydhms_diff): Likewise.
12704         * locale/elem-hash.h (elem_hash): Likewise.
12705         * locale/setlocale.c (setdata): Likewise.
12706         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12707         (re_string_wchar_at): Likewise.
12708         (bitset_not, bitset_merge, bitset_mask): Likewise.
12709         [!(__GNUC__ > 3)] (inline): Remove macro.
12710         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12711         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12712         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12713         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12714         * string/memcmp.c (memcmp_bytes): Likewise.
12715         * locale/programs/locarchive.c (compute_hashval): Likewise.
12716         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12717         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12718         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12719         * nss/getent.c (print_rpc, print_protocols): Likewise.
12720         (print_passwd, print_group, print_aliases): Likewise.
12721         * nis/nss-nisplus.h (niserr2nss): Likewise.
12722         * nscd/connections.c (restart_p): Likewise.
12723         Change return type to bool.
12725 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12727         * Makeconfig (all-Depend-files): Add existing
12728         $(sorted-subdirs:=/Depend) files.
12729         (all-subdirs): Remove nss.
12730         * sysdeps/unix/inet/Subdirs: Add it here instead.
12731         * hesiod/Depend: New file.
12733         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12734         instead of calling alloca.
12736         * io/lseek.c (__lseek): Rename to __libc_lseek.
12737         Define __lseek as an alias.
12739         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12741 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12743         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12744         else clause and remove check for non-standard endianness.
12746 2013-02-04  David S. Miller  <davem@davemloft.net>
12748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12750 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12752         [BZ #13550]
12753         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12754         (__ubp_memchr): Remove prototype.
12755         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12756         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12757         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12758         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12759         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12760         Remove alias.
12761         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12762         (__ubp_memchr): Likewise.
12763         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12764         (__ubp_memchr): Likewise.
12765         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12766         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12767         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12768         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12769         CHECK_STRING.
12770         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12771         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12772         (__getcwd): Do not use CHECK_STRING.
12773         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12774         <bp-checks.h>.
12775         (__real_chown): Do not use CHECK_STRING.
12776         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12777         <bp-checks.h>.
12778         (fchownat): Do not use CHECK_STRING.
12779         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12780         CHECK_STRING.
12781         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12782         <bp-checks.h>.
12783         (__lchown): Do not use CHECK_STRING.
12784         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12785         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12786         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12787         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12789         include <bp-checks.h>.
12790         (truncate64): Do not use CHECK_STRING.
12791         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12792         <bp-checks.h>.
12793         (__real_chown): Do not use CHECK_STRING.
12794         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12795         <bp-checks.h>.
12796         (__lchown): Do not use CHECK_STRING.
12797         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12798         <bp-checks.h>.
12799         (__chown): Do not use CHECK_STRING.
12800         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12801         <bp-checks.h>.
12802         (truncate64): Do not use CHECK_STRING.
12803         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12804         Likewise.
12805         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12806         (__xmknod): Do not use CHECK_STRING.
12807         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12808         <bp-checks.h>.
12809         (__xmknodat): Do not use CHECK_STRING.
12810         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12811         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12813 2013-02-04  Andreas Schwab  <schwab@suse.de>
12815         [BZ #14142]
12816         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12817         * include/netdb.h: Likewise for h_errno.
12818         * elf/tst-stackguard1.c: Include <tls.h>.
12820 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12822         * elf/link.h (struct link_map): Extend the l_addr comment.
12823         * include/link.h (struct link_map): Likewise.
12825 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12827         [BZ #13550]
12828         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12829         (BOUNDED_1): Remove macro.
12830         * debug/backtrace.c: Don't include <bp-checks.h>.
12831         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12832         (__backtrace): Likewise.
12833         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12834         <bp-checks.h>.
12835         (__backtrace): Don't use BOUNDED_1.
12836         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12837         <bp-checks.h>.
12838         (__backtrace): Don't use BOUNDED_1.
12839         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12840         (__backtrace): Don't use BOUNDED_1.
12841         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12842         (shmat): Don't use BOUNDED_N.
12844 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12846         [BZ #13550]
12847         * sysdeps/generic/bp-start.h: Remove file.
12848         * csu/libc-start.c: Don't include <bp-start.h>.
12849         (LIBC_START_MAIN): Set up __environ directly instead of using
12850         INIT_ARGV_and_ENVIRON.
12851         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12852         <bp-start.h>.
12854         [BZ #13550]
12855         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12856         definitions.
12857         (CHECK_FCNTL): Likewise.
12858         (CHECK_N_PAGES): Likewise.
12860         [BZ #13550]
12861         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12862         definitions.
12863         (CHECK_SIGSET_NULL_OK): Likewise.
12864         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12865         <bp-checks.h>.
12866         (sigpending): Don't use CHECK_SIGSET.
12867         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12868         <bp-checks.h>.
12869         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12870         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12871         <bp-checks.h>.
12872         (do_sigsuspend): Don't use CHECK_SIGSET.
12873         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12874         use CHECK_SIGSET.
12875         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12876         (do_sigwait): Don't use CHECK_SIGSET.
12877         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12878         use CHECK_SIGSET.
12879         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12880         include <bp-checks.h>.
12881         (sigpending): Don't use CHECK_SIGSET.
12882         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12883         include <bp-checks.h>.
12884         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12885         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12886         <bp-checks.h>.
12887         (sigpending): Don't use CHECK_SIGSET.
12888         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12889         <bp-checks.h>.
12890         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12892         [BZ #13550]
12893         * sysdeps/generic/bp-semctl.h: Remove file.
12894         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12895         <bp-checks.h> and <bp-semctl.h>.
12896         (__old_semctl): Don't use CHECK_SEMCTL.
12897         (__new_semctl): Likewise.
12898         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12899         and <bp-semctl.h>.
12900         (__old_semctl): Don't use CHECK_SEMCTL.
12901         (__new_semctl): Likewise.
12902         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12903         <bp-checks.h> and <bp-semctl.h>.
12904         (__old_semctl): Don't use CHECK_SEMCTL.
12905         (__new_semctl): Likewise.
12906         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12907         <bp-checks.h> and <bp-semctl.h>.
12908         (semctl): Don't use CHECK_SEMCTL.
12910         [BZ #13550]
12911         * Makerules (elide-bp-thunks): Remove variable.
12912         (elide-routines.oS): Don't use $(elide-bp-thunks).
12913         (elide-routines.os): Likewise.
12914         (elide-routines.o): Likewise.
12915         (elide-routines.op): Likewise.
12916         (elide-routines.og): Likewise.
12917         (objects): Don't use $(bp-thunks).
12918         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12919         include.
12920         (common-generated): Do not add s-proto-bp.d.
12921         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12922         (int): Likewise.
12923         (typ): Likewise.
12924         Do not generate makefile rules for bounded-pointer thunks.
12925         * sysdeps/generic/bp-thunks.h: Remove file.
12926         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12927         * sysdeps/unix/s-proto-bp.S: Likewise.
12929         [BZ #15062]
12930         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12931         parts of result separately when argument is not close to line from
12932         -i to i and one part of argument is small.
12933         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12934         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12935         * math/libm-test.inc (cacos_test): Add more tests.
12936         (casin_test): Likewise.
12937         (casinh_test): Likewise.
12938         * sysdeps/i386/fpu/libm-test-ulps: Update.
12939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12941 2013-01-31  David S. Miller  <davem@davemloft.net>
12943         * po/de.po: Update from translation team.
12945 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
12947         * time/tzfile.c: Include stdint.h for SIZE_MAX.
12949 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
12951         * configure.in (_AC_PROG_CC_C89): New definition.
12952         * configure: Regenerate.
12954         * configure.in (AC_PROG_CPP): New definition.
12955         * configure: Regenerate.
12957 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12959         * debug/tst-backtrace.h: New file.
12960         * debug/tst-backtrace2.c: Include tst-backtrace.h.
12961         (ret): Remove variable.
12962         (x): Likewise.
12963         (FAIL): Remove macro.
12964         (NO_INLINE): Likewise.
12965         (fn1): Use match function instead of strstr.
12966         * debug/tst-backtrace3.c: Include tst-backtrace.h.
12967         (ret): Remove variable.
12968         (x): Likewise.
12969         (FAIL): Remove macro.
12970         (NO_INLINE): Likewise.
12971         (fn): Use match function instead of strstr.
12972         * debug/tst-backtrace4.c: Include tst-backtrace.h.
12973         (ret): Remove variable.
12974         (x): Likewise.
12975         (FAIL): Remove macro.
12976         (NO_INLINE): Likewise.
12977         (handle_signal): Use match function instead of strstr.
12978         * debug/tst-backtrace5.c: Include tst-backtrace.h.
12979         (ret): Remove variable.
12980         (x): Likewise.
12981         (FAIL): Remove macro.
12982         (NO_INLINE): Likewise.
12983         (handle_signal): Use match function instead of strstr.
12985 2013-01-23  Roland McGrath  <roland@hack.frob.com>
12987         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12989 2013-01-23  David S. Miller  <davem@davemloft.net>
12991         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12992         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12993         argument of CAS if possible.
12994         * sysdeps/sparc/sparc64/bits/atomic.h
12995         (__arch_compare_and_exchange_val_32_acq): Likewise.
12996         (__arch_compare_and_exchange_val_64_acq): Likewise.
12998 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13000         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13001         * sysdeps/posix/ulimit.c: ... this.
13002         Include <limits.h>.
13003         * sysdeps/unix/bsd/ulimit.c: Remove file.
13005 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13007         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13008         (LDFLAGS-tst-array5): Likewise.
13010 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13012         [BZ #15036]
13013         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13014         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13015         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13016         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13018 2013-01-21  David S. Miller  <davem@davemloft.net>
13020         * sysdeps/sparc/backtrace.c: New file.
13021         * sysdeps/sparc/sparc32/backtrace.h: New file.
13022         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13023         * sysdeps/sparc/sparc64/backtrace.h: New file.
13024         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13025         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13026         -funwind-tables.
13028 2013-01-21  Andreas Schwab  <schwab@suse.de>
13030         [BZ #15020]
13031         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13032         closed its stdout.
13034 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13036         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13037         "mpa2.h".
13038         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13040 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13041             Mark Mitchell  <mark@codesourcery.com>
13042             Tom de Vries  <tom@codesourcery.com>
13043             Paul Pluzhnikov  <ppluzhnikov@google.com>
13045         * debug/tst-backtrace2.c: New file.
13046         * debug/tst-backtrace3.c: Likewise.
13047         * debug/tst-backtrace4.c: Likewise.
13048         * debug/tst-backtrace5.c: Likewise.
13049         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13050         (CFLAGS-tst-backtrace3.c): Likewise.
13051         (CFLAGS-tst-backtrace4.c): Likewise.
13052         (CFLAGS-tst-backtrace5.c): Likewise.
13053         (LDFLAGS-tst-backtrace2): Likewise.
13054         (LDFLAGS-tst-backtrace3): Likewise.
13055         (LDFLAGS-tst-backtrace4): Likewise.
13056         (LDFLAGS-tst-backtrace5): Likewise.
13057         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13058         tst-backtrace4 and tst-backtrace5.
13060 2013-01-18  Anton Blanchard  <anton@samba.org>
13061             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13063         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13064         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13065         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13066         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13068         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13069         "+r" and remove output regs list as redundant.  Add explicit inline
13070         asm to specify register of return val to work around compiler codegen
13071         bug.  Remove (int) cast on return value.  Add return type parameter to
13072         use in macro so that this macro does not truncate return value for
13073         64-bit values.
13074         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13075         pass to INTERNAL_VSYSCALL_NCS.
13076         (INLINE_VSYSCALL): Add 'long int' as return type to
13077         INTERNAL_VSYSCALL_NCS macro invocation.
13078         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13079         INTERNAL_VSYSCALL_NCS macro invocation.
13080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13082 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13084         [BZ #14496]
13085         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13086         Fix application of SIMD FP exception mask.
13088         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13089         mp_no from a power of two.
13090         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13091         __mpexp_twomm1.  Use __pow_mp.
13093         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13094         multiplication.
13096 2013-01-17  David S. Miller  <davem@davemloft.net>
13098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13100 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13102         [BZ #15023]
13103         * include/complex.h: Condition contents on [!_COMPLEX_H].
13104         (__kernel_casinhf): New prototype.
13105         (__kernel_casinh): Likewise.
13106         (__kernel_casinhl): Likewise.
13107         * math/Makefile (libm_calls): Add k_casinh.
13108         * math/k_casinh.c: New file.
13109         * math/k_casinhf.c: Likewise.
13110         * math/k_casinhl.c: Likewise.
13111         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13112         finite nonzero arguments.
13113         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13114         finite nonzero arguments.
13115         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13116         finite nonzero arguments.
13117         * math/s_casinh.c: Do not include <float.h>.
13118         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13119         * math/s_casinhf.c: Do not include <float.h>.
13120         (__casinhf): Move code for finite nonzero arguments to
13121         k_casinhf.c.
13122         * math/s_casinhl.c: Do not include <float.h>.
13123         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13124         redefine.
13125         (__casinhl): Move code for finite nonzero arguments to
13126         k_casinhl.c.
13127         * math/libm-test.inc (cacos_test): Add more tests.
13128         * sysdeps/i386/fpu/libm-test-ulps: Update.
13129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13131 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13133         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13134         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13135         [!HAVE_MREMAP]: Remove [defined linux] case.
13136         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13138 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13140         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13142 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13144         * elf/elf.h (R_386_SIZE32): New relocation.
13145         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13146         R_386_SIZE32.
13147         (elf_machine_rela): Likewise.
13148         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13149         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13151 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13153         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13154         (FP_FAST_FMA): Do not define.
13155         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13156         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13157         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13158         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13159         !_SOFT_FLOAT]: Likewise.
13160         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13161         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13162         value.
13163         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13164         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13165         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13166         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13167         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13168         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13169         file.
13171 2013-01-16  Andreas Schwab  <schwab@suse.de>
13173         [BZ #14327]
13174         * include/stdlib.h (__mktemp): Add declaration.
13175         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13176         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13178 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13180         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13181         definitions.
13182         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13183         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13184         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13185         definitions here.
13186         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13187         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13188         definitions.
13189         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13190         and ONE.
13191         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13192         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13193         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13194         definitions.
13195         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13196         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13197         definitions.
13198         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13200         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13202 2013-01-15  David S. Miller  <davem@davemloft.net>
13204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13205         trunc{,f} to libm-sysdep_routes.
13206         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13208         file.
13209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13211         file.
13212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13213         file.
13214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13216         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13217         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13218         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13219         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13220         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13221         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13224         nearbyint{,f} to libm-sysdep_routes.
13225         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13227         New file.
13228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13229         file.
13230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13231         New file.
13232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13233         file.
13234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13236         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13237         file.
13238         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13239         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13240         file.
13241         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13242         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13243         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13245         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13246         libc_feholdexcept and libc_fesetenv.
13248 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13250         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13252 2013-01-14  David S. Miller  <davem@davemloft.net>
13254         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13255         (SPARC_ASM_VIS2_IFUNC): Likewise.
13256         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13258         use of 'siam' instruction.
13259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13260         Likewise.
13261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13262         Likewise.
13263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13264         Likewise.
13265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13267         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13270         file.
13271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13272         file.
13273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13274         file.
13275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13276         file.
13277         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13278         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13282         new VIS2 routines.
13283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13286         Likewise.
13287         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13288         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13289         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13290         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13292         routines to libm-sysdep_routines.
13293         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13296         fdim/fdimf to libm-sysdep_routines.
13297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13298         file.
13299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13301         file.
13302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13305         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13306         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13307         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13308         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13310 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13312         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13313         to optimize copies.
13315         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13320         local variable MPTWO.
13321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13322         Likewise.
13324 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13326         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13327         GLOB_NOESCAPE.
13329 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13331         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13333 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13335         * manual/pattern.texi (glob_t): Document gl_flags.
13336         (glob64_t): Likewise.
13338 2013-01-11  David S. Miller  <davem@davemloft.net>
13340         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13341         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13342         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13343         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13344         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13345         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13346         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13347         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13348         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13349         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13350         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13351         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13352         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13354         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13355         sparc V9 rather than using V8 code.
13356         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13357         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13359         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13360         Move to...
13361         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13362         Here.
13364 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13366         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13367         not in the main loop.
13368         * configure: Regenerated.
13370 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13372         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13373         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13374         to just #else.
13375         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13376         [!__GLIBC_HAVE_LONG_LONG] case.
13377         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13378         condition to just #else.
13379         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13380         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13381         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13382         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13383         unconditional.
13384         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13385         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13386         #elif condition to just #else.
13387         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13388         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13389         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13390         #elif condition to just #else.
13392 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13394         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13395         (EF_MIPS_ARCH_64): Fix value.
13396         (EF_MIPS_ARCH_32R2): New.
13397         (EF_MIPS_ARCH_64R2): New.
13399 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13401         * Makeconfig (+link-pie-before-libc): New.
13402         (+link-pie-after-libc): Likewise.
13403         (+link-pie-tests): Likewise.
13404         (+link-pie): Rewritten.
13405         (link-before-libc): Remove $(config-LDFLAGS).
13406         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13407         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13408         (config-LDFLAGS): Renamed to ...
13409         (rtld-LDFLAGS): This.
13410         (rtld-tests-LDFLAGS): New macro.
13411         (link-libc-rpath-link): Likewise.
13412         (link-libc-tests-rpath-link): Likewise.
13413         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13414         (link-libc): Prepand $(link-libc-rpath-link).
13415         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13416         (test-program-prefix): New macro.
13417         (test-via-rtld-prefix): Likewise.
13418         (test-program-cmd): Likewise.
13419         (host-test-program-cmd): Likewise.
13420         * Makefile ($(common-objpfx)testrun.sh): Replace
13421         $(run-program-prefix) with $(test-program-prefix).
13422         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13423         $(rtld-LDFLAGS).
13424         ($(common-objpfx)shlib.lds): Likewise.
13425         (build-module-helper): Likewise.
13426         ($(common-objpfx)format.lds): Likewise.
13427         * Rules (binaries-pie-tests): New.
13428         (binaries-pie-notests): Likewise.
13429         (binaries-pie): Rewritten.
13430         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13431         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13432         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13433         (make-test-out): Replace $(host-built-program-cmd) with
13434         $(host-test-program-cmd).
13435         * config.make.in (build-hardcoded-path-in-tests): New variable.
13436         * configure.in (--enable-hardcoded-path-in-tests): New configure
13437         option.
13438         (hardcoded_path_in_tests): New AC_SUBST.
13439         * configure: Regenerated.
13440         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13441         $(built-program-cmd) with $(test-program-cmd).
13442         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13443         (test_program_cmd): This.
13444         * elf/Makefile ($(objpfx)order.out): Run test with
13445         $(test-program-prefix).
13446         ($(objpfx)order2.out): Likewise.
13447         ($(objpfx)tst-initorder.out): Likewise.
13448         ($(objpfx)tst-initorder2.out): Likewise.
13449         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13450         $(test-program-cmd).
13451         ($(objpfx)tst-array1-static.out): Likewise.
13452         ($(objpfx)tst-array2.out): Likewise.
13453         ($(objpfx)tst-array3.out): Likewise.
13454         ($(objpfx)tst-array4.out): Likewise.
13455         ($(objpfx)tst-array5.out): Likewise.
13456         ($(objpfx)tst-array5-static.out): Likewise.
13457         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13458         $(test-program-cmd).
13459         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13460         $(run-program-prefix) with $(test-program-prefix).
13461         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13462         (test_program_prefix): This.
13463         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13464         $(run-program-prefix) with $(test-program-prefix).
13465         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13466         (test_program_prefix): This.
13467         * iconvdata/tst-tables.sh: Likewise.
13468         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13469         $(run-program-prefix) with $(test-program-prefix).
13470         ($(objpfx)tst-translit.out): Likewise.
13471         ($(objpfx)tst-gettext2.out): Likewise.
13472         ($(objpfx)tst-gettext4.out): Likewise.
13473         ($(objpfx)tst-gettext6.out): Likewise.
13474         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13475         (test_program_prefix): This.
13476         * intl/tst-gettext2.sh: Likewise.
13477         * intl/tst-gettext4.sh  Likewise.
13478         * intl/tst-gettext6.sh: Likewise.
13479         * intl/tst-translit.sh: Likewise.
13480         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13481         with $(test-program-cmd).
13482         * libio/Makefile ($(objpfx)test-freopen.out): Replace
13483         $(run-program-prefix) with $(test-program-prefix).
13484         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13485         (test_program_prefix): This.
13486         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13487         $(run-program-prefix) with $(test-program-prefix).
13488         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13489         (test_program_prefix): This.
13490         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13491         * posix/Makefile ($(objpfx)globtest.out): Replace
13492         $(run-via-rtld-prefix) and $(test-wrapper) with
13493         $(test-program-prefix) and $(test-via-rtld-prefix).
13494         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13495         $(test-program-prefix).
13496         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13497         $(host-test-program-cmd).
13498         (tst-spawn-ARGS): Likewise.
13499         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13500         $(test-program-prefix).
13501         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13502         (test_via_rtld_prefix): This.
13503         (test_wrapper): Renamed to ...
13504         (test_program_prefix): This.
13505         (run_program_prefix): Replaced by test_program_prefix.
13506         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13507         (test_program_prefix): This.
13508         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13509         with $(host-test-program-cmd).
13510         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13511         $(run-program-prefix) with $(test-program-prefix).
13512         ($(objpfx)tst-printf.out): Likewise.
13513         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13514         $(test-program-cmd).
13515         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13516         (test_program_prefix): This.
13517         * stdio-common/tst-unbputc.sh: Likewise.
13518         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13519         $(run-program-prefix) with $(test-program-prefix).
13520         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13521         (test_program_prefix): This.
13522         * string/Makefile ($(objpfx)tst-svc.out):  Replace
13523         $(built-program-cmd) with $(test-program-cmd).
13525 2013-01-11  Andreas Jaeger  <aj@suse.de>
13527         [BZ #15003]
13528         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13529         value. Sync with Linux 3.7.
13531 2013-01-10  David S. Miller  <davem@davemloft.net>
13533         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13534         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13535         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13537 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13539         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13540         never set.
13541         * configure: Regenerated.
13543 2013-01-10  David S. Miller  <davem@davemloft.net>
13545         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13546         sparc V9 rather than using V8 code.
13547         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13548         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13550 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13552         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13553         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13554         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13555         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13556         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13557         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13558         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13559         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13560         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13561         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13562         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13563         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13564         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13565         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13566         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13567         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13568         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13569         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13570         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13571         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13572         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13573         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13574         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13575         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13576         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13577         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13578         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13580 2013-01-10  David S. Miller  <davem@davemloft.net>
13582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13584 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13586         * posix/Makefile (tests-static): New variable.
13587         (tests): Add $(tests-static).
13588         (tst-exec-static-ARGS): New variable.
13589         (tst-spawn-static-ARGS): Likewise.
13590         * posix/tst-exec-static.c: New file.
13591         * posix/tst-spawn-static.c: Likewise.
13592         * posix/tst-exec.c: Support run directly.
13593         * posix/tst-spawn.c: Likewise.
13595 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
13597         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13598         long.
13599         * math/bits/mathcalls.h (llrint): Likewise.
13600         (llround): Likewise.
13601         * stdlib/stdlib.h (struct drand48_data): Likewise.
13602         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13603         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13604         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13605         Likewise.
13606         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13607         Likewise.
13608         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13609         (elf_greg_t): Likewise.
13610         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13611         (__jmp_buf): Likewise.
13612         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13613         definitions.
13614         (llrint): Likewise, for all definitions.
13615         (llrintl): Likewise.
13617         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13618         Remove [__GNUC__] condition.
13619         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13620         condition to just [__USE_ISOC99].
13621         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13623 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13625         [BZ #14200]
13626         * sysdeps/unix/sysv/linux/x86/bits/environments.h
13627         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13628         defined.
13629         (_POSIX_V6_ILP32_OFF32): Likewise.
13630         (_XBS5_ILP32_OFF32): Likewise.
13631         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13632         (__ILP32_OFFBIG_LDFLAGS): Likewise.
13634 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13636         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13638         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13639         doubles __mpexp_twomm1.  Adjust usage.
13640         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13641         Remove.
13643 2013-01-10  Andreas Schwab  <schwab@suse.de>
13645         [BZ #14964]
13646         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13647         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13649 2013-01-09  David S. Miller  <davem@davemloft.net>
13651         [BZ #15003]
13652         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13653         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13654         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13655         TCP_FASTOPEN): Define.
13656         (tcp_repair_opt): New structure.
13657         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13658         enum values.
13659         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13660         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13661         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13662         (tcp_cookie_transactions): New structure.
13664 2013-01-09  Anton Blanchard  <anton@samba.org>
13666         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13667         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13668         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13669         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13671 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
13673         * include/features.h (__USE_ANSI): Remove.
13675 2013-01-09  Roland McGrath  <roland@hack.frob.com>
13677         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13679         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13681 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13683         * sysdeps/s390/fpu/libm-test-ulps: Update.
13685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13687         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13688         (__acr): Likewise.
13689         (__cpy): Likewise.
13690         (norm): Likewise.
13691         (denorm): Likewise.
13692         (__mp_dbl): Likewise.
13693         (__dbl_mp): Likewise.
13694         (add_magnitudes): Likewise.
13695         (sub_magnitudes): Likewise.
13696         (__add): Likewise.
13697         (__sub): Likewise.
13698         (__mul): Likewise.
13699         (__inv): Likewise.
13700         (__dvd): Likewise.
13701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13702         (__acr): Likewise.
13703         (__cpy): Likewise.
13704         (norm): Likewise.
13705         (denorm): Likewise.
13706         (__mp_dbl): Likewise.
13707         (__dbl_mp): Likewise.
13708         (add_magnitudes): Likewise.
13709         (sub_magnitudes): Likewise.
13710         (__add): Likewise.
13711         (__sub): Likewise.
13712         (__mul): Likewise.
13713         (__inv): Likewise.
13714         (__dvd): Likewise.
13715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13716         (__acr): Likewise.
13717         (__cpy): Likewise.
13718         (norm): Likewise.
13719         (denorm): Likewise.
13720         (__mp_dbl): Likewise.
13721         (__dbl_mp): Likewise.
13722         (add_magnitudes): Likewise.
13723         (sub_magnitudes): Likewise.
13724         (__add): Likewise.
13725         (__sub): Likewise.
13726         (__mul): Likewise.
13727         (__inv): Likewise.
13728         (__dvd): Likewise.
13730 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13732         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13733         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13734         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13735         2 && __USE_EXTERN_INLINES]: Likewise.
13737 2013-01-08  Andreas Jaeger  <aj@suse.de>
13739         [BZ# 14985]
13740         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13741         Remove.
13742         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13743         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13745 2013-01-07  Anton Blanchard  <anton@samba.org>
13747         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13748         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13749         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13750         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13751         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13752         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13753         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13754         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13755         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13756         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13757         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13758         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13759         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13760         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13761         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13762         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13763         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13764         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13765         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13766         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13767         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13768         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13769         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13770         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13771         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13772         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13773         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13774         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13775         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13776         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13777         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13779         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13780         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13781         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13782         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13783         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13784         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13785         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13786         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13787         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13788         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13789         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13791 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13793         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13794         (__MALLOC_PMT): Likewise.
13795         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13796         [__GNUC__], only on [_LIBC].
13797         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13798         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13799         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13800         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13801         forward declaration.
13802         (realloc_hook_ini): Likewise.
13803         (memalign_hook_ini): Likewise.
13804         (__libc_memalign): Do not use __MALLOC_PMT in variable
13805         declaration.
13806         (__libc_valloc): Likewise.
13807         (__libc_pvalloc): Likewise.
13808         (__libc_calloc): Likewise.
13809         (__posix_memalign): Likewise.
13811         [BZ #14996]
13812         * math/s_casinh.c: Include <float.h>.
13813         (__casinh): Do not do computation with squaring and square root
13814         for large arguments.
13815         * math/s_casinhf.c: Include <float.h>.
13816         (__casinhf): Do not do computation with squaring and square root
13817         for large arguments.
13818         * math/s_casinhl.c: Include <float.h>.
13819         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13820         (__casinhl): Do not do computation with squaring and square root
13821         for large arguments.
13822         * math/libm-test.inc (casin_test): Add more tests.
13823         (casinh_test): Likewise.
13824         * sysdeps/i386/fpu/libm-test-ulps: Update.
13825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13827 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13829         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13830         (__x86_64_raw_data_cache_size): Likewise.
13831         (__x86_64_data_cache_size_half): Likewise.
13832         (__x86_64_raw_data_cache_size_half): Likewise.
13833         (__x86_64_shared_cache_size): Likewise.
13834         (__x86_64_raw_shared_cache_size): Likewise.
13835         (__x86_64_shared_cache_size_half): Likewise.
13836         (__x86_64_raw_shared_cache_size_half): Likewise.
13837         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13838         to ...
13839         (__x86_data_cache_size): This.
13840         (__x86_64_raw_data_cache_size): Renamed to ...
13841         (__x86_raw_data_cache_size): This.
13842         (__x86_64_data_cache_size_half): Renamed to ...
13843         (__x86_data_cache_size_half): This.
13844         (__x86_64_raw_data_cache_size_half): Renamed to ...
13845         (__x86_raw_data_cache_size_half): This.
13846         (__x86_64_shared_cache_size): Renamed to ...
13847         (__x86_shared_cache_size): This.
13848         (__x86_64_raw_shared_cache_size): Renamed to ...
13849         (__x86_raw_shared_cache_size): This.
13850         (__x86_64_shared_cache_size_half): Renamed to ...
13851         (__x86_shared_cache_size_half): This.
13852         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13853         (__x86_raw_shared_cache_size_half): This.
13854         * sysdeps/x86_64/memcpy.S: Updated.
13855         * sysdeps/x86_64/memset.S: Likewise.
13856         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13857         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13858         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13860 2013-01-04  David S. Miller  <davem@davemloft.net>
13862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13864 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13866         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13867         1 to avoid redefinition warning.
13868         (__USE_GNU): Don't define.
13869         (init_signaling_nan): Protoize.
13871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13873 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13875         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13877         (__cpymn): Likewise.
13878         (norm): Remove commented code.
13879         (denorm): Likewise.
13880         (__mp_dbl): Likewise.
13881         (__inv): Likewise.
13882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13883         (__cpymn): Likewise.
13884         (norm): Remove commented code.
13885         (denorm): Likewise.
13886         (__mp_dbl): Likewise.
13887         (__inv): Likewise.
13889         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13890         mp_no value for 1.0 and 2.0.
13891         (norm): Use RADIXI instead of radixi.d.
13892         (denorm): Likewise.
13893         (__mul): Use 0.0 instead of zero.d.
13894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13895         mp_no value for 1.0 and 2.0.
13896         (norm): Use RADIXI instead of radixi.d.
13897         (denorm): Likewise.
13898         (__mul): Use 0.0 instead of zero.d.
13900 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
13902         [BZ #14994]
13903         * math/s_casinh.c (__casinh): Reduce finite argument to first
13904         quadrant then set signs of results at the end.
13905         * math/s_casinhf.c (__casinhf): Likewise.
13906         * math/s_casinhl.c (__casinhl): Likewise.
13907         * math/libm-test.inc (casin_test): Add more tests.
13908         (casinh_test): Likewise.
13909         * sysdeps/i386/fpu/libm-test-ulps: Update.
13910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13912 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13914         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13916         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13918         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13919         declarations.
13920         (denorm): Likewise.
13921         (__mp_dbl): Likewise.
13922         (__inv): Likewise.
13924         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13925         and adjust the header comment.
13927         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13928         variable name from declaration.
13930 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
13932         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13933         Initialize COMMON_CPUID_INDEX_7 element.
13934         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13935         (CPUID_RTM): Likewise.
13936         (HAS_RTM): Likewise.
13937         (COMMON_CPUID_INDEX_7): New enum.
13939 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
13941         [BZ #14981]
13942         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13943         size is zero, record memory as freed.
13945 2013-01-03  Andreas Jaeger  <aj@suse.de>
13947         * po/ia.po: Add new Interlingua translation.
13949 2012-01-03  Allan McRae  <allan@archlinux.org>
13951         * locale/programs/localedef.c: Fix description of '--posix' flag.
13953 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
13955         * NEWS: Update dates in second copyright notice.
13956         * README: Update copyright dates in example.
13957         * manual/libc.texinfo: Update copyright dates.
13958         * scripts/test-installation.pl: Update copyright date in --version
13959         output.
13961         * hurd/ctty-input.c: Fix copyright notice formatting.
13962         * hurd/ctty-output.c: Likewise.
13963         * hurd/dtable.c: Likewise.
13964         * hurd/hurd-raise.c: Likewise.
13965         * hurd/hurdprio.c: Likewise.
13966         * hurd/msgportdemux.c: Likewise.
13967         * misc/sys/file.h: Likewise.
13968         * misc/sys/ioctl.h: Likewise.
13969         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13970         * sysdeps/mach/hurd/chdir.c: Likewise.
13971         * sysdeps/mach/hurd/fchdir.c: Likewise.
13972         * sysdeps/mach/hurd/rename.c: Likewise.
13973         * sysdeps/mach/hurd/rmdir.c: Likewise.
13974         * sysdeps/mach/hurd/seekdir.c: Likewise.
13975         * sysdeps/mach/hurd/setsid.c: Likewise.
13976         * sysdeps/posix/wait3.c: Likewise.
13978         * All files with FSF copyright notices: Update copyright dates
13979         using scripts/update-copyrights.
13980         * intl/plural.c: Regenerated.
13981         * locale/programs/charmap-kw.h: Likewise.
13982         * locale/programs/locfile-kw.h: Likewise.
13984 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13986         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13987         four values.
13989         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13990         calculation loop and add branch prediction.
13992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13993         check access beyond bounds of m1np.
13995         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13996         MPTWO.
13997         (__inv): Remove local variable MPTWO to use the global
13998         constant.
13999         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14000         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14001         variable MPTWO.
14002         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14003         MP3HALFS static const.
14005 2013-01-01  David S. Miller  <davem@davemloft.net>
14007         * po/ca.po: Update from translation team.
14009 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14011         * scripts/update-copyrights: New file.
14012         * Makeconfig: Reformat copyright notice.
14013         * ctype/ctype.h: Likewise.
14014         * debug/swprintf_chk.c: Likewise.
14015         * elf/dl-cache.c: Likewise.
14016         * elf/dl-debug.c: Likewise.
14017         * elf/dl-object.c: Likewise.
14018         * grp/initgroups.c: Likewise.
14019         * hurd/Makefile: Likewise.
14020         * hurd/hurd/signal.h: Likewise.
14021         * hurd/hurdfault.c: Likewise.
14022         * hurd/hurdioctl.c: Likewise.
14023         * hurd/hurdlookup.c: Likewise.
14024         * hurd/intr-msg.c: Likewise.
14025         * iconv/gconv_open.c: Likewise.
14026         * libio/swprintf.c: Likewise.
14027         * locale/lc-ctype.c: Likewise.
14028         * locale/nl_langinfo.c: Likewise.
14029         * mach/Machrules: Likewise.
14030         * mach/Makefile: Likewise.
14031         * malloc/obstack.h: Likewise.
14032         * manual/Makefile: Likewise.
14033         * manual/tsort.awk: Likewise.
14034         * misc/bits/stab.def: Likewise.
14035         * nis/nis_print_group_entry.c: Likewise.
14036         * nis/nis_table.c: Likewise.
14037         * nis/nss_compat/compat-pwd.c: Likewise.
14038         * nis/nss_compat/compat-spwd.c: Likewise.
14039         * po/Makefile: Likewise.
14040         * posix/fnmatch.c: Likewise.
14041         * posix/regex.h: Likewise.
14042         * resolv/Makefile: Likewise.
14043         * resolv/nss_dns/dns-network.c: Likewise.
14044         * resolv/res_hconf.c: Likewise.
14045         * scripts/gen-sorted.awk: Likewise.
14046         * soft-fp/soft-fp.h: Likewise.
14047         * stdio-common/printf.h: Likewise.
14048         * stdlib/monetary.h: Likewise.
14049         * stdlib/random.c: Likewise.
14050         * stdlib/random_r.c: Likewise.
14051         * sysdeps/generic/Makefile: Likewise.
14052         * sysdeps/gnu/Makefile: Likewise.
14053         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14054         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14055         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14056         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14057         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14058         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14059         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14060         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14061         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14062         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14063         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14064         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14065         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14066         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14067         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14068         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14069         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14070         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14071         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14072         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14073         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14074         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14075         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14076         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14077         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14078         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14079         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14080         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14081         * sysdeps/mach/hurd/errnos.awk: Likewise.
14082         * sysdeps/mach/hurd/fork.c: Likewise.
14083         * sysdeps/mach/hurd/getcwd.c: Likewise.
14084         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14085         * sysdeps/mach/hurd/mmap.c: Likewise.
14086         * sysdeps/mach/hurd/utimes.c: Likewise.
14087         * sysdeps/mach/hurd/xmknod.c: Likewise.
14088         * sysdeps/posix/profil.c: Likewise.
14089         * sysdeps/posix/readdir_r.c: Likewise.
14090         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14091         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14092         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14093         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14095         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14096         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14097         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14099         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14100         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14101         * sysdeps/pthread/lio_listio.c: Likewise.
14102         * sysdeps/sparc/dl-procinfo.h: Likewise.
14103         * sysdeps/unix/i386/sysdep.S: Likewise.
14104         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14105         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14106         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14107         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14109         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14110         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14111         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14112         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14113         * sysdeps/wordsize-32/divdi3.c: Likewise.
14114         * time/sys/time.h: Likewise.
14115         * wcsmbs/Makefile: Likewise.
14117 2013-01-01  David S. Miller  <davem@davemloft.net>
14119         * po/fr.po: Update from translation team.
14121         * catgets/gencat.c: Update copyright year.
14122         * csu/version.c: Likewise.
14123         * debug/catchsegv.sh: Likewise.
14124         * debug/pcprofiledump.c: Likewise.
14125         * debug/xtrace.sh: Likewise.
14126         * elf/ldconfig.c: Likewise.
14127         * elf/ldd.bash.in: Likewise.
14128         * elf/pldd.c: Likewise.
14129         * elf/sotruss.ksh: Likewise.
14130         * elf/sprof.c: Likewise.
14131         * iconv/iconv_prog.c: Likewise.
14132         * iconv/iconvconfig.c: Likewise.
14133         * locale/programs/locale.c: Likewise.
14134         * locale/programs/localedef.c: Likewise.
14135         * login/programs/pt_chown.c: Likewise.
14136         * malloc/memusage.sh: Likewise.
14137         * malloc/memusagestat.c: Likewise.
14138         * malloc/mtrace.pl: Likewise.
14139         * nscd/nscd.c: Likewise.
14140         * nss/getent.c: Likewise.
14141         * nss/makedb.c: Likewise.
14142         * posix/getconf.c: Likewise.
14144 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14146         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14147         numbers.
14149 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14151         * math/bits/mathcalls.h (modf): Use __nonnull.
14153 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14155         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14156         (split): Use macro CN instead of the bare value.
14157         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14158         could be used.
14159         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14160         instead of the bare value.
14161         (power1): Likewise.
14163 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14165         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14166         __ATAN_TWOM.
14167         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14169         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14170         their values.
14171         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14172         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14173         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14174         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14176 2012-12-28  Andreas Jaeger  <aj@suse.de>
14178         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14179         values are from Linux 3.7.
14181         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14182         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14184 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14186         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14187         TRUE case.
14189         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14190         (norm): Likewise.
14191         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14192         variables with preprocessor constants.
14193         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14194         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14195         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14197 2012-12-27  Bruno Haible  <bruno@clisp.org>
14199         [BZ #14317]
14200         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14201         only if needed.
14203 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14205         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14206         and use variable directly.
14207         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14209         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14210         MPONE.
14211         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14212         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14213         variable MPONE.
14214         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14215         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14216         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14217         include directive.  Remove local variable MPONE.
14218         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14219         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14220         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14222 2012-12-25  David S. Miller  <davem@davemloft.net>
14224         * version.h (RELEASE): Set to "development".
14225         (VERSION): Set to "2.17.90".
14226         * NEWS: Add 2.18 section.
14228 2012-12-21  David S. Miller  <davem@davemloft.net>
14230         * po/hr.po: Update from translation team.
14232 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14234         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14236 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14238         * NEWS:  Mention new memcpy for MIPS.
14240 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14242         * manual/contrib.texi (Contributors): Spelling correction.
14244 2012-12-15  David S. Miller  <davem@davemloft.net>
14246         * po/ru.po: Update from translation team.
14248 2012-12-13  David S. Miller  <davem@davemloft.net>
14250         * NEWS: Mention IFUNC testsuite enhancements.
14252         * po/pl.po: Update from translation team.
14253         * po/bg.po: Likewise.
14255         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14256         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14258 2012-12-11  David S. Miller  <davem@davemloft.net>
14260         * po/sv.po: Update from translation team.
14262         * po/vi.po: Update from translation team.
14264         * po/cs.po: Update from translation team.
14266         * po/de.po: Update from translation team.
14267         * po/eo.po: Likewise.
14268         * po/nl.po: Likewise.
14270 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14272         [BZ #14246]
14273         * manual/argp.texi (Argp Helper Functions): Move node to follow
14274         Argp Parsing State.
14276         [BZ #14872]
14277         * manual/conf.texi (Limits on File System Capacity): Mention if
14278         terminating null is included in the max size.
14280 2012-12-10  Andreas Jaeger  <aj@suse.de>
14282         * po/cs.po: Update from translation team.
14284 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14286         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14287         void pointer and cast to uintptr_t.
14288         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14289         path.
14290         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14291         * sysdeps/s390/s390-64/memset.S: Likewise.
14293 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14295         [BZ #14833]
14296         * menual/message.texi (Message Translation): Fix typos.
14297         (Helper programs for gettext): Likewise.
14299 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14301         [BZ #14898]
14302         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14303         Change to -1.
14305 2012-12-07  David S. Miller  <davem@davemloft.net>
14307         * po/libc.pot: Update.
14309 2012-12-07  Richard Henderson  <rth@redhat.com>
14311         [BZ #10114]
14312         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14313         normal/normal case to before the switch.
14314         (_FP_DIV): Likewise.
14316 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14317             Mike Frysinger  <vapier@gentoo.org>
14319         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14320         check for __NR_fadvise64_64.
14322 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14324         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14325         0, not just to plain "0" as a statement.
14326         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14327         with cw.
14329 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14331         * NEWS: Use sourceware.org in Bugzilla URL.
14333 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14336         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14338         * stdio-common/tst-put-error.c (do_test): Add newline to the
14339         padded test to ensure flush.
14341 2012-12-05  Jeff Law  <law@redhat.com>
14343         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14345 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14347         * README: Don't refer to ports add-on as distributed separately.
14348         Mention AArch64 in list of systems supported in the ports add-on.
14350         * LICENSES: Add more non-FSF copyright and license notices.
14352         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14353         ((unused)).
14355         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14357         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14358         10000 as width of padded output.
14360 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14362         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14364         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14365         variable LX with __attribute__ ((unused)).
14366         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14367         Likewise.
14368         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14369         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14370         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14371         with __attribute__ ((unused)).
14373 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14375         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14377 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14379         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14380         (CFLAGS-nldbl-acos.c): New variable.
14381         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14382         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14383         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14384         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14385         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14386         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14387         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14388         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14389         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14390         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14391         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14392         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14393         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14394         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14395         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14396         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14397         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14398         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14399         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14400         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14401         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14402         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14403         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14404         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14405         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14406         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14407         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14408         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14409         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14410         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14411         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14412         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14413         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14414         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14415         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14416         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14417         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14418         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14419         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14420         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14421         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14422         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14423         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14424         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14425         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14426         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14427         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14428         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14429         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14430         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14431         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14432         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14433         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14434         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14435         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14436         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14437         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14438         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14439         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14440         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14441         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14442         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14443         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14444         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14445         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14446         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14447         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14448         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14449         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14450         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14451         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14452         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14453         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14454         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14455         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14456         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14457         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14458         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14459         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14460         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14461         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14462         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14463         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14464         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14465         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14466         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14467         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14468         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14469         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14470         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14471         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14472         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14473         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14474         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14475         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14476         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14477         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14480         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14482         [BZ #14914]
14483         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14484         whole low double instead of just low 47 bits when splitting values
14485         into two parts.
14487 2012-12-03  Allan McRae  <allan@archlinux.org>
14489         * manual/stdio.texi (Predefined Printf Handlers): Remove
14490         @hsep and @vsep usage.
14492 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
14494         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14495         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14497 2012-12-03  Jeff Law  <law@redhat.com>
14499         * time/sys/time.h (settimeofday): Do not mark TV argument
14500         as __nonnull.
14502 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
14504         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14505         when currently writing and seek to current position when not.
14506         * libio/Makefile (tests): Remove bug-fclose1.
14507         * libio/bug-fclose1.c: Delete.
14509 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
14511         * manual/arith.texi (feenableexcept): Fix typo.
14512         (fedisableexcept): Likewise.
14514 2012-11-30  Roland McGrath  <roland@hack.frob.com>
14516         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14517         second, differently-typed declaration, rather than a cast.
14519 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14521         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14522         * include/rpc/svc.h: ... here.
14524 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
14526         [BZ #13013]
14527         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14528         depending n and resplen2 to catch cases where answer
14529         equals answerp2.
14531 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
14533         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14534         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14536 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
14538         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14540 2012-11-29  Roland McGrath  <roland@hack.frob.com>
14542         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14544 2012-11-28  Jeff Law  <law@redhat.com>
14546         [BZ #13761]
14547         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14548         dataset_temporary.  Track alloca usage into alloca_used.
14549         If dataset is large allocate and release it via malloc/free.
14551 2012-06-04  Florian Weimer  <fweimer@redhat.com>
14553         [BZ #14197]
14554         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14556 2012-11-28  David S. Miller  <davem@davemloft.net>
14558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14560 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14562         [BZ #14803]
14563         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14564         of pi/2 rounded to nearest to 64 bits.
14565         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14566         nearest to 64 bits.
14567         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14568         bits.
14570 2012-11-28  Jeff Law <law@redhat.com>
14571             Martin Osvald <mosvald@redhat.com>
14573         [BZ #14889]
14574         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14575         * sunrpc/svc.c: Include time.h.
14576         (__svc_accept_failed): New function.
14577         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14578         any reason other than EINTR, call __svc_accept_failed.
14579         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14580         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14582 2012-11-28  Andreas Schwab  <schwab@suse.de>
14584         * scripts/abilist.awk: Also handle indirect functions in .opd
14585         section.
14587 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14589         [BZ #13881]
14590         * sysdeps/x86/fpu/powl_helper.c: New file.
14591         * sysdeps/x86/fpu/Makefile: Likewise.
14592         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14593         (p3): New object.
14594         (__ieee754_powl): Use __powl_helper for finite arguments except
14595         integer exponents below 8.
14596         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14597         (p3): New object.
14598         (__ieee754_powl): Use __powl_helper for finite arguments except
14599         integer exponents below 8.
14600         * math/libm-test.inc (pow_test): Add more tests and enable some
14601         previously disabled tests.
14602         * sysdeps/i386/fpu/libm-test-ulps: Update.
14603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14605 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14606             Carlos O'Donell  <carlos_odonell@mentor.com>
14608         * nss/makedb.c (is_prime): Assert that input is odd and greater
14609         than 4.  Note that fact in a comment too.
14610         (next_prime): Add 4 to input.
14612 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14614         [BZ #11741]
14615         * libio/Makefile (tests): Add test case tst-fwrite-error.
14616         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14617         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14618         * libio/tst-fwrite-error.c: New test case.
14620 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
14622         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14623         before casting to void *.
14624         * include/libc-internal.h (__pointer_type): New macro.
14625         (__integer_if_pointer_type_sub): Likewise.
14626         (__integer_if_pointer_type): Likewise.
14627         (cast_to_integer): Likewise.
14628         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14629         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14630         before casting to atomic64_t.
14631         (atomic_exchange_acq): Likewise.
14632         (__arch_exchange_and_add_body): Likewise.
14633         (__arch_add_body): Likewise.
14634         (atomic_add_negative): Likewise.
14635         (atomic_add_zero): Likewise.
14637 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
14639         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14640         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14641         (add_fdes): Likewise.
14642         (linear_search_fdes): Likewise.
14643         (binary_search_unencoded_fdes): Likewise.
14645 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
14647         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14649 2012-11-24  Adam Conrad  <adconrad@0c3.net>
14651         * configure.in: Autodetect C++ header directories.
14652         * configure: Regenerated.
14654 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
14656         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14658 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
14660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14662 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
14664         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14665         LDBL_MANT_DIG == 106]: Disable some tests.
14666         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14667         Likewise.
14668         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14669         Likewise.
14671         [BZ #14871]
14672         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14673         input for small inputs.  Return +/- pi/2 for large inputs.
14674         * math/libm-test.inc (atan_test): Add more tests.
14676         * sysdeps/generic/unwind-dw2-fde-glibc.c
14677         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14678         __attribute__ ((unused)).
14680         [BZ #14645]
14681         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14682         x * y if x and y are nonzero and z is zero.
14684         [BZ #14811]
14685         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14686         nonzero exponents with absolute value below 0x1p-117 to +/-
14687         0x1p-117.
14689         [BZ #14869]
14690         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14691         up arguments below 2**-450, not just those below 2**-500.
14692         * math/libm-test.inc (hypot_test): Add another test.
14694         [BZ #14868]
14695         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14696         Return a+b for ratio over 2**120, not 2**60.
14697         * math/libm-test.inc (hypot_test): Add another test.
14699         * math/libm-test.inc (clog_test): Use
14700         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14701         (clog10_test): Likewise.
14703         [BZ #6778]
14704         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14706 2012-11-22  Andreas Schwab  <schwab@suse.de>
14708         * sysdeps/i386/fpu/libm-test-ulps: Update.
14710 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14712         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14713         printf output with newline.
14715 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14717         [BZ #14865]
14718         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14719         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14720         -z nodlopen, -z initfirst and -z execstack support.
14721         * configure: Regenerated.
14723         * elf/elf.h (DF_1_NODIRECT): New macro.
14724         (DF_1_IGNMULDEF): Likewise.
14725         (DF_1_NOKSYMS): Likewise.
14726         (DF_1_NOHDR): Likewise.
14727         (DF_1_EDITED): Likewise.
14728         (DF_1_NORELOC): Likewise.
14729         (DF_1_SYMINTPOSE): Likewise.
14730         (DF_1_GLOBAUDIT): Likewise.
14731         (DF_1_SINGLETON): Likewise.
14732         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14733         DT_1_SUPPORTED_MASK bits.
14734         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14736 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14738         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14740 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14742         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14743         macro.
14745         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14746         (sendmmsg): Move declarations...
14747         * socket/sys/socket.h: ... here.
14748         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14749         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14750         include it from...
14751         * socket/recvmmsg.c: ... this new file.
14752         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14753         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14754         definition of __sendmmsg hidden.
14755         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14756         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14757         Move ENOSYS stub into and include it from...
14758         * socket/sendmmsg.c: ... this new file.
14759         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14760         (sysdep_routines): Move recvmmsg and sendmmsg...
14761         * socket/Makefile (routines): ... here.
14762         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14763         (GLIBC_PRIVATE): Add __sendmmsg.
14764         * include/sys/socket.h (__sendmmsg): Add declarations.
14765         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14766         sendmmsg.
14768 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14770         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14771         variable I1 with __attribute__ ((unused)).
14772         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14774 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14776         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14777         DUMMY variables with __attribute__ ((unused)).
14779         * bits/byteswap.h: Include <bits/types.h>.
14780         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14782 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14784         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14785         string_t.  Do not manually set errno.
14786         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14787         length with __strnlen.  Make sure to both set errno and return it on
14788         failure.
14790 2012-11-19  David S. Miller  <davem@davemloft.net>
14792         With help from Joseph Myers.
14793         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14794         very large arguments properly.
14795         * math/libm-test.inc (atan_test): New tests.
14796         (atan2_test): New tests.
14797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14798         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14800 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14802         [BZ #14856]
14803         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14804         Define to 3.
14806         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14807         [POSIX] (EADDRNOTAVAIL): Likewise.
14808         [POSIX] (EAFNOSUPPORT): Likewise.
14809         [POSIX] (EALREADY): Likewise.
14810         [POSIX] (ECONNABORTED): Likewise.
14811         [POSIX] (ECONNREFUSED): Likewise.
14812         [POSIX] (ECONNRESET): Likewise.
14813         [POSIX] (EDESTADDRREQ): Likewise.
14814         [POSIX] (EDQUOT): Likewise.
14815         [POSIX] (EHOSTUNREACH): Likewise.
14816         [POSIX] (EIDRM): Likewise.
14817         [POSIX] (EISCONN): Likewise.
14818         [POSIX] (ELOOP): Likewise.
14819         [POSIX] (EMULTIHOP): Likewise.
14820         [POSIX] (ENETDOWN): Likewise.
14821         [POSIX] (ENETUNREACH): Likewise.
14822         [POSIX] (ENOBUFS): Likewise.
14823         [POSIX] (ENODATA): Likewise.
14824         [POSIX] (ENOLINK): Likewise.
14825         [POSIX] (ENOMSG): Likewise.
14826         [POSIX] (ENOPROTOOPT): Likewise.
14827         [POSIX] (ENOSR): Likewise.
14828         [POSIX] (ENOSTR): Likewise.
14829         [POSIX] (ENOTCONN): Likewise.
14830         [POSIX] (ENOTSOCK): Likewise.
14831         [POSIX] (EOPNOTSUPP): Likewise.
14832         [POSIX] (EOVERFLOW): Likewise.
14833         [POSIX] (EPROTO): Likewise.
14834         [POSIX] (EPROTONOSUPPORT): Likewise.
14835         [POSIX] (EPROTOTYPE): Likewise.
14836         [POSIX] (ESTALE): Likewise.
14837         [POSIX] (ETIME): Likewise.
14838         [POSIX] (ETXTBSY): Likewise.
14839         [POSIX] (EWOULDBLOCK): Likewise.
14840         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14841         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14842         [POSIX] (SEEK_CUR): Likewise.
14843         [POSIX] (SEEK_END): Likewise.
14844         [POSIX || UNIX98] (mode_t): Do not require.
14845         [POSIX] (off_t): Likewise.
14846         [POSIX] (pid_t): Likewise.
14847         [POSIX] (sys/stat.h): Do not allow header.
14848         [POSIX] (unistd.h): Likewise.
14849         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14850         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14851         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14852         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14853         require.
14854         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14855         sigevent): Specify elements.
14856         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14857         entry.
14858         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14859         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14861         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14862         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14863         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14864         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14865         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14866         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14867         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14868         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14869         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14870         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14871         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14872         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14873         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14874         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14875         Likewise.
14876         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14877         Likewise.
14878         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14879         Likewise.
14880         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14881         Likewise.
14882         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14883         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14884         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14885         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14886         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14887         Specify lower bound on value.
14888         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14889         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14890         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14891         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14892         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14893         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14894         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14895         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14896         value.
14897         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14898         as optional.
14899         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14900         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14901         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14902         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14903         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14904         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14905         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14906         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14907         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14908         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14909         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14910         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14911         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14912         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14913         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14914         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14915         entry.
14916         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14917         optional.
14918         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14919         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14920         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14921         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14922         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14923         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14924         Likewise.
14925         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14926         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14927         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14928         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14929         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
14930         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14931         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14932         as optional.
14933         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14934         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14935         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14936         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14937         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14938         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14939         specify as optional.
14940         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14941         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14942         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14943         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14944         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14945         [XPG3] (NL_LANGMAX): Likewise.
14946         [POSIX || XPG3] (NL_MSGMAX): Likewise.
14947         [POSIX || XPG3] (NL_NMAX): Likewise.
14948         [POSIX || XPG3] (NL_SETMAX): Likewise.
14949         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14950         [XPG3] (NZERO): Likewise.
14951         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14952         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14953         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14954         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14955         (REG_ERANGE): Expect.
14956         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14957         optional-constant.
14958         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14959         Use (void) in prototype.
14960         [POSIX] (*_t): Allow.
14961         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14962         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14963         (WRDE_BADVAL): Expect.
14965         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14966         expect.
14967         [XPG3 || XPG4] (O_RSYNC): Likewise.
14968         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14969         Likewise.
14970         [XPG3 || XPG4] (pthread_sigmask): Likewise.
14971         [XPG3 || XPG4] (sigqueue): Likewise.
14972         [XPG3 || XPG4] (sigtimedwait): Likewise.
14973         [XPG3 || XPG4] (sigwaitinfo): Likewise.
14974         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14975         [XPG3 || XPG4] (vsnprintf): Likewise.
14976         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14977         Likewise.
14978         [XPG3 || XPG4] (blksize_t): Likewise.
14979         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14980         Likewise.
14981         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14982         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14983         [XPG3 || XPG4] (struct itimerspec): Likewise.
14984         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14985         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14986         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14987         [XPG3 || XPG4] (clockid_t): Likewise.
14988         [XPG3 || XPG4] (timer_t): Likewise.
14989         [XPG3 || XPG4] (clock_getres): Likewise.
14990         [XPG3 || XPG4] (clock_gettime): Likewise.
14991         [XPG3 || XPG4] (clock_settime): Likewise.
14992         [XPG3 || XPG4] (nanosleep): Likewise.
14993         [XPG3 || XPG4] (timer_create): Likewise.
14994         [XPG3 || XPG4] (timer_delete): Likewise.
14995         [XPG3 || XPG4] (timer_gettime): Likewise.
14996         [XPG3 || XPG4] (timer_getoverrun): Likewise.
14997         [XPG3 || XPG4] (timer_settime): Likewise.
14998         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14999         [XPG3 || XPG4] (getlogin_r): Likewise.
15000         [XPG3 || XPG4] (pread): Likewise.
15001         [XPG3 || XPG4] (pthread_atfork): Likewise.
15002         [XPG3 || XPG4] (pwrite): Likewise.
15004         [BZ #14835]
15005         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15006         <bits/siginfo.h>.
15008 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15010         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15011         finalizing MALLSTREAM.
15013         * sysdeps/mach/hurd/syncfs.c: New file.
15015 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15017         [BZ #14719]
15018         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15019         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15020         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15021         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15022         (_nss_dns_gethostbyname4_r): Likewise.
15023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15024         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15026 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15028         [BZ #13763]
15029         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15031 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15033         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15034         * elf/cache.c (print_entry): Print ",AArch64" for
15035         FLAG_AARCH64_LIB64
15037         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15038         * elf/cache.c (print_entry): Print ",hard-float" for
15039         FLAG_ARM_LIBHF.
15041 2012-11-18  David S. Miller  <davem@davemloft.net>
15043         With help from Joseph Myers.
15044         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15045         cutoff to 2**-13.
15046         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15047         cutoff to 2**-25.
15048         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15049         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15050         small.
15051         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15052         * math/libm-test.inc (y0_test): New tests.
15053         (y1_test): New tests.
15054         * sysdeps/i386/fpu/libm-test-ulps: Update.
15055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15058 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15060         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15061         64-bit targets.
15062         * configure: Regenerated.
15064 2012-11-17  David S. Miller  <davem@davemloft.net>
15066         [BZ #14811]
15067         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15068         nonzero exponents with absolute value below 0x1p-128 to +/-
15069         0x1p-128.
15071 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15073         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15075         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15077         * posix/getconf-speclist.c: New file.
15078         * posix/posix-envs.def: Likewise.
15079         * posix/confstr.c (START_ENV_GROUP): New macro.
15080         (END_ENV_GROUP): Likewise.
15081         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15082         (KNOWN_PRESENT_ENV_STRING): Likewise.
15083         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15084         (UNKNOWN_ENVIRONMENT): Likewise.
15085         (confstr): Include posix-envs.def instead of handling
15086         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15087         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15088         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15089         (END_ENV_GROUP): Likewise.
15090         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15091         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15092         (UNKNOWN_ENVIRONMENT): Likewise.
15093         (__sysconf): Include posix-envs.def instead of handling associated
15094         cases directly here.
15095         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15096         preprocessing getconf-speclist.c rather than running getconf or
15097         generating empty file.
15099 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15101         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15103 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15105         [BZ #14672]
15106         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15108 2012-11-16  David S. Miller  <davem@davemloft.net>
15110         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15111         smaller than LDBL_EPSILON/2.0L, just return xm1.
15113 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15115         * elf/tst-array1.c (init): Set constructor priority to 1000.
15116         (fini): Set destructor priority to 1000.
15117         * elf/tst-array2dep.c: Likewise.
15119 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15121         [BZ #11741]
15122         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15123         (_IO_new_file_xsputn): Also return EOF if none of the input
15124         data was written when overflow failed.
15125         * libio/iopadn.c (_IO_padn): Likewise.
15126         * libio/iowpadn.c (_IO_wpadn): Likewise.
15127         * stdio-common/tst-put-error.c: Add copyright notice.
15128         (do_test): Add case for printing padded string.
15129         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15130         _IO_padn returned error.
15131         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15132         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15133         return EOF.
15135 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15137         * libio/libioP.h: Add comment note that the references to C++
15138         bits are now obsolete.
15140 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15142         * math/libm-test.inc (check_complex): Use asprintf.
15144 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15146         * debug/pcprofiledump.c (print_version): Update copyright year.
15147         * malloc/memusagestat.c (print_version): Likewise.
15149 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15151         [BZ #14831]
15152         * elf/Makefile (tests): Add tst-audit8.
15153         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15154         ($(objpfx)tst-audit8.out): New target.
15155         (tst-audit8-ENV): New variable.
15156         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15157         audit if l_reloc_result is NULL.
15158         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15159         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15160         * elf/tst-audit8.c: New file.
15162 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15164         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15165         * misc/Makefile (CFLAGS-select.c): Define.
15166         * posix/Makefile (CFLAGS-pause.c): Define.
15168 2012-11-13  David S. Miller  <davem@davemloft.net>
15170         * crypt/Makefile: Move test targets after toplevel Rules
15171         inclusion.  Grab any necessary sysdep routines when linking.
15172         * crypt/md5.c (md5_process_block): Remove define, we will always
15173         name it __md5_process_block.
15174         (md5_finish_ctx): Update md5_process_block call.
15175         (md5_stream): Likewise.
15176         (md5_process_bytes): Likewise.
15177         (md5_process_block): Rename to __md5_process_block and move to ...
15178         * crypt/md5-block.c: ... here.
15179         * crypt/sha256.c (sha256_process_block): Move to ...
15180         * crypt/sha256-block.c: ... here.
15181         * crypt/sha512.c (sha512_process_block): Move to ...
15182         * crypt/sha512-block.c: ... here.
15183         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15184         path.
15185         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15186         * sysdeps/sparc/sparc64/multiarch/Makefile
15187         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15188         crypt subdir.
15189         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15190         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15191         multiarch changes.
15192         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15193         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15194         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15195         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15196         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15197         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15198         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15199         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15200         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15201         file.
15202         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15203         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15204         file.
15205         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15207 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15209         * timezone/tzselect.ksh: Update from tzcode git revision
15210         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15211         * timezone/zdump.c: Likewise.
15212         * timezone/zic.c: Likewise.
15213         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15214         in TZVERSION setting, not $(PKGVERSION).
15215         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15216         REPORT_BUGS_TO settings.
15218         [BZ #14838]
15219         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15220         macro.
15222 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15224         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15225         detection to immediately after _FP_ROUND().
15226         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15227         bits are 0.
15229 2012-11-11  David S. Miller  <davem@davemloft.net>
15231         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15232         inttypes.h
15233         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15234         __close rather than their public counterparts.
15236 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15238         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15239         file.
15240         [UNIX98] (sem_timedwait): Do not expect.
15241         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15242         [XPG4 || UNIX98] (sockatmark): Do not expect.
15243         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15244         (clock_getcpuclockid): Do not expect.
15245         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15246         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15247         Do not expect.
15248         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15249         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15250         [UNIX98] (vwscanf): Likewise.
15251         [UNIX98] (vswscanf): Likewise.
15253 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15255         * timezone/version.h: Remove file.
15256         * timezone/README: Do not refer to version.h.
15257         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15258         $(objpfx)version.h.
15259         ($(objpfx)zdump.o): Likewise.
15260         ($(objpfx)version.h): New target.
15262         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15263         2012i.
15264         * timezone/README: Don't mention modification to tzselect.ksh.
15265         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15266         work on unmodified tzselect.ksh.  Substitute version numbers in
15267         tzselect.ksh.
15269         * Makefile (format-me): Remove.
15270         (INSTALL): Adjust indentation.  Use commands directly instead of
15271         using $(format-me).
15273         * aclocal.m4 (ACX_PKGVERSION): New macro.
15274         (ACX_BUGURL): Likewise.
15275         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15276         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15277         (REPORT_BUGS_TO): Likewise.
15278         * configure: Regenerated.
15279         * config.h.in (PKGVERSION): New macro.
15280         (REPORT_BUGS_TO): Likewise.
15281         * config.make.in (PKGVERSION): New variable.
15282         (PKGVERSION_TEXI): Likewise.
15283         (REPORT_BUGS_TO): Likewise.
15284         (REPORT_BUGS_TEXI): Likewise.
15285         * Makefile (format-me): Use -I$(common-objpfx)manual.
15286         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15287         ($(common-objpfx)manual/%): New target.
15288         (manual/%): Remove target.
15289         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15290         (print_version): Use PKGVERSION.
15291         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15292         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15293         and REPORT_BUGS_TO.
15294         ($(objpfx)xtrace): Likewise.
15295         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15296         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15297         (print_version): Use PKGVERSION.
15298         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15299         (do_version): Use PKGVERSION.
15300         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15301         REPORT_BUGS_TO.
15302         (common-ldd-rewrite): Likewise.
15303         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15304         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15305         (print_version): Use PKGVERSION.
15306         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15307         * elf/pldd.c (argp_program_bug_address): Remove variable.
15308         (more_help): New function.
15309         (argp): Use more_help.
15310         (print_version): Use PKGVERSION.
15311         * elf/sln.c (main): Use PKGVERSION.
15312         (usage): Use REPORT_BUGS_TO.
15313         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15314         (top level): Use PKGVERSION.
15315         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15316         (print_version): Use PKGVERSION.
15317         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15318         (print_version): Use PKGVERSION.
15319         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15320         (print_version): Use PKGVERSION.
15321         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15322         (print_version): Use PKGVERSION.
15323         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15324         (print_version): Use PKGVERSION.
15325         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15326         (print_version): Use PKGVERSION.
15327         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15328         and BUGURL.
15329         ($(objpfx)memusage): Likewise.
15330         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15331         (do_version): Use PKGVERSION.
15332         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15333         (print_version): Use PKGVERSION.
15334         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15335         ($PKGVERSION): New variable.
15336         ($REPORT_BUGS_TO): Likewise.
15337         (usage): Use $REPORT_BUGS_TO.
15338         (top level): Use $PKGVERSION.
15339         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15340         ($(objpfx)pkgvers.texi): New rule.
15341         ($(objpfx)stamp-pkgvers): Likewise.
15342         * manual/install.texi: Include pkgvers.texi.
15343         (--with-pkgversion): Document new configure option.
15344         (--with-bugurl): Likewise.
15345         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15346         than necessarily for this particular distribution.  Use
15347         REPORT_BUGS_TO for where to report bugs.
15348         * INSTALL: Regenerated.
15349         * manual/libc.texinfo: Include pkgvers.texi.
15350         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15351         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15352         (print_version): Use PKGVERSION.
15353         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15354         (print_version): Use PKGVERSION.
15355         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15356         (print_version): Use PKGVERSION.
15357         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15358         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15359         macro.
15360         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15361         (print_version): Use PKGVERSION.
15362         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15363         (print_version): Use PKGVERSION.
15364         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15365         and PKGVERSION.
15367         * timezone/checktab.awk: Update from tzcode 2012i.
15368         * timezone/ialloc.c: Likewise.
15369         * timezone/private.h: Likewise.
15370         * timezone/scheck.c: Likewise.
15371         * timezone/tzfile.h: Likewise.
15372         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15373         (TZVERSION): Hardcode tzcode version number.
15374         * timezone/zdump.c: Update from tzcode 2012i.
15375         * timezone/zic.c: Likewise.
15376         * timezone/version.h: New file.
15377         * timezone/README: Describe version.h.  Update upstream location.
15379         [BZ #14824]
15380         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15381         (mktemp): Enable declaration.
15382         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15383         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15384         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15385         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15386         Likewise.
15387         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15388         Likewise.
15389         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15390         Likewise.
15391         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15392         Likewise.
15393         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15394         Likewise.
15395         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15396         Likewise.
15398         [BZ #14821]
15399         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15400         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15401         for copies of such integer values.
15402         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15403         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15405 2012-11-09  Andreas Jaeger  <aj@suse.de>
15407         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15408         definitions and declarations that are provided by
15409         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15411 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15413         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15414         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15415         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15416         definition.
15418 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15420         * elf/elf.h: Update comment before AArch64 relocations.
15422 2012-11-07  David S. Miller  <davem@davemloft.net>
15424         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15425         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15426         (__start_context): Declare.
15427         (__makecontext_ret): Delete.
15428         (__makecontext): Hook up __start_context instead of
15429         __makecontext_ret.
15430         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15431         (sysdep_routines): Add __start_context when in stdlib.
15433 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15435         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15436         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15437         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15438         hardcoded "nm".
15439         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15440         (READELF): New variable.  Use it instead of hardcoded "readelf".
15442 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15444         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15445         * sysdeps/x86/Makefile: Here.
15446         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15447         * sysdeps/x86/tst-xmmymm.sh: This.
15449 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15451         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15452         expectations.
15453         [UNIX98] (pthread_barrier_t): Do not expect.
15454         [UNIX98] (pthread_barrierattr_t): Likewise.
15455         [UNIX98] (pthread_spinlock_t): Likewise.
15456         [UNIX98] (pthread_barrier_destroy): Likewise.
15457         [UNIX98] (pthread_barrier_init): Likewise.
15458         [UNIX98] (pthread_barrier_wait): Likewise.
15459         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15460         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15461         [UNIX98] (pthread_barrierattr_init): Likewise.
15462         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15463         [UNIX98] (pthread_getcpuclockid): Likewise.
15464         [UNIX98] (pthread_mutex_timedlock): Likewise.
15465         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15466         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15467         [UNIX98] (pthread_sigmask): Likewise.
15468         [UNIX98] (pthread_spin_destroy): Likewise.
15469         [UNIX98] (pthread_spin_init): Likewise.
15470         [UNIX98] (pthread_spin_lock): Likewise.
15471         [UNIX98] (pthread_spin_trylock): Likewise.
15472         [UNIX98] (pthread_spin_unlock): Likewise.
15473         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15474         Do not expect.
15475         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15476         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15477         [XPG3 || XPG4] (pthread_cond_t): Likewise.
15478         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15479         [XPG3 || XPG4] (pthread_key_t): Likewise.
15480         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15481         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15482         [XPG3 || XPG4] (pthread_once_t): Likewise.
15483         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15484         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15485         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15486         [XPG3 || XPG4] (pthread_t): Likewise.
15488         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15489         not expect.
15490         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15492         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15493         Change function return type to int.
15495         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15496         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15497         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15498         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15499         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15500         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15501         [!POSIX] (posix_madvise): Likewise.
15502         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15503         && !UNIX98].
15504         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15505         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15506         (mode_t): Likewise.
15507         (posix_mem_offset): Likewise.
15508         (posix_typed_mem_get_info): Likewise.
15509         (posix_typed_mem_open): Likewise.
15511         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15512         Change condition to [XOPEN2K8].
15514         * conform/conformtest.pl: Preprocess allow-header data with -x c
15515         instead of from stdin.
15516         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15517         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15518         [C99-based standards] (cerfc): Likewise.
15519         [C99-based standards] (cexp2): Likewise.
15520         [C99-based standards] (cexpm1): Likewise.
15521         [C99-based standards] (clog10): Likewise.
15522         [C99-based standards] (clog1p): Likewise.
15523         [C99-based standards] (clog2): Likewise.
15524         [C99-based standards] (clgamma): Likewise.
15525         [C99-based standards] (ctgamma): Likewise.
15526         [C99-based standards] (cerff): Likewise.
15527         [C99-based standards] (cerfcf): Likewise.
15528         [C99-based standards] (cexp2f): Likewise.
15529         [C99-based standards] (cexpm1f): Likewise.
15530         [C99-based standards] (clog10f): Likewise.
15531         [C99-based standards] (clog1pf): Likewise.
15532         [C99-based standards] (clog2f): Likewise.
15533         [C99-based standards] (clgammaf): Likewise.
15534         [C99-based standards] (ctgammaf): Likewise.
15535         [C99-based standards] (cerfl): Likewise.
15536         [C99-based standards] (cerfcl): Likewise.
15537         [C99-based standards] (cexp2l): Likewise.
15538         [C99-based standards] (cexpm1l): Likewise.
15539         [C99-based standards] (clog10l): Likewise.
15540         [C99-based standards] (clog1pl): Likewise.
15541         [C99-based standards] (clog2l): Likewise.
15542         [C99-based standards] (clgammal): Likewise.
15543         [C99-based standards] (ctgammal): Likewise.
15544         * conform/data/inttypes.h-data [C99-based standards]: Include
15545         stdint.h-data.  Remove all expectations for stdint.h contents.
15546         [C99-based standards] (PRI*): Do not allow.
15547         [C99-based standards] (SCN*): Likewise.
15548         [C99-based standards] (*_t): Likewise.
15549         [C99-based-standards] (PRId8): Expect macro.
15550         [C99-based-standards] (PRIi8): Likewise.
15551         [C99-based-standards] (PRIo8): Likewise.
15552         [C99-based-standards] (PRIu8): Likewise.
15553         [C99-based-standards] (PRIx8): Likewise.
15554         [C99-based-standards] (PRIX8): Likewise.
15555         [C99-based-standards] (SCNd8): Likewise.
15556         [C99-based-standards] (SCNi8): Likewise.
15557         [C99-based-standards] (SCNo8): Likewise.
15558         [C99-based-standards] (SCNu8): Likewise.
15559         [C99-based-standards] (SCNx8): Likewise.
15560         [C99-based-standards] (PRIdLEAST8): Likewise.
15561         [C99-based-standards] (PRIiLEAST8): Likewise.
15562         [C99-based-standards] (PRIoLEAST8): Likewise.
15563         [C99-based-standards] (PRIuLEAST8): Likewise.
15564         [C99-based-standards] (PRIxLEAST8): Likewise.
15565         [C99-based-standards] (PRIXLEAST8): Likewise.
15566         [C99-based-standards] (SCNdLEAST8): Likewise.
15567         [C99-based-standards] (SCNiLEAST8): Likewise.
15568         [C99-based-standards] (SCNoLEAST8): Likewise.
15569         [C99-based-standards] (SCNuLEAST8): Likewise.
15570         [C99-based-standards] (SCNxLEAST8): Likewise.
15571         [C99-based-standards] (PRIdFAST8): Likewise.
15572         [C99-based-standards] (PRIiFAST8): Likewise.
15573         [C99-based-standards] (PRIoFAST8): Likewise.
15574         [C99-based-standards] (PRIuFAST8): Likewise.
15575         [C99-based-standards] (PRIxFAST8): Likewise.
15576         [C99-based-standards] (PRIXFAST8): Likewise.
15577         [C99-based-standards] (SCNdFAST8): Likewise.
15578         [C99-based-standards] (SCNiFAST8): Likewise.
15579         [C99-based-standards] (SCNoFAST8): Likewise.
15580         [C99-based-standards] (SCNuFAST8): Likewise.
15581         [C99-based-standards] (SCNxFAST8): Likewise.
15582         [C99-based-standards] (PRId16): Likewise.
15583         [C99-based-standards] (PRIi16): Likewise.
15584         [C99-based-standards] (PRIo16): Likewise.
15585         [C99-based-standards] (PRIu16): Likewise.
15586         [C99-based-standards] (PRIx16): Likewise.
15587         [C99-based-standards] (PRIX16): Likewise.
15588         [C99-based-standards] (SCNd16): Likewise.
15589         [C99-based-standards] (SCNi16): Likewise.
15590         [C99-based-standards] (SCNo16): Likewise.
15591         [C99-based-standards] (SCNu16): Likewise.
15592         [C99-based-standards] (SCNx16): Likewise.
15593         [C99-based-standards] (PRIdLEAST16): Likewise.
15594         [C99-based-standards] (PRIiLEAST16): Likewise.
15595         [C99-based-standards] (PRIoLEAST16): Likewise.
15596         [C99-based-standards] (PRIuLEAST16): Likewise.
15597         [C99-based-standards] (PRIxLEAST16): Likewise.
15598         [C99-based-standards] (PRIXLEAST16): Likewise.
15599         [C99-based-standards] (SCNdLEAST16): Likewise.
15600         [C99-based-standards] (SCNiLEAST16): Likewise.
15601         [C99-based-standards] (SCNoLEAST16): Likewise.
15602         [C99-based-standards] (SCNuLEAST16): Likewise.
15603         [C99-based-standards] (SCNxLEAST16): Likewise.
15604         [C99-based-standards] (PRIdFAST16): Likewise.
15605         [C99-based-standards] (PRIiFAST16): Likewise.
15606         [C99-based-standards] (PRIoFAST16): Likewise.
15607         [C99-based-standards] (PRIuFAST16): Likewise.
15608         [C99-based-standards] (PRIxFAST16): Likewise.
15609         [C99-based-standards] (PRIXFAST16): Likewise.
15610         [C99-based-standards] (SCNdFAST16): Likewise.
15611         [C99-based-standards] (SCNiFAST16): Likewise.
15612         [C99-based-standards] (SCNoFAST16): Likewise.
15613         [C99-based-standards] (SCNuFAST16): Likewise.
15614         [C99-based-standards] (SCNxFAST16): Likewise.
15615         [C99-based-standards] (PRId32): Likewise.
15616         [C99-based-standards] (PRIi32): Likewise.
15617         [C99-based-standards] (PRIo32): Likewise.
15618         [C99-based-standards] (PRIu32): Likewise.
15619         [C99-based-standards] (PRIx32): Likewise.
15620         [C99-based-standards] (PRIX32): Likewise.
15621         [C99-based-standards] (SCNd32): Likewise.
15622         [C99-based-standards] (SCNi32): Likewise.
15623         [C99-based-standards] (SCNo32): Likewise.
15624         [C99-based-standards] (SCNu32): Likewise.
15625         [C99-based-standards] (SCNx32): Likewise.
15626         [C99-based-standards] (PRIdLEAST32): Likewise.
15627         [C99-based-standards] (PRIiLEAST32): Likewise.
15628         [C99-based-standards] (PRIoLEAST32): Likewise.
15629         [C99-based-standards] (PRIuLEAST32): Likewise.
15630         [C99-based-standards] (PRIxLEAST32): Likewise.
15631         [C99-based-standards] (PRIXLEAST32): Likewise.
15632         [C99-based-standards] (SCNdLEAST32): Likewise.
15633         [C99-based-standards] (SCNiLEAST32): Likewise.
15634         [C99-based-standards] (SCNoLEAST32): Likewise.
15635         [C99-based-standards] (SCNuLEAST32): Likewise.
15636         [C99-based-standards] (SCNxLEAST32): Likewise.
15637         [C99-based-standards] (PRIdFAST32): Likewise.
15638         [C99-based-standards] (PRIiFAST32): Likewise.
15639         [C99-based-standards] (PRIoFAST32): Likewise.
15640         [C99-based-standards] (PRIuFAST32): Likewise.
15641         [C99-based-standards] (PRIxFAST32): Likewise.
15642         [C99-based-standards] (PRIXFAST32): Likewise.
15643         [C99-based-standards] (SCNdFAST32): Likewise.
15644         [C99-based-standards] (SCNiFAST32): Likewise.
15645         [C99-based-standards] (SCNoFAST32): Likewise.
15646         [C99-based-standards] (SCNuFAST32): Likewise.
15647         [C99-based-standards] (SCNxFAST32): Likewise.
15648         [C99-based-standards] (PRId64): Likewise.
15649         [C99-based-standards] (PRIi64): Likewise.
15650         [C99-based-standards] (PRIo64): Likewise.
15651         [C99-based-standards] (PRIu64): Likewise.
15652         [C99-based-standards] (PRIx64): Likewise.
15653         [C99-based-standards] (PRIX64): Likewise.
15654         [C99-based-standards] (SCNd64): Likewise.
15655         [C99-based-standards] (SCNi64): Likewise.
15656         [C99-based-standards] (SCNo64): Likewise.
15657         [C99-based-standards] (SCNu64): Likewise.
15658         [C99-based-standards] (SCNx64): Likewise.
15659         [C99-based-standards] (PRIdLEAST64): Likewise.
15660         [C99-based-standards] (PRIiLEAST64): Likewise.
15661         [C99-based-standards] (PRIoLEAST64): Likewise.
15662         [C99-based-standards] (PRIuLEAST64): Likewise.
15663         [C99-based-standards] (PRIxLEAST64): Likewise.
15664         [C99-based-standards] (PRIXLEAST64): Likewise.
15665         [C99-based-standards] (SCNdLEAST64): Likewise.
15666         [C99-based-standards] (SCNiLEAST64): Likewise.
15667         [C99-based-standards] (SCNoLEAST64): Likewise.
15668         [C99-based-standards] (SCNuLEAST64): Likewise.
15669         [C99-based-standards] (SCNxLEAST64): Likewise.
15670         [C99-based-standards] (PRIdFAST64): Likewise.
15671         [C99-based-standards] (PRIiFAST64): Likewise.
15672         [C99-based-standards] (PRIoFAST64): Likewise.
15673         [C99-based-standards] (PRIuFAST64): Likewise.
15674         [C99-based-standards] (PRIxFAST64): Likewise.
15675         [C99-based-standards] (PRIXFAST64): Likewise.
15676         [C99-based-standards] (SCNdFAST64): Likewise.
15677         [C99-based-standards] (SCNiFAST64): Likewise.
15678         [C99-based-standards] (SCNoFAST64): Likewise.
15679         [C99-based-standards] (SCNuFAST64): Likewise.
15680         [C99-based-standards] (SCNxFAST64): Likewise.
15681         [C99-based-standards] (PRIdMAX): Likewise.
15682         [C99-based-standards] (PRIiMAX): Likewise.
15683         [C99-based-standards] (PRIoMAX): Likewise.
15684         [C99-based-standards] (PRIuMAX): Likewise.
15685         [C99-based-standards] (PRIxMAX): Likewise.
15686         [C99-based-standards] (PRIXMAX): Likewise.
15687         [C99-based-standards] (SCNdMAX): Likewise.
15688         [C99-based-standards] (SCNiMAX): Likewise.
15689         [C99-based-standards] (SCNoMAX): Likewise.
15690         [C99-based-standards] (SCNuMAX): Likewise.
15691         [C99-based-standards] (SCNxMAX): Likewise.
15692         [C99-based-standards] (PRIdPTR): Likewise.
15693         [C99-based-standards] (PRIiPTR): Likewise.
15694         [C99-based-standards] (PRIoPTR): Likewise.
15695         [C99-based-standards] (PRIuPTR): Likewise.
15696         [C99-based-standards] (PRIxPTR): Likewise.
15697         [C99-based-standards] (PRIXPTR): Likewise.
15698         [C99-based-standards] (SCNdPTR): Likewise.
15699         [C99-based-standards] (SCNiPTR): Likewise.
15700         [C99-based-standards] (SCNoPTR): Likewise.
15701         [C99-based-standards] (SCNuPTR): Likewise.
15702         [C99-based-standards] (SCNxPTR): Likewise.
15703         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15704         allow.
15705         * conform/data/stdint.h-data: Update comments to clarify
15706         requirements.
15707         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15708         type.
15709         [C99-based standards] (INT8_MAX): Likewise.
15710         [C99-based standards] (INT16_MIN): Likewise.
15711         [C99-based standards] (INT16_MAX): Likewise.
15712         [C99-based standards] (INT32_MIN): Likewise.
15713         [C99-based standards] (INT32_MAX): Likewise.
15714         [C99-based standards] (INT64_MIN): Likewise.
15715         [C99-based standards] (INT64_MAX): Likewise.
15716         [C99-based standards] (UINT8_MAX): Likewise.
15717         [C99-based standards] (UINT16_MAX): Likewise.
15718         [C99-based standards] (UINT32_MAX): Likewise.
15719         [C99-based standards] (UINT64_MAX): Likewise.
15720         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15721         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15722         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15723         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15724         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15725         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15726         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15727         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15728         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15729         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15730         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15731         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15732         [C99-based standards] (INT_FAST8_MIN): Likewise.
15733         [C99-based standards] (INT_FAST8_MAX): Likewise.
15734         [C99-based standards] (INT_FAST16_MIN): Likewise.
15735         [C99-based standards] (INT_FAST16_MAX): Likewise.
15736         [C99-based standards] (INT_FAST32_MIN): Likewise.
15737         [C99-based standards] (INT_FAST32_MAX): Likewise.
15738         [C99-based standards] (INT_FAST64_MIN): Likewise.
15739         [C99-based standards] (INT_FAST64_MAX): Likewise.
15740         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15741         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15742         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15743         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15744         [C99-based standards] (INTPTR_MIN): Likewise.
15745         [C99-based standards] (INTPTR_MAX): Likewise.
15746         [C99-based standards] (UINTPTR_MAX): Likewise.
15747         [C99-based standards] (INTMAX_MIN): Likewise.
15748         [C99-based standards] (INTMAX_MAX): Likewise.
15749         [C99-based standards] (UINTMAX_MAX): Likewise.
15750         [C99-based standards] (PTRDIFF_MIN): Likewise.
15751         [C99-based standards] (PTRDIFF_MAX): Likewise.
15752         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15753         [C99-based standards] (SIZE_MAX): Likewise.
15754         [C99-based standards] (WCHAR_MAX): Likewise.
15755         [C99-based standards] (WINT_MAX): Likewise.
15756         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15757         constraint on value.
15758         [C99-based standards] (WCHAR_MIN): Likewise.
15759         [C99-based standards] (WINT_MIN): Likewise.
15760         [C99-based standards] (*_t): Allow.
15761         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15762         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15763         Include math.h-data and complex.h-data.  Remove all expectations
15764         of math.h and complex.h contents.
15765         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15766         at end of line.
15767         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15768         (struct tm): Expect tag.
15769         [C99-based-standards] (wcstof): Expect function.
15770         [C99-based-standards] (wcstold): Likewise.
15771         [C99-based-standards] (wcstoll): Likewise.
15772         [C99-based-standards] (wcstoull): Likewise.
15773         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15774         macro-int-constant.  Specify type.
15775         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15776         constraint on value.
15777         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15778         Specify type.
15779         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15780         Specify value.
15781         [ISO C standards]: Do not allow headers.
15782         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15783         wcs[abcdefghijklmnopqrstuvwxyz]*.
15784         [ISO C standards] (*_t): Do not allow.
15785         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15786         Expect function.
15787         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15788         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15789         Specify type.
15790         [ISO C standards]: Do not allow headers.
15791         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15792         is[abcdefghijklmnopqrstuvwxyz]*.
15793         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15794         to[abcdefghijklmnopqrstuvwxyz]*.
15795         [ISO C standards] (*_t): Do not allow.
15796         * conform/data/stdalign.h-data: New file.
15797         * conform/data/stdbool.h-data: Likewise.
15798         * conform/data/stdnoreturn.h-data: Likewise.
15800 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15802         [BZ #14815]
15803         * manual/filesys.texi (Directory Entries): Typo fix.
15804         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15806 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15808         * elf/elf.h (EM_AARCH64): New macro.
15809         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15810         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15811         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15812         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15813         (R_AARCH64_TLSDESC): Likewise.
15814         (NT_ARM_TLS): Likewise.
15815         (NT_ARM_HW_BREAK): Likewise.
15816         (NT_ARM_HW_WATCH): Likewise.
15818 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15820         [BZ #14811]
15821         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15822         (__ieee754_powl): Saturate nonzero exponents with absolute value
15823         below 0x1p-79 to +/- 0x1p-79.
15824         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15825         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15826         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15827         nonzero exponents with absolute value below 0x1p-32 to +/-
15828         0x1p-32.
15829         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15830         (__ieee754_powl): Saturate nonzero exponents with absolute value
15831         below 0x1p-79 to +/- 0x1p-79.
15832         * math/libm-test.inc (pow_test): Add more tests.
15834 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15836         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15837         _dl_s390_cap_flags with kernel. Increase string length.
15838         (_dl_s390_platforms): Add z196 and zEC12.
15840 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15842         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15843         Change XOPEN21K to XOPEN2K.
15845 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15847         * string/memmove.c: Use memcpy when possible.
15849 2012-11-06  Andreas Jaeger  <aj@suse.de>
15851         * po/eo.po: Update from translation team.
15853 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15855         [BZ #14793]
15856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15857         exponent and small x and y exponents, scale x or y up.  Increase
15858         by 2 the exponent used in scaling up.
15859         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15860         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15861         * math/libm-test.inc (fma_test): Add more tests.
15862         (fma_test_towardzero): Likewise.
15863         (fma_test_downward): Likewise.
15864         (fma_test_upward): Likewise.
15866 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15868         [BZ #14805]
15869         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15870         fenv_t *.
15872         [BZ #14801]
15873         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15874         namespace for names of struct fields.
15875         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15876         fenv_t fields.
15877         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15878         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15880 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15882         [BZ #3665]
15883         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15885 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15887         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15888         PTR_DEMANGLE.
15890         [BZ #5246]
15891         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15892         PTR_DEMANGLE.
15894 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
15896         [BZ #14797]
15897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15898         definitely overflow as x * y not x * y + z.
15899         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15900         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15901         * math/libm-test.inc (fma_test): Add more tests.
15902         (fma_test_towardzero): Likewise.
15903         (fma_test_downward): Likewise.
15904         (fma_test_upward): Likewise.
15906 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15908         [BZ #157]
15910         * include/stub-tag.h: Remove file.
15911         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15912         '#include' of it.
15913         * manual/maint.texi (Porting): Don't reference it.
15914         * Makerules ($(objpfx)stubs): Likewise.
15915         * dirent/closedir.c: Don't include <stub-tag.h>.
15916         * dirent/dirfd.c: Likewise.
15917         * dirent/fdopendir.c: Likewise.
15918         * dirent/getdents.c: Likewise.
15919         * dirent/getdents64.c: Likewise.
15920         * dirent/opendir.c: Likewise.
15921         * dirent/readdir.c: Likewise.
15922         * dirent/readdir64.c: Likewise.
15923         * dirent/readdir64_r.c: Likewise.
15924         * dirent/readdir_r.c: Likewise.
15925         * dirent/rewinddir.c: Likewise.
15926         * dirent/seekdir.c: Likewise.
15927         * dirent/telldir.c: Likewise.
15928         * gmon/profil.c: Likewise.
15929         * grp/setgroups.c: Likewise.
15930         * inet/if_index.c: Likewise.
15931         * io/access.c: Likewise.
15932         * io/chdir.c: Likewise.
15933         * io/chmod.c: Likewise.
15934         * io/chown.c: Likewise.
15935         * io/close.c: Likewise.
15936         * io/dup.c: Likewise.
15937         * io/dup2.c: Likewise.
15938         * io/dup3.c: Likewise.
15939         * io/euidaccess.c: Likewise.
15940         * io/faccessat.c: Likewise.
15941         * io/fchdir.c: Likewise.
15942         * io/fchmod.c: Likewise.
15943         * io/fchmodat.c: Likewise.
15944         * io/fchown.c: Likewise.
15945         * io/fchownat.c: Likewise.
15946         * io/fcntl.c: Likewise.
15947         * io/flock.c: Likewise.
15948         * io/fstatfs.c: Likewise.
15949         * io/fstatfs64.c: Likewise.
15950         * io/fstatvfs.c: Likewise.
15951         * io/fstatvfs64.c: Likewise.
15952         * io/futimens.c: Likewise.
15953         * io/fxstat.c: Likewise.
15954         * io/fxstat64.c: Likewise.
15955         * io/fxstatat.c: Likewise.
15956         * io/fxstatat64.c: Likewise.
15957         * io/getcwd.c: Likewise.
15958         * io/isatty.c: Likewise.
15959         * io/lchmod.c: Likewise.
15960         * io/lchown.c: Likewise.
15961         * io/link.c: Likewise.
15962         * io/linkat.c: Likewise.
15963         * io/lseek.c: Likewise.
15964         * io/lseek64.c: Likewise.
15965         * io/lxstat64.c: Likewise.
15966         * io/mkdir.c: Likewise.
15967         * io/mkdirat.c: Likewise.
15968         * io/mkfifo.c: Likewise.
15969         * io/mkfifoat.c: Likewise.
15970         * io/open.c: Likewise.
15971         * io/open64.c: Likewise.
15972         * io/openat.c: Likewise.
15973         * io/openat64.c: Likewise.
15974         * io/pipe.c: Likewise.
15975         * io/pipe2.c: Likewise.
15976         * io/poll.c: Likewise.
15977         * io/posix_fadvise.c: Likewise.
15978         * io/posix_fadvise64.c: Likewise.
15979         * io/posix_fallocate.c: Likewise.
15980         * io/posix_fallocate64.c: Likewise.
15981         * io/read.c: Likewise.
15982         * io/readlink.c: Likewise.
15983         * io/readlinkat.c: Likewise.
15984         * io/rmdir.c: Likewise.
15985         * io/sendfile.c: Likewise.
15986         * io/sendfile64.c: Likewise.
15987         * io/statfs.c: Likewise.
15988         * io/statfs64.c: Likewise.
15989         * io/statvfs.c: Likewise.
15990         * io/statvfs64.c: Likewise.
15991         * io/symlink.c: Likewise.
15992         * io/symlinkat.c: Likewise.
15993         * io/ttyname.c: Likewise.
15994         * io/ttyname_r.c: Likewise.
15995         * io/umask.c: Likewise.
15996         * io/unlink.c: Likewise.
15997         * io/unlinkat.c: Likewise.
15998         * io/utime.c: Likewise.
15999         * io/utimensat.c: Likewise.
16000         * io/write.c: Likewise.
16001         * io/xmknod.c: Likewise.
16002         * io/xmknodat.c: Likewise.
16003         * io/xstat.c: Likewise.
16004         * io/xstat64.c: Likewise.
16005         * login/getpt.c: Likewise.
16006         * login/grantpt.c: Likewise.
16007         * login/unlockpt.c: Likewise.
16008         * math/e_acoshl.c: Likewise.
16009         * math/e_acosl.c: Likewise.
16010         * math/e_asinl.c: Likewise.
16011         * math/e_atan2l.c: Likewise.
16012         * math/e_atanhl.c: Likewise.
16013         * math/e_coshl.c: Likewise.
16014         * math/e_expl.c: Likewise.
16015         * math/e_fmodl.c: Likewise.
16016         * math/e_gammal_r.c: Likewise.
16017         * math/e_hypotl.c: Likewise.
16018         * math/e_j0l.c: Likewise.
16019         * math/e_j1l.c: Likewise.
16020         * math/e_jnl.c: Likewise.
16021         * math/e_lgammal_r.c: Likewise.
16022         * math/e_log10l.c: Likewise.
16023         * math/e_log2l.c: Likewise.
16024         * math/e_logl.c: Likewise.
16025         * math/e_powl.c: Likewise.
16026         * math/e_rem_pio2l.c: Likewise.
16027         * math/e_sinhl.c: Likewise.
16028         * math/e_sqrtl.c: Likewise.
16029         * math/fclrexcpt.c: Likewise.
16030         * math/fedisblxcpt.c: Likewise.
16031         * math/feenablxcpt.c: Likewise.
16032         * math/fegetenv.c: Likewise.
16033         * math/fegetexcept.c: Likewise.
16034         * math/fegetround.c: Likewise.
16035         * math/feholdexcpt.c: Likewise.
16036         * math/fesetenv.c: Likewise.
16037         * math/fesetround.c: Likewise.
16038         * math/feupdateenv.c: Likewise.
16039         * math/fgetexcptflg.c: Likewise.
16040         * math/fraiseexcpt.c: Likewise.
16041         * math/fsetexcptflg.c: Likewise.
16042         * math/ftestexcept.c: Likewise.
16043         * math/k_cosl.c: Likewise.
16044         * math/k_rem_pio2l.c: Likewise.
16045         * math/k_sinl.c: Likewise.
16046         * math/k_tanl.c: Likewise.
16047         * math/s_asinhl.c: Likewise.
16048         * math/s_atanl.c: Likewise.
16049         * math/s_cbrtl.c: Likewise.
16050         * math/s_erfl.c: Likewise.
16051         * math/s_expm1l.c: Likewise.
16052         * math/s_log1pl.c: Likewise.
16053         * math/s_tanhl.c: Likewise.
16054         * misc/acct.c: Likewise.
16055         * misc/brk.c: Likewise.
16056         * misc/chflags.c: Likewise.
16057         * misc/chroot.c: Likewise.
16058         * misc/fchflags.c: Likewise.
16059         * misc/fgetxattr.c: Likewise.
16060         * misc/flistxattr.c: Likewise.
16061         * misc/fremovexattr.c: Likewise.
16062         * misc/fsetxattr.c: Likewise.
16063         * misc/fsync.c: Likewise.
16064         * misc/ftruncate.c: Likewise.
16065         * misc/futimes.c: Likewise.
16066         * misc/futimesat.c: Likewise.
16067         * misc/getdomain.c: Likewise.
16068         * misc/getdtsz.c: Likewise.
16069         * misc/gethostid.c: Likewise.
16070         * misc/gethostname.c: Likewise.
16071         * misc/getloadavg.c: Likewise.
16072         * misc/getpagesize.c: Likewise.
16073         * misc/getsysstats.c: Likewise.
16074         * misc/getxattr.c: Likewise.
16075         * misc/gtty.c: Likewise.
16076         * misc/ioctl.c: Likewise.
16077         * misc/lgetxattr.c: Likewise.
16078         * misc/listxattr.c: Likewise.
16079         * misc/llistxattr.c: Likewise.
16080         * misc/lremovexattr.c: Likewise.
16081         * misc/lsetxattr.c: Likewise.
16082         * misc/lutimes.c: Likewise.
16083         * misc/madvise.c: Likewise.
16084         * misc/mincore.c: Likewise.
16085         * misc/mlock.c: Likewise.
16086         * misc/mlockall.c: Likewise.
16087         * misc/mmap.c: Likewise.
16088         * misc/mprotect.c: Likewise.
16089         * misc/msync.c: Likewise.
16090         * misc/munlock.c: Likewise.
16091         * misc/munlockall.c: Likewise.
16092         * misc/munmap.c: Likewise.
16093         * misc/preadv.c: Likewise.
16094         * misc/preadv64.c: Likewise.
16095         * misc/ptrace.c: Likewise.
16096         * misc/pwritev.c: Likewise.
16097         * misc/pwritev64.c: Likewise.
16098         * misc/readv.c: Likewise.
16099         * misc/reboot.c: Likewise.
16100         * misc/remap_file_pages.c: Likewise.
16101         * misc/removexattr.c: Likewise.
16102         * misc/revoke.c: Likewise.
16103         * misc/select.c: Likewise.
16104         * misc/setdomain.c: Likewise.
16105         * misc/setegid.c: Likewise.
16106         * misc/seteuid.c: Likewise.
16107         * misc/sethostid.c: Likewise.
16108         * misc/sethostname.c: Likewise.
16109         * misc/setregid.c: Likewise.
16110         * misc/setreuid.c: Likewise.
16111         * misc/setxattr.c: Likewise.
16112         * misc/sstk.c: Likewise.
16113         * misc/stty.c: Likewise.
16114         * misc/swapoff.c: Likewise.
16115         * misc/swapon.c: Likewise.
16116         * misc/sync.c: Likewise.
16117         * misc/syncfs.c: Likewise.
16118         * misc/syscall.c: Likewise.
16119         * misc/truncate.c: Likewise.
16120         * misc/ualarm.c: Likewise.
16121         * misc/usleep.c: Likewise.
16122         * misc/ustat.c: Likewise.
16123         * misc/utimes.c: Likewise.
16124         * misc/vhangup.c: Likewise.
16125         * misc/writev.c: Likewise.
16126         * posix/_exit.c: Likewise.
16127         * posix/alarm.c: Likewise.
16128         * posix/execve.c: Likewise.
16129         * posix/fexecve.c: Likewise.
16130         * posix/fork.c: Likewise.
16131         * posix/fpathconf.c: Likewise.
16132         * posix/getaddrinfo.c: Likewise.
16133         * posix/getegid.c: Likewise.
16134         * posix/geteuid.c: Likewise.
16135         * posix/getgid.c: Likewise.
16136         * posix/getgroups.c: Likewise.
16137         * posix/getlogin.c: Likewise.
16138         * posix/getlogin_r.c: Likewise.
16139         * posix/getpgid.c: Likewise.
16140         * posix/getpid.c: Likewise.
16141         * posix/getppid.c: Likewise.
16142         * posix/getresgid.c: Likewise.
16143         * posix/getresuid.c: Likewise.
16144         * posix/getsid.c: Likewise.
16145         * posix/getuid.c: Likewise.
16146         * posix/glob64.c: Likewise.
16147         * posix/nanosleep.c: Likewise.
16148         * posix/pathconf.c: Likewise.
16149         * posix/pause.c: Likewise.
16150         * posix/posix_madvise.c: Likewise.
16151         * posix/pread.c: Likewise.
16152         * posix/pread64.c: Likewise.
16153         * posix/pwrite.c: Likewise.
16154         * posix/pwrite64.c: Likewise.
16155         * posix/sched_getaffinity.c: Likewise.
16156         * posix/sched_getp.c: Likewise.
16157         * posix/sched_gets.c: Likewise.
16158         * posix/sched_primax.c: Likewise.
16159         * posix/sched_primin.c: Likewise.
16160         * posix/sched_rr_gi.c: Likewise.
16161         * posix/sched_setaffinity.c: Likewise.
16162         * posix/sched_setp.c: Likewise.
16163         * posix/sched_sets.c: Likewise.
16164         * posix/sched_yield.c: Likewise.
16165         * posix/setgid.c: Likewise.
16166         * posix/setlogin.c: Likewise.
16167         * posix/setpgid.c: Likewise.
16168         * posix/setresgid.c: Likewise.
16169         * posix/setresuid.c: Likewise.
16170         * posix/setsid.c: Likewise.
16171         * posix/setuid.c: Likewise.
16172         * posix/sleep.c: Likewise.
16173         * posix/spawni.c: Likewise.
16174         * posix/sysconf.c: Likewise.
16175         * posix/times.c: Likewise.
16176         * posix/wait.c: Likewise.
16177         * posix/wait3.c: Likewise.
16178         * posix/wait4.c: Likewise.
16179         * posix/waitpid.c: Likewise.
16180         * resolv/gai_sigqueue.c: Likewise.
16181         * resource/getpriority.c: Likewise.
16182         * resource/getrlimit.c: Likewise.
16183         * resource/getrusage.c: Likewise.
16184         * resource/nice.c: Likewise.
16185         * resource/setpriority.c: Likewise.
16186         * resource/setrlimit.c: Likewise.
16187         * resource/ulimit.c: Likewise.
16188         * rt/aio_cancel.c: Likewise.
16189         * rt/aio_fsync.c: Likewise.
16190         * rt/aio_read.c: Likewise.
16191         * rt/aio_sigqueue.c: Likewise.
16192         * rt/aio_suspend.c: Likewise.
16193         * rt/aio_write.c: Likewise.
16194         * rt/clock_getres.c: Likewise.
16195         * rt/clock_gettime.c: Likewise.
16196         * rt/clock_nanosleep.c: Likewise.
16197         * rt/clock_settime.c: Likewise.
16198         * rt/lio_listio.c: Likewise.
16199         * rt/mq_close.c: Likewise.
16200         * rt/mq_getattr.c: Likewise.
16201         * rt/mq_notify.c: Likewise.
16202         * rt/mq_open.c: Likewise.
16203         * rt/mq_receive.c: Likewise.
16204         * rt/mq_send.c: Likewise.
16205         * rt/mq_setattr.c: Likewise.
16206         * rt/mq_timedreceive.c: Likewise.
16207         * rt/mq_timedsend.c: Likewise.
16208         * rt/mq_unlink.c: Likewise.
16209         * rt/shm_open.c: Likewise.
16210         * rt/shm_unlink.c: Likewise.
16211         * rt/timer_create.c: Likewise.
16212         * rt/timer_delete.c: Likewise.
16213         * rt/timer_getoverr.c: Likewise.
16214         * rt/timer_gettime.c: Likewise.
16215         * rt/timer_settime.c: Likewise.
16216         * setjmp/__longjmp.c: Likewise.
16217         * setjmp/setjmp.c: Likewise.
16218         * signal/kill.c: Likewise.
16219         * signal/killpg.c: Likewise.
16220         * signal/raise.c: Likewise.
16221         * signal/sigaction.c: Likewise.
16222         * signal/sigaltstack.c: Likewise.
16223         * signal/sigblock.c: Likewise.
16224         * signal/sigignore.c: Likewise.
16225         * signal/sigintr.c: Likewise.
16226         * signal/signal.c: Likewise.
16227         * signal/sigpause.c: Likewise.
16228         * signal/sigpending.c: Likewise.
16229         * signal/sigqueue.c: Likewise.
16230         * signal/sigreturn.c: Likewise.
16231         * signal/sigset.c: Likewise.
16232         * signal/sigsetmask.c: Likewise.
16233         * signal/sigstack.c: Likewise.
16234         * signal/sigsuspend.c: Likewise.
16235         * signal/sigtimedwait.c: Likewise.
16236         * signal/sigvec.c: Likewise.
16237         * signal/sigwait.c: Likewise.
16238         * signal/sigwaitinfo.c: Likewise.
16239         * signal/sysv_signal.c: Likewise.
16240         * socket/accept.c: Likewise.
16241         * socket/accept4.c: Likewise.
16242         * socket/bind.c: Likewise.
16243         * socket/connect.c: Likewise.
16244         * socket/getpeername.c: Likewise.
16245         * socket/getsockname.c: Likewise.
16246         * socket/getsockopt.c: Likewise.
16247         * socket/isfdtype.c: Likewise.
16248         * socket/listen.c: Likewise.
16249         * socket/recv.c: Likewise.
16250         * socket/recvfrom.c: Likewise.
16251         * socket/recvmsg.c: Likewise.
16252         * socket/send.c: Likewise.
16253         * socket/sendmsg.c: Likewise.
16254         * socket/sendto.c: Likewise.
16255         * socket/setsockopt.c: Likewise.
16256         * socket/shutdown.c: Likewise.
16257         * socket/sockatmark.c: Likewise.
16258         * socket/socket.c: Likewise.
16259         * socket/socketpair.c: Likewise.
16260         * stdio-common/ctermid.c: Likewise.
16261         * stdio-common/cuserid.c: Likewise.
16262         * stdio-common/remove.c: Likewise.
16263         * stdio-common/rename.c: Likewise.
16264         * stdio-common/renameat.c: Likewise.
16265         * stdio-common/tempname.c: Likewise.
16266         * stdlib/getcontext.c: Likewise.
16267         * stdlib/makecontext.c: Likewise.
16268         * stdlib/setcontext.c: Likewise.
16269         * stdlib/swapcontext.c: Likewise.
16270         * stdlib/system.c: Likewise.
16271         * streams/fattach.c: Likewise.
16272         * streams/fdetach.c: Likewise.
16273         * streams/getmsg.c: Likewise.
16274         * streams/getpmsg.c: Likewise.
16275         * streams/putmsg.c: Likewise.
16276         * streams/putpmsg.c: Likewise.
16277         * sysdeps/unix/bsd/getpt.c: Likewise.
16278         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16279         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16280         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16282         Likewise.
16283         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16284         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16285         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16286         * sysvipc/msgctl.c: Likewise.
16287         * sysvipc/msgget.c: Likewise.
16288         * sysvipc/msgrcv.c: Likewise.
16289         * sysvipc/msgsnd.c: Likewise.
16290         * sysvipc/semctl.c: Likewise.
16291         * sysvipc/semget.c: Likewise.
16292         * sysvipc/semop.c: Likewise.
16293         * sysvipc/semtimedop.c: Likewise.
16294         * sysvipc/shmat.c: Likewise.
16295         * sysvipc/shmctl.c: Likewise.
16296         * sysvipc/shmdt.c: Likewise.
16297         * sysvipc/shmget.c: Likewise.
16298         * termios/tcdrain.c: Likewise.
16299         * termios/tcflow.c: Likewise.
16300         * termios/tcflush.c: Likewise.
16301         * termios/tcgetattr.c: Likewise.
16302         * termios/tcgetpgrp.c: Likewise.
16303         * termios/tcsendbrk.c: Likewise.
16304         * termios/tcsetattr.c: Likewise.
16305         * termios/tcsetpgrp.c: Likewise.
16306         * time/adjtime.c: Likewise.
16307         * time/clock.c: Likewise.
16308         * time/getitimer.c: Likewise.
16309         * time/gettimeofday.c: Likewise.
16310         * time/setitimer.c: Likewise.
16311         * time/settimeofday.c: Likewise.
16312         * time/stime.c: Likewise.
16313         * time/time.c: Likewise.
16315 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16317         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16318         /usr/old/bin.
16320         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16321         instead of spaces.
16322         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16324 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16326         [BZ #14796]
16327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16328         FE_TONEAREST before applying Dekker multiplication and Knuth
16329         addition.  Clear inexact exceptions and check for exact zero
16330         results afterwards.
16331         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16332         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16333         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16334         * math/libm-test.inc (fma_test): Add more tests.
16335         (fma_test_towardzero): Likewise.
16336         (fma_test_downward): Likewise.
16337         (fma_test_upward): Likewise.
16338         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16339         function.
16340         (libc_fesetround): New macro.
16341         (libc_fesetroundf): Likewise.
16342         (libc_fesetroundl): Likewise.
16343         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16344         function.
16345         (libc_fesetround_387): Likewise.
16346         (libc_fesetroundf): New macro.
16347         (libc_fesetround): Likewise.
16348         (libc_fesetroundl): Likewise.
16349         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16350         function.
16351         (libc_fesetroundf): New macro.
16352         (libc_fesetround): Likewise.
16353         (libc_fesetroundl): Likewise.
16354         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16355         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16356         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16357         libm_hidden_ver.
16358         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16359         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16360         libm_hidden_def.
16361         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16362         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16363         libm_hidden_ver.
16364         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16365         libm_hidden_def.
16367         [BZ #3439]
16368         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16369         integer constant usable in #if and use that to give value to enum
16370         constant.
16371         (FE_DIVBYZERO): Likewise.
16372         (FE_UNDERFLOW): Likewise.
16373         (FE_OVERFLOW): Likewise.
16374         (FE_INVALID): Likewise.
16375         (FE_INVALID_SNAN): Likewise.
16376         (FE_INVALID_ISI): Likewise.
16377         (FE_INVALID_IDI): Likewise.
16378         (FE_INVALID_ZDZ): Likewise.
16379         (FE_INVALID_IMZ): Likewise.
16380         (FE_INVALID_COMPARE): Likewise.
16381         (FE_INVALID_SOFTWARE): Likewise.
16382         (FE_INVALID_SQRT): Likewise.
16383         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16384         (FE_TONEAREST): Likewise.
16385         (FE_TOWARDZERO): Likewise.
16386         (FE_UPWARD): Likewise.
16387         (FE_DOWNWARD): Likewise.
16388         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16389         (FE_DIVBYZERO): Likewise.
16390         (FE_OVERFLOW): Likewise.
16391         (FE_UNDERFLOW): Likewise.
16392         (FE_INEXACT): Likewise.
16393         (FE_TONEAREST): Likewise.
16394         (FE_DOWNWARD): Likewise.
16395         (FE_UPWARD): Likewise.
16396         (FE_TOWARDZERO): Likewise.
16397         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16398         (FE_UNDERFLOW): Likewise.
16399         (FE_OVERFLOW): Likewise.
16400         (FE_DIVBYZERO): Likewise.
16401         (FE_INVALID): Likewise.
16402         (FE_TONEAREST): Likewise.
16403         (FE_TOWARDZERO): Likewise.
16404         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16405         (FE_OVERFLOW): Likewise.
16406         (FE_UNDERFLOW): Likewise.
16407         (FE_DIVBYZERO): Likewise.
16408         (FE_INEXACT): Likewise.
16409         (FE_TONEAREST): Likewise.
16410         (FE_TOWARDZERO): Likewise.
16411         (FE_UPWARD): Likewise.
16412         (FE_DOWNWARD): Likewise.
16413         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16414         (FE_DIVBYZERO): Likewise.
16415         (FE_OVERFLOW): Likewise.
16416         (FE_UNDERFLOW): Likewise.
16417         (FE_INEXACT): Likewise.
16418         (FE_TONEAREST): Likewise.
16419         (FE_DOWNWARD): Likewise.
16420         (FE_UPWARD): Likewise.
16421         (FE_TOWARDZERO): Likewise.
16423 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16425         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16427 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16429         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16430         commands.  Quote $PWD.
16431         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16432         -x" by "export".
16433         (remove_newlines): Remove.
16435 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16437         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16438         * stdlib/stdlib.h (atof): Moved to ...
16439         * include/bits/stdlib-float.h: Here.  New file.
16440         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16441         * stdlib/bits/stdlib-float.h: New file.
16442         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16443         -mno-sse -mno-mmx.
16444         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16445         <xmmintrin.h>.
16447 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16449         * conform/conformtest.pl (@headers): Add fenv.h.
16450         * conform/data/fenv.h-data: New file.
16451         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16452         include of <math/fenv.h>.
16454         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16455         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16456         && !UNIX98].  Enables tests for XOPEN2K8.
16457         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16458         POSIX2008]: Likewise.
16460         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16461         (struct rusage): Do not expect type or its members.
16463         [BZ #3439]
16464         * math/math.h (FP_NAN): Define macro to integer constant usable in
16465         #if and use that to give value to enum constant.
16466         (FP_INFINITE): Likewise.
16467         (FP_ZERO): Likewise.
16468         (FP_SUBNORMAL): Likewise.
16469         (FP_NORMAL): Likewise.
16471 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
16473         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16474         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16475         arguments.
16477 2012-11-02  Roland McGrath  <roland@hack.frob.com>
16479         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16480         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16481         autoconf-time if not.
16482         * configure.in: Remove AC_PREREQ.
16484 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16486         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16487         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16488         of the internal implementation.
16490 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16492         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16493         except include of <misc/sys/syslog.h>.
16495 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16498         function returns with a NULL context exit with zero.
16500 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16502         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16504 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
16506         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16507         (run_program_cmd): This.
16508         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16509         (tst_langinfo): New variable.  Use it.
16511 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
16513         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16514         floating point opcodes.
16516 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16518         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16519         variable.
16521         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16523         * sysdeps/mach/hurd/powerpc: Remove directory.
16524         * sysdeps/mach/powerpc: Likewise.
16526 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16528         * scripts/check-local-headers.sh: Ignore c++ headers.
16530 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16532         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16533         __libc_cleanup_region_start argument.
16535 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
16537         [BZ #14784]
16538         [BZ #14785]
16539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16540         x * y using scaling, not as x * y + z.
16541         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16542         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16543         * math/libm-test.inc (fma_test): Add more tests.
16544         (fma_test_towardzero): Likewise.
16545         (fma_test_downward): Likewise.
16546         (fma_test_upward): Likewise.
16548 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16550         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16552 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16554         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16555         New variable.
16557 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
16559         * rt/tst-shm.c (worker): Correct checking for mmap failure.
16561 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16564         Fix sort order.
16565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16566         Likewise.
16568 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16571         Fix the order of the list for glibc 2.17.
16572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16573         Likewise.
16575 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16579 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16581         [BZ #14610]
16582         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16583         for low part of x being zero before using __atanl (y).
16584         * math/libm-test.inc (atan2_test): Add another test.
16586         * manual/install.texi (Configuring and compiling): Document
16587         general use of test-wrapper and test-wrapper-env.
16588         * INSTALL: Regenerated.
16590         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16591         (__fma): Do not extract and scale down low bits on after-rounding
16592         systems when result rounded to normal precision would have normal
16593         exponent.
16594         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16595         (__fmal): Do not extract and scale down low bits on after-rounding
16596         systems when result rounded to normal precision would have normal
16597         exponent.
16598         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16599         (__fmal): Do not extract and scale down low bits on after-rounding
16600         systems when result rounded to normal precision would have normal
16601         exponent.
16602         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16603         macro.
16604         (fma_test): Add more tests.
16605         (fma_test_towardzero): Likewise.
16606         (fma_test_downward): Likewise.
16607         (fma_test_upward): Likewise.
16609 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
16611         * sysdeps/i386/tininess.h: Renamed to ...
16612         * sysdeps/x86/tininess.h: This.
16613         * sysdeps/x86_64/tininess.h: Removed.
16615 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16617         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16618         input.  Use $(build-program-cmd).
16619         ($(objpfx)tst-array1-static.out): Likewise.
16620         ($(objpfx)tst-array2.out): Likewise.
16621         ($(objpfx)tst-array3.out): Likewise.
16622         ($(objpfx)tst-array4.out): Likewise.
16623         ($(objpfx)tst-array5.out): Likewise.
16624         ($(objpfx)tst-array5-static.out): Likewise.
16626 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
16628         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16629         if defined.
16631         * nss/nsswitch.h (nss_interface_function): Provide new
16632         macro for use with NSS functions.
16633         * grp/initgroups.c: Use new macro.
16634         * nss/getXXbyYY.c: Likewise.
16635         * nss/getXXbyYY_r.c: Likewise.
16636         * nss/getXXent.c: Likewise.
16637         * nss/getXXent_r.c: Likewise.
16638         * sysdeps/posix/getaddrinfo.c: Likewise.
16640 2012-10-30  Andreas Jaeger  <aj@suse.de>
16642         * po/ru.po: Update Russion translation from translation project.
16644 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16646         [BZ #14152]
16647         [BZ #14783]
16648         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16649         result and shift together with sticky bit instead of replicating
16650         round-to-nearest rounding.
16651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16652         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16653         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
16654         missing underflow exceptions.
16655         (fma_test_towardzero): Add more tests.
16656         (fma_test_downward): Likewise.
16657         (fma_test_upward): Likewise.
16659         [BZ #14047]
16660         * sysdeps/generic/tininess.h: New file.
16661         * sysdeps/i386/tininess.h: Likewise.
16662         * sysdeps/sh/tininess.h: Likewise.
16663         * sysdeps/x86_64/tininess.h: Likewise.
16664         * stdlib/tst-strtod-underflow.c: Likewise.
16665         * stdlib/tst-tininess.c: Likewise.
16666         * stdlib/strtod_l.c: Include <tininess.h>.
16667         (round_and_return): Do not set errno for exact underflow cases.
16668         Force an underflow exception when setting errno for underflow.
16669         Determine underflow based on rounding to normal precision if
16670         TININESS_AFTER_ROUNDING.
16671         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16672         ERANGE for exact underflow cases.
16673         * stdlib/Makefile (tests): Add tst-tininess and
16674         tst-strtod-underflow.
16675         ($(objpfx)tst-tininess): Use $(link-libm).
16676         ($(objpfx)tst-strtod-underflow): Likewise.
16678 2012-10-30  Andreas Jaeger  <aj@suse.de>
16680         [BZ#14767]
16681         * elf/Makefile (tests): Remove conditional for have-initfini-array
16682         since this is now always required and the variable does not exist
16683         anymore.
16684         (tests-static): Likewise.
16685         (modules-names): Likewise.
16687         * po/eo.po: Add Esperanto translation from translation project.
16689         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16690         merged with constructor/destructor.
16691         (init_array): Likewise.
16692         * elf/tst-array2dep.c (fini_array): Likewise.
16693         (init_array): Likewise.
16695 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16697         * manual/message.texi: Delete @cartouche tags.
16699 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16701         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16702         EOPNOTSUPP.
16703         * sysdeps/mach/hurd/fsync.c: Likewise.
16705         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16706         [_POSIX_REALTIME_SIGNALS]: Change condition to
16707         [_POSIX_REALTIME_SIGNALS > 0].
16709 2012-10-27  Andreas Jaeger  <aj@suse.de>
16711         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16712         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16713         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16714         [__WORDSIZE != 64]: Likewise.
16716 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16718         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16719         *  iconvdata/tst-tables.sh: Likewise.
16721 2012-10-25  David S. Miller  <davem@davemloft.net>
16723         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16724         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16725         of strtoull.
16727         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16728         ifunc-impl-list.c
16729         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16730         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16731         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16732         file.
16734 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16736         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16737         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16738         __getdirentries.
16740 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16741             Jim Blandy  <jimb@codesourcery.com>
16743         * scripts/cross-test-ssh.sh: New file.
16744         * manual/install.texi (Configuring and compiling): Document use of
16745         cross-test-ssh.sh.
16746         * INSTALL: Regenerated.
16748 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16750         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16751         EOPNOTSUPP.
16753 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16755         * Makeconfig (run-program-prefix): Fix comment.
16757 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16758             Jim Blandy  <jimb@codesourcery.com>
16760         * Makeconfig (test-wrapper): New variable,
16761         (test-wrapper-env): Likewise.
16762         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16763         (run-built-tests): Define to yes.
16764         (run-program-prefix): Use $(test-wrapper).
16765         (built-program-cmd): Likewise.
16766         * Rules (make-test-out): Use $(test-wrapper-env) and
16767         $(host-built-program-cmd).
16768         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16769         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16770         tst-pathopt.sh.
16771         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16772         $(test-wrapper-env) to tst-rtld-load-self.sh.
16773         ($(objpfx)order2.out): Use $(test-wrapper).
16774         ($(objpfx)tst-initorder.out): Likewise.
16775         ($(objpfx)tst-initorder2.out): Likewise.
16776         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16777         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16778         (test_wrapper_env): New variable.  Use it to run ld.so.
16779         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16780         Use it to run ld.so.
16781         (test_wrapper_env): Likewise.
16782         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16783         $(test-wrapper) to run-iconv-test.sh.
16784         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16785         (ICONV): Use $test_wrapper.
16786         * posix/Makefile ($(objpfx)globtest.out): Pass
16787         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16788         globtest.sh, not $(run-program-prefix).
16789         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16790         (test_wrapper): Likewise.
16791         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16792         set together with run_via_rtld_prefix.
16793         (run_program_prefix): Define in terms of test_wrapper and
16794         run_via_rtld_prefix.
16796 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16798         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16799         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16800         Targets removed.
16802         [BZ #14743]
16803         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16804         Declare __clock_getres, __clock_gettime, __clock_settime,
16805         __clock_nanosleep, and __clock_getcpuclockid.
16806         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16807         Remove librt_hidden_def (clock_gettime).
16808         * sysdeps/unix/clock_gettime.c: Likewise.
16809         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16810         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16811         * rt/clock_getres.c: Define __clock_getres as an alias.
16812         * sysdeps/posix/clock_getres.c: Likewise.
16813         * rt/clock_settime.c: Define __clock_settime as an alias.
16814         * sysdeps/unix/clock_settime.c: Likewise.
16815         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16816         * sysdeps/unix/clock_nanosleep.c: Likewise.
16817         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16818         * rt/clock-compat.c: New file.
16819         * rt/Makefile (librt-routines): Add clock-compat and move
16820         $(clock-routines) to ...
16821         (routines): ... here, new variable.
16822         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16823         Don't add get_clockfreq here.
16824         * rt/Versions (libc: GLIBC_2.17): New version set.
16825         Add clock_* symbols here.
16826         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16827         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16828         (GLIBC_2.17): Add clock_* symbols.
16829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16831         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16833         Likewise.
16834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16835         Likewise.
16836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16840         * NEWS: Mention the move.
16842         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16843         Use __open, __read, __close rather than their public counterparts.
16844         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16845         (__get_clockfreq_via_cpuinfo): Likewise.
16846         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16847         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16849         * config.h.in (HAVE_IFUNC): New #undef.
16850         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16851         was successful.
16852         * configure: Regenerated.
16854 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16856         * configure.in: Move READELF check to start of file.
16857         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16858         libc_cv_asm_gnu_indirect_function in the process.
16859         * configure: Regenerated.
16861 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16863         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16864         send the output to /dev/null.
16865         (libc_cv_cc_with_libunwind): Likewise.
16866         (libc_cv_as_noexecstack): Likewise.
16867         * configure: Regenerate.
16869 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16871         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16873         * posix/globtest.sh (TMPDIR): Do not set.
16874         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16875         (testout): Likewise.
16877 2012-10-24  Andreas Jaeger  <aj@suse.de>
16879         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16880         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16881         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16882         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16883         posix_fadvise64, posix_fallocate64.
16885         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16886         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16887         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16888         Likewise.
16889         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16890         Likewise.
16891         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16893         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16894         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16895         <bits/fcntl-linux.h>.
16896         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16898         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16899         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16900         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16901         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16902         [__WORDSIZE != 64]: Likewise.
16904 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16906         * Makeconfig (run-built-tests): New variable.
16907         * Rules [$(cross-compiling) = yes]: Change condition to
16908         [$(run-built-tests) = no].
16909         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16910         to [$(run-built-tests) = yes].
16911         * elf/Makefile [$(cross-compiling) = no]: Likewise
16912         * grp/Makefile [$(cross-compiling) = no]: Likewise.
16913         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16914         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16915         * intl/Makefile [$(cross-compiling) = no]: Likewise.
16916         * io/Makefile [$(cross-compiling) = no]: Likewise.
16917         * libio/Makefile [$(cross-compiling) = no]: Likewise.
16918         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16919         * misc/Makefile [$(cross-compiling) = no]: Likewise.
16920         * posix/Makefile [$(cross-compiling) = no]: Likewise.
16921         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16922         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16923         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16924         * string/Makefile [$(cross-compiling) = no]: Likewise.
16926         * posix/Makefile ($(objpfx)globtest.out): Pass
16927         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16928         $(rtld-installed-name).
16929         * posix/globtest.sh (elf_objpfx): Remove variable.
16930         (rtld_installed_name): Likewise.
16931         (library_path): Likewise.
16932         (run_program_prefix): New variable.  Use for running globtest
16933         binary.
16935 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
16936             Joseph Myers  <joseph@codesourcery.com>
16938         * Makeconfig (host-built-program-cmd): New variable.
16939         * elf/Makefile (tst-stackguard1-ARGS): Use
16940         $(host-built-program-cmd).
16941         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16942         (tst-spawn-ARGS): Likewise.
16943         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16945 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16946             Jim Blandy  <jimb@codesourcery.com>
16948         * Makeconfig (run-via-rtld-prefix): New variable.
16949         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16950         (built-program-cmd): Likewise.
16952 2012-10-22  Andreas Jaeger  <aj@suse.de>
16954         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16955         __O_RSYNC if it exists, otherwise to O_SYNC.
16957 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
16958             Joseph Myers  <joseph@codesourcery.com>
16960         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16961         /dev/null.
16962         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16963         from /dev/null
16964         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16965         /dev/null.
16967 2012-10-22  Andreas Jaeger  <aj@suse.de>
16969         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16970         Define always.
16971         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16974         bits/fcntl-linux.h.
16976         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16977         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16979         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16980         to __O_LARGEFILE.
16981         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16982         to __O_LARGEFILE.
16984 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
16985             Joseph Myers  <joseph@codesourcery.com>
16987         * config.make.in (NM): New variable.
16989 2012-10-21  Andreas Jaeger  <aj@suse.de>
16991         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16992         definitions and declarations that are provided by
16993         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16995 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16997         [BZ #14683]
16998         * elf/Makefile (tests-static): Add tst-leaks1-static.
16999         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17000         ($(objpfx)tst-leaks1-static): New rule.
17001         ($(objpfx)tst-leaks1-static-mem): Likewise.
17002         (tst-leaks1-static-ENV): New macro.
17003         * elf/dl-open.c (dl_open_worker): Check the main application
17004         only if SHARED is defined.
17005         * elf/tst-leaks1-static.c: New file.
17007 2012-10-20  Andreas Jaeger  <aj@suse.de>
17009         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17010         generic values for Linux.
17011         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17012         and declarations that are provided by <bits/fcntl-linux.h> and
17013         include <bits/fcntl-linux.h>.
17014         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17015         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17017 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17019         * io/fcntl.h: Move include of <bits/types.h> to the top and
17020         include it unconditionally.
17022 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17024         * wcsmbs/Makefile (tests-ifunc): New variable.
17025         (tests): Add $(tests-ifunc).
17026         * wcsmbs/test-wcschr-ifunc.c: New file.
17027         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17028         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17029         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17030         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17031         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17033         * string/Makefile (tests-ifunc): New variable.
17034         (tests): Add $(tests-ifunc).
17035         * string/test-memccpy.c (TEST_NAME): New macro.
17036         * string/test-memchr.c (TEST_NAME): Likewise.
17037         * string/test-memcmp.c (TEST_NAME): Likewise.
17038         * string/test-memcpy.c (TEST_NAME): Likewise.
17039         * string/test-memmem.c (TEST_NAME): Likewise.
17040         * string/test-memmove.c (TEST_NAME): Likewise.
17041         * string/test-memset.c (TEST_NAME): Likewise.
17042         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17043         * string/test-stpcpy.c (TEST_NAME): Likewise.
17044         * string/test-stpncpy.c (TEST_NAME): Likewise.
17045         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17046         * string/test-strcasestr.c (TEST_NAME): Likewise.
17047         * string/test-strcat.c (TEST_NAME): Likewise.
17048         * string/test-strchr.c (TEST_NAME): Likewise.
17049         * string/test-strcmp.c(TEST_NAME): Likewise.
17050         * string/test-strcpy.c (TEST_NAME): Likewise.
17051         * string/test-strcspn.c (TEST_NAME): Likewise.
17052         * string/test-strlen.c (TEST_NAME): Likewise.
17053         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17054         * string/test-strncmp.c (TEST_NAME): Likewise.
17055         * string/test-strncpy.c (TEST_NAME): Likewise.
17056         * string/test-strnlen.c (TEST_NAME): Likewise.
17057         * string/test-strpbrk.c (TEST_NAME): Likewise.
17058         * string/test-strrchr.c (TEST_NAME): Likewise.
17059         * string/test-strspn.c (TEST_NAME): Likewise.
17060         * string/test-strstr.c (TEST_NAME): Likewise.
17061         * string/test-bcopy-ifunc.c: New file.
17062         * string/test-bzero-ifunc.c: Likewise.
17063         * string/test-memccpy-ifunc.c: Likewise.
17064         * string/test-memchr-ifunc.c: Likewise.
17065         * string/test-memcmp-ifunc.c: Likewise.
17066         * string/test-memcpy-ifunc.c: Likewise.
17067         * string/test-memmem-ifunc.c: Likewise.
17068         * string/test-memmove-ifunc.c: Likewise.
17069         * string/test-mempcpy-ifunc.c: Likewise.
17070         * string/test-memset-ifunc.c: Likewise.
17071         * string/test-rawmemchr-ifunc.c: Likewise.
17072         * string/test-stpcpy-ifunc.c: Likewise.
17073         * string/test-stpncpy-ifunc.c: Likewise.
17074         * string/test-strcasecmp-ifunc.c: Likewise.
17075         * string/test-strcasestr-ifunc.c: Likewise.
17076         * string/test-strcat-ifunc.c: Likewise.
17077         * string/test-strchr-ifunc.c: Likewise.
17078         * string/test-strchrnul-ifunc.c: Likewise.
17079         * string/test-strcmp-ifunc.c: Likewise.
17080         * string/test-strcpy-ifunc.c: Likewise.
17081         * string/test-strcspn-ifunc.c: Likewise.
17082         * string/test-strlen-ifunc.c: Likewise.
17083         * string/test-strncasecmp-ifunc.c: Likewise.
17084         * string/test-strncat-ifunc.c: Likewise.
17085         * string/test-strncmp-ifunc.c: Likewise.
17086         * string/test-strncpy-ifunc.c: Likewise.
17087         * string/test-strnlen-ifunc.c: Likewise.
17088         * string/test-strpbrk-ifunc.c: Likewise.
17089         * string/test-strrchr-ifunc.c: Likewise.
17090         * string/test-strspn-ifunc.c: Likewise.
17091         * string/test-strstr-ifunc.c: Likewise.
17093         * debug/Makefile (tests-ifunc): New variable.
17094         (tests): Add $(tests-ifunc).
17095         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17096         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17097         * debug/test-stpcpy_chk-ifunc.c: New file.
17098         * debug/test-strcpy_chk-ifunc.c: Likewise.
17100 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17102         [BZ #13601]
17103         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17104         header is not read in.
17106 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17108         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17109         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17110         directly.  Pass built executable to script as
17111         $(built-program-cmd).
17112         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17113         $testprogram without using LD_LIBRARY_PATH and $ldso.
17115         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17116         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17117         $(rtld-installed-name).
17118         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17119         (rtld_installed_name): Likewise.
17120         (library_path): Likewise.
17121         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17122         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17123         $(run-program-prefix) to tst-tables.sh.
17124         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17125         it to run tst-table-from and tst-table-to.
17126         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17127         Pass it to tst-table.sh.
17128         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17129         $(run-program-prefix) to tst-gettext.sh.
17130         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17131         tst-translit.sh.
17132         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17133         tst-gettext2.sh.
17134         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17135         to run tst-gettext.
17136         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17137         to run tst-gettext2.
17138         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17139         to run tst-translit.
17140         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17141         $(run-program-prefix) to tst-mtrace.sh.
17142         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17143         to run tst-mtrace.
17144         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17145         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17146         $(rtld-installed-name).
17147         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17148         (rtld_installed_name): Likewise.
17149         (run_program_prefix): New variable.  Use it to run wordexp-test.
17151         * Makeconfig (ARCH): Remove all definitions.
17152         (machine): Likewise.
17153         [ARCH]: Remove conditional code.
17154         [!objdir]: Give error.
17155         [!objdir] (objpfx): Remove.
17156         [!objdir] (common-objpfx): Likewise.
17157         [!objdir] (common-objdir): Likewise.
17158         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17159         AC_CONFIG_FILES call.
17160         * configure: Regenerated.
17162         [BZ #13888]
17163         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17164         or TMPDIR.
17165         (testout): Likewise.
17167         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17168         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17169         $(rtld-installed-name).
17170         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17171         (rtld_installed_name): Likwise.
17172         (runit): Remove function.
17173         (run_getconf): New variable,  Use it for running getconf binary.
17175 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17177         [BZ #14716]
17178         * string/test-memmem.c (check_result): New function.
17179         (do_one_test): Use it.
17180         (check1): New function.
17181         (test_main): Use it.
17183 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17185         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17187 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17189         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17190         (_G_LSEEK64): Likewise.
17191         (_G_MMAP64): Likewise.
17192         (_G_FSTAT64): Likewise.
17193         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17194         (_G_LSEEK64): Likewise.
17195         (_G_MMAP64): Likewise.
17196         (_G_FSTAT64): Likewise.
17197         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17198         unconditional.  Call __mmap64 directly.
17199         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17200         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17201         __lseek64 directly.
17202         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17203         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17204         __mmap64 directly.
17205         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17206         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17207         __lseek64 directly.
17208         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17209         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17210         __lseek64 directly.
17211         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17212         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17213         __lseek64 directly.
17214         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17215         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17216         __fxstat64 directly.
17217         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17218         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17219         unconditional.
17220         (freopen64) [!_G_OPEN64]: Remove conditional code.
17221         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17222         unconditional.
17223         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17224         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17225         unconditional.
17226         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17227         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17228         unconditional.
17229         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17230         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17231         unconditional.
17232         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17233         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17234         unconditional.
17235         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17236         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17237         unconditional.
17238         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17239         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17240         unconditional.
17241         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17243 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17245         [BZ #12140]
17246         * manual/memory.texi (Malloc Tunable Parameters): Add note
17247         about free list pointers overwriting some perturb bytes.
17248         Wording suggested by Roland McGrath.
17250 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17252         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17253         (lgamma_test): Likewise.
17254         (tgamma_test): Likewise.
17256 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17258         [BZ #14700]
17259         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17260         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17262 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17264         * NEWS: Mention BZ #14716.
17265         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17266         when removing AVAILABLE1_USES_J macro.
17268 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17270         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17271         (__bswap_64): __uint64_t for unsigned 64-bit int.
17273 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17275         * include/string.h (memmem): Declare libc hidden alias.
17276         * string/memmem.c (memmem): Define libc hidden alias.
17277         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17278         __read, __close instead of open, read, close.
17280 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17283         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17284         global and hidden.
17285         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17286         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17287         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17288         Likewise.
17289         (__rawmemchr_sse2): Likewise.
17290         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17291         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17292         (__strchr_sse2): Likewise.
17293         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17294         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17295         (__strcasecmp_sse2): Likewise.
17296         (__strncasecmp_sse2): Likewise.
17297         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17298         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17299         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17300         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17301         (__strrchr_sse2): Likewise.
17302         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17303         ifunc-impl-list.c.
17304         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17305         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17306         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17307         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17308         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17309         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17310         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17311         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17312         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17313         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17314         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17315         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17316         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17317         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17318         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17319         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17320         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17321         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17322         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17323         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17324         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17325         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17326         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17327         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17328         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17329         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17330         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17331         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17332         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17333         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17335         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17336         global and hidden.
17337         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17338         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17339         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17340         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17341         Likewise.
17342         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17343         Likewise.
17344         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17345         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17346         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17347         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17348         ifunc-impl-list.c.
17349         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17350         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17351         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17352         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17353         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17354         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17355         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17356         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17357         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17358         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17359         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17360         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17361         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17362         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17363         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17364         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17365         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17366         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17367         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17368         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17369         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17370         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17371         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17372         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17373         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17374         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17375         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17376         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17377         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17378         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17379         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17380         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17381         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17382         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17383         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17384         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17385         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17386         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17387         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17388         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17389         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17391         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17392         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17393         * include/ifunc-impl-list.h: New file.
17394         * misc/ifunc-impl-list.c: Likewise.
17395         * misc/Makefile (routines): Add ifunc-impl-list.
17396         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17397         * string/test-string.h: Include <ifunc-impl-list.h>.
17398         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17399         impl_array): New variables.
17400         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17401         are defined.
17402         (test_init): Call __libc_ifunc_impl_list to initialize
17403         func_list if TEST_IFUNC and TEST_NAME are defined.
17405         * string/Makefile (strop-tests): Add bcopy and bzero.
17406         * string/test-bcopy.c: New file.
17407         * string/test-bzero.c: Likewise.
17408         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17409         defined.
17410         * string/test-memset.c: Support bzero test if TEST_BZERO is
17411         defined.
17412         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17413         __libc_memmove.
17414         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17415         __libc_memset.
17416         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17417         of memset.
17419 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17421         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17422         * configure: Regenerated.
17424         * Makeconfig (+link-static-before-libc): Don't include
17425         $(link-static-libc).
17427         * libio/libio.h (_IO_pos_t): Remove.
17429 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17431         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17432         McGrath.
17434 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17436         * crypt/crypt-entry.c: Include fips-private.h.
17437         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17438         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17439         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17440         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17442 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17444         * crypt/crypt-private.h: Include stdbool.h.
17445         (_ufc_setup_salt_r): Return bool.
17446         * crypt/crypt-entry.c: Include errno.h.
17447         (__crypt_r): Return NULL with EINVAL for bad salt.
17448         * crypt/crypt_util.c (bad_for_salt): New.
17449         (_ufc_setup_salt_r): Check that salt is long enough and within
17450         the specified alphabet.
17451         * crypt/badsalttest.c: New file.
17452         * crypt/Makefile (tests): Add it.
17453         ($(objpfx)badsalttest): New.
17455 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17457         * NEWS: Add entry for BZ #14602.
17459 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17461         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17462         type-generic.
17463         * math/libm-test.inc: Update comment listing what functions and
17464         macros are tested.
17465         (isgreater_test): New function.
17466         (isgreaterequal_test): Likewise.
17467         (isless_test): Likewise.
17468         (islessequal_test): Likewise.
17469         (islessgreater_test): Likewise.
17470         (isunordered_test): Likewise.
17471         (main): Call the new functions.
17473 2012-10-09  Roland McGrath  <roland@hack.frob.com>
17475         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17476         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17477         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17478         * sysdeps/i386/configure: Regenerated.
17479         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17480         * sysdeps/mach/configure: Regenerated.
17481         * sysdeps/mach/hurd/configure: Regenerated.
17482         * sysdeps/powerpc/configure: Regenerated.
17483         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17484         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17485         * sysdeps/s390/s390-32/configure: Regenerated.
17486         * sysdeps/s390/s390-64/configure: Regenerated.
17487         * sysdeps/sh/configure: Regenerated.
17488         * sysdeps/sparc/configure: Regenerated.
17489         * sysdeps/unix/sysv/linux/configure: Regenerated.
17490         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17491         * sysdeps/x86_64/configure: Regenerated.
17493         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17494         defined.  Don't check if MAP is NULL.
17496 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17498         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17499         (_G_stat64): Likewise.
17500         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17501         (_G_stat64): Likewise.
17502         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17503         instead of struct _G_stat64.
17504         * libio/fileops.c (mmap_remap_check): Likewise.
17505         (decide_maybe_mmap): Likewise.
17506         (_IO_new_file_seekoff): Likewise.
17507         (_IO_file_stat): Likewise.
17508         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17509         _G_off64_t.
17510         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17511         instead of struct _G_stat64.
17512         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17514 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
17516         [BZ #14602]
17517         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17518         Replace with ...
17519         (CHECK_EOL): New macro.
17520         (two_way_short_needle): Check beginning of haystack for EOL.  Use
17521         CHECK_EOL.
17522         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17523         Replace with CHECK_EOL.
17524         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17525         Replace with CHECK_EOL.
17527 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
17529         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17530         type-generic.
17531         * math/libm-test.inc: Update comment listing what functions and
17532         macros are tested.
17533         (finite_test): New function.
17534         (isinf_test): Likewise.
17535         (isnan_test): Likewise.
17536         (fpclassify_test): Test subnormal input.
17537         (isfinite_test): Likewise.
17538         (isnormal_test): Likewise.
17539         (main): Call the new functions.
17541 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
17543         [BZ #14660]
17544         * Makerules (%.dynsym): Force C locale when running
17545         $(OBJDUMP) --dynamic-syms.
17547 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
17549         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17550         <stdint.h>.
17552 2012-10-06  David S. Miller  <davem@davemloft.net>
17554         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17555         upper 32-bits of the length value in %o2 since we use branch-on-register
17556         tests which consider the entire 64-bit register.
17558 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
17560         * string/test-strstr.c (check2): Add a test for page boundary.
17562 2012-10-05  David S. Miller  <davem@davemloft.net>
17564         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17565         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17566         file.
17567         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17568         sysdep_routines.
17569         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17570         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17571         and bzero when HWCAP_SPARC_CRYPTO is present.
17573 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
17575         [BZ #14602]
17576         * string/test-strstr.c (check2): New function.
17577         (test_main): Call check2.
17579         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17580         and bug-strchr1.
17581         * string/bug-strcasestr1.c (do_test): Moved to ...
17582         * string/test-strcasestr.c (check1): Here.  New function.
17583         (do_one_test): Break out result checking code into ...
17584         (check_result): This.  New function.
17585         (do_one_test): Call check_result.
17586         (test_main): Call check1.
17587         * string/bug-strchr1.c (do_test): Moved to ...
17588         * string/test-strchr.c (check1): Here.  New function.
17589         (do_one_test): Break out result checking code into ...
17590         (check_result): This.  New function.
17591         (do_one_test): Call check_result.
17592         (test_main): Call check1.
17593         * string/bug-strstr1.c (main): Moved to ...
17594         * string/test-strstr.c (check1): Here.  New function.
17595         (do_one_test): Break out result checking code into ...
17596         (check_result): This.  New function.
17597         (do_one_test): Call check_result.
17598         (test_main): Call check1.
17599         * string/bug-strcasestr1.c: Removed.
17600         * string/bug-strchr1.c: Likewise.
17601         * string/bug-strstr1.c: Likewise.
17603         * elf/Makefile (dl-routines): Add hwcaps.
17604         * elf/dl-support.c (_dl_important_hwcaps): Removed.
17605         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17606         (_dl_important_hwcaps): Moved to ...
17607         * elf/dl-hwcaps.c: Here.  New file.
17608         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17610         [BZ #14557]
17611         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17612         if IS_IN_rtld isn't defined.
17614         * elf/dl-support.c (_dl_sysinfo_map): New.
17615         Include "get-dynamic-info.h" and "setup-vdso.h".
17616         (_dl_non_dynamic_init): Call setup_vdso.
17617         * elf/dynamic-link.h: Don't include <assert.h>.
17618         (elf_get_dynamic_info): Moved to ...
17619         * elf/get-dynamic-info.h: Here.  New file.
17620         * elf/dynamic-link.h: Include "get-dynamic-info.h".
17621         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17622         * elf/setup-vdso.h: Here.  New file.
17623         * elf/rtld.c: Include "setup-vdso.h".
17624         (dl_main): Call setup_vdso.
17626 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
17628         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17629         creal in comment listing functions tested.  List finite, isinf,
17630         isnan, isless, islessequal, isgreater, isgreaterequal,
17631         islessgreater, isunordered, lgamma_r and pow10 as functions and
17632         macros not tested.  Mention which functions not tested are aliases
17633         for other functions.  Fix typo.  Note that signs of NaNs are not
17634         tested.
17636         * scripts/config.guess: Update from config.git.
17637         * scripts/config.sub: Likewise.
17639 2012-10-04  Roland McGrath  <roland@hack.frob.com>
17641         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17642         * misc/madvise.c (madvise): Renamed to __madvise.
17643         Make madvise a weak alias.
17644         * include/sys/mman.h: Declare __madvise.
17645         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17646         * sysdeps/unix/syscalls.list
17647         (madvise): Make __madvise the strong name, and madvise a weak alias.
17648         * sysdeps/unix/sysv/linux/syscalls.list
17649         (madvise, mmap): Remove redundant entries.
17650         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17651         * malloc/malloc.c (mtrim): Likewise.
17652         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17654 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17656         * sysdeps/mach/hurd/dl-cache.c: File removed.
17657         * config.h.in (USE_LDCONFIG): New #undef.
17658         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17659         * configure: Regenerated.
17660         * elf/Makefile (dl-routines): Add dl-cache only under
17661         [$(use-ldconfig) = yes].
17662         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17663         cache on [USE_LDCONFIG].
17664         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17665         [USE_LDCONFIG].
17666         * elf/rtld.c (dl_main): Likewise.
17668 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
17670         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17671         _SC_LEVEL4_CACHE_LINESIZE.
17673 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17675         * sysdeps/unix/bsd/confstr.h: File removed.
17677 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
17679         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17680         sys/sdt-config.h.
17682 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17684         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17685         Make 'mapoff' field ElfW(Off) rather than off_t.
17687 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17689         * nscd/Makefile: Remove nscd-cflags and all its users.
17690         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17691         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17693         [BZ #10631]
17694         * malloc.c (malloc_printerr): Clarify error message.
17696 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17698         [BZ #14648]
17699         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17700         Set bit_FMA_Usable if FMA is supported.
17701         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17702         macro.
17703         (bit_FMA4_Usable): Updated.
17704         (index_FMA_Usable): New macro.
17705         (CPUID_FMA): Likewise
17706         (HAS_FMA): Defined with bit_FMA_Usable.
17708 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17710         * bits/types.h (__swblk_t): Type removed.
17711         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17712         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17713         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17714         (__SWBLK_T_TYPE): Likewise.
17715         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17716         (__SWBLK_T_TYPE): Likewise.
17717         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17718         (__SWBLK_T_TYPE): Likewise.
17719         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17720         (__SWBLK_T_TYPE): Likewise.
17722 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17723             Honza Horak <hhorak@redhat.com>
17725         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17726         (xdr_mapname): Use YPMAXMAP as maxsize.
17727         (xdr_peername): Use YPMAXPEER as maxsize.
17728         (xdr_keydat): Use YPAXRECORD as maxsize.
17729         (xdr_valdat): Use YPMAXRECORD as maxsize.
17731 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17733         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17735         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17736         * csu/init-first.c: ... here.
17737         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17738         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17739         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17740         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17741         * sysdeps/i386/init-first.c: File removed.
17742         * sysdeps/sh/init-first.c: File removed.
17744 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17746         [BZ #14645]
17747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17748         if x * y might underflow to zero and z is zero.
17749         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17750         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17751         * math/libm-test.inc (min_subnorm_value): New variable.
17752         (fma_test): Add more tests.
17753         (fma_test_towardzero): Likewise.
17754         (fma_test_downward): Likewise
17755         (fma_test_upward): Likewise.
17756         (initialize): Set min_subnorm_value.
17758 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17760         [BZ #14638]
17761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17762         0 + 0.
17763         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17764         mode for addition resulting in exact zero.
17765         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17766         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17767         exact 0 + 0.
17768         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17769         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17770         * math/libm-test.inc (fma_test): Add more tests.
17771         (fma_test_towardzero): New function.
17772         (fma_test_downward): Likewise.
17773         (fma_test_upward): Likewise.
17774         (main): Call the new functions.
17776 2012-09-28  David S. Miller  <davem@davemloft.net>
17778         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17780 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17782         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17783         instead of SIGALRM.
17785         * sysdeps/gnu/_G_config.h: Moved to ...
17786         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17787         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17788         * sysdeps/generic/_G_config.h: ... here.
17790         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17792         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17794         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17795         Conditionalize target on [libnss_test1.so-version].
17797         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17799         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17800         (elfobjdir): Move out of conditionals.
17802         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17803         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17804         (__nss_lookup_function): Conditionalize label remove_from_tree on
17805         [!DO_STATIC_NSS || SHARED], matching its only use.
17807 2012-09-28  David S. Miller  <davem@davemloft.net>
17809         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17810         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17811         file.
17812         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17813         sysdep_routines.
17814         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17815         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17816         when HWCAP_SPARC_CRYPTO is present.
17818 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17820         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17822 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17824         [BZ #6530]
17825         * stdio-common/vfprintf.c (process_string_arg): Revert
17826         2000-07-22 change.
17828 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17830         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17831         for testcase.
17832         * stdio-common/tst-sprintf.c: Include <locale.h>
17833         (main): Test sprintf's handling of incomplete multibyte
17834         characters.
17836 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17838         * elf/dl-runtime.c (VERSYMIDX): Removed.
17839         * elf/dl-version.c (VERSYMIDX): Likewise.
17840         * elf/do-rel.h (VERSYMIDX): Likewise.
17841         (VALIDX): Likewise.
17842         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17843         * elf/rtld.c (VALIDX): Likewise.
17844         (ADDRIDX): Likewise.
17845         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17846         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17847         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17848         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17849         (VALIDX): Likewise.
17850         (ADDRIDX): Likewise.
17852 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17854         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17856 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17858         [BZ #11438]
17859         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17860         to global scope.
17861         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17862         addresses are in the same scope as 192.0.2/24.
17863         * posix/gai.conf: Document new scope table defaults.
17865 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17867         [BZ #5298]
17868         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17869         for ftell.  Compute offsets from write pointers instead.
17870         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17872 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17874         [BZ #14543]
17875         * libio/Makefile (tests): New test case tst-fseek.
17876         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17877         combination works in wide mode.
17878         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17879         state when the external buffer state changes.
17881 2012-09-27  David S. Miller  <davem@davemloft.net>
17883         [BZ #14376]
17884         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17885         pass reloc->r_addend in as the 'high' argument to
17886         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17890 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17892         * rt/tst-aio2.c: Include <pthread.h>.
17893         * rt/tst-aio3.c: Likewise.
17895 2012-09-27  Steve Ellcey  <sellcey@mips.com>
17897         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17899 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
17901         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17902         contents on [SHARED].
17904 2012-09-26  Marek Polacek  <polacek@redhat.com>
17906         [BZ #14530]
17907         [BZ #13741]
17908         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17909         for C++ and GCC <4.3 as well as for non GCC compilers.
17911 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17915 2012-09-25  Roland McGrath  <roland@hack.frob.com>
17917         * Makefile.in (all, install): Declare with .PHONY.
17918         Reported by Michael Hope <michael.hope@linaro.org>.
17920 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17922         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17923         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17924         system header.
17925         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17926         Likewise.
17927         (sydep_routines): Add the new and the internal functions.
17928         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17929         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17931         (GLIBC_2.17): Add the new function.
17932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17933         (GLIBC_2.17): Likewise.
17934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17935         (GLIBC_2.17): Likewise.
17936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17937         (GLIBC_2.17): Likewise.
17938         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17940 2012-09-25  Alan Modra  <amodra@gmail.com>
17942         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17943         Add release barrier before setting once_control to say
17944         initialisation is done.  Add hints on lwarx.  Use macro in
17945         place of isync.
17946         (clear_once_control): Add release barrier.
17948 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17950         [BZ #13629]
17951         * math/s_clog.c (__clog): Handle more values close to |z| = 1
17952         specially.
17953         * math/s_clog10.c (__clog10): Likewise.
17954         * math/s_clog10f.c (__clog10f): Likewise.
17955         * math/s_clog10l.c (__clog10l): Likewise.
17956         * math/s_clogf.c (__clogf): Likewise.
17957         * math/s_clogl.c (__clogl): Likewise.
17958         * math/Makefile (libm-calls): Add x2y2m1.
17959         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17960         (__x2y2m1): Likewise.
17961         (__x2y2m1l): Likewise.
17962         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17963         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17964         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17965         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17966         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17967         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17968         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17969         * sysdeps/i386/fpu/libm-test-ulps: Update.
17970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17972         [BZ #14621]
17973         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17974         int as type of variable DEPTH.
17975         (glob): Use size_t instead of int as type of variables NEWCOUNT
17976         and OLD_PATHC.
17978 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17980         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17981         Add s_sincosf-sse2.
17982         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17983         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17984         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17985         macros for using routine as __sincosf_ia32.
17986         Use macro for function declaration and weak_alias.
17987         * sysdeps/i386/fpu/libm-test-ulps: Update.
17989         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17990         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17992         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17993         subnormal argument.
17994         * math/s_cexpf.c (__cexpf): Likewise.
17995         * math/s_csinf.c (__csinf): Likewise.
17996         * math/s_csinhf.c (__csinhf): Likewise.
17997         * math/s_ctanf.c (__ctanf): Likewise.
17998         * math/s_ctanhf.c (__ctanhf): Likewise.
17999         * math/s_ccosh.c (__ccoshf): Likewise.
18000         * math/s_cexp.c (__cexpl): Likewise.
18001         * math/s_csin.c (__csin): Likewise.
18002         * math/s_csinh.c (__csinh): Likewise.
18003         * math/s_ctan.c (__ctan): Likewise.
18004         * math/s_ctanh.c (ctanh): Likewise.
18005         * math/s_ccoshl.c (__ccoshl): Likewise.
18006         * math/s_cexpl.c (__cexpl): Likewise.
18007         * math/s_csinl.c (__csinl): Likewise.
18008         * math/s_csinhl.c (__csinhl): Likewise.
18009         * math/s_ctanl.c (__ctanl): Likewise.
18010         * math/s_ctanhl.c (__ctanhl): Likewise.
18012 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18014         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18015         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18016         (_IO_off_t): Define to __off_t, not _G_off_t.
18017         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18018         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18019         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18020         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18021         type of __dummy and __dummy2 fields.
18022         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18023         (_G_ssize_t): Likewise.
18024         (_G_off_t): Likewise.
18025         (_G_pid_t): Likewise.
18026         (_G_uid_t): Likewise.
18027         (_G_wchar_t): Likewise.
18028         (_G_wint_t): Likewise.
18029         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18030         (_G_ssize_t): Likewise.
18031         (_G_off_t): Likewise.
18032         (_G_pid_t): Likewise.
18033         (_G_uid_t): Likewise.
18034         (_G_wchar_t): Likewise.
18035         (_G_wint_t): Likewise.
18036         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18037         (_G_ssize_t): Likewise.
18038         (_G_off_t): Likewise.
18039         (_G_pid_t): Likewise.
18040         (_G_uid_t): Likewise.
18041         (_G_wchar_t): Likewise.
18042         (_G_wint_t): Likewise.
18044 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18046         * malloc/arena.c: Include malloc-sysdep.h.
18047         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18048         is sufficient to shrink the heap or an unmap is needed.
18049         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18050         new function check_may_shrink_heap.
18051         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18052         new function check_may_shrink_heap.
18054 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18056         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18057         comments.
18059 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18061         * catgets/test-gencat.sh: Add "set -e".
18062         * elf/tst-pathopt.sh: Likewise.
18063         * grp/tst_fgetgrent.sh: Likewise.
18064         * iconvdata/run-iconv-test.sh: Likewise.
18065         * intl/tst-gettext.sh: Likewise.
18066         * intl/tst-gettext2.sh: Likewise.
18067         * intl/tst-gettext4.sh: Likewise.
18068         * intl/tst-gettext6.sh: Likewise.
18069         * intl/tst-translit.sh: Likewise.
18070         * io/ftwtest-sh: Likewise.
18071         * libio/test-freopen.sh: Likewise.
18072         * malloc/tst-mtrace.sh: Likewise.
18073         * posix/globtest.sh: Likewise.
18074         * posix/tst-getconf.sh: Likewise.
18075         * posix/wordexp-tst.sh: Likewise.
18076         * stdio-common/tst-printf.sh: Likewise.
18077         * stdio-common/tst-unbputc.sh: Likewise.
18078         * stdlib/tst-fmtmsg.sh: Likewise.
18079         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18080         * catgets/Makefile: Do not specify -e option when running
18081         testsuite shell scripts.
18082         * elf/Makefile: Likewise.
18083         * grp/Makefile: Likewise.
18084         * iconvdata/Makefile: Likewise.
18085         * intl/Makefile: Likewise.
18086         * io/Makefile: Likewise.
18087         * libio/Makefile: Likewise.
18088         * malloc/Makefile: Likewise.
18089         * posix/Makefile: Likewise.
18090         * stdio-common/Makefile: Likewise.
18091         * stdlib/Makefile: Likewise.
18092         * sysdeps/x86_64/Makefile: Likewise.
18094         * io/ftwtest-sh: Add copyright header.
18095         * posix/globtest.sh: Likewise.
18096         * posix/tst-getconf.sh: Likewise.
18097         * posix/wordexp-tst.sh: Likewise.
18098         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18100 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18102         [BZ #13679]
18103         * Makeconfig (+link): Defined as $(+link-static) if
18104         $(build-shared) isn't yes.
18105         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18106         isn't yes.
18107         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18109         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18111         [BZ #14562]
18112         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18113         new chunk size with MALLOC_ALIGN_MASK.
18115 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18117         [BZ #5044]
18118         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18119         <rounding-mode.h>.
18120         (__printf_fphex): Determine rounding using get_rounding_mode and
18121         round_away.
18122         * stdio-common/tst-printf-round.c (struct hex_test): New
18123         structure.
18124         (hex_tests): New variable.
18125         (test_hex_in_one_mode): New function.
18126         (do_test): Also run tests for hex float output.
18128 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18130         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18131         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18132         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18133         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18134         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18135         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18136         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18137         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18139 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18141         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18142         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18143         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18144         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18146 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18148         [BZ #14579]
18149         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18150         mode only.
18151         * elf/tst-rtld-load-self.sh: New test.
18152         * elf/Makefile: Run it.
18154 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18156         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18157         (tst-writev-ENV): Remove.
18158         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18160 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18162         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18164 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18166         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18167         unconditional.
18168         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18169         Likewise.
18170         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18171         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18172         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18173         Likewise.
18175 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18177         [BZ #14587]
18178         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18179         * config.make.in (have-cpp-asm-debuginfo): Removed.
18180         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18181         * configure: Regenerated.
18183 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18185         [BZ #5044]
18186         * stdio-common/printf_fp.c: Include <stdbool.h> and
18187         <rounding-mode.h>.
18188         (___printf_fp): Determine rounding using get_rounding_mode and
18189         round_away.
18190         * stdio-common/tst-printf-round.c: New file.
18191         * stdio-common/Makefile (tests): Add tst-printf-round.
18192         (link-libm): New variable.
18193         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18195 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18197         [BZ #14576]
18198         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18199         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18200         Likewise.
18201         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18202         Likewise.
18204 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18206         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18207         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18208         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18209         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18211 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18213         [BZ #14518]
18214         * include/rounding-mode.h: New file.
18215         * sysdeps/generic/get-rounding-mode.h: Likewise.
18216         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18217         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18218         (MAX_VALUE): New macro.
18219         (MIN_VALUE): Likewise.
18220         (overflow_value): New function.
18221         (underflow_value): Likewise.
18222         (round_and_return): Use overflow_value and underflow_value to
18223         determine return values in overflow and underflow cases.  Use
18224         round_away to determine rounding depending on rounding mode.
18225         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18226         determine return values in overflow and underflow cases.
18227         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18228         (struct test_results): New structure.
18229         (struct test): Use struct test_results to store expected results
18230         for all rounding modes.
18231         (TEST): Include expected results for all rounding modes.
18232         (test_in_one_mode): New function.
18233         (do_test): Use test_in_one_mode to compute and check results.
18234         Check results for all rounding modes.
18235         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18236         $(link-libm).
18238 2012-12-09  Allan McRae  <allan@archlinux.org>
18240         * sysdeps/i386/fpu/libm-test-ulps: Update
18242 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18244         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18245         (_G_int32_t): Likewise.
18246         (_G_uint16_t): Likewise.
18247         (_G_uint32_t): Likewise.
18248         (_G_HAVE_BOOL): Likewise.
18249         (_G_HAVE_ATEXIT): Likewise.
18250         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18251         (_G_HAVE_IO_FILE_OPEN): Likewise.
18252         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18253         (_G_int32_t): Likewise.
18254         (_G_uint16_t): Likewise.
18255         (_G_uint32_t): Likewise.
18256         (_G_HAVE_BOOL): Likewise.
18257         (_G_HAVE_ATEXIT): Likewise.
18258         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18259         (_G_HAVE_IO_FILE_OPEN): Likewise.
18260         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18261         (_G_int32_t): Likewise.
18262         (_G_uint16_t): Likewise.
18263         (_G_uint32_t): Likewise.
18264         (_G_HAVE_BOOL): Likewise.
18265         (_G_HAVE_ATEXIT): Likewise.
18266         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18267         (_G_HAVE_IO_FILE_OPEN): Likewise.
18269 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18271         * csu/libc-tls.c: Update copyright years.
18273 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18275         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18276         [!_G_USING_THUNKS]: Remove conditional code.
18277         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18278         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18280         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18281         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18282         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18283         (_G_VTABLE_LABEL_PREFIX): Likewise.
18284         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18285         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18286         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18287         (_G_VTABLE_LABEL_PREFIX): Likewise.
18288         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18289         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18290         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18291         (_G_VTABLE_LABEL_PREFIX): Likewise.
18292         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18294 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18296         * libio/Makefile: Include ../Makeconfig before tests.
18297         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18298         only if $(build-shared) is yes.
18300         * iconv/gconv_db.c: Update copyright years.
18302 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18304         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18305         unwind info if defined PIC. Fix special cases description.
18306         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18308         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18309         DP_HI_MASK entry.
18310         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18312 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18314         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18316         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18317         is NULL.
18319         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18320         (LDLIBS-tst-chk4): This.
18321         (LDFLAGS-tst-chk5): Renamed to ...
18322         (LDLIBS-tst-chk5): This.
18323         (LDFLAGS-tst-chk6): Renamed to ...
18324         (LDLIBS-tst-chk6): This.
18325         (LDFLAGS-tst-lfschk4): Renamed to ...
18326         (LDLIBS-tst-lfschk4): This.
18327         (LDFLAGS-tst-lfschk5): Renamed to ...
18328         (LDLIBS-tst-lfschk5): This.
18329         (LDFLAGS-tst-lfschk6): Renamed to ...
18330         (LDLIBS-tst-lfschk6): This.
18332         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18333         on $(common-objpfx)soversions.mk.
18335 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18337         [BZ #10014]
18338         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18339         example host name.
18341 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18343         * malloc/arena.c (arena_get_retry): New function that gets
18344         another arena for the caller to try its request on.
18345         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18346         current arena cannot fulfill the request.
18347         (__libc_memalign): Likewise.
18348         (__libc_memalign): Likewise.
18349         (__libc_pvalloc): Likewise.
18350         (__libc_calloc): Likewise.
18352 2012-09-05  John Tobey  <john.tobey@gmail.com>
18354         [BZ #13542]
18355         * manual/arith.texi (Operations on Complex): Fix description
18356         of carg branch cut.
18358 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18360         [BZ #10014]
18361         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18362         host name.
18364         [BZ #10038]
18365         * manual/memory.texi (Memory): Make order of menu items match
18366         order of sections.
18368 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18370         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18371         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18372         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18374 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18376         * csu/libc-tls.c (static_dtv): Renamed to ...
18377         (_dl_static_dtv): This.  Make it global.
18378         (_dl_initial_dtv): Removed.
18379         (__libc_setup_tls): Updated.
18380         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18381         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18382         DL_INITIAL_DTV.
18384 2012-09-06  Petr Machata  <pmachata@redhat.com>
18386         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18387         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18388         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18389         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18391 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18393         [BZ #14545]
18394         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18395         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18396         freeing dtv[-1].
18398 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18400         [BZ #14544]
18401         * Makeconfig (link-static-before-libc): Replace $(+prector)
18402         with $(+prectorT).
18403         (link-static-after-libc): Replace $(+postctor) with
18404         $(+postctorT).
18405         (link-bounded): Replace $(+prector)/$(+postctor) with
18406         $(+prectorT)/$(+postctorT).
18407         (+prectorT): New macro.
18408         (+postctorT): Likewise.
18410 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18412         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18413         (round_str): Handle values above the maximum for IBM long double
18414         as inexact.
18415         * stdlib/tst-strtod-round.c (tests): Regenerated.
18417 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18419         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18420         assembler flag.
18421         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18422         zarch_nohighgprs around the zarch optimized routines.
18423         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18424         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18425         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18426         for zarch.
18428 2012-09-05  David S. Miller  <davem@davemloft.net>
18430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18432         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18433         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18434         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18435         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18436         entries.
18438 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18440         * malloc/arena.c: Fold copyright years.
18441         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18443 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18445         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18447 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18449         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18451 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18453         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18454         change internal state upon failure.
18456 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18458         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18459         * malloc/memusage.c (mmap): Likewise.
18460         (mmap64, mremap): Likewise.  Adjust name in comment.
18462 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18464         * libio/fileops.c: Fix typos in comments.
18465         * libio/oldfileops.c: Likewise.
18466         * libio/wfileops.c: Likewise.
18468 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18470         [BZ #1349]
18471         * malloc/Makefile (tests): Add tst-malloc-usable test case.
18472         (tst-malloc-usable-ENV): Set environment for test case.
18473         * malloc/hooks.c (malloc_check_get_size): New function to get
18474         requested size.
18475         * malloc/malloc.c (musable): Use malloc_check_get_size.
18476         * malloc/tst-malloc-usable.c: New test case.
18478 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18480         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18482 2012-09-05  Allan McRae  <allan@archlinux.org>
18484         [BZ #13966]
18485         * configure.in (CXX_SYSINCLUDES): Use compiler output to
18486         determine header location.
18487         * configure: Regenerated.
18489 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18491         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18492         float format.
18493         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18494         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18495         format.
18496         (test): Regenerate.
18498 2012-09-04  David S. Miller  <davem@davemloft.net>
18500         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18501         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18502         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18504 2012-09-04  Florian Weimer  <fweimer@redhat.com>
18506         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18507         failures.
18509         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18511 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
18513         [BZ #9914]
18514         * libio/iogetdelim.c: Include <limits.h>.
18515         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18516         + len + 1 would overflow.
18518 2012-09-03  Andreas Jaeger  <aj@suse.de>
18520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18521         * sysdeps/i386/fpu/libm-test-ulps: Update.
18523 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18525         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18526         Add s_sinf-sse2, s_conf-sse2.
18528         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18529         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18530         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18531         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18533         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18534         for using routine as __sinf_ia32.
18535         Use macro for function declaration and weak_alias.
18536         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18537         for using routine as __cosf_ia32.
18538         Use macro for function declaration and weak_alias.
18540         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18541         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18543         * sysdeps/x86_64/fpu/s_sinf.S: New file.
18544         * sysdeps/x86_64/fpu/s_cosf.S: New file.
18545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18547         * math/libm-test.inc (cos_test): Add more test cases.
18548         (sin_test): Likewise.
18549         (sincos_test): Likewise.
18551 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18553         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18554         (IFUNC_RESOLVE): Make pointers to the specialized implementations
18555         hidden.
18556         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18558 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
18560         [BZ #14538]
18561         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18562         first element of the GOT.
18563         (elf_machine_load_address): Return the difference between
18564         the runtime address of _DYNAMIC and elf_machine_dynamic ().
18566 2012-09-01  Allan McRae  <allan@archlinux.org>
18568         [BZ #13412]
18569         * configure.in (AWK): Require gawk version 3.0 or later.
18570         * configure: Regenerated.
18572 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
18574         * sysdeps/unix/sysv/linux/kernel-features.h
18575         (__ASSUME_POSIX_CPU_TIMERS): Remove.
18576         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18577         [__NR_clock_getres]: Make code unconditional.
18578         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18579         (clock_getcpuclockid): Remove code left unreachable by removal of
18580         conditionals.
18581         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18582         code unconditional.
18583         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18584         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18585         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18586         Make code unconditional.
18587         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18588         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18589         * sysdeps/unix/sysv/linux/clock_settime.c
18590         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18591         conditional code.
18592         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18593         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18595 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
18597         [BZ #14476]
18598         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18599         scripts/test-installation.pl.
18601         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18602         and $ld_so_version if it is set.
18604 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18606         [BZ #14516]
18607         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18608         failure if reading from procfs failed.
18609         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18611 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18613         * sysdeps/unix/sysv/linux/kernel-features.h
18614         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18615         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18616         Remove conditional code.
18617         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18618         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18619         Remove conditional code.
18620         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18621         * sysdeps/unix/sysv/linux/i386/fxstat.c
18622         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18623         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18624         * sysdeps/unix/sysv/linux/i386/fxstatat.c
18625         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18626         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18627         * sysdeps/unix/sysv/linux/i386/lxstat.c
18628         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18629         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18630         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18631         Remove conditional code.
18632         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18633         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18634         Remove conditional code.
18635         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18636         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18637         <kernel-features.h>.
18638         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18639         Remove.
18640         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18641         Remove conditional code.
18642         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18643         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18644         Remove conditional.
18646 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
18648         [BZ #5400]
18649         * NEWS: Add fixed bug number.
18651 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18653         [BZ #14519]
18654         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18655         underflowing exponent in case of negative sign.
18656         * stdlib/tst-strtod-round-data: Add more tests.
18657         * stdlib/tst-strtod-round.c (tests): Regenerated.
18659         [BZ #3479]
18660         * stdlib/strtod_l.c (NDIG): Remove.
18661         (HEXNDIG): Likewise.
18662         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18663         smallest representable value.
18664         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18665         lie within an exact representation of 1/2 ulp of the result.
18666         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18667         unconditionally.
18668         (TENS_P9_IDX): Define unconditionally.
18669         (TENS_P9_SIZE): Likewise.
18670         (TENS_P10_IDX): Likewise.
18671         (TENS_P10_SIZE): Likewise.
18672         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18673         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18674         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18675         entries for 10^2^13 and 10^2^14.
18676         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18677         (TENS_P13_IDX): Define.
18678         (TENS_P13_SIZE): Likewise.
18679         (TENS_P14_IDX): Likewise.
18680         (TENS_P14_SIZE): Likewise.
18681         (_fpioconst_pow10): Change array size to
18682         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18683         unconditional.
18684         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18685         1024]: Add entries for 10^2^13 and 10^2^14.
18686         [LAST_POW10 > _LAST_POW10]: Remove #error.
18687         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18688         (_fpioconst_pow10): Change array size to
18689         FPIOCONST_POW10_ARRAY_SIZE.
18690         * stdlib/gen-fpioconst.c: New file.
18691         * stdlib/gen-tst-strtod-round.c: Likewise.
18692         * stdlib/tst-strtod-round-data: Likewise.
18693         * stdlib/tst-strtod-round.c: Likewise.
18694         * stdlib/Makefile (tests): Add tst-strtod-round.
18696         [BZ #14459]
18697         * stdlib/strtod_l.c: Include <stdint.h>.
18698         (NDEBUG): Do not define.
18699         (round_and_return): Change EXPONENT parameter to type intmax_t.
18700         Rearrange calculations to avoid internal overflow possibilities.
18701         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18702         Rearrange calculations to avoid internal overflow possibilities.
18703         Assert that number fits inside MPNSIZE limbs.
18704         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18705         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18706         calculations and add assertions to avoid internal overflow
18707         possibilities.  Add casts to avoid signed/unsigned operations.
18708         * stdlib/tst-strtod-overflow.c: New file.
18709         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18711 2012-08-25  Marek Polacek  <polacek@redhat.com>
18713         * time/time.h: Fix some typos in comments.
18715 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18717         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18718         * posix/tst-rfc3484-2.c: Likewise.
18719         * posix/tst-rfc3484-3.c: Likewise.
18721 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18723         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18724         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18726 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18728         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18729         #include of fxstatat64.c.
18731 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18733         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18734         * shadow/getspent_r.c: Likewise.
18735         * shadow/getspnam.c: Likewise.
18736         * shadow/getspnam_r.c: Likewise.
18737         * gshadow/getsgent.c: Likewise.
18738         * gshadow/getsgent_r.c: Likewise.
18739         * gshadow/getsgnam.c: Likewise.
18740         * gshadow/getsgnam_r.c: Likewise.
18741         * inet/getnetbyad.c: Likewise.
18742         * inet/getnetbyad_r.c: Likewise.
18743         * inet/getnetbynm.c: Likewise.
18744         * inet/getnetbynm_r.c: Likewise.
18745         * inet/getnetent.c: Likewise.
18746         * inet/getnetent_r.c: Likewise.
18747         * inet/getproto.c: Likewise.
18748         * inet/getproto_r.c: Likewise.
18749         * inet/getprtent.c: Likewise.
18750         * inet/getprtent_r.c: Likewise.
18751         * inet/getprtname.c: Likewise.
18752         * inet/getprtname_r.c: Likewise.
18753         * inet/getrpcbyname.c: Likewise.
18754         * inet/getrpcbyname_r.c: Likewise.
18755         * inet/getrpcbynumber.c: Likewise.
18756         * inet/getrpcbynumber_r.c: Likewise.
18757         * inet/getrpcent.c: Likewise.
18758         * inet/getrpcent_r.c: Likewise.
18759         * inet/getaliasent.c: Likewise.
18760         * inet/getaliasent_r.c: Likewise.
18761         * inet/getaliasname.c: Likewise.
18762         * inet/getaliasname_r.c: Likewise.
18763         * nscd/getgrgid_r.c: Likewise.
18764         * nscd/getgrnam_r.c: Likewise.
18765         * nscd/gethstbyad_r.c: Likewise.
18766         * nscd/gethstbynm3_r.c: Likewise.
18767         * nscd/getpwnam_r.c: Likewise.
18768         * nscd/getpwuid_r.c: Likewise.
18769         * nscd/getsrvbynm_r.c: Likewise.
18770         * nscd/getsrvbypt_r.c: Likewise.
18771         * nscd/gai.c: Likewise.
18773         * configure.in (build_nscd): New substituted variable, set
18774         by --disable-build-nscd and defaults to $use_nscd.
18775         * configure: Regenerated.
18776         * config.make.in (build-nscd): New substituted variable.
18777         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18778         Change conditional to require [$(build-nscd) = yes] as well.
18779         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18781         [BZ# 13696]
18782         * configure.in (use_nscd): New substituted variable, set by
18783         --disable-nscd.  If enabled, define USE_NSCD.
18784         * configure: Regenerated.
18785         * config.h.in: Add USE_NSCD.
18786         * config.make.in (use-nscd): New substituted variable.
18787         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18788         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18789         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18790         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18791         (CFLAGS-getgrnam_r.c): Likewise.
18792         (CFLAGS-initgroups.c): Likewise.
18793         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18794         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18795         Variables removed.
18796         * inet/getnetgrent_r.c
18797         (nscd_setnetgrent): New function, broken out of ...
18798         (setnetgrent): ... here.  Call it.
18799         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18800         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18801         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18802         * nscd/Makefile (routines, aux): Move definitions after include of
18803         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18804         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18805         Conditionalize on [USE_NSCD].
18806         (is_nscd, nscd_init_cb): Likewise.
18807         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18808         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18809         * nss/nss_db/db-init.c: Likewise.
18810         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18811         [USE_NSCD].
18812         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18813         (make_request): Use it.
18814         (cache_valid_p): New function.
18815         (__check_pf): Use it.
18816         * NEWS: Add item for --disable-nscd.
18818 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18820         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18821         to support sed >= 4.2.1-20-ga9bf076.
18822         * configure: Regenerated.
18824 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18826         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18827         Conditionalize whole body on [IREL].
18829 2012-08-22  Jeff Law <law@redhat.com>
18831         [BZ #14505]
18832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18833         if the family is PF_UNSPEC.
18835 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18837         * Makerules (lib-version): Rename from V.
18838         (install-lib-nosubdir): Change V to lib-version.
18840 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18842         [BZ #14252]
18843         * powerpc32/power6/wcschr.c: New file.
18844         * powerpc32/power6/wcscpy.c: New file.
18845         * powerpc32/power6/wcsrchr.c: New file.
18846         * powerpc64/power6/wcschr.c: New file.
18847         * powerpc64/power6/wcscpy.c: New file.
18848         * powerpc64/power6/wcsrchr.c: New file.
18850 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18852         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18853         (two_way_short_needle): Use it.
18854         * string/strstr.c (AVAILABLE1_USES_J): Define.
18855         * string/strcasestr.c: Likewise.
18857         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18858         array references.
18859         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18861         [BZ #11607]
18862         * NEWS: Add an entry.
18863         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18864         define their defaults.
18865         (two_way_short_needle): Detect end-of-string on-the-fly.
18866         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18867         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18868         * string/bug-strcasestr1.c: New test.
18869         * string/Makefile: Run it.
18871 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18873         [BZ #11607]
18874         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18875         the first character.
18877 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18879         * csu/elf-init.c (__libc_csu_irel): Function removed.
18880         * csu/libc-start.c (apply_irel): New function.
18881         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18883 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
18885         * sysdeps/unix/sysv/linux/kernel-features.h
18886         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18887         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18888         <kernel-features.h>.
18889         [__NR_fadvise64_64]: Make code unconditional.
18890         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18891         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18892         !__NR_fadvise64_64)]: Likewise.
18893         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18894         !__NR_fadvise64_64))]: Likewise.
18895         [__NR_fadvise64]: Make code unconditional.
18896         [!__NR_fadvise64]: Remove conditional code.
18897         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18898         <kernel-features.h>.
18899         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18900         unconditional.
18901         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18902         conditional code.
18903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18904         not include <kernel-features.h>.
18905         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18906         unconditional.
18907         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18908         conditional code.
18909         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18910         include <kernel-features.h>.
18911         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18912         unconditional.
18913         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18914         conditional code.
18916 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18918         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18919         slight instruction rearrangements per scrollpipe analysis.
18920         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18922 2012-08-20  Roland McGrath  <roland@hack.frob.com>
18924         * manual/syslog.texi (syslog; vsyslog, closelog):
18925         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18926         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18928         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18929         DSOCAPS to match condition on defining it.
18931 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
18933         * sysdeps/unix/sysv/linux/kernel-features.h
18934         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18936         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18937         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18939         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18940         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18942         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18943         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18945         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18946         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18948         * sysdeps/unix/sysv/linux/kernel-features.h
18949         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18950         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18951         unconditional.
18952         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18953         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18954         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18955         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18956         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18957         Make code unconditional.
18958         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18959         (__mmap64) [!__NR_mmap2]: Likewise.
18960         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18961         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18962         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18963         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18964         [__NR_mmap2]: Make code unconditional.
18965         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18966         (__mmap64) [!__NR_mmap2]: Likewise.
18968 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18970         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18972 2012-08-18  Andreas Jaeger  <aj@suse.de>
18974         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18976 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18978         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18979         * include/unistd.h (__have_sock_cloexec): Likewise.
18980         (__have_pipe2): Likewise.
18981         (__have_dup3): Likewise.
18983 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18985         [BZ #9685]
18986         * include/unistd.h (__have_pipe2): Change define into an extern int.
18987         (__have_dup3): Likewise.
18988         * socket/have_sock_cloexec.c: Include fcntl.h.
18989         (__have_pipe2): New variable.
18990         (__have_dup3): Likewise.
18992 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
18994         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18996 2012-08-17  Marek Polacek  <polacek@redhat.com>
18998         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18999         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19001 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19003         * configure.in: Add AC_SUBST for sysheaders.
19004         * configure: Regenerated.
19005         * config.make.in (sysheaders): New substituted variable.
19007         * sysdeps/unix/mkfifo.c: Moved ...
19008         * sysdeps/posix/mkfifo.c: ... here.
19009         * sysdeps/unix/mkfifoat.c: Moved ...
19010         * sysdeps/posix/mkfifoat.c: ... here.
19012         * sysdeps/unix/utime.c: Moved ...
19013         * sysdeps/posix/utime.c: ... here.
19015         * sysdeps/unix/time.c: Moved ...
19016         * sysdeps/posix/time.c: ... here.
19017         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19018         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19020         * sysdeps/unix/nice.c: Moved ...
19021         * sysdeps/posix/nice.c: ... here.
19023         * sysdeps/unix/alarm.c: Moved ...
19024         * sysdeps/posix/alarm.c: ... here.
19026         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19028 2012-08-17  Jeff Law <law@redhat.com>
19030         * intl/Makefile (codeset_mo): New variable.
19031         ($(codeset_mo)): New target.
19032         (tst-codeset.out): Depend on that.  Remove explicit rule.
19033         (tst-gettext3.out, tst-gettext5.out): Likewise.
19034         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19035         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19036         * intl/tst-codeset.sh: Remove.
19037         * intl/tst-gettext3.sh: Likewise.
19038         * intl/tst-gettext5.sh: Likewise.
19040 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19042         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19043         * sysdeps/unix/syscalls.list: ... here.
19045         * sysdeps/posix/getaddrinfo.c
19046         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19047         (gaiconf_init, gaiconf_reload): Use them.
19048         [!_STATBUF_ST_NSEC]
19049         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19050         Define using time_t rather than struct timespec.
19052         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19053         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19054         Macros removed.
19055         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19056         [!NO_THREADS].
19057         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19058         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19059         Likewise.
19061         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19062         __libc_cleanup_push argument.
19064         * bits/param.h: New file.
19065         * misc/sys/param.h: New file.
19066         * include/sys/param.h: New file.
19067         * misc/Makefile (headers): Add bits/param.h.
19068         * sysdeps/generic/sys/param.h: File removed.
19069         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19070         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19071         * sysdeps/mach/hurd/bits/param.h: New file.
19072         * sysdeps/mach/hurd/sys/param.h: File removed.
19074         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19075         last change.
19077         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19078         [_IO_MTSAFE_IO].
19079         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19080         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19081         New macros.
19083         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19084         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19085         rather than -D_IO_MTSAFE_IO conditionally.
19086         * stdio-common/Makefile (CPPFLAGS): Likewise.
19087         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19088         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19089         Use $(libio-mtsafe).
19090         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19091         of -D_IO_MTSAFE_IO.
19092         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19093         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19094         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19095         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19096         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19097         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19098         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19099         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19100         (CFLAGS-fread_u_chk.c): Likewise.
19101         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19102         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19103         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19104         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19105         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19106         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19107         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19108         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19109         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19111         * libio/Makefile: Test [$(libc-reentrant) = yes]
19112         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19114         * Makeconfig
19115         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19116         * sysdeps/pthread/configure: File removed.
19117         * sysdeps/pthread/Makeconfig: New file.
19118         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19119         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19121 2012-08-16  Gary Benson  <gbenson@redhat.com>
19123         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19124         unmapping the first object in a namespace.
19126 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19128         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19129         (__internal_setnetgrent): ... this.  Add internal_function to
19130         definition.  Add libc_hidden_def.
19131         (setnetgrent): Update caller.
19132         (internal_endnetgrent): Renamed to ...
19133         (__internal_endnetgrent): ... this.  Add internal_function to
19134         definition.  Add libc_hidden_def.
19135         (endnetgrent): Update caller.
19136         (internal_getnetgrent_r): Renamed to ...
19137         (__internal_getnetgrent_r): ... this.  Add internal_function to
19138         definition.  Add libc_hidden_def.
19139         (__getnetgrent_r): Update caller.
19140         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19142 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19144         * stdlib/longlong.h: Update from GCC.
19146 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19148         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19149         on _QL, which is set by umul_ppmm but never used.
19150         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19151         variables, which are set by GMP macros but never used.
19152         * stdio-common/_itowa.c (_itowa): Likewise.
19153         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19154         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19156 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19158         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19159         struct La_sh_regs is not constant.
19160         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19161         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19162         and struct La_sparc64_regs are not constant.
19164 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19166         * sysdeps/unix/sysv/linux/kernel-features.h
19167         (__ASSUME_POSIX_TIMERS): Remove.
19168         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19169         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19170         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19171         Make code unconditional.
19172         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19173         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19174         Make code unconditional.
19175         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19176         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19177         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19178         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19179         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19180         Make code unconditional.
19181         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19182         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19183         (__libc_missing_posix_timers): Remove.
19185 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19187         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19188         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19190         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19192         * elf/dl-sym.c: Include <stdlib.h>.
19194         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19195         constants, which avoids warnings in 32-bit builds.
19197         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19198         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19200         * misc/lseek.c: File moved to ...
19201         * io/lseek.c: ... here.
19203         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19205         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19206         shifting LEN more than 31 bits at once.
19208 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19210         [BZ #14195]
19211         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19212         segmentation fault for a case of two empty input strings.
19213         * string/test-strncasecmp.c (check1): Renamed to...
19214         (bz12205): ...this.
19215         (bz14195): Add new testcase for two empty input strings and N > 0.
19216         (test_main): Call new testcase, adapt for renamed function.
19218 2012-08-15  Andreas Jaeger  <aj@suse.de>
19220         [BZ #14090]
19221         * crypt/md5test2.c: New test, based on test supplied by Serge
19222         Belyshev <belyshev@depni.sinp.msu.ru>.
19223         * crypt/Makefile (xtests): Add md5test-giant..
19224         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19226 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19228         [BZ #14090]
19229         * crypt/md5.c (md5_process_block): Don't assume the buffer
19230         length is less than 2**32.
19231         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19232         length is less than 2**64.
19234 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19236         * string/str-two-way.h: Include <sys/param.h>.
19237         (MAX): Macro removed.
19239         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19240         Move #define and #undef of memmove to just before and after
19241         including <string.h>.
19243         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19244         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19245         and after including <string.h>.  Move declarations of
19246         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19247         to before #include "string/memmove.c".
19249         * include/dirent.h: Declare __getdirentries.
19251         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19252         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19254 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19256         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19257         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19258         * sysdeps/i386/configure: Regenerated.
19259         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19260         STABS_CURRENT_FILE, and STABS_FUN.
19261         (END): Remove call to STABS_FUN_END.
19262         (STABS_CURRENT_FILE1): Delete.
19263         (STABS_CURRENT_FILE): Likewise.
19264         (STABS_FUN): Likewise.
19265         (STABS_FUN_END): Likewise.
19266         (STABS_FUN2): Likewise.
19267         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19268         * sysdeps/x86_64/configure: Regenerated.
19270 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19272         * elf/dl-open.c: Include <atomic.h>.
19273         * elf/dl-lookup.c: Likewise.
19275 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19277         * sysdeps/unix/sysv/linux/kernel-features.h
19278         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19279         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19280         unconditionally.
19281         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19282         unconditionally.
19283         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19284         condition on __ASSUME_CLONE_THREAD_FLAGS.
19286 2012-08-14  Andreas Jaeger  <aj@suse.de>
19288         * sysdeps/i386/fpu/libm-test-ulps: Update.
19290 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19292         * include/atomic.h (atomic_exchange_and_add): Split into ...
19293         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19294         New atomic macros.
19296 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19300 2012-08-13  Jeff Law <law@redhat.com>
19302         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19303         null byte in the output string.
19305 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19307         * sysdeps/unix/sysv/linux/kernel-features.h
19308         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19309         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19310         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19311         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19312         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19313         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19314         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19316 2012-08-09  Jeff Law <law@redhat.com>
19318         [BZ #13939]
19319         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19320         When avoid_arena is set, don't retry in the that arena.  Pick the
19321         next one, whatever it might be.
19322         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19323         (arena_lock): Pass in new parameter to arena_get2.
19324         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19325         arena_get2.
19326         (__libc_malloc): Unify retrying after main arena failure with
19327         __libc_memalign version.
19328         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19330 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19332         [BZ #14166]
19333         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19334         to __redirect_strstr.
19335         (__strstr_sse42): Use typeof __redirect_strstr.
19336         (__strstr_ia32): Likewise.
19337         (__libc_strstr): New prototype.
19338         (strstr): Renamed to ...
19339         (__libc_strstr): This.
19340         (strstr): New strong alias of __libc_strstr.
19341         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19342         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19343         __redirect_time.
19344         Include <time.h>.
19345         (__libc_time): New prototype.
19346         (time_ifunc): Replace time with __libc_time.
19347         (time): New strong alias and hidden definition of __libc_time.
19348         (__GI_time): Remove strong alias.
19349         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19350         Include <stddef.h>.
19351         (memmove): Redefined to __redirect_memmove.
19352         (__memmove_sse2): Use typeof __redirect_memmove.
19353         (__memmove_ssse3): Likewise.
19354         (__memmove_ssse3_back): Likewise.
19355         (__libc_memmove): New prototype.
19356         (memmove): Renamed to ...
19357         (__libc_memmove): This.
19358         (memmove): New strong alias of __libc_memmove.
19360 2012-08-08  Mark Salter  <msalter@redhat.com>
19362         * elf/elf.h
19363         (R_MN10300_TLS_GD): Define.
19364         (R_MN10300_TLS_LD): Likewise.
19365         (R_MN10300_TLS_LDO): Likewise.
19366         (R_MN10300_TLS_GOTIE): Likewise.
19367         (R_MN10300_TLS_IE): Likewise.
19368         (R_MN10300_TLS_LE): Likewise.
19369         (R_MN10300_TLS_DTPMOD): Likewise.
19370         (R_MN10300_TLS_DTPOFF): Likewise.
19371         (R_MN10300_TLS_TPOFF): Likewise.
19372         (R_MN10300_SYM_DIFF): Likewise.
19373         (R_MN10300_ALIGN): Likewise.
19374         (R_MN10300_NUM): Update.
19376 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19378         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19379         Remove.
19381 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19383         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19385         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19386         sysdeps/unix -> sysdeps/posix move.
19387         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19389 2012-08-07      Allan McRae     <allan@archlinux.org>
19391         [BZ #14303]
19392         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19393         (SUNOS_CPP): Likewise.
19394         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19395         not found.
19396         (open_input): Call CPP using execvp.
19398 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19400         * sysdeps/unix/sysv/linux/kernel-features.h
19401         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19402         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19403         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19404         (__ASSUME_WAITID_SYSCALL): Likewise.
19405         * sysdeps/unix/sysv/linux/dl-execstack.c
19406         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19407         code unconditional.
19408         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19409         conditional code.
19410         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19411         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19412         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19413         code.
19414         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19415         unconditional.
19416         [__ASSUME_WAITID_SYSCALL]: Likewise.
19417         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19419 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19421         * sysdeps/unix/closedir.c: Renamed to ...
19422         * sysdeps/posix/closedir.c: ... here.
19423         * sysdeps/unix/dirfd.c: Renamed to ...
19424         * sysdeps/posix/dirfd.c: ... here.
19425         * sysdeps/unix/dirstream.h: Renamed to ...
19426         * sysdeps/posix/dirstream.h: ... here.
19427         * sysdeps/unix/fdopendir.c: Renamed to ...
19428         * sysdeps/posix/fdopendir.c: ... here.
19429         * sysdeps/unix/opendir.c: Renamed to ...
19430         * sysdeps/posix/opendir.c: ... here.
19431         * sysdeps/unix/readdir.c: Renamed to ...
19432         * sysdeps/posix/readdir.c: ... here.
19433         * sysdeps/unix/readdir_r.c: Renamed to ...
19434         * sysdeps/posix/readdir_r.c: ... here.
19435         * sysdeps/unix/rewinddir.c: Renamed to ...
19436         * sysdeps/posix/rewinddir.c: ... here.
19437         * sysdeps/unix/seekdir.c: Renamed to ...
19438         * sysdeps/posix/seekdir.c: ... here.
19439         * sysdeps/unix/telldir.c: Renamed to ...
19440         * sysdeps/posix/telldir.c: ... here.
19441         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19442         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19443         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19444         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19446         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19447         * bits/fcntl.h: ... here.
19449         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19450         not 0.
19451         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19452         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19453         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19454         (struct flock): Move l_start, l_len to the beginning.
19455         Use __pid_t for l_pid.
19456         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19457         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19458         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19459         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19460         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19461         [__USE_LARGEFILE64] (struct flock64): New type.
19462         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19464         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19465         * bits/dirent.h: ... here.
19467         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19468         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19470 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19472         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19473         Change from 2.6.0 to 2.6.16.
19474         * sysdeps/unix/sysv/linux/configure: Regenerated.
19475         * sysdeps/unix/sysv/linux/kernel-features.h
19476         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19477         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19478         version.
19479         (__ASSUME_UTIMES): Likewise.
19480         (__ASSUME_CLONE_STOPPED): Remove.
19481         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19482         architectures, not kernel version.
19483         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19484         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19485         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19486         (__ASSUME_WAITID_SYSCALL): Likewise.
19487         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19488         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19489         * README: State 2.6.16 as minimum Linux kernel version.  Do not
19490         refer to older versions.
19492 2012-08-06  Roland McGrath  <roland@hack.frob.com>
19494         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19495         Define alphasort64 as an alias.
19496         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19497         Define versionsort64 as an alias.
19498         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19499         Define scandir64 as an alias.
19500         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19501         Define scandirat64 as an alias.
19502         * dirent/alphasort64.c (alphasort64):
19503         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19504         * dirent/versionsort64.c: Likewise.
19505         * dirent/scandir64.c: Likewise.
19506         * dirent/scandirat64.c: Likewise.
19507         * sysdeps/wordsize-64/alphasort.c: File removed.
19508         * sysdeps/wordsize-64/alphasort64.c: File removed.
19509         * sysdeps/wordsize-64/scandir.c: File removed.
19510         * sysdeps/wordsize-64/scandir64.c: File removed.
19511         * sysdeps/wordsize-64/scandirat.c: File removed.
19512         * sysdeps/wordsize-64/scandirat64.c: File removed.
19513         * sysdeps/wordsize-64/versionsort.c: File removed.
19514         * sysdeps/wordsize-64/versionsort64.c: File removed.
19515         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19516         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19517         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19518         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19519         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19520         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19521         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19522         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19524         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19525         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19526         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19527         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19528         [defined __arch64__ || defined __sparcv9]
19529         (__INO_T_MATCHES_INO64_T): New macro.
19530         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19531         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19532         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19533         * sysdeps/unix/sysv/linux/bits/dirent.h
19534         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19535         (_DIRENT_MATCHES_DIRENT64): New macro.
19537         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19538         Define lockf64 as an alias.
19539         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19540         Define fseeko64 as an alias.
19541         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19542         Define ftello64 as an alias.
19543         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19544         Define _IO_fgetpos64 and fgetpos64 as aliases.
19545         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19546         Define _IO_fsetpos64 and fsetpos64 as aliases.
19547         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19548         Conditionalize body on this.
19549         * libio/fseeko64.c: Likewise.
19550         * libio/ftello64.c: Likewise.
19551         * libio/iofgetpos64.c: Likewise.
19552         * libio/iofsetpos64.c: Likewise.
19553         * sysdeps/wordsize-64/lockf.c: File removed.
19554         * sysdeps/wordsize-64/lockf64.c: File removed.
19555         * sysdeps/wordsize-64/fseeko.c: File removed.
19556         * sysdeps/wordsize-64/fseeko64.c: File removed.
19557         * sysdeps/wordsize-64/ftello.c: File removed.
19558         * sysdeps/wordsize-64/ftello64.c: File removed.
19559         * sysdeps/wordsize-64/iofgetpos.c: File removed.
19560         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19561         * sysdeps/wordsize-64/iofsetpos.c: File removed.
19562         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19563         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19564         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19565         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19566         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19567         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19568         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19569         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19570         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19571         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19572         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19574         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19575         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19576         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19577         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19578         [defined __arch64__ || defined __sparcv9]
19579         (__OFF_T_MATCHES_OFF64_T): New macro.
19580         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19581         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19582         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19583         (__OFF_T_MATCHES_OFF64_T): New macro.
19585 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19587         * stdlib/secure-getenv.c (__secure_getenv): Replace
19588         GLIBC_2_16 with GLIBC_2_17.
19590 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19592         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19593         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19595 2012-08-03  David S. Miller  <davem@davemloft.net>
19597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19599 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19601         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19602         Remove.
19603         (__ASSUME_CORRECT_SI_PID): Likewise.
19604         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19605         (__ASSUME_TMPFS_NAME): Likewise.
19606         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19607         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19608         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19609         (HAVE_AUX_SECURE): Make definition unconditional.
19610         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19611         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19613 2012-08-03  Roland McGrath  <roland@hack.frob.com>
19615         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19616         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19617         * sysdeps/mach/hurd/eloop-threshold.h: New file.
19618         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19619         __eloop_threshold instead of SYMLOOP_MAX.
19621         * sysdeps/generic/eloop-threshold.h: New file.
19622         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19623         of MAXSYMLINKS.
19624         * elf/chroot_canon.c (chroot_canon): Likewise.
19626 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19628         [BZ #13717]
19629         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19630         Change to 2.6.0 everywhere.
19631         * sysdeps/unix/sysv/linux/configure: Regenerated.
19632         * sysdeps/unix/sysv/linux/kernel-features.h
19633         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19634         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19635         kernel versions.
19636         (__ASSUME_POSIX_TIMERS): Define unconditionally.
19637         (__ASSUME_FUTEX_REQUEUE): Remove.
19638         (__ASSUME_STATFS64): Define unconditionally.
19639         (__ASSUME_AT_SECURE): Likewise.
19640         (__ASSUME_CORRECT_SI_PID): Likewise.
19641         (__ASSUME_TGKILL): Define without depending on kernel version for
19642         i386.
19643         (__ASSUME_UTIMES): Likewise.
19644         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19645         kernel version.
19646         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19647         (__ASSUME_TMPFS_NAME): Likewise.
19648         * README: Update reference to Linux kernel versions.
19650 2012-08-02  Marek Polacek  <polacek@redhat.com>
19652         [BZ# 14150]
19653         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
19654         libc_cv_asm_type_prefix with %.
19655         * configure: Regenerated.
19656         * include/libc-symbols.h: Remove comment about
19657         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19658         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19659         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19660         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19661         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19662         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19663         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19664         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19665         * elf/tst-unique2mod1.c: Likewise.
19666         * elf/tst-unique1mod2.c: Likewise.
19667         * elf/tst-unique1mod1.c: Likewise.
19668         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19669         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19670         Replace ASM_TYPE_DIRECTIVE with .type.
19671         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19672         * sysdeps/i386/sysdep.h: Likewise.
19673         * sysdeps/x86_64/sysdep.h: Likewise.
19674         * sysdeps/sh/sysdep.h: Likewise.
19675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19676         Do not define ASM_TYPE_DIRECTIVE.
19677         * sysdeps/powerpc/sysdep.h: Likewise.
19678         * sysdeps/powerpc/powerpc32/sysdep.h:
19679         Replace ASM_TYPE_DIRECTIVE with .type.
19680         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19681         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19682         * sysdeps/i386/fpu/e_powf.S: Likewise.
19683         * sysdeps/i386/fpu/e_expl.S: Likewise.
19684         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19685         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19686         * sysdeps/i386/fpu/e_pow.S: Likewise.
19687         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19688         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19689         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19690         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19691         * sysdeps/i386/fpu/e_log2.S: Likewise.
19692         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19693         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19694         * sysdeps/i386/fpu/e_powl.S: Likewise.
19695         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19696         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19697         * sysdeps/i386/fpu/e_logl.S: Likewise.
19698         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19699         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19700         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19701         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19702         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19703         * sysdeps/i386/fpu/e_log.S: Likewise.
19704         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19705         * sysdeps/i386/fpu/e_logf.S: Likewise.
19706         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19707         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19708         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19709         * sysdeps/i386/fpu/e_log10.S: Likewise.
19710         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19711         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19712         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19713         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19714         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19715         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19716         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19717         * sysdeps/i386/i686/strtok.S: Likewise.
19718         * sysdeps/i386/i386-mcount.S: Likewise.
19719         * sysdeps/i386/strtok.S: Likewise.
19720         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19721         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19722         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19723         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19724         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19725         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19726         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19727         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19728         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19729         * sysdeps/x86_64/_mcount.S: Likewise.
19730         * sysdeps/x86_64/strtok.S: Likewise.
19731         * sysdeps/sh/_mcount.S: Likewise.
19733 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19735         * libio/iofopen.c: Include <fcntl.h>.
19736         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19737         (_IO_fopen64, fopen64): Define as aliases.
19738         * libio/iofopen64.c: Include <fcntl.h>.
19739         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19740         Conditionalize body on this.
19741         * sysdeps/wordsize-64/iofopen.c: File removed.
19742         * sysdeps/wordsize-64/iofopen64.c: File removed.
19744 2012-08-01  Marek Polacek  <polacek@redhat.com>
19746         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19747         Use dlfcn directly instead of a variable.
19748         (binfmt-subdir): Do not define.
19749         (dlfcn): Likewise.
19751 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19753         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19754         Remove all definitions.
19755         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19756         <kernel-features.h>.
19757         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19758         (miss_F_GETOWN_EX): Remove all definitions.
19759         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19760         macro definition.
19761         [!__ASSUME_FCNTL64]: Remove conditional code.
19762         [__ASSUME_FCNTL64]: Make code unconditional.
19763         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19764         <kernel-features.h>.
19765         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19766         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19767         (lockf64) [__NR_fcntl64]: Make code unconditional.
19768         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19770         * sysdeps/unix/sysv/linux/kernel-features.h
19771         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19772         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19773         Make code unconditional.
19774         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19775         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19777         [__NR_vfork]: Make code unconditional.
19778         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19779         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19781         [__NR_vfork]: Make code unconditional.
19782         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19783         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19785 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19787         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19788         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19790         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19791         Define mkstemp64 as an alias.
19792         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19793         Define mkstemps64 as an alias.
19794         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19795         Define mkostemp64 as an alias.
19796         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19797         Define mkostemps64 as an alias.
19798         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19799         Conditionalize body on this.
19800         * misc/mkostemp64.c: Likewise.
19801         * misc/mkostemps64.c: Likewise.
19802         * misc/mkstemps64.c: Likewise.
19803         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19804         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19805         * sysdeps/wordsize-64/mkostemp.c: File removed.
19806         * sysdeps/wordsize-64/mkstemp.c: File removed.
19807         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19808         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19809         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19810         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19812         [BZ #14138]
19813         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19814         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19815         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19816         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19818         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19819         compat_symbol macros from <shlib-compat.h> rather than the underlying
19820         default_symbol_version and symbol_version macros, so that DEFAULT
19821         lines in shlib-versions are respected.
19822         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19824 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19826         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19827         Declare with warn_unused_result.
19828         (setgid, setregid, setegid, setresgid): Likewise.
19829         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19830         Likewise.
19831         * WUR-REPORT: Remove set*id functions.
19833 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19835         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19837 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19839         [BZ #10191]
19840         * include/sys/socket.h (__libc_accept, __libc_accept4):
19841         Add attribute_hidden.
19842         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19844         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19845         use of PTR_MANGLE.
19846         * inet/getnetgrent_r.c (setup): Likewise.
19848         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19850 2012-07-31  David S. Miller  <davem@davemloft.net>
19852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19854 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19856         [BZ #13629]
19857         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19858         value between 1.0 and 2.0 and smaller part has absolute value less
19859         than 1.0.
19860         * math/s_clog10.c (__clog10): Likewise.
19861         * math/s_clog10f.c (__clog10f): Likewise.
19862         * math/s_clog10l.c (__clog10l): Likewise.
19863         * math/s_clogf.c (__clogf): Likewise.
19864         * math/s_clogl.c (__clogl): Likewise.
19865         * math/libm-test.inc (clog_test): Add more tests.
19866         (clog10_test): Likewise.
19867         * sysdeps/i386/fpu/libm-test-ulps: Update.
19868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19870 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19872         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19873         Exit with zero in case no suitable GID is found, and write a
19874         message to standard error.
19876 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19878         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19879         rather than to 1.
19880         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19881         (MAXPATHLEN): Removed.
19882         (NOGROUP, NODEV): New macros.
19883         (setbit, clrbit, isset, isclr): New macros.
19884         (howmany, roundup, powerof2): New macros.
19885         (DEV_BSIZE): New macro.
19887         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19888         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19890         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19891         definition on [!__NO_LONG_DOUBLE_MATH].
19893         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19894         PTR_MANGLE and PTR_DEMANGLE.
19896         * socket/accept4.c (accept4): Rename to __libc_accept4.
19897         Define accept4 as a weak alias.
19899         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19900         on [_DIRENT_HAVE_D_TYPE].
19901         * io/ftw.c (ftw_dir): Likewise.
19903         * io/xmknod.c (__xmknod): Don't check PATH for being null.
19905         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19907         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19908         Use the BSD numbers rather than the arbitrary ones we had.
19909         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19910         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19911         (SIGXCPU, SIGXFSZ): New macros.
19912         (_NSIG): Now 32.
19914         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19915         initializer on [_LIBC_REENTRANT].
19917         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19918         definitions inside [_POSIX_MAPPED_FILES].
19920         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19922         * dirent/opendir.c: Include <fcntl.h>.
19924         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19925         (__libc_getspecific): Likewise.
19926         (__libc_key_create): Likewise.
19928         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19929         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19930         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19931         (tmpfile64): Define as alias.
19932         * sysdeps/wordsize-64/tmpfile.c: File removed.
19933         * sysdeps/wordsize-64/tmpfile64.c: File removed.
19934         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19935         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19937         * stdio-common/vfscanf.c: Include <stdbool.h>.
19938         * nss/makedb.c: Likewise.
19939         * stdio-common/_i18n_number.h: Likewise.
19940         * argp/argp-help.c: Likewise.
19941         * posix/wordexp.c: Likewise.
19942         * sysdeps/posix/spawni.c: Likewise.
19943         * nss/nss_files/files-initgroups.c: Likewise.
19944         * stdio-common/reg-modifier.c: Include <stdlib.h>.
19945         * nss/nss_files/files-initgroups.c: Likewise.
19946         * nss/nss_db/db-netgrp.c: Likewise.
19947         * nss/nss_db/db-initgroups.c: Likewise.
19948         * io/fchmodat.c: Include <sys/stat.h>.
19950         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19951         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19953         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19954         [HAVE_MMAP].
19956         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19957         Add multiple inclusion protection.
19959 2012-07-27  David S. Miller  <davem@davemloft.net>
19961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19963 2012-07-27  Gary Benson  <gbenson@redhat.com>
19965         [BZ #14298]
19966         * elf/rtld.c: Include <stap-probe.h>.
19967         (dl_main): Added static probes "init_start" and "init_complete".
19968         * elf/dl-load.c: Include <stap-probe.h>.
19969         (lose): Take new parameter "nsid".
19970         Added static probe "map_failed".
19971         (_dl_map_object_from_fd): Pass namespace id to lose.
19972         Added static probe "map_start".
19973         (open_verify): Pass namespace id to lose.
19974         * elf/dl-open.c: Include <stap-probe.h>.
19975         (dl_open_worker) Added static probes "map_complete", "reloc_start"
19976         and "reloc_complete".
19977         * elf/dl-close.c: Include <stap-probe.h>.
19978         (_dl_close_worker): Added static probes "unmap_start" and
19979         "unmap_complete".
19980         * elf/rtld-debugger-interface.txt: New file documenting the above.
19982 2012-07-26  Roland McGrath  <roland@hack.frob.com>
19984         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19985         rather than a string variable.
19986         * sunrpc/rpc_main.c (h_output): Likewise.
19987         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19989 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
19991         * inet/check_native.c: New file.
19993 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
19995         [BZ #13629]
19996         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19997         if larger part has absolute value 1.0.
19998         * math/s_clog10.c (__clog10): Likewise.
19999         * math/s_clog10f.c (__clog10f): Likewise.
20000         * math/s_clog10l.c (__clog10l): Likewise.
20001         * math/s_clogf.c (__clogf): Likewise.
20002         * math/s_clogl.c (__clogl): Likewise.
20003         * math/libm-test.inc (clog_test): Add more tests.
20004         (clog10_test): Likewise.
20005         * sysdeps/i386/fpu/libm-test-ulps: Update.
20006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20008         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20009         (pltexit): Likewise.
20010         (La_regs): Likewise.
20011         (La_retval): Likewise.
20012         (int_retval): Likewise.
20013         Update #error for removed macros to refer only to definitions in
20014         tst-audit.h.
20015         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20016         macro.
20017         (pltexit): Likewise.
20018         (La_regs): Likewise.
20019         (La_retval): Likewise.
20020         (int_retval): Likewise.
20021         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20022         macro.
20023         (pltexit): Likewise.
20024         (La_regs): Likewise.
20025         (La_retval): Likewise.
20026         (int_retval): Likewise.
20027         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20028         macro.
20029         (pltexit): Likewise.
20030         (La_regs): Likewise.
20031         (La_retval): Likewise.
20032         (int_retval): Likewise.
20033         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20034         macro.
20035         (pltexit): Likewise.
20036         (La_regs): Likewise.
20037         (La_retval): Likewise.
20038         (int_retval): Likewise.
20039         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20040         macro.
20041         (pltexit): Likewise.
20042         (La_regs): Likewise.
20043         (La_retval): Likewise.
20044         (int_retval): Likewise.
20045         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20046         macro.
20047         (pltexit): Likewise.
20048         (La_regs): Likewise.
20049         (La_retval): Likewise.
20050         (int_retval): Likewise.
20051         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20052         macro definitions in tst-audit.h.
20053         * sysdeps/i386/tst-audit.h: New file.
20054         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20055         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20056         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20057         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20058         * sysdeps/sh/tst-audit.h: Likewise.
20059         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20060         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20061         * sysdeps/x86_64/tst-audit.h: Likewise.
20063 2012-07-26  Andreas Jaeger  <aj@suse.de>
20065         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20066         ptrace.
20068         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20069         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20070         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20071         PTRACE_O_MASK.
20072         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20073         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20074         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20076         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20077         value.
20079         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20080         _sigsys.
20081         (si_call_addr, si_syscall, si_arch): Define new macro.
20082         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20083         _sigsys.
20084         (si_call_addr, si_syscall, si_arch): Define new marcro.
20085         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20086         _sigsys.
20087         (si_call_addr, si_syscall, si_arch): Define new macro.
20088         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20089         _sigsys.
20090         (si_call_addr, si_syscall, si_arch): Define new macro.
20092 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20094         [BZ #13717]
20095         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20096         Change to 2.4.21 where previously 2.4.1.
20097         * sysdeps/unix/sysv/linux/configure: Regenerated.
20098         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20099         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20100         Linux kernel version.
20101         (__ASSUME_STD_AUXV): Remove.
20102         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20103         kernel version.
20104         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20105         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20106         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20107         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20108         (__ASSUME_NETLINK_SUPPORT): Likewise.
20109         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20110         (__no_netlink_support): Remove conditional definition.
20111         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20112         Remove.
20113         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20114         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20115         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20116         (if_nameindex_ioctl): Remove.
20117         (if_nameindex_netlink): Do not handle __no_netlink_support.
20118         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20119         code.
20120         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20121         Remove conditional code.
20122         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20123         code.
20124         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20125         unconditional.
20126         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20127         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20128         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20129         Remove.
20130         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20131         [!__ASSUME_STD_AUXV]: Remove conditional code.
20132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20133         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20134         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20136         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20137         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20138         code.
20139         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20141         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20142         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20143         conditional code.
20144         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20146         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20147         code.
20148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20149         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20150         conditional code.
20151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20152         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20153         code unconditional.
20154         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20155         conditional code.
20156         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20157         unconditional.
20158         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20159         conditional code.
20160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20161         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20162         unconditional.
20163         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20164         conditional code.
20165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20166         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20167         code unconditional.
20168         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20169         conditional code.
20170         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20171         unconditional.
20172         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20173         conditional code.
20174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20175         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20176         code unconditional.
20177         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20178         conditional code.
20179         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20180         unconditional.
20181         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20182         conditional code.
20184 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20186         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20187         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20188         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20189         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20190         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20191         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20192         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20193         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20194         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20195         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20196         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20197         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20198         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20199         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20200         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20201         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20202         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20203         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20204         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20206         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20207         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20208         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20210 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20212         * Versions.def: Add GLIBC_2.17.
20213         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20214         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20215         Introduce __libc_secure_getenv.
20216         * stdlib/Versions (2.17): Add secure_getenv
20217         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20218         * stdlib/secure-getenv.c: Rename __secure_getenv to
20219         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20220         symbol __secure_getenv for GLIBC_2.0.
20221         * stdlib/tst-secure-getenv.c: New.
20222         * stdlib/Makefile (tests): Add testcase.
20223         * manual/startup.texi (Environment Access): Document
20224         secure_getenv.
20225         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20226         __libc_secure_getenv.
20227         * inet/ruserpass.c (ruserpass): Likewise.
20228         * malloc/mtrace.c (mtrace): Likewise.
20229         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20230         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20231         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20232         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20233         HAVE_SECURE_GETENV.
20234         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20235         __secure_getenv to __libc_secure_getenv.
20236         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20238         Likewise.
20239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20240         Likewise.
20241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20243         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20249 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20251         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20252         (struct La_i86_retval): Likewise.
20253         (struct La_x86_64_regs): Likewise.
20254         (struct La_x86_64_retval): Likewise.
20255         (struct La_x32_regs): Likewise.
20256         (struct La_x32_retval): Likewise.
20257         (struct La_ppc32_regs): Likewise.
20258         (struct La_ppc32_retval): Likewise.
20259         (struct La_ppc64_regs): Likewise.
20260         (struct La_ppc64_retval): Likewise.
20261         (struct La_sh_regs): Likewise.
20262         (struct La_sh_retval): Likewise.
20263         (struct La_s390_32_regs): Likewise.
20264         (struct La_s390_32_retval): Likewise.
20265         (struct La_s390_64_regs): Likewise.
20266         (struct La_s390_64_retval): Likewise.
20267         (struct La_sparc32_regs): Likewise.
20268         (struct La_sparc32_retval): Likewise.
20269         (struct La_sparc64_regs): Likewise.
20270         (struct La_sparc64_retval): Likewise.
20271         (struct audit_ifaces): Remove architecture-specific pltenter and
20272         pltexit members.
20273         * sysdeps/i386/ldsodefs.h: New file.
20274         * sysdeps/powerpc/ldsodefs.h: Likewise.
20275         * sysdeps/s390/ldsodefs.h: Likewise.
20276         * sysdeps/sh/ldsodefs.h: Likewise.
20277         * sysdeps/sparc/ldsodefs.h: Likewise.
20278         * sysdeps/x86_64/ldsodefs.h: Likewise.
20280 2012-07-25  Marek Polacek  <polacek@redhat.com>
20282         [BZ #6808]
20283         * math/libm-test.inc (yn_test): Add another test.
20284         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20285         to ERANGE when the result is +-Inf.
20286         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20287         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20288         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20289         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20291 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20293         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20294         equal to 0.
20295         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20296         clock_t.
20297         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20299 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20301         * configure.in <sysdeps resolving>: Correct printing
20302         Implies_before.
20303         * configure: Regenerate.
20305 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20307         * math/w_ilogb.c: Include <limits.h>.
20308         * math/w_ilogbl.c: Likewise.
20310 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20312         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20313         va_copy.  Document allowing for unavailable va_copy only as
20314         pre-C99 compatibility.
20315         * manual/string.texi (Copying and Concatenation): Use va_copy
20316         instead of __va_copy in concat example.
20318 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20320         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20321         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20322         it if not null.
20324         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20325         with O_NOLINK passed to __file_name_lookup.
20327         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20328         with O_NOLINK passed to __file_name_lookup.
20330         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20331         negative N or less than NGIDS.
20333         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20334         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20335         enough.  Use memcpy instead of strncpy.
20337 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20339         * elf/Makefile (check-data): Remove.
20340         (localplt.data): New vpath directive.
20341         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20342         instead of $(check-data).
20343         * scripts/data/localplt-generic.data: Move to ...
20344         * sysdeps/generic/localplt.data: ... here.
20345         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20346         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20347         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20349         ... here.
20350         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20352         ... here.
20353         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20355         ... here.
20356         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20358         ... here.
20359         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20361         ... here.
20362         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20364         ... here.
20366 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20368         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20369         PPC32 and PPC64 files.
20370         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20371         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20373 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20375         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20376         __makecontext_ret to ...
20377         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20378         ... here and call exit if uc_link is NULL.  New file.
20379         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20380         __makecontext_ret.S.
20381         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20382         __makecontext_ret to ...
20383         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20384         ... here and call exit if uc_link is NULL.  New file.
20385         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20386         __makecontext_ret.S.
20388 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20390         * elf/elf.h (R_390_IRELATIVE): New definition.
20391         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20392         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20393         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20394         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20395         (elf_machine_lazy_rel): Likewise.
20396         * sysdeps/s390/dl-irel.h: New file.
20397         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20398         * sysdeps/s390/s390-64/memset.S: New asm code.
20399         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20400         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20401         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20402         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20403         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20404         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20405         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20406         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20407         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20408         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20409         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20410         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20411         * sysdeps/s390/s390-32/memset.S: New asm code.
20412         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20414 2012-07-17  Marek Polacek  <polacek@redhat.com>
20416         [BZ #14349]
20417         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20418         * sysdeps/s390/s390-64/configure.in: Likewise.
20419         * sysdeps/sparc/configure.in: Likewise.
20420         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20421         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20422         * sysdeps/i386/configure.in: Likewise.
20423         * sysdeps/x86_64/configure.in: Likewise.
20424         * sysdeps/sh/configure.in: Likewise.
20425         * sysdeps/s390/s390-32/configure: Regenerated.
20426         * sysdeps/s390/s390-64/configure: Likewise.
20427         * sysdeps/x86_64/configure: Likewise.
20428         * sysdeps/sh/configure: Likewise.
20429         * sysdeps/powerpc/powerpc64/configure: Likewise.
20430         * sysdeps/powerpc/powerpc32/configure: Likewise.
20431         * sysdeps/sparc/configure: Likwise.
20432         * sysdeps/i386/configure: Likewise.
20434         * elf/dl-open.c: Comment fixes.
20436 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20438         * Makefile [CXX] (check-data): Remove.
20439         [CXX] (c++-types.data): New vpath directive.
20440         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20441         vpath.  Do not allow for C++ type data being missing.
20442         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20443         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20444         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20445         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20446         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20447         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20448         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20450         ... here.
20451         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20453         ... here.
20454         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20456         ... here.
20457         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20459         ... here.
20460         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20462         ... here.
20463         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20465         ... here.
20466         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20468         ... here.
20469         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20472         * elf/tls-macros.h (TLS_LE): Move architecture-specific
20473         definitions to architecture-specific files.
20474         (TLS_IE): Likewise.
20475         (TLS_LD): Likewise.
20476         (TLS_GD): Likewise.
20477         * sysdeps/i386/tls-macros.h: New file.
20478         * sysdeps/powerpc/tls-macros.h: Likewise.
20479         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20480         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20481         * sysdeps/sh/tls-macros.h: Likewise.
20482         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20483         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20484         * sysdeps/x86_64/tls-macros.h: Likewise.
20486 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20488         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20489         zero value for regular exit case.
20491         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20492         (__start_context): Preserve zero value for regular exit case.
20494 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20495             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20497         * manual/setjmp.texi (setcontext): Clarify normal process
20498         termination when uc_link is the null pointer.
20499         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20500         exit call.
20502 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
20504         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20505         preprocessor.  Test for each exception mask separately.
20507 2012-07-16  Andreas Jaeger  <aj@suse.de>
20509         * po/ru.po: Update from translation team.
20511 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
20513         * conform/data/string.h-data (NULL): Use macro-constant.  Require
20514         equal to 0.
20515         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20516         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20517         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20518         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20519         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20521 2012-07-13  Andreas Jaeger  <aj@suse.de>
20523         * po/fr.po: Update from translation team.
20525 2012-07-12  Marek Polacek  <polacek@redhat.com>
20527         [BZ #14173]
20528         * math/libm-test.inc (yn_test): Add test for BZ #14173.
20529         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20530         loop condition.
20532 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
20534         [BZ #13717]
20535         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20536         Change to 2.4.1 where previously 2.4.0.
20537         * sysdeps/unix/sysv/linux/configure: Regenerated.
20538         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20539         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20540         version.
20541         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20542         (__ASSUME_AT_CLKTCK): Remove.
20543         (__ASSUME_AT_PAGESIZE): Likewise.
20544         (__ASSUME_AT_XID): Likewise.
20545         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20546         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20547         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20548         unconditionally.
20549         (HAVE_AUX_PAGESIZE): Likewise.
20550         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20551         [__ASSUME_AT_CLKTCK]: Make code unconditional.
20552         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20554 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
20556         [BZ #14307]
20557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20558         the temporary buffer used to invoke __gethostbyname2_r,
20559         __gethostbyaddr_r and gethostbyname4_r to make room for struct
20560         host_data / struct gaih_addrtuple.
20561         * resolv/nss_dns/dns-host.c (global scope): Move definition of
20562         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20563         header file nss/nsswitch.h.
20564         * nss/nsswitch.h (global scope): Add definition of implementation
20565         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20566         resolv/nss_dns/dns-host.c).
20568 2012-07-11  Andreas Jaeger  <aj@suse.de>
20570         * po/fr.po: Update from translation team.
20572         * po/sv.po: Update from translation team
20573         * po/fr.po: Another update from translation team.
20575 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20577         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20578         for subnormals or multiply small sinh result by itself.
20579         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20582 2012-07-11  David S. Miller  <davem@davemloft.net>
20584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20586 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
20588         [BZ #14347]
20589         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20590         (INTERNAL_MARK): Shift it here.
20592 2012-07-10  Marek Polacek  <polacek@redhat.com>
20594         [BZ #14151]
20595         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
20596         libc_cv_asm_global_directive with .globl.
20597         * configure: Regenerated.
20598         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20599         with .globl.
20600         * sysdeps/i386/configure: Regenerated.
20601         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20602         with .globl.
20603         * sysdeps/x86_64/configure: Regenerated.
20604         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20605         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20606         * elf/tst-unique2mod2.c: Likewise.
20607         * elf/tst-unique2mod1.c: Likewise.
20608         * elf/tst-unique1mod2.c: Likewise.
20609         * elf/tst-unique1mod1.c: Likewise.
20610         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20611         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20612         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20613         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20614         * sysdeps/mach/sysdep.h: Likewise.
20615         * sysdeps/i386/sysdep.h: Likewise.
20616         * sysdeps/i386/i386-mcount.S: Likewise.
20617         * sysdeps/x86_64/_mcount.S: Likewise.
20618         * sysdeps/x86_64/sysdep.h: Likewise.
20619         * sysdeps/sh/_mcount.S: Likewise.
20620         * sysdeps/sh/sysdep.h: Likewise.
20621         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20622         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20623         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20624         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20625         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20626         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20627         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20628         * locale/localeinfo.h: Likewise.
20629         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20630         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20632 2012-07-09  Roland McGrath  <roland@hack.frob.com>
20634         [BZ #14336]
20635         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20636         system".
20637         * manual/message.texi (The Uniforum approach): Likewise.
20638         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20639         (glibc iconv Implementation): Likewise.
20641 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
20643         [BZ #14337]
20644         * math/s_clog.c (__clog): Avoid scaling a value down where that
20645         could result in underflow.
20646         * math/s_clog10.c (__clog10): Likewise.
20647         * math/s_clog10f.c (__clog10f): Likewise.
20648         * math/s_clog10l.c (__clog10l): Likewise.
20649         * math/s_clogf.c (__clogf): Likewise.
20650         * math/s_clogl.c (__clogl): Likewise.
20651         * math/libm-test.inc (clog_test): Add more tests.
20652         (clog10_test): Likewise.
20653         * sysdeps/i386/fpu/libm-test-ulps: Update.
20654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20656 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
20658         [BZ #14283]
20659         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20660         by 7 not 8 to examine high bit of fractional part.
20662         [BZ #14042]
20663         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20664         for call to __mcount_internal.
20665         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20666         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20667         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20669 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
20671         [BZ #14154]
20672         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20673         approximation for values within 0x1p-13f of an odd multiple of
20674         pi/4.
20675         * math/libm-test.inc (tan_test): Do not allow spurious underflow
20676         exception.  Add more tests.
20677         * sysdeps/i386/fpu/libm-test-ulps: Update.
20679         [BZ #6778]
20680         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20681         inputs and return -1 for them.  Do not check for +Inf in case not
20682         reachable for +Inf.
20683         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20684         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20685         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20686         and return -1 for them.  Do not check for +Inf in case not
20687         reachable for +Inf.
20688         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20689         define.
20690         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20691         and return -1 for them.  Do not check for +Inf in case not
20692         reachable for +Inf.
20693         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20694         spurious underflow.
20695         * sysdeps/i386/fpu/libm-test-ulps: Update.
20696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20698 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20700         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20702 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20704         [BZ #14157]
20705         [BZ #14331]
20706         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20707         could result in spurious underflow.  Scale down values above
20708         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20709         * math/s_csqrtf.c (__csqrtf): Likewise.
20710         * math/s_csqrtl.c (__csqrtl): Likewise.
20711         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20712         spurious underflow.
20713         * sysdeps/i386/fpu/libm-test-ulps: Update.
20714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20716 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20718         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20719         xopen-msg.sed.
20720         * catgets/xopen-msg.awk: New file.
20721         * catgets/xopen-msg.sed: Removed.
20723         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20724         po2text.sed.
20725         * intl/po2test.awk: New file.
20726         * intl/po2test.sed: Removed.
20728 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20730         [BZ #14328]
20731         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20732         or multiply small sinh result by itself.
20733         * math/s_ctanf.c (__ctanf): Likewise.
20734         * math/s_ctanh.c (__ctanh): Likewise.
20735         * math/s_ctanhf.c (__ctanhf): Likewise.
20736         * math/s_ctanhl.c (__ctanhl): Likewise.
20737         * math/s_ctanl.c (__ctanl): Likewise.
20738         * math/libm-test.inc (ctan_test_tonearest): New function.
20739         (ctan_test_towardzero): Likewise.
20740         (ctan_test_downward): Likewise.
20741         (ctan_test_upward): Likewise.
20742         (ctanh_test_tonearest): Likewise.
20743         (ctanh_test_towardzero): Likewise.
20744         (ctanh_test_downward): Likewise.
20745         (ctanh_test_upward): Likewise.
20746         (main): Call these new functions.
20747         * sysdeps/i386/fpu/libm-test-ulps: Update.
20748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20750 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20752         * .gitignore: Delete /ports entry.
20754 2012-07-03  Andreas Jaeger  <aj@suse.de>
20756         * po/bg.po: Update from translation team.
20757         * po/cs.po: Likewise.
20758         * po/de.po: Likewise.
20759         * po/hr.po: Likewise.
20760         * po/nl.pl: Likewise.
20761         * po/pl.po: Likewise.
20762         * po/vi.po: Likewise.
20764 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20766         * Makeconfig [!+link] (+link-before-libc): New variable.
20767         [!+link] (+link-after-libc): Likewise.
20768         [!+link] (+link-tests): Likewise.
20769         [!+link] (+link): Define in terms of $(+link-before-libc) and
20770         $(+link-after-libc).
20771         [!+link-static] (+link-static-before-libc): New variable.
20772         [!+link-static] (+link-static-after-libc): Likewise.
20773         [!+link-static] (+link-static-tests): Likewise.
20774         [!+link-static] (+link-static): Define in terms of
20775         $(+link-static-before-libc) and $(+link-static-after-libc).
20776         [build-shared] (link-libc-before-gnulib): New variable.
20777         [build-shared] (link-libc-tests): Likewise.
20778         [build-shared] (link-libc): Define in terms of
20779         $(link-libc-before-gnulib).
20780         [!build-shared] (link-libc-tests): New variable.
20781         (link-libc-static-tests): New variable.
20782         [!gnulib] (gnulib-arch): New variable.
20783         [!gnulib] (gnulib-tests): Likewise.
20784         [!gnulib] (static-gnulib-arch): Likewise.
20785         [!gnulib] (static-gnulib-tests): Likewise.
20786         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20787         Define with "=" instead of ":=".
20788         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20789         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20790         * Rules (binaries-all-notests): New variable.
20791         (binaries-all-tests): Likewise.
20792         (binaries-static-notests): Likewise.
20793         (binaries-static-tests): Likewise.
20794         (binaries-all): Define using $(binaries-all-notests) and
20795         $(binaries-all-tests).
20796         (binaries-static): Define using $(binaries-static-notests) and
20797         $(binaries-static-tests).
20798         (binaries-shared-tests): New variable.
20799         (binaries-shared-notests): Likewise.
20800         (binaries-shared): Remove variable.
20801         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20802         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20803         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20804         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20805         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20806         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20807         * elf/Makefile (sln-modules): New variable.
20808         (extra-objs): Add $(sln-modules:=.o).
20809         (ldconfig-modules): Add static-stubs.
20810         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20811         * elf/static-stubs.c: New file.
20813         [BZ #14283]
20814         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20815         by 7 not 8 to examine high bit of fractional part.  Use volatile
20816         variables when splitting into final array of floats if
20817         __FLT_EVAL_METHOD__ != 0.
20818         * math/libm-test.inc (cos_test): Add another test.
20819         (sin_test): Likewise.
20820         * sysdeps/i386/fpu/libm-test-ulps: Update.
20822         [BZ #14273]
20823         * math/libm-test.inc (cosh_test): Add more tests.
20825         * version.h (RELEASE): Set to "development".
20826         (VERSION): Set to "2.16.90".
20828 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20830         * NEWS: Update copyright. Remove last-updated date.
20831         Mention math library bug fixes and timezone data changes.
20832         * README: Mention GNU/Hurd, x32, and HPPA support status.
20834 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20836         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20838 2012-06-27  Andreas Jaeger  <aj@suse.de>
20840         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20842 2012-06-25  Andreas Jaeger  <aj@suse.de>
20844         * sysdeps/s390/fpu/libm-test-ulps: Update.
20846 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20847             Thomas Schwinge  <thomas@codesourcery.com>
20849         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20850         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20852         fanotify_mark.
20854 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20856         * sysdeps/mach/start.c: Remove file.
20857         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20858         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20859         * sysdeps/sh/init-first.c: Likewise.
20861         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20862         registers for frame unwinding purposes, add CFI directives.
20863         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20864         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20865         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20866         Likewise.
20868         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20869         __fortify_fail returning.
20870         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20872         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20873         sysdeps/sh/____longjmp_chk.S.
20874         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20875         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20876         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20877         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20879         * sysdeps/sh/abort-instr.h: New file.
20880         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20881         process in case exit returns.
20883         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20884         initialize the GOT register before use.
20886         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20887         calculation of ARGC > 4.
20889         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20890         meaningful names to some local labels.
20892 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20893             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20895         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20896         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20897         (__arch_compare_and_exchange_val_16_acq): Likewise.
20898         (__arch_compare_and_exchange_val_32_acq): Likewise.
20899         (atomic_exchange_and_add): Fix gUSA sequence.
20900         (atomic_add): Likewise.
20901         (atomic_add_negative): Likewise.
20902         (atomic_add_zero): Likewise.
20903         (atomic_bit_test_set): Likewise.
20905 2012-06-22  Andreas Schwab  <schwab@redhat.com>
20907         [BZ #13579]
20908         * include/link.h (struct link_map): Add l_free_initfini.
20909         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20910         l_initfini.
20911         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20912         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20913         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20914         set.
20916 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
20918         * configure.in: Use AC_LANG_SOURCE.
20919         * configure: Regenerate.
20921 2012-06-22  Roland McGrath  <roland@hack.frob.com>
20923         * configure.in (libc_cv_localstatedir): New substituted variable.
20924         * configure: Regenerated.
20925         * config.make.in (localstatedir): New variable, substituted from
20926         libc_cv_localstatedir.
20927         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20928         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20929         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20930         * sysdeps/gnu/configure: Regenerated.
20932 2012-06-21  Jeff Law  <law@redhat.com>
20934         [BZ #14277]
20935         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20936         free.  Simplify list management for _LIBC case.
20938 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20940         [BZ #14273]
20941         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20942         Clear sign bit of 64-bit integer value before comparing against
20943         overflow value.
20945         * sysdeps/mach/configure: Regenerated.
20947 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
20949         [BZ #14278]
20950         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20952 2012-06-21  Jeff Law  <law@redhat.com>
20954         [BZ #13882]
20955         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
20956         uint16_t for elements in the "seen" array to avoid char overflows.
20957         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20958         * elf/dl-open.c (dl_open_worker): Likewise.
20960 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
20962         * scripts/list-sources.sh: Scan PORTS for translations.
20963         * po/libc.pot: Regenerated.
20965 2012-06-21  Andreas Jaeger  <aj@suse.de>
20967         [BZ #12194]
20968         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20969         warning.
20970         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20971         * bits/byteswap-16.h (__bswap_16): Likewise.
20972         * bits/byteswap.h (__bswap_constant_16): Likewise.
20974 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
20976         [BZ #14117]
20977         * sysdeps/i386/fpu_control.h: Removed.
20978         * sysdeps/x86_64/fpu_control.h: Moved to ...
20979         * sysdeps/x86/fpu_control.h: Here.
20981         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20982         (_FPU_SETCW): Likewise.
20984 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
20986         [BZ #14117]
20987         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20988         * sysdeps/x86/fpu/bits/mathinline.h: This.
20989         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20991         [BZ #14050]
20992         [BZ #14117]
20993         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20994         functions if __x86_64__ is defined.
20996 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
20998         * string/endian.h: Add !__ASSEMBLER__ condition for including
20999         conversion interfaces.
21001 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21003         [BZ #14241]
21004         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21005         of ABS(x) in calculating zero to negative powers other than odd
21006         integers.
21007         * math/libm-test.inc (pow_test): Add more tests.
21009 2012-06-15  Andreas Jaeger  <aj@suse.de>
21011         * manual/contrib.texi (Contributors): Update entry of Liubov
21012         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21013         Machado Filho.
21015 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21017         * string/string.h: Add __wur to GNU version of strerror_r.
21019 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21021         [BZ #14229]
21022         * string/Makefile (tests): Add tst-strtok_r.
21023         * string/tst-strtok_r.c: New file.
21024         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21025         RAX_LP/RDX_LP on SAVE_PTR.
21027 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21029         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21031 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21033         * libm_test.inc (csqrt_test): Allow more spurious underflow
21034         exceptions.
21035         (j0_test): Likewise.
21036         (j1_test): Likewise.
21037         (y0_test): Likewise.
21038         (y1_test): Likewise.
21040 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21042         * po/Makefile (libc.pot): Use UTF-8 charset.
21044 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21046         [BZ #14210]
21047         Suppress sign-conversion warning from FD_SET.
21048         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21049         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21050         not unsigned long int.
21051         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21053 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21055         [BZ #14050]
21056         [BZ #14117]
21057         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21058         __extern_always_inline instead of __extern_inline.
21059         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21060         (__signbit): Likewise.
21061         (__signbitl): Support C++ namespace.
21062         (lrintf): New inline function.
21063         (lrint): Likewise.
21064         (llrintf): Likewise.
21065         (llrint): Likewise.
21066         (fmaxf): Likewise.
21067         (fmax): Likewise.
21068         (fminf): Likewise.
21069         (fmin): Likewise.
21070         (rint): Likewise.
21071         (rintf): Likewise.
21072         (ceil): Likewise.
21073         (ceilf): Likewise.
21074         (floor): Likewise.
21075         (floorf): Likewise.
21076         (nearbyint): Likewise.
21077         (nearbyintf): Likewise.
21079 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21081         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21082         non-default versions.
21084 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21086         [BZ #14218]
21087         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21089 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21091         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21092         (FE_UPWARD, FE_DOWNWARD): Don't define.
21093         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21094         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21096         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21097         reading it.
21098         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21099         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21101 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21103         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21104         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21105         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21106         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21108 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21110         [BZ #14117]
21111         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21112         * sysdeps/i386/fpu/Implies: New file.
21113         * sysdeps/x86_64/fpu/Implies: Likewise.
21114         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21115         * sysdeps/x86/fpu/bits/fenv.h: This.
21117         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21118         __SSE_MATH__.
21120 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21122         [BZ #14134]
21123         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21124         character 0xffff that matches the last element of the
21125         conversion table.
21127 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21129         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21130         fmodl commit.
21132 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21134         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21135         values higher than 25.6283.
21137 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21139         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21140         subnormal exponent extraction and add some __builtin_expect.
21141         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21142         Fix for subnormal mantissa calculation.
21144 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21146         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21147         cpu2 is -1 and errno is not ENOSYS.
21149 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21151         [BZ #14117]
21152         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21153         * sysdeps/x86/bits/string.h: This.
21154         * sysdeps/x86_64/bits/string.h: Removed.
21156         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21157         if not compiling for x86-64, but compiling for >= i486.
21159         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21160         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21162         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21163         New macro from Linux kernel 3.4.0.
21164         (FP_XSTATE_MAGIC2): Likewise.
21165         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21166         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21167         (struct _fpx_sw_bytes): New struct.
21168         (struct _xsave_hdr): Likewise.
21169         (struct _ymmh_state): Likewise.
21170         (struct _xstate): Likewise.
21172         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21173         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21174         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21175         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21176         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21177         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21179         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21180         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21181         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21182         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21183         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21184         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21186 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21188         [BZ #13743]
21189         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21190         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21191         (sysdep_headers): Include sys/platform/ppc.h.
21192         * sysdeps/powerpc/test-gettimebase.c: Test for
21193         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21194         * manual/Makefile (appendices): Include platform.texi.
21195         * manual/contrib.texi (Contributors): Update @node pointers.
21196         * manual/maint.texi (Maintenance): Likewise.
21197         (Platform): New node.
21198         * manual/platform.texi: New file.  Document the new features.
21200 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21201             Jakub Jelinek  <jakub@redhat.com>
21203         [BZ #14188]
21204         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21205         where __builtin_expect is unavailable.
21207 2012-06-03  David S. Miller  <davem@davemloft.net>
21209         * stdlib/longlong.h: Updated from GCC.
21211 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21213         [BZ #14042]
21214         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21215         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21216         __mcount_internal.
21217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21218         (GLIBC_2.16): Likewise.
21220 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21222         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21224 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21227         (default-abi): New variable.
21228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21229         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21230         variable.
21231         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21232         Likewise.
21233         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21234         Likewise.
21235         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21236         Likewise.
21238         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21239         definition.  Document in comment.
21241 2012-06-01  David S. Miller  <davem@davemloft.net>
21243         * stdlib/longlong.h: Updated from GCC.
21245 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21247         [BZ #14117]
21248         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21249         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21250         sys/debugreg.h sys/io.h here.
21251         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21252         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21253         sys/io.h.
21254         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21255         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21256         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21257         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21258         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21259         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21261         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21262         Define only if __x86_64__ is defined.
21264 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21266         [BZ #14048]
21267         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21268         Use int64_t for variable i.
21269         * math/libm-test.inc (fmod_test): Add more tests.
21271         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21272         z computation is not scheduled after fetestexcept.
21273         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21274         Use math_force_eval instead of asm to ensure calculation scheduled
21275         before exception test.
21276         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21277         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21279 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21281         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21282         computation is not scheduled after fetestexcept.
21284 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21286         [BZ #14117]
21287         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21288         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21290 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21292         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21293         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21295 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21297         [BZ #14117]
21298         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21299         <bits/wordsize.h>.
21300         (__WCHAR_MIN): Support __WORDSIZE == 64.
21301         (__WCHAR_MAX): Likewise.
21303         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21304         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21306         [BZ #14183]
21307         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21308         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21310         [BZ #14117]
21311         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21312         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21314         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21315         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21317         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21318         Defined to 1 if __x86_64__ isn't defined.
21319         (_STAT_VER_LINUX_OLD): New.
21320         (st_atime): Remove duplicate.
21321         (st_mtime): Likewise.
21322         (st_ctime): Likewise.
21324 2012-05-31  David S. Miller  <davem@davemloft.net>
21326         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21327         entries.
21329 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21331         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21332         gen-libm-test.pl.
21334         [BZ #14132]
21335         * elf/dl-reloc.c: Include <_itoa.h>.
21336         (_dl_reloc_bad_type): Remove use of INTUSE.
21337         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21338         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21339         * stdio-common/psiginfo.c (psiginfo): Likewise.
21340         * stdio-common/psignal.c (psignal): Likewise.
21341         * string/strsignal.c (strsignal): Likewise.
21342         * include/signal.h (_sys_siglist): Declare hidden proto.
21343         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21344         INTVARDEF with libc_hidden_data_def.
21345         * stdio-common/itoa-udigits.c: Likewise.
21346         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21347         (_itoa_lower_digits_internal): Remove declaration.
21348         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21349         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21350         (_sys_sigabbrev_internal): Remove aliases.
21351         (_sys_siglist): Define hidden alias.
21353 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21355         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21356         bits/sysctl.h.
21358 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21360         [BZ #14117]
21361         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21362         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21364         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21365         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21366         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21367         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21368         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21369         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21371         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21372         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21373         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21375         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21376         with __addr.
21377         (insw): Likewise.
21378         (insl): Likewise.
21379         (outsb): Likewise.
21380         (outsw): Likewise.
21381         (outsl): Likewise.
21383         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21384         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21385         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21387         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21388         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21389         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21390         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21391         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21392         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21394         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21395         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21397         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21398         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21400         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21401         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21402         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21404         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21405         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21406         to ...
21407         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21409         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21410         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21411         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21413         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21414         for x86-64.
21415         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21417 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21419         * math/math.h (M_El): Use two more decimal places.
21420         (M_LOG2El): Likewise.
21421         (M_LOG10El): Likewise.
21422         (M_LN2l): Likewise.
21423         (M_LN10l): Likewise.
21424         (M_PIl): Likewise.
21425         (M_PI_2l): Likewise.
21426         (M_PI_4l): Likewise.
21427         (M_1_PIl): Likewise.
21428         (M_2_PIl): Likewise.
21429         (M_2_SQRTPIl): Likewise.
21430         (M_SQRT2l): Likewise.
21431         (M_SQRT1_2l): Likewise.
21433 2012-05-31  David S. Miller  <davem@davemloft.net>
21435         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21436         values between float registers.
21437         * sysdeps/sparc/sparc64/memset.S: Likewise.
21438         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21440 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21442         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21443         -D_FORTIFY_SOURCE=1.
21444         (CPPFLAGS-tst-longjmp_chk.c): Define.
21445         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21446         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21447         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21448         CFLAGS-tst-wchar-h.c.
21450 2012-05-31  Marek Polacek  <polacek@redhat.com>
21452         [BZ #14132]
21453         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21454         __endmntent_internal): Remove declaration.
21455         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21456         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21457         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21459 2012-05-30  David S. Miller  <davem@davemloft.net>
21461         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21462         (___Q_simulate_exceptions): Use real FP ops rather than writing
21463         into the %fsr.
21464         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21465         Likewise.
21467 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21469         [BZ #14117]
21470         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21471         * sysdeps/x86/bits/xtitypes.h: This.
21473         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21474         * sysdeps/x86/bits/wordsize.h: This.
21476         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21477         * sysdeps/x86/bits/huge_vall.h: This.
21479         * sysdeps/i386/bits/select.h: Removed.
21480         * sysdeps/x86_64/bits/select.h: Renamed to ...
21481         * sysdeps/x86/bits/select.h: This.
21483         * sysdeps/i386/bits/setjmp.h: Removed.
21484         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21485         * sysdeps/x86/bits/setjmp.h: This.
21487         * sysdeps/i386/bits/mathdef.h: Removed.
21488         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21489         * sysdeps/x86/bits/mathdef.h: This.
21491 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
21493         [BZ #14132]
21494         * include/sys/socket.h (__connect_internal)
21495         (__libc_sa_len_internal): Remove declaration.
21496         (__connect, __libc_sa_len): Declare hidden_proto.
21497         (SA_LEN): Remove use of INTUSE.
21498         * socket/connect.c: Add libc_hidden_def.
21499         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21500         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21501         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21502         alias.
21503         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21504         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21505         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21506         of adding _internal alias.
21508 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21510         [BZ #14117]
21511         * sysdeps/i386/bits/link.h: Removed.
21512         * sysdeps/i386/bits/linkmap.h: Likewise.
21513         * sysdeps/x86_64/bits/link.h: Renamed to ...
21514         * sysdeps/x86/bits/link.h: This.
21515         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21516         * sysdeps/x86/bits/linkmap.h: This.
21518         * sysdeps/i386/bits/endian.h: Removed.
21519         * sysdeps/x86_64/bits/endian.h: Renamed to ...
21520         * sysdeps/x86/bits/endian.h: This.
21522         * sysdeps/i386/bits/byteswap.h: Removed.
21523         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21524         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21525         * sysdeps/x86/bits/byteswap.h: This.
21526         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21527         * sysdeps/x86/bits/byteswap-16.h: This.
21528         * sysdeps/i386/Implies: Add x86.
21529         * sysdeps/x86_64/Implies: Likewise.
21531 2012-05-30  David S. Miller  <davem@davemloft.net>
21533         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21534         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21535         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21536         (FP_TRAPPING_EXCEPTIONS): Define.
21537         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21538         (FP_TRAPPING_EXCEPTIONS): Define.
21539         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21540         subnormals only when inexact has been signalled or underflow
21541         exceptions are enabled.
21542         (_FP_PACK_CANONICAL): Likewise.
21544 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21546         [BZ #14183]
21547         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21548         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21550 2012-05-30  Richard Henderson  <rth@twiddle.net>
21552         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21553         with #ifndef NOT_IN_libc.
21555         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
21556         marked to avoid plt entry.
21558 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21560         [BZ #14112]
21561         * Makeconfig (default-abi): New macro.
21562         (abi-includes): Likewise.
21563         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
21564         $(abi-$(default-abi)-lib-soname) for soname if defined.
21565         ($(common-objpfx)gnu/lib-names.stmp): Generate from
21566         abi-variants.
21567         * Makefile (installed-stubs): Likewise.
21568         * include/stubs-biarch.h: Removed.
21569         * scripts/lib-names.awk: Only handle one library at a time.
21570         * scripts/soversions.awk: Remove WORDSIZE support.
21571         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21572         entries.
21573         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21574         Removed.
21575         (syscall-list-default-condition): Likewise.
21576         (syscall-list-default-condition): Likewise.
21577         (syscall-list-includes): Likewise.
21578         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21579         syscall-list-* with abi-*.  Handle undefined abi-variants.
21580         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21581         * sysdeps/unix/sysv/linux/i386/Implies: New file.
21582         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21583         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21584         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21585         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21586         Removed.
21587         (syscall-list-32-options): Likewise.
21588         (syscall-list-32-condition): Likewise.
21589         (syscall-list-64-options): Likewise.
21590         (syscall-list-64-condition): Likewise.
21591         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21592         macro.
21593         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21594         Renamed to ...
21595         (abi-*): This.
21596         (abi-64-ld-soname): New macro.
21597         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21598         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21599         Renamed to ...
21600         (abi-*): This.
21601         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21602         * sysdeps/x86_64/x32/shlib-versions: Likewise.
21604 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
21606         * sysdeps/unix/sysv/linux/kernel-features.h
21607         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21608         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21609         include <kernel-features.h>.
21610         [!__NR_ftruncate64]: Remove conditional code.
21611         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21612         [__NR_ftruncate64]: Make code unconditional.
21613         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21614         * sysdeps/unix/sysv/linux/truncate64.c: Do not
21615         include <kernel-features.h>.
21616         [!__NR_ftruncate64]: Remove conditional code.
21617         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21618         [__NR_ftruncate64]: Make code unconditional.
21619         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21621         include <kernel-features.h>.
21622         [!__NR_ftruncate64]: Remove conditional code.
21623         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21624         [__NR_ftruncate64]: Make code unconditional.
21625         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21627         include <kernel-features.h>.
21628         [!__NR_ftruncate64]: Remove conditional code.
21629         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21630         [__NR_ftruncate64]: Make code unconditional.
21631         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21633         * configure.in (libc_cv_fpie): Weaken to a compile test using
21634         LIBC_TRY_CC_OPTION.
21635         * configure: Regenerated.
21637 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21643         Refreshed.
21644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21650         Refreshed.
21652 2012-05-27  David S. Miller  <davem@davemloft.net>
21654         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21655         (___Q_zero): New.
21656         (__Q_simulate_exceptions): Return void.  Change to simulate
21657         exceptions by writing into the %fsr.
21658         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21659         (__Qp_handle_exceptions): Likewise.
21660         (numbers): Delete.
21661         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21662         __Qp_handle_exceptions.
21663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21664         __Qp_handle_exceptions.
21665         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21666         as unused and give dummy FP_RND_NEAREST initializer.
21667         (FP_INHIBIT_RESULTS): Define.
21668         (___Q_simulate_exceptions): Update declaration.
21669         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21670         formatting.
21671         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21672         as unused and give dummy FP_RND_NEAREST initializer.
21673         (__Qp_handle_exceptions): Update declaration.
21674         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21675         formatting.
21677 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
21679         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21680         the temporary FPU control word.
21681         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21682         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21683         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21684         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21685         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21686         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21687         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21688         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21689         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21690         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21691         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21693 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21695         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21696         fields.
21698 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21700         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21701         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21702         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21703         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21704         Likewise.
21705         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21706         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21707         Likewise.
21709 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21711         * po/h.po: Update from translation team.
21713 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21715         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21717         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21718         handling of denormals.
21719         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21720         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21721         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21722         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21723         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21724         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21725         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21726         Likewise.
21728 2012-05-26  Marek Polacek  <polacek@redhat.com>
21730         [BZ #14152]
21731         * math/libm-test.inc (fma_test): Don't always expect underflow
21732         exception.
21734 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21736         [BZ #12416]
21737         * elf/tst-execstack.c: Include stackinfo.h.
21738         (do_test): Adjust test case to ensure that pthread_getattr_np
21739         behaviour remains the same after marking stack executable.
21741 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21743         * sysdeps/unix/sysv/linux/kernel-features.h
21744         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21745         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21746         kernel-features.h.
21747         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21748         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21749         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21750         kernel-features.h.
21751         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21752         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21754 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21756         * configure.in: Define the default includes to being none.
21757         * configure: Regenerated.
21759 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21761         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21762         * sysdeps/x86_64/setjmp.S: Likewise.
21763         * sysdeps/i386/bsd-setjmp.S: Likewise.
21764         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21765         * sysdeps/i386/setjmp.S: Likewise.
21766         * sysdeps/i386/__longjmp.S: Likewise.
21767         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21768         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21770         * include/stap-probe.h: New file.
21771         * configure.in: Handle --enable-systemtap.
21772         * configure: Regenerated.
21773         * config.h.in (USE_STAP_PROBE): New #undef.
21774         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21775         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21776         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21778 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21780         [BZ #13717]
21781         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21782         to 2.4.0 where earlier.
21783         * sysdeps/unix/sysv/linux/configure: Regenerated.
21784         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21785         <kernel-features.h>.
21786         [__ASSUME_32BITUIDS]: Make code unconditional.
21787         [!__ASSUME_32BITUIDS]: Remove conditional code.
21788         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21789         <kernel-features.h>.
21790         [__ASSUME_32BITUIDS]: Make code unconditional.
21791         [!__ASSUME_32BITUIDS]: Remove conditional code.
21792         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21793         [__ASSUME_32BITUIDS]: Make code unconditional.
21794         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21795         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21796         <kernel-features.h>.
21797         [__ASSUME_32BITUIDS]: Make code unconditional.
21798         [!__ASSUME_32BITUIDS]: Remove conditional code.
21799         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21800         <kernel-features.h>.
21801         [__ASSUME_32BITUIDS]: Make code unconditional.
21802         [!__ASSUME_32BITUIDS]: Remove conditional code.
21803         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21804         <kernel-features.h>.
21805         [__ASSUME_32BITUIDS]: Make code unconditional.
21806         [!__ASSUME_32BITUIDS]: Remove conditional code.
21807         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21808         <kernel-features.h>.
21809         [__ASSUME_32BITUIDS]: Make code unconditional.
21810         [!__ASSUME_32BITUIDS]: Remove conditional code.
21811         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21812         <kernel-features.h>.
21813         [__ASSUME_32BITUIDS]: Make code unconditional.
21814         [!__ASSUME_32BITUIDS]: Remove conditional code.
21815         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21816         <kernel-features.h>.
21817         [__ASSUME_32BITUIDS]: Make code unconditional.
21818         [!__ASSUME_32BITUIDS]: Remove conditional code.
21819         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21820         <kernel-features.h>.
21821         [__ASSUME_32BITUIDS]: Make code unconditional.
21822         [!__ASSUME_32BITUIDS]: Remove conditional code.
21823         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21824         <kernel-features.h>.
21825         [__ASSUME_32BITUIDS]: Make code unconditional.
21826         [!__ASSUME_32BITUIDS]: Remove conditional code.
21827         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21828         <kernel-features.h>.
21829         [__ASSUME_32BITUIDS]: Make code unconditional.
21830         [!__ASSUME_32BITUIDS]: Remove conditional code.
21831         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21832         <kernel-features.h>.
21833         [__ASSUME_32BITUIDS]: Make code unconditional.
21834         [!__ASSUME_32BITUIDS]: Remove conditional code.
21835         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21836         <kernel-features.h>.
21837         [__NR_setresgid] (__setresgid): Do not declare.
21838         [__ASSUME_32BITUIDS]: Make code unconditional.
21839         [!__ASSUME_32BITUIDS]: Remove conditional code.
21840         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21841         <kernel-features.h>.
21842         [__NR_setresuid] (__setresuid): Do not declare.
21843         [__ASSUME_32BITUIDS]: Make code unconditional.
21844         [!__ASSUME_32BITUIDS]: Remove conditional code.
21845         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21846         <kernel-features.h>.
21847         [__ASSUME_32BITUIDS]: Make code unconditional.
21848         [!__ASSUME_32BITUIDS]: Remove conditional code.
21849         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21850         <kernel-features.h>.
21851         [__ASSUME_32BITUIDS]: Make code unconditional.
21852         [!__ASSUME_32BITUIDS]: Remove conditional code.
21853         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21854         <kernel-features.h>.
21855         [__ASSUME_32BITUIDS]: Make code unconditional.
21856         [!__ASSUME_32BITUIDS]: Remove conditional code.
21857         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21858         <kernel-features.h>.
21859         [__ASSUME_32BITUIDS]: Make code unconditional.
21860         [!__ASSUME_32BITUIDS]: Remove conditional code.
21861         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21862         <kernel-features.h>.
21863         [__ASSUME_32BITUIDS]: Make code unconditional.
21864         [!__ASSUME_32BITUIDS]: Remove conditional code.
21865         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21866         <kernel-features.h>.
21867         [__ASSUME_32BITUIDS]: Make code unconditional.
21868         [!__ASSUME_32BITUIDS]: Remove conditional code.
21869         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21870         <kernel-features.h>.
21871         [__ASSUME_32BITUIDS]: Make code unconditional.
21872         [!__ASSUME_32BITUIDS]: Remove conditional code.
21873         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21874         <kernel-features.h>.
21875         [__ASSUME_32BITUIDS]: Make code unconditional.
21876         [!__ASSUME_32BITUIDS]: Remove conditional code.
21877         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21878         <kernel-features.h>.
21879         [__ASSUME_32BITUIDS]: Make code unconditional.
21880         [!__ASSUME_32BITUIDS]: Remove conditional code.
21881         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21882         <kernel-features.h>.
21883         [__ASSUME_32BITUIDS]: Make code unconditional.
21884         [!__ASSUME_32BITUIDS]: Remove conditional code.
21885         * sysdeps/unix/sysv/linux/kernel-features.h
21886         (__ASSUME_SETRESUID_SYSCALL): Remove.
21887         (__ASSUME_SETRESGID_SYSCALL): Likewise.
21888         (__ASSUME_32BITUIDS): Likewise.
21889         (__ASSUME_LDT_WORKS): Likewise.
21890         (__ASSUME_O_DIRECTORY): Likewise.
21891         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21892         architecture but not kernel version.
21893         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21894         (__ASSUME_MMAP2_SYSCALL): Likewise.
21895         (__ASSUME_STAT64_SYSCALL): Likewise.
21896         (__ASSUME_IPC64): Likewise.
21897         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21898         <kernel-features.h>.
21899         [__ASSUME_32BITUIDS]: Make code unconditional.
21900         [!__ASSUME_32BITUIDS]: Remove conditional code.
21901         * sysdeps/unix/sysv/linux/opendir.c: Do not include
21902         <kernel-features.h>.
21903         [__ASSUME_O_DIRECTORY]: Make code unconditional.
21904         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21905         132096]: Remove conditional code.
21906         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21907         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21908         <kernel-features.h>.
21909         [__ASSUME_32BITUIDS]: Make code unconditional.
21910         [!__ASSUME_32BITUIDS]: Remove conditional code.
21911         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21912         <kernel-features.h>.
21913         [__ASSUME_32BITUIDS]: Make code unconditional.
21914         [!__ASSUME_32BITUIDS]: Remove conditional code.
21915         * sysdeps/unix/sysv/linux/setegid.c: Do not include
21916         <kernel-features.h>.
21917         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21918         unconditional.
21919         (__setresgid): Do not declare.
21920         [__ASSUME_32BITUIDS]: Make code unconditional.
21921         [!__ASSUME_32BITUIDS]: Remove conditional code.
21922         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21923         <kernel-features.h>.
21924         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21925         unconditional.
21926         (__setresuid): Do not declare.
21927         [__ASSUME_32BITUIDS]: Make code unconditional.
21928         [!__ASSUME_32BITUIDS]: Remove conditional code.
21929         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21930         <kernel-features.h>.
21931         [__ASSUME_32BITUIDS]: Make code unconditional.
21932         [!__ASSUME_32BITUIDS]: Remove conditional code.
21933         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21934         <kernel-features.h>.
21935         [__ASSUME_32BITUIDS]: Make code unconditional.
21936         [!__ASSUME_32BITUIDS]: Remove conditional code.
21938 2012-05-25  Richard Henderson  <rth@twiddle.net>
21940         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21941         dl_hwcap to ifunc resolver.
21942         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21943         elf_ifunc_invoke.
21944         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21945         dl_hwcap to ifunc resolver.
21946         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21948 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21950         [BZ #14153]
21951         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21952         for |x| <= 2**-26, not 2**-57.
21953         * math/libm-test.inc (acos_test): Do not allow spurious underflow
21954         exception.
21956 2012-05-24  Jeff Law  <law@redhat.com>
21958         * stdio-common/Makefile (tests): Add bug25.
21959         * stdio-common/bug25.c: New test.
21961 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21963         [BZ #13576]
21964         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21965         multiple of MALLOC_ALIGNMENT in size.
21966         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21968 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21970         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21971         Require >= 256.
21972         (FILENAME_MAX): Use macro-int-constant.
21973         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
21974         (_IOFBF): Use macro-int-constant.
21975         (_IOLBF): Likewise.
21976         (_IONBF): Likewise.
21977         (SEEK_CUR): Likewise.
21978         (SEEK_END): Likewise.
21979         (SEEK_SET): Likewise.
21980         (TMP_MAX): Likewise.
21981         (EOF): Use macro-int-constant.  Require < 0.
21982         (NULL): Use macro-constant.  Require == 0.
21983         (stdin): Require type to be FILE *.
21984         (stdout): Likewise.
21985         (stderr): Likewise.
21986         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21987         macro-int-constant.
21988         (EXIT_SUCCESS): Likewise.
21989         (NULL): Use macro-constant.  Require == 0.
21990         (RAND_MAX): Use macro-int-constant.
21991         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21992         [C99-based standards] (strtof): Require function.
21993         [C99-based standards] (strtold): Likewise.
21994         [C99-based standards] (strtoll): Likewise.
21995         [C99-based standards] (strtoull): Likewise.
21996         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21997         [ISO || ISO99 || ISO11] (limits.h): Likewise.
21998         [ISO || ISO99 || ISO11] (math.h): Likewise.
21999         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22000         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22001         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22003 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22005         [BZ #14132]
22006         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22007         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22008         * intl/dgettext.c (DCGETTEXT): Likewise.
22009         * intl/gettext.c (DCGETTEXT): Likewise.
22010         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22011         * posix/regex_internal.h (gettext): Likewise.
22012         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22013         Remove declaration.
22014         * include/argz.h (__argz_count_internal)
22015         (__argz_stringify_internal): Remove declaration.
22016         (__argz_count, __argz_stringify): Declare hidden proto.
22017         * intl/dcgettext.c: Remove use of INTDEF.
22018         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22019         * string/argz-stringify.c: Likewise.
22020         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22021         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22022         Declare hidden proto.
22023         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22024         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22025         Declare hidden proto.
22026         * include/stdio.h (__asprintf_internal): Don't declare.
22027         (__asprintf): Don't define as macro.  Declare hidden proto.
22028         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22029         (__fsetlocking): Declare hidden proto.
22030         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22031         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22032         hidden proto.
22033         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22034         (_IO_setlinebuf): Remove use of INTUSE.
22035         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22036         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22037         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22038         Remove declaration.
22039         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22040         (_IO_do_flush): Remove use of INTUSE.
22041         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22042         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22043         (_IO_adjust_column, _IO_least_wmarker)
22044         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22045         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22046         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22047         (_IO_default_doallocate, _IO_wdefault_doallocate)
22048         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22049         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22050         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22051         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22052         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22053         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22054         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22055         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22056         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22057         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22058         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22059         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22060         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22061         proto.
22062         (_IO_flush_all_internal, _IO_adjust_column_internal)
22063         (_IO_default_uflow_internal, _IO_default_finish_internal)
22064         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22065         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22066         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22067         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22068         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22069         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22070         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22071         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22072         (_IO_file_close_internal, _IO_file_close_it_internal)
22073         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22074         (_IO_file_init_internal, _IO_file_attach_internal)
22075         (_IO_file_fopen_internal, _IO_file_read_internal)
22076         (_IO_file_sync_internal, _IO_file_seek_internal)
22077         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22078         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22079         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22080         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22081         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22082         (_IO_list_all_internal, _IO_link_in_internal)
22083         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22084         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22085         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22086         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22087         (_IO_do_write_internal, _IO_padn_internal)
22088         (_IO_getline_info_internal, _IO_getline_internal)
22089         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22090         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22091         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22092         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22093         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22094         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22095         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22096         with libc_hidden_ver, remove use of INTUSE.
22097         * libio/genops.c: Likewise.
22098         * libio/freopen.c: Likewise.
22099         * libio/freopen64.c: Likewise.
22100         * libio/iofclose.c: Likewise.
22101         * libio/iofdopen.c: Likewise.
22102         * libio/iofflush.c: Likewise.
22103         * libio/iofflush_u.c: Likewise.
22104         * libio/iofgets.c: Likewise.
22105         * libio/iofgets_u.c: Likewise.
22106         * libio/iofopen.c: Likewise.
22107         * libio/iofopncook.c: Likewise.
22108         * libio/iofread.c: Likewise.
22109         * libio/iofread_u.c: Likewise.
22110         * libio/ioftell.c: Likewise.
22111         * libio/iofwrite.c: Likewise.
22112         * libio/iogetline.c: Likewise.
22113         * libio/iogets.c: Likewise.
22114         * libio/iogetwline.c: Likewise.
22115         * libio/iopadn.c: Likewise.
22116         * libio/iopopen.c: Likewise.
22117         * libio/ioseekoff.c: Likewise.
22118         * libio/ioseekpos.c: Likewise.
22119         * libio/iosetbuffer.c: Likewise.
22120         * libio/iosetvbuf.c: Likewise.
22121         * libio/ioungetc.c: Likewise.
22122         * libio/ioungetwc.c: Likewise.
22123         * libio/iovdprintf.c: Likewise.
22124         * libio/iovsprintf.c: Likewise.
22125         * libio/iovsscanf.c: Likewise.
22126         * libio/memstream.c: Likewise.
22127         * libio/obprintf.c: Likewise.
22128         * libio/oldfileops.c: Likewise.
22129         * libio/oldiofclose.c: Likewise.
22130         * libio/oldiofdopen.c: Likewise.
22131         * libio/oldiofopen.c: Likewise.
22132         * libio/oldiopopen.c: Likewise.
22133         * libio/oldstdfiles.c: Likewise.
22134         * libio/putc.c: Likewise.
22135         * libio/setbuf.c: Likewise.
22136         * libio/setlinebuf.c: Likewise.
22137         * libio/stdfiles.c: Likewise.
22138         * libio/strops.c: Likewise.
22139         * libio/vasprintf.c: Likewise.
22140         * libio/vscanf.c: Likewise.
22141         * libio/vsnprintf.c: Likewise.
22142         * libio/vswprintf.c: Likewise.
22143         * libio/wfiledoalloc.c: Likewise.
22144         * libio/wfileops.c: Likewise.
22145         * libio/wgenops.c: Likewise.
22146         * libio/wmemstream.c: Likewise.
22147         * libio/wstrops.c: Likewise.
22148         * libio/__fpurge.c: Likewise.
22149         * libio/__fsetlocking.c: Likewise.
22150         * assert/assert.c: Likewise.
22151         * debug/fgets_chk.c: Likewise.
22152         * debug/fgets_u_chk.c: Likewise.
22153         * debug/fread_chk.c: Likewise.
22154         * debug/fread_u_chk.c: Likewise.
22155         * debug/gets_chk.c: Likewise.
22156         * debug/obprintf_chk.c: Likewise.
22157         * debug/vasprintf_chk.c: Likewise.
22158         * debug/vdprintf_chk.c: Likewise.
22159         * debug/vsnprintf_chk.c: Likewise.
22160         * debug/vsprintf_chk.c: Likewise.
22161         * malloc/mtrace.c: Likewise.
22162         * misc/error.c: Likewise.
22163         * misc/syslog.c: Likewise.
22164         * stdio-common/asprintf.c: Likewise.
22165         * stdio-common/fxprintf.c: Likewise.
22166         * stdio-common/getw.c: Likewise.
22167         * stdio-common/isoc99_fscanf.c: Likewise.
22168         * stdio-common/isoc99_scanf.c: Likewise.
22169         * stdio-common/isoc99_vfscanf.c: Likewise.
22170         * stdio-common/isoc99_vscanf.c: Likewise.
22171         * stdio-common/isoc99_vsscanf.c: Likewise.
22172         * stdio-common/printf-prs.c: Likewise.
22173         * stdio-common/printf_fp.c: Likewise.
22174         * stdio-common/printf_fphex.c: Likewise.
22175         * stdio-common/printf_size.c: Likewise.
22176         * stdio-common/putw.c: Likewise.
22177         * stdio-common/scanf.c: Likewise.
22178         * stdio-common/sprintf.c: Likewise.
22179         * stdio-common/tmpfile.c: Likewise.
22180         * stdio-common/vfprintf.c: Likewise.
22181         * stdio-common/vfscanf.c: Likewise.
22182         * stdlib/strfmon_l.c: Likewise.
22183         * sunrpc/openchild.c: Likewise.
22184         * sunrpc/xdr_stdio.c: Likewise.
22185         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22186         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22188 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22190         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22192         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22193         in the third column, to generate for the shared library an IFUNC
22194         that uses _dl_vdso_vsym.
22195         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22196         * Makeconfig (object-suffixes-noshared): New variable.
22198         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22199         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22200         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22201         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22203         [BZ #14132]
22204         * include/sys/time.h (__gettimeofday): Remove macro.
22205         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22206         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22207         Remove INTDEF.
22208         (__gettimeofday): Add libc_hidden_def.
22209         (gettimeofday): Add libc_hidden_weak.
22210         * sysdeps/mach/gettimeofday.c: Likewise.
22211         * sysdeps/posix/gettimeofday.c: Likewise.
22212         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22213         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22214         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22215         (__gettimeofday_internal): Remove strong_alias.
22216         (__gettimeofday): Add libc_hidden_def.
22217         (gettimeofday): Add libc_hidden_weak.
22218         * sysdeps/unix/syscalls.list (gettimeofday):
22219         Remove __gettimeofday_internal alias.
22221 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22222             H.J. Lu  <hongjiu.lu@intel.com>
22224         [BZ #12495]
22225         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22226         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22227         (largebin_index_32_big): New.
22228         (largebin_index): Use it for 16-byte alignment.
22229         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22230         correction with front_misalign.
22232 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22236         Likewise.
22237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22238         Likewise.
22239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22240         Likewise.
22241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22242         Likewise.
22243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22244         Likewise.
22245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22246         Likewise.
22247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22248         Likewise.
22249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22250         Likewise.
22251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22252         Likewise.
22253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22254         Likewise.
22255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22256         Likewise.
22257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22258         Likewise.
22260         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22261         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22263 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22265         [BZ #10846]
22266         [BZ #14036]
22267         * math/libm-test.inc (exp_test): Add test from bug 14036.
22268         (pow_test): Add test from bug 10846.
22270         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22271         and other flags.
22272         (special_function): Do not include flags in test name.
22273         (parse_args): Likewise.
22274         * sysdeps/i386/fpu/libm-test-ulps: Update.
22275         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22276         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22277         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22280         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22281         exceptions.
22282         * math/libm-test.inc ("Philosophy"): Update comment about
22283         exception testing.
22284         (UNDERFLOW_EXCEPTION): New macro.
22285         (UNDERFLOW_EXCEPTION_OK): Likewise.
22286         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22287         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22288         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22289         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22290         (INVALID_EXCEPTION_OK): Update value.
22291         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22292         (OVERFLOW_EXCEPTION_OK): Likewise.
22293         (IGNORE_ZERO_INF_SIGN): Likewise.
22294         (test_exceptions): Handle underflow exceptions.
22295         (acos_test): Update for underflow exception expectations.
22296         (cexp_test): Likewise.
22297         (clog_test): Likewise.
22298         (clog10_test): Likewise.
22299         (csqrt_test): Likewise.
22300         (ctan_test): Likewise.
22301         (ctanh_test): Likewise.
22302         (exp_test): Likewise.
22303         (exp10_test): Likewise.
22304         (exp2_test): Likewise.
22305         (expm1_test): Likewise.
22306         (fma_test): Likewise.
22307         (j0_test): Likewise.
22308         (jn_test): Likewise.
22309         (nexttoward_test): Likewise.
22310         (pow_test): Likewise.
22311         (scalbn_test): Likewise.
22312         (scalbln_test): Likewise.
22313         (tan_test): Likewise.
22314         (y1_test): Likewise.
22315         * sysdeps/i386/fpu/libm-test-ulps: Update.
22316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22318 2012-05-23  David S. Miller  <davem@davemloft.net>
22320         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22321         (__libc_sigaction): Remove unused local variables.
22323 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22325         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22327 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22329         mktime: avoid signed integer overflow
22330         * time/mktime.c (__mktime_internal): Do not mishandle the case
22331         where diff == INT_MIN.
22333         mktime: simplify computation of average
22334         * time/mktime.c (ranged_convert): Use new time_t_avg function
22335         instead of rolling our own (probably-slower) code.
22337         mktime: do not assume signed right shift propagates sign bit
22338         * time/mktime.c (isdst_differ): New static function.
22339         (__mktime_internal): No need to normalize tm_isdst now.
22340         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22341         tm_isdst values.
22343         mktime: merge another wrapv change from gnulib
22344         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22345         from some compilers.
22347         mktime: remove incorrect attempt at unusual arithmetics
22348         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22349         The code didn't really work on such machines anyway.
22350         (TYPE_MINIMUM): Assume two's complement.
22351         (twos_complement_arithmetic): Verify that long_int and time_t
22352         are two's complement (or unsigned, in the latter case).
22354         mktime: check signed shifts on long_int and time_t, too
22355         * time/mktime.c (SHR): Check that shifts work as desired
22356         on the types long_int and time_t too, as SHR is used on
22357         such types.
22359         mktime: do not assume 'long' is wide enough
22360         * time/mktime.c (verify): Move decl up.
22361         (long_int): New type.
22362         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22363         to remove assumption in the code that 'long' is wide enough to
22364         store year values.  This assumption is not true on x32 and on
22365         some non-glibc platforms.
22367         mktime: merge wrapv change from gnulib
22368         * time/mktime.c (WRAPV): New macro.
22369         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22370         (guess_time_tm, __mktime_internal): Do not assume that signed
22371         integer overflow wraps around; modern compilers generate code
22372         where this assumption is no longer valid.
22374 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22376         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22377         Replace "jmp L(pseudo_end)" with "ret".
22378         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22379         Likewise.
22381 2012-05-23  Andreas Jaeger  <aj@suse.de>
22383         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22384         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22386 2012-05-23  Andreas Jaeger  <aj@suse.de>
22387             Maximilian Attems  <max@stro.at>
22389         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22390         New macros.
22392 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22394         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22395         code so that pseudo_end is just ret and the stack pointer is
22396         correct also for static library in error case.
22398 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22400         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22401         move to syscalls.list.
22402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22407         * manual/install.texi (Running make install): Do not mention Linux
22408         kernel version for which pt_chown is not needed.
22409         (Linux): Do not mention problems with nscd with 2.0 kernels.
22410         * INSTALL: Regenerated.
22412 2012-05-23  Andreas Jaeger  <aj@suse.de>
22414         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22415         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22416         macro.
22417         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22418         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22419         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22420         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22421         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22422         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22423         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22424         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22425         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22426         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22427         * sysdeps/unix/sysv/linux/bits/in.h
22428         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22430 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22432         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22433         (PREPARE_VERSION): Just use assert instead, it will be elided
22434         under [NDEBUG] anyway.
22436 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22438         * sysdeps/unix/sysv/linux/Makefile: Include
22439         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22440         (sysdep_routines): Remove sysctl.
22441         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22442         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22443         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22444         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22445         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22447 2012-05-22  Andreas Jaeger  <aj@suse.de>
22449         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22450         that pseudo_end is just ret and the stack pointer is correct also
22451         for static library in error case.
22453 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22455         [BZ #14122]
22456         * nss/nsswitch.c (defconfig_entries): New variable.
22457         (__nss_database_lookup): Don't leak defconfig entries.
22458         (nss_parse_service_list): Don't leak on error paths.
22459         (free_database_entries): New function.
22460         (free_defconfig): New function.
22461         (free_mem): Move common code to free_database_entries.
22463 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22465         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22466         Add arch_prctl.
22467         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22469         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22470         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22471         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22472         New macro.
22473         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22474         (INTERNAL_SYSCALL_TYPES): Likewise.
22475         (LOAD_ARGS_TYPES_[1-6]): Likewise.
22476         (LOAD_REGS_TYPES_[1-6]): Likewise.
22477         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22478         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22480 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22482         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22483         copysignl for GLIBC_2_0.
22484         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22485         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22486         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22487         logbl for GLIBC_2_0.
22488         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22489         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22491 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22493         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22494         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22496         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22497         Use "neg %eax".
22499         * time/mktime.c: Update copyright years.
22501 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22503         mktime: merge comment-quoting-style change from gnulib
22504         * time/mktime.c: Quote 'like this' in comments.
22505         The GNU coding standards suggest that we no longer quote `like this',
22506         as "`" and "'" are typically rendered asymmetrically nowadays.
22507         The typical gnulib style is to quote 'like this' when quoting
22508         code, and "like this" when quoting English.
22510         * time/mktime.c (compile-command): Add "-I.".
22512         mktime: merge mktime-internal.h change from gnulib
22513         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22515         mktime: merge time_r change from gnulib
22516         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22518         mktime: merge DEBUG change from gnulib
22519         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22520         case system <time.h> has a #define.
22522         mktime: merge <sys/types.h> change from gnulib
22523         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22524         since <time.t> is now guaranteed to define time_t.
22526         mktime: merge HAVE_CONFIG_H change from gnulib
22527         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22529 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22531         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22532         Use "neg %eax".
22534         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22535         __rlim_t cast.
22536         (struct rusage): Use anonymous union to pad each field to
22537         __syscall_slong_t.
22539 2012-05-21  David S. Miller  <davem@davemloft.net>
22541         * Makefules (o-iterator): Remove .s cases.
22542         (compile-command.s): Delete.
22543         (COMPILE.s): Delete.
22544         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22546 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
22548         * configure.in (libc_cv_predef_stack_protector): Only consider
22549         "foobar" and "__stack_chk_fail" lines in libc_undefs.
22550         * configure: Regenerated.
22552 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22554         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22555         New macro.  Use R*LP on int and pointer.
22556         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22557         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22558         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22559         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22561         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22562         [__WORDSIZE_TIME64_COMPAT32] instead of
22563         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22564         (struct utmp): Likewise.
22565         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22566         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22567         Renamed to ...
22568         (__WORDSIZE_TIME64_COMPAT32): This.
22569         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22570         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22571         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22572         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22573         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22574         (__WORDSIZE_TIME64_COMPAT32): New macro.
22576 2012-05-21  Andreas Jaeger  <aj@suse.de>
22578         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22579         only if [SHARED]. Add prototype for __wcschr_ia32.
22581 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22583         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22584         of %rbp unmolested in the jmp_buf while mangling the low bits.
22585         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22586         unmolested high bits of %rbp while demangling the low bits.
22587         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22589 2012-05-21  Andreas Jaeger  <aj@suse.de>
22591         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22592         * sunrpc/svc_simple.c: Use it for registerrpc.
22593         * sunrpc/xcrypt.c: Use it for passwd2des.
22595         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22597 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22599         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22600         Don't define if [__SYSCALL_WORDSIZE != 32].
22601         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22602         New macro.
22604 2012-05-21  Bruno Haible  <bruno@clisp.org>
22605             Andreas Jaeger  <aj@suse.de>
22607         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22608         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22609         inptr and inend for must_buffer_ch.
22610         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22611         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22612         * stdio-common/Makefile (tests): Remove bug15.
22613         (bug15-ENV): Remove macro.
22614         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22615         anymore.
22617 2012-05-19  Andreas Jaeger  <aj@suse.de>
22618             Roland McGrath  <roland@hack.frob.com>
22620         * manual/contrib.texi: Completely rewritten. It contains now an
22621         alphabetical list of contributors and their contributions.
22623 2012-05-21  Richard Henderson  <rth@twiddle.net>
22625         * misc/getauxval.c (__getauxval): Use unsigned long int.
22626         * misc/sys/auxv.h: Include <sys/cdefs.h>.
22627         (getauxval): Use unsigned long int.
22629 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22631         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22633 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22635         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22636         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22637         __alignof__ (long double).
22639 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22643 2012-05-20  Richard Henderson  <rth@twiddle.net>
22645         * misc/getauxval.c: New file.
22646         * misc/sys/auxv.h: New file.
22647         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22648         (routines): Add getauxval.
22649         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22650         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22651         * elf/dl-sysdep.c (_dl_auxv): Remove.
22652         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22653         * elf/dl-support.c (_dl_auxv): New variable.
22654         (_dl_aux_init): Initialize it.
22655         * manual/startup.texi (Auxiliary Vector): New node.
22656         * sysdeps/generic/bits/hwcap.h: New file.
22657         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22658         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
22659         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22660         * sysdeps/sparc/sysdep.h: ... here.  Include it.
22661         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22662         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22664         Update.
22665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22668         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22674 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22678 2012-05-19  David S. Miller  <davem@davemloft.net>
22680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22682 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22684         [BZ #14123]
22685         * math/s_ccosh.c: Include <float.h>
22686         (__ccosh): Avoid internal overflow calculating sinh and cosh
22687         values before multiplying by sin and cos values.
22688         * math/s_ccoshf.c: Likewise.
22689         * math/s_ccoshl.c: Likewise.
22690         * math/s_csin.c: Likewise.
22691         * math/s_csinf.c: Likewise.
22692         * math/s_csinl.c: Likewise.
22693         * math/s_csinh.c: Likewise.
22694         * math/s_csinhf.c: Likewise.
22695         * math/s_csinhl.c: Likewise.
22696         * math/libm-test.inc (ccos_test): Add more tests.
22697         (ccosh_test): Likewise.
22698         (csin_test): Likewise.
22699         (csinh_test): Likewise.
22700         * sysdeps/i386/fpu/libm-test-ulps: Update.
22701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22703 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22705         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22706         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22708         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22710 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22712         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22713         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22714         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22715         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22716         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22717         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22718         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22719         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22720         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22721         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22722         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22723         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22724         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22725         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22726         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22727         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22728         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22729         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22730         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22731         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22732         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22733         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22734         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22735         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22736         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22737         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22738         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22739         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22740         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22741         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22742         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22744 2012-05-18  Andreas Jaeger  <aj@suse.de>
22746         * csu/.gitignore: Delete.
22748 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22750         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22751         (timex): Use __syscall_slong_t.
22753 2012-05-18  Andreas Jaeger  <aj@suse.de>
22754             Carlos O'Donell  <carlos_odonell@mentor.com>
22756         * manual/install.texi (Configuring and compiling): Update
22757         description about files modified in the source directory.
22758         * INSTALL: Regenerated.
22760 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22762         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22763         value.  Use "or" to set return value to -1.
22764         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22765         negate return value.
22767 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22769         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22770         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22771         failure if the compiler has Graphite support disabled.
22772         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22773         Likewise.
22774         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22775         CFLAGS-memmove.c): Likewise.
22776         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22777         Likewise.
22779 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22781         * sysdeps/x86_64/x32/_itoa.h: New file.
22783         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22784         getdents system call only if kernel and user dirents have the
22785         same d_ino and d_off.
22787         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22788         LLONG_MAX != LONG_MAX.
22789         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22790         (_fitoa_word): Likewise.
22792         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22793         years.
22794         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22795         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22796         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22798         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22799         include <bits/wordsize.h>.  Check __x86_64__ instead of
22800         __WORDSIZE.
22801         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22802         if __x86_64__ is defined.  Use anonymous union on fpstate.
22804         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22805         anonymous union.
22807 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22809         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22810         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22811         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22812         Refer to _rtld_local_ro instead of _rtld_global_ro.
22813         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22814         Likewise.
22815         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22816         Likewise.
22817         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22818         Likewise.
22819         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22820         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22821         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22823         * sysdeps/powerpc/powerpc32/dl-machine.c
22824         (__elf_machine_runtime_setup) [PROF]: Don't reference
22825         _dl_prof_resolve.
22827 2012-05-18  Andreas Jaeger  <aj@suse.de>
22829         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22830         function only available for GCCs before 3.4 since GCC 3.4
22831         introduced a builtin.
22832         (lrint): Likewise.
22833         (llrintf): Likewise.
22834         (llrint): Likewise.
22835         (fmaxf): Likewise.
22836         (fmax): Likewise.
22837         (fminf): Likewise.
22838         (fmin): Likewise.
22839         (rint): Likewise.
22840         (rintf): Likewise.
22841         (nearbyint): Likewise.
22842         (nearbyintf): Likewise.
22843         (ceil): Likewise.
22844         (ceilf): Likewise.
22845         (floor): Likewise.
22846         (floorf): Likewise.
22848 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22850         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22851         on both fields and cast pointer to __syscall_ulong_t.
22853         * bits/types.h (__fsword_t): New type.
22854         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22855         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22856         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22857         (__FSWORD_T_TYPE): Likewise.
22858         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22859         (__FSWORD_T_TYPE): Likewise.
22860         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22861         (__FSWORD_T_TYPE): Likewise.
22862         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22863         (__FSWORD_T_TYPE): Likewise.
22864         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22865         __SWORD_TYPE with __fsword_t.
22866         (statfs64): Likewise.
22868 2012-05-17  David S. Miller  <davem@davemloft.net>
22870         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22872 2012-05-17  Andreas Jaeger  <aj@suse.de>
22874         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22875         warning.
22877 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22879         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22881 2012-05-17  Andreas Jaeger  <aj@suse.de>
22883         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22884         when it is used.
22886 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22888         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22890 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22892         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22893         * sysdeps/x86_64/tst-mallocalign1.c: New file.
22895 2012-05-17  Andreas Jaeger  <aj@suse.de>
22896             Carlos O'Donell  <carlos_odonell@mentor.com>
22898         [BZ #14059]
22899         * sysdeps/x86_64/multiarch/init-arch.h
22900         (bit_YMM_Usable): Rename to...
22901         (bit_AVX_Usable): ... this.
22902         (bit_FMA4_Usable): New macro.
22903         (bit_XMM_state): New macro.
22904         (bit_YMM_state): New macro.
22905         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22906         [__ASSEMBLER__] (index_AVX_Usable): ... this.
22907         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22908         (CPUID_OSXSAVE): New macro.
22909         (CPUID_AVX): New macro.
22910         (CPUID_FMA4): New macro.
22911         (index_YMM_Usable): Rename to...
22912         (index_AVX_Usable): ... this.
22913         (HAS_AVX): Use HAS_ARCH_FEATURE.
22914         (HAS_FMA4): Likewise.
22915         (HAS_YMM_USABLE): Remove.
22916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22917         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22918         are present.
22919         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22920         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22921         * sysdeps/x86_64/multiarch/Makefile: Likewise.
22922         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22923         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22925 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22927         * math/libm-test.c: Support platforms without multiple rounding modes.
22928         * math/bug-nextafter.c: Support platforms without FP exceptions.
22929         * math/bug-nexttoward.c: Likewise.
22930         * math/test-fenv.c: Likewise.
22931         * math/test-misc.c: Likewise.
22932         * stdlib/bug-getcontext.c: Likewise.
22934 2012-05-17  Andreas Jaeger  <aj@suse.de>
22936         * manual/examples/search.c (critter_cmp): Change signature to
22937         avoid warnings.
22938         * manual/string.texi (Collation Functions): Likewise.
22940 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22942         * bits/types.h: Fold copyright years.
22943         * bits/typesizes.h: Likewise.
22944         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22945         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22946         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22947         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22948         * time/time.h: Likewise.
22950 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
22952         [BZ #208]
22953         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22954         in instead of returning them.  Return void.
22955         (__libc_mallinfo): Accumulate over all arenas.
22956         (__malloc_stats): Adjust for change in int_mallinfo interface.
22958 2012-05-16  Roland McGrath  <roland@hack.frob.com>
22960         [BZ #10375]
22961         * configure.in (NM): Add AC_CHECK_TOOL for it.
22962         (libc_extra_cflags): New substituted variable.
22963         Check for -fstack-protector being used implicitly.
22964         * configure: Regenerated.
22965         * config.make.in (config-extra-cflags): New variable,
22966         gets @libc_extra_cflags@.
22967         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22969         [BZ #10375]
22970         * configure.in: Check for _FORTIFY_SOURCE being predefined.
22971         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22972         * configure: Regenerated.
22973         * config.make.in (CPPUNDEFS): New substituted variable.
22974         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22975         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22976         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22978 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22980         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22981         (mq_attr): Use __syscall_slong_t.
22983 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22985         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22986         Check __x86_64__ instead of __WORDSIZE.
22987         (_STAT_VER_LINUX): Likewise.
22988         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
22989         __syscall_ulong_t and __syscall_slong_t.
22990         (stat64): Likewise.
22992 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22994         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22996 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22998         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23000 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23002         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23003         __syscall_ulong_t.
23005         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23006         include <bits/wordsize.h>.  Check __x86_64__ instead of
23007         __WORDSIZE.
23008         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23009         defined.
23010         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23012         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23013         include <bits/wordsize.h>.  Check __x86_64__ instead of
23014         __WORDSIZE.
23015         (user_regs_struct): Use "__extension__ unsigned long long"
23016         instead of "unsigned long" if __x86_64__ is defined.
23017         (user): Likewise.  Pad after pointer field if __ILP32__ is
23018         defined.
23020 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23022         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23023         versions 5 to 9.
23024         * configure: Regenerated.
23025         * manual/install.texi (texinfo): Increase version requirement to
23026         4.5 or later.
23027         * INSTALL: Regenerated.
23029         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23031 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23033         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23035         * sysdeps/x86_64/x32/ffs.c: New file.
23037         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23038         __syscall_ulong_t.
23039         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23040         defined.  Use __syscall_ulong_t.
23041         (shminfo): Use __syscall_ulong_t.
23042         (shm_info): Likewise.
23044         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23045         __syscall_ulong_t.
23047         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23048         <bits/wordsize.h>.
23049         (msgqnum_t): Use __syscall_ulong_t.
23050         (msglen_t): Likewise.
23051         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23052         __syscall_ulong_t.
23054         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23055         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23057         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23059         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23060         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23062         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23063         __syscall_slong_t.
23065         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23066         include <bits/wordsize.h>.  Check __x86_64__ instead of
23067         __WORDSIZE.
23069         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23070         "unsigned long long int" if __x86_64__ is defined.
23071         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23073         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23074         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23075         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23077         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23078         <stdint.h>.
23079         (GET_PC): Cast to uintptr_t first.
23080         (GET_FRAME): Likewise.
23081         (GET_STACK): Likewise.
23083         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23084         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23085         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23086         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23087         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23088         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23089         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23090         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23091         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23092         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23093         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23094         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23095         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23096         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23097         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23098         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23099         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23100         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23101         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23102         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23103         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23104         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23105         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23106         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23107         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23108         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23109         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23110         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23111         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23113 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23115         * Makerules (+depfiles): Also collect depfiles from .oS in
23116         $(extra-objs).
23117         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23118         .oS, $(libnldbl-routines)).
23120         * Makerules (native-compile-mkdep-flags): Define.
23121         * sunrpc/Makefile (extra-objs): Add $(addprefix
23122         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23123         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23124         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23125         calling $(make-target-directory).
23127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23129         * bits/types.h (__snseconds_t): Removed.
23130         * time/time.h (struct timespec): Replace __snseconds_t with
23131         __syscall_slong_t.
23132         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23133         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23134         Likewise.
23135         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23136         (__SNSECONDS_T_TYPE): Likewise.
23137         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23138         (__SNSECONDS_T_TYPE): Likewise.
23139         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23140         (__SNSECONDS_T_TYPE): Likewise.
23142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23144         * sysdeps/mach/hurd/bits/typesizes.h
23145         (__SYSCALL_SLONG_TYPE): New macro.
23146         (__SYSCALL_ULONG_TYPE): Likewise.
23148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23150         * bits/types.h (__syscall_slong_t): New type.
23151         (__syscall_ulong_t): Likewise.
23153         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23154         (__SYSCALL_ULONG_TYPE): Likewise.
23155         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23156         (__SYSCALL_SLONG_TYPE): Likewise.
23157         (__SYSCALL_ULONG_TYPE): Likewise.
23158         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23159         (__SYSCALL_SLONG_TYPE): Likewise.
23160         (__SYSCALL_ULONG_TYPE): Likewise.
23161         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23162         (__SYSCALL_SLONG_TYPE): Likewise.
23163         (__SYSCALL_ULONG_TYPE): Likewise.
23165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23167         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23168         Add sigaltstack-offsets.sym.
23169         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23170         <sigaltstack-offsets.h>.
23171         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23172         longjmp_msg pointer.
23173         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23174         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23175         signal stack.
23176         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23178 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23180         * elf/stackguard-macros.h: Remove file.
23181         * sysdeps/generic/stackguard-macros.h: New file.
23182         * sysdeps/i386/stackguard-macros.h: Likewise.
23183         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23184         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23185         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23186         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23187         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23188         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23189         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23190         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23191         <elf/stackguard-macros.h>.
23193         [BZ #14109]
23194         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23195         __aligned__ in attribute.
23196         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23197         (gregset_t): Likewise.
23199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23201         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23202         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23203         * sysdeps/x86_64/x32/Implies-after: New file.
23205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23207         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23208         and access return value for _dl_profile_fixup.  Use R10_LP to
23209         load frame size.
23211 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23213         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23217         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23218         * sysdeps/x86_64/x32/sysdep.h: New file.
23220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23222         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23223         * sysdeps/x86_64/setjmp.S: Likewise.
23225 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23227         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23228         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23229         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23230         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23231         remove unused global constant.
23233 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23235         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23236         include of <not-cancel.h>.
23238 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23240         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23242 2012-05-15  Jeff Law  <law@redhat.com>
23243             Andreas Jaeger  <aj@suse.de>
23245         [BZ #13594]
23246         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23247         out from...
23248         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23249         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23250         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23251         code changing __hst_map_handle.map.
23253 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23255         * configure.in (sysnames): Look for Implies-before and Implies-after
23256         files.
23257         * configure: Regenerated.
23259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23261         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23262         8-byte data alignment with LP_SIZE alignment.
23264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23266         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23267         into R10_LP.
23269 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23271         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23273 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23275         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23276         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23277         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23278         Likewise.
23279         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23283         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23284         (stackinfo_sub_sp): Likewise.
23286 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23288         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23289         RAX_LP.
23291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23293         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23294         into R*_LP.
23296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23298         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23299         sizes into R*_LP.
23301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23303         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23305 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23307         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23308         into R11_LP and load __x86_64_shared_cache_size_half into
23309         R8_LP.
23311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23313         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23314         R8_LP.
23316 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23318         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23319         logb for POWER7.
23320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23321         logbf for POWER7.
23322         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23323         logbl for POWER7.
23324         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23325         powerpc32/power7/fpu/s_logb.c via #include.
23326         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23327         powerpc32/power7/fpu/s_logbf.c via #include.
23328         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23329         powerpc32/power7/fpu/s_logbl.c via #include.
23331 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23333         * README.libm: Remove file.
23335 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23337         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23338         count for x32.  Use R*_LP and omit operand-size suffix.
23340 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23342         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23343         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23344         * sysdeps/x86_64/x32/shlib-versions: New file.
23346 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23348         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23349         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23350         Use _dl_fatal_printf instead.
23352 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23354         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23355         set if not set by the user.  Do not allow for being unset.
23356         * sysdeps/unix/sysv/linux/configure: Regenerated.
23358 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23360         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23361         the `q' suffix from lea and replace .quad with ASM_ADDR.
23363 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23366         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23367         instead of $17.
23368         (PTR_DEMANGLE): Likewise.
23370 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23372         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23373         (LP_OP): Likewise.
23374         (ASM_ADDR): Likewise.
23375         (RAX_LP): Likewise.
23376         (RBP_LP): Likewise.
23377         (RBX_LP): Likewise.
23378         (RCX_LP): Likewise.
23379         (RDI_LP): Likewise.
23380         (RSI_LP): Likewise.
23381         (RSP_LP): Likewise.
23382         (R8_LP): Likewise.
23383         (R9_LP): Likewise.
23384         (R10_LP): Likewise.
23385         (R10_LP): Likewise.
23386         (R11_LP): Likewise.
23387         (R12_LP): Likewise.
23388         (R13_LP): Likewise.
23389         (R14_LP): Likewise.
23390         (R15_LP): Likewise.
23392 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23394         * sysdeps/x86_64/x32/dl-machine.h: New file.
23396 2012-05-14  Andreas Jaeger  <aj@suse.de>
23398         * manual/Makefile (subdir): Remove export of subdir.
23399         (all): Remove target.
23400         (.PHONY): Remove all from list.
23401         (mkinstalldirs): Remove.
23402         (.PHONY): Remove installdirs from list.
23403         ($(inst_infodir)/libc.info): Use make-target-directory.
23404         (installdirs): Remove.
23405         (subdir_%): Remove.
23406         (glibc-targets): Remove.
23407         (lib): Remove.
23408         (stubs): Remove.
23409         ($(objpfx)stubs ../po/manual.pot): Remove.
23410         ($(objpfx)stamp%): Remove.
23411         (make-target-directory): Remove.
23412         (subdir_install): Remove.
23413         (routines): Remove.
23414         (aux): Remove.
23415         (sources): Remove.
23416         (objects): Remove.
23417         (headers): Remove.
23419         [BZ #13750]
23420         * manual/.gitignore: Remove, it's not needed anymore.
23421         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23422         all files in it.
23423         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23424         directory.
23425         (texis): Renamed to $(objpfx)texis.
23426         (texis-path): New, contains path to generated files.
23427         (chapters.%): Use texis-path for complete path, add extra argument
23428         libc-texinfo.sh.
23429         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23430         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23431         (summary,texi, stamp-summary): Use complete path of
23432         files. Generate files in build dir.
23433         (dir-add.texi): Build in build dir.
23434         (libm-err.texi,stamp-libm-err): Likewise.
23435         (version.texi, stamp-version): Likewise.
23436         (.%c.texi): Likewise.
23437         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23438         (mostlyclean): Remove target.
23439         (realclean): Remove target.
23440         (generated): Add new variable with contents from mostlyclean and
23441         realclean, remove entries duplicated in common-mostlyclean, add
23442         stamp-libm-err and stamp-version.
23443         (generated-dirs): Add libc directory.
23444         ($(inst_infodir)/libc.info): Install files from build dir.
23446         * manual/install.texi (Configuring and compiling): Adjust since
23447         the info files are not part of the tar ball anymore.
23449 2012-05-14  Andreas Jaeger  <aj@suse.de>
23451         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23452         variable.
23454 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23456         [BZ #13717]
23457         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23458         to 2.2.0 where earlier.
23459         * sysdeps/unix/sysv/linux/configure: Regenerated.
23460         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23461         Remove conditional code.
23462         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23463         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23464         Remove conditional code.
23465         [!__NR_lchown]: Likewise.
23466         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23467         [__NR_lchown]: Likewise.
23468         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23469         comment referencing __ASSUME_LCHOWN_SYSCALL.
23470         * sysdeps/unix/sysv/linux/i386/sigaction.c
23471         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23472         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23473         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23474         Remove conditional code.
23475         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23476         (__protocol_available): Remove #if 0 code.
23477         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23478         conditional code.
23479         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23480         * sysdeps/unix/sysv/linux/kernel-features.h
23481         (__ASSUME_GETCWD_SYSCALL): Don't define.
23482         (__ASSUME_REALTIME_SIGNALS): Likewise.
23483         (__ASSUME_PREAD_SYSCALL): Likewise.
23484         (__ASSUME_PWRITE_SYSCALL): Likewise.
23485         (__ASSUME_POLL_SYSCALL): Likewise.
23486         (__ASSUME_LCHOWN_SYSCALL): Likewise.
23487         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23488         non-SPARC.
23489         (__ASSUME_SIOCGIFNAME): Don't define.
23490         (__ASSUME_MSG_NOSIGNAL): Likewise.
23491         (__ASSUME_SENDFILE): Define unconditionally.
23492         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23493         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23494         conditional code.
23495         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23496         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23497         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23498         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23499         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23500         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23501         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23503         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23504         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23506         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23507         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23509         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23510         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23512         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23513         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23515         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23516         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23518         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23519         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23521         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23522         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23524         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23525         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23526         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23527         Remove conditional code.
23528         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23529         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23530         Remove conditional code.
23531         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23532         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23533         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23534         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23535         Remove conditional code.
23536         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23537         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23538         Remove conditional code.
23539         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23540         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23541         Remove conditional code.
23542         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23543         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23544         Remove conditional code.
23545         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23546         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23547         Remove conditional code.
23548         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23549         * sysdeps/unix/sysv/linux/sh/pwrite64.c
23550         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23551         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23552         * sysdeps/unix/sysv/linux/sigaction.c
23553         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23554         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23555         * sysdeps/unix/sysv/linux/sigpending.c
23556         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23557         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23558         * sysdeps/unix/sysv/linux/sigprocmask.c
23559         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23560         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23561         * sysdeps/unix/sysv/linux/sigsuspend.c
23562         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23563         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23564         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23565         (__libc_missing_rt_sigs): Remove.
23566         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23567         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23568         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23569         Remove conditional code.
23570         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23571         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23572         return 1.
23573         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23574         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23575         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23576         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23578 2012-05-14  Andreas Jaeger  <aj@suse.de>
23580         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23581         it's not used in glibc.
23582         (__coshm1): Likewise.
23583         (__acosh1p): Likewise.
23584         (__sgn): Likewise.
23586         * manual/string.texi (Copying and Concatenation): Add missing
23587         variable in concat example.
23588         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23590 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23592         [BZ #14103]
23593         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23594         __builtin_clzl with __builtin_clzll.
23596 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23598         [BZ #14104]
23599         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23600         libc_freeres_ptr.
23602 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23604         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23605         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23606         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23607         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23609 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
23611         * NEWS: Update ia64 info.
23613 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
23615         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23616         used as bcopy.
23618 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
23620         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23621         * sysdeps/unix/syscalls.list (dup3): Likewise.
23622         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23623         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23625 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23627         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23628         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23630 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23632         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23633         thread pointer.
23634         (TLS_IE): Use mov/add instead of movq/addq to load thread
23635         pointer.
23636         (TLS_GD_PREFIX): New.
23637         (TLS_GD): Use it.
23639 2012-05-11  David S. Miller  <davem@davemloft.net>
23641         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23642         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23643         (_FPU_SETCW): Likewise.
23645 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23647         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23648         is 32-byte aligned.
23650 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
23652         [BZ #11837]
23653         * iconvdata/gb18030.c: Update tables.
23654         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
23655         characters specially.
23656         (BODY for TO_LOOP): Add encoding of missing ranges.
23658 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
23660         [BZ #13673]
23661         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23662         * sysdeps/mach/hurd/dup3.c: Likewise.
23663         * sysdeps/mach/hurd/readlinkat.c: Likewise.
23664         * sysdeps/powerpc/memmove.c:: Likewise.
23666 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23668         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23669         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23671 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23673         * elf/elf.h (R_X86_64_RELATIVE64): New.
23674         (R_X86_64_NUM): Updated.
23675         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23676         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
23677         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23678         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23679         tst-quad1pie tst-quad2pie
23680         (modules-names): Add tst-quadmod1 tst-quadmod2.
23681         ($(objpfx)tst-quad1): New dependency.
23682         ($(objpfx)tst-quad2): Likewise.
23683         ($(objpfx)tst-quad1pie): Likewise.
23684         ($(objpfx)tst-quad2pie): Likewise.
23685         * sysdeps/x86_64/tst-quad1.c: New file.
23686         * sysdeps/x86_64/tst-quad1pie.c: New file.
23687         * sysdeps/x86_64/tst-quad2.c: Likewise.
23688         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23689         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23690         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23691         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23692         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23694 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23696         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23697         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23698         * streams/stropts.h (t_scalar_t): Define type.
23700         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23701         (_PATH_PRESERVE): Set to "/var/lib".
23702         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23704         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23705         instead of int.
23707         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23708         if __dir_mkfile succeeded.
23710         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23711         checking for _hurd_dtablesize.  Unlock it right after having
23712         finished _hurd_dtable allocation.
23714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23716         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23717         * sysdeps/mach/hurd/configure: Regenerated.
23718         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23719         special-casing to...
23720         * sysdeps/gnu/configure.in: ... this new file.
23721         * sysdeps/unix/sysv/linux/configure: Regenerated.
23722         * sysdeps/gnu/configure: New generated file.
23724         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23725         for Linux: use nsec instead of usec, as well as:
23726         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23727         members of type struct timespec.
23728         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23729         New macros.
23730         (struct stat64): Likewise.
23731         (_STATBUF_ST_NSEC): New macro.
23732         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23734         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23735         __strtoul_internal rather than strtoul.
23737 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23739         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23740         and reject them.
23742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23744         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23745         which preserves existing values.
23746         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23748 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23750         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23751         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23752         greater than FD_SETSIZE.
23754 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23756         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23757         allocated, call __vm_protect to finish enabling the existing space, and
23758         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23759         allocate the remainder.
23761 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23763         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23764         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23766 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23768         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23769         sysdeps/mach/hurd/readlink.c.
23771         * posix/tst-sysconf.c (posix_options): Only use
23772         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23773         _POSIX_SYNCHRONIZED_IO when they are defined
23774         * sysdeps/mach/hurd/bits/posix_opt.h:
23775         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23776         (_XOPEN_REALTIME): Undefine macro.
23777         (_XOPEN_REALTIME_THREADS): Undefine macro.
23778         (_XOPEN_SHM): Undefine macro.
23779         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23780         macro to -1.
23781         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23782         macro to -1.
23783         (_POSIX_ASYNC_IO): Undefine macro.
23784         (_POSIX_PRIORITIZED_IO): Undefine macro.
23785         (_POSIX_SPIN_LOCKS): Define macro to -1.
23787         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23788         SA_NODEFER, SA_RESETHAND.
23789         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23790         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23791         F_DUPFD_CLOEXEC.
23793 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23795         * elf/Makefile (pldd-modules): Define unconditionally.
23797 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23799         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23801 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23803         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23804         Return ENOENT when name is empty.
23805         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23807 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23809         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23811         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23813 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23815         Fix mlock in all cases except non-readable pages.
23816         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23817         instead of VM_PROT_ALL as parameter to __vm_wire function.
23819         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23820         (__mkdir): When path is `/', just fail with EEXIST.
23821         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23823 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23825         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23826         <sys/uio.h> (for writev).
23827         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23828         and <sys/param.h> (for MIN).
23830 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23832         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23833         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23834         if interrupted.
23836 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23838         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23839         Depend on against $(link-rpcuserlibs).
23841 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23843         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23844         (__libc_stack_end): Do not use attribute_relro.
23845         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23846         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23847         to libthread-provided value.
23848         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23849         attribute_relro.
23851 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23853         [BZ #3748]
23854         * bits/libc-lock.h (__libc_once_get): New macro.
23855         * sysdeps/mach/bits/libc-lock.h: Likewise.
23856         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23857         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23858         instead of using implementation details.
23860         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23861         * libio/freopen.c: Likewise.
23862         * libio/freopen64.c: Likewise.
23863         * misc/syslog.c: Likewise.
23864         * nscd/connections.c: Likewise.
23865         * nscd/netgroupcache.c: Likewise.
23866         * sysdeps/posix/getcwd.c: Likewise.
23868 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23870         * math/w_ilogbf.c: Add #include <limits.h>.
23872 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23874         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23875         path instead of returning without unlocking.
23877         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23878         immediate-write ioctls.
23879         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23881 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23883         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23884         __builtin_frame_address instead of making assumptions about the
23885         location of the return address relative to DATA.  Force early load of
23886         the return address.
23887         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23888         __builtin_frame_address.
23890         dup3 for GNU Hurd.
23891         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23892         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
23893         implement dup3 and do some further code clean-ups.
23894         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23895         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23899         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23901         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23902         HURD_CRITICAL_END around holding _hurd_dtable_lock.
23903         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23904         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23905         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23906         d->port.lock.
23908         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23909         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
23910         when handler == SIG_ERR, not when handler != SIG_ERR.
23912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23914         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23915         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23916         definitions.
23918         accept4 for GNU Hurd.
23919         * include/sys/socket.h (__libc_accept4): New prototype.
23920         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
23921         to implement __libc_accept4.
23922         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23923         __libc_accept4.
23924         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23926         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23927         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23928         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23929         signal-defines.sym.
23931 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23933         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23935 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23937         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23938         assertion on O_CLOEXEC flag.
23939         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23940         * hurd/intern-fd.c: Likewise.
23941         * hurd/port2fd.c: Likewise.
23943 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23945         [BZ #3906]
23946         * bits/in.h (IPV6_PKTINFO): Define new macro.
23947         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23949 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23951         [BZ #13954]
23952         [BZ #13955]
23953         [BZ #13956]
23954         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23955         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23956         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23957         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23958         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23959         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23960         * math/libm-test.inc (logb_test) : Additional logb tests.
23962 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
23963             Andreas Jaeger  <aj@suse.de>
23965         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23966         * configure: Regenerated.
23967         * config.h.in (LINK_OBSOLETE_RPC): New macro.
23968         * config.make.in (link-obsolete-rpc): New substituted variable.
23969         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23970         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23971         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23972         (shared-only-routines): Don't set it under [link-obsolete-rpc],
23973         so that libc.a contains the symbols.
23974         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23975         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23976         * sunrpc/auth_none.c: Likewise.
23977         * sunrpc/auth_unix.c: Likewise.
23978         * sunrpc/authdes_prot.c: Likewise.
23979         * sunrpc/authuxprot.c: Likewise.
23980         * sunrpc/clnt_gen.c: Likewise.
23981         * sunrpc/clnt_perr.c: Likewise.
23982         * sunrpc/clnt_raw.c: Likewise.
23983         * sunrpc/clnt_simp.c: Likewise.
23984         * sunrpc/clnt_tcp.c: Likewise.
23985         * sunrpc/clnt_udp.c: Likewise.
23986         * sunrpc/clnt_unix.c: Likewise.
23987         * sunrpc/des_crypt.c: Likewise.
23988         * sunrpc/des_soft.c: Likewise.
23989         * sunrpc/get_myaddr.c: Likewise.
23990         * sunrpc/key_call.c: Likewise.
23991         * sunrpc/key_prot.c: Likewise.
23992         * sunrpc/netname.c: Likewise.
23993         * sunrpc/pm_getmaps.c: Likewise.
23994         * sunrpc/pm_getport.c: Likewise.
23995         * sunrpc/pmap_clnt.c: Likewise.
23996         * sunrpc/pmap_prot.c: Likewise.
23997         * sunrpc/pmap_prot2.c: Likewise.
23998         * sunrpc/pmap_rmt.c: Likewise.
23999         * sunrpc/publickey.c: Likewise.
24000         * sunrpc/rpc_cmsg.c: Likewise.
24001         * sunrpc/rpc_common.c: Likewise.
24002         * sunrpc/rpc_dtable.c: Likewise.
24003         * sunrpc/rpc_prot.c: Likewise.
24004         * sunrpc/rpc_thread.c: Likewise.
24005         * sunrpc/rtime.c: Likewise.
24006         * sunrpc/svc.c: Likewise.
24007         * sunrpc/svc_auth.c: Likewise.
24008         * sunrpc/svc_raw.c: Likewise.
24009         * sunrpc/svc_run.c: Likewise.
24010         * sunrpc/svc_tcp.c: Likewise.
24011         * sunrpc/svc_udp.c: Likewise.
24012         * sunrpc/svc_unix.c: Likewise.
24013         * sunrpc/svcauth_des.c: Likewise.
24014         * sunrpc/xcrypt.c: Likewise.
24015         * sunrpc/xdr.c: Likewise.
24016         * sunrpc/xdr_array.c: Likewise.
24017         * sunrpc/xdr_float.c: Likewise.
24018         * sunrpc/xdr_intXX_t.c: Likewise.
24019         * sunrpc/xdr_mem.c: Likewise.
24020         * sunrpc/xdr_rec.c: Likewise.
24021         * sunrpc/xdr_ref.c: Likewise.
24022         * sunrpc/xdr_sizeof.c: Likewise.
24023         * sunrpc/xdr_stdio.c: Likewise.
24025 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24027         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24028         change.  Update copyright years.
24030 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24032         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24034 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24035             Joseph Myers  <joseph@codesourcery.com>
24036             Paul Pluzhnikov  <ppluzhnikov@google.com>
24038         [BZ #14012]
24039         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24040         requiring rpcgen.
24041         [cross-compiling] (extra-libs): Likewise.
24042         [cross-compiling] (extra-libs-others): Likewise.
24043         [cross-compiling] (librpcsvc-routines): Likewise.
24044         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24045         [cross-compiling] (omit-deps): Likewise.
24046         (sunrpc-CPPFLAGS): New variable.
24047         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24048         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24049         (cross-rpcgen-objs): New variable.
24050         (extra-objs): Append $(cross-rpcgen-objs).
24051         ($(cross-rpcgen-objs)): New rule.
24052         ($(objpfx)cross-rpcgen): Likewise.
24053         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24054         comment.
24055         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24056         ($(objpfx)x%.stmp): Likewise.
24057         * sunrpc/proto.h [IS_IN_build] (_): Define.
24058         [IS_IN_build] (_libc_intl_domainname): Likewise.
24060 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24062         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24063         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24064         and R_X86_64_TPOFF64.
24066 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24068         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24069         sysdeps/unix/sysv/syscalls.list.
24070         (stime): Likewise.
24071         (utime): Likewise.
24072         * sysdeps/unix/sysv/syscalls.list: Remove file.
24074 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24076         [BZ #3440]
24077         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24078         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24079         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24080         (__LC_IDENTIFICATION): Make these macros useful in #if
24081         expressions, as required by C99.
24083 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24085         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24086         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24087         after this.
24089 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24091         * stdlib/longlong.h: Updated from GCC.
24093 2012-05-09  Andreas Jaeger  <aj@suse.de>
24095         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24096         default is first entry.
24097         (run_mode): Set type.
24098         (main): Remove informal message about syslog.
24099         (options): Fix typo.
24101         [BZ #14053]
24102         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24103         to asm.
24104         (lrint): Likewise.
24105         (llrintf): Likewise.
24106         (llrint): Likewise.
24107         (rint): Likewise.
24108         (rintf): Likewise.
24109         (nearbyint): Likewise.
24110         (nearbyintf): Likewise.
24112 2012-05-09  Andreas Jaeger  <aj@suse.de>
24113             Pedro Alves  <palves@redhat.com>
24115         * nscd/nscd.c (run_mode): Use enum.
24116         (main): Cleanup coding style issue.
24118 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24119             Andreas Jaeger  <aj@suse.de>
24121         * nscd/nscd.c (go_background): Replaced with...
24122         (run_mode): ... this.
24123         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24124         (options): Add -F --foreground.
24125         (main): Implement it.
24126         (parse_opt): Parse it.
24128 2012-05-09  Andreas Jaeger  <aj@suse.de>
24130         [BZ #14083]
24131         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24132         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24133         -Wconversion warning.
24134         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24135         Likewise.
24137 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24139         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24140         == 0.
24141         (LC_ALL): Use macro-int-constant.
24142         (LC_COLLATE): Likewise.
24143         (LC_CTYPE): Likewise.
24144         (LC_MESSAGES): Likewise.
24145         (LC_MONETARY): Likewise.
24146         (LC_NUMERIC): Likewise.
24147         (LC_TIME): Likewise.
24148         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24149         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24150         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24151         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24152         Specify type.
24153         [C99-based standards] (float_t): Expect type.
24154         [C99-based standards] (double_t): Expect type.
24155         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24156         type.
24157         [C99-based standards] (HUGE_VALL): Likewise.
24158         [C99-based standards] (INFINITY): Likewise.
24159         [C99-based standards] (NAN): Likewise.
24160         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24161         [C99-based standards] (FP_NAN): Likewise.
24162         [C99-based standards] (FP_NORMAL): Likewise.
24163         [C99-based standards] (FP_SUBNORMAL): Likewise.
24164         [C99-based standards] (FP_ZERO): Likewise.
24165         [C99-based standards] (FP_FAST_FMA): Use
24166         optional-macro-int-constant.  Specify type.  Require == 1.
24167         [C99-based standards] (FP_FAST_FMAF): Likewise.
24168         [C99-based standards] (FP_FAST_FMAL): Likewise.
24169         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24170         [C99-based standards] (FP_ILOGBNAN): Likewise.
24171         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24172         Specify type.
24173         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24174         [C99-based standards] (math_errhandling): Specify type.
24175         [ISO99 || ISO11] (signgam): Do not allow.
24176         [non-C99-based standards] (copysignf): Do not allow.
24177         [non-C99-based standards] (exp2f): Likewise.
24178         [non-C99-based standards] (log2f): Likewise.
24179         [non-C99-based standards] (modff): Allow.
24180         [non-C99-based standards] (erff): Do not allow.
24181         [non-C99-based standards] (erfcf): Likewise.
24182         [non-C99-based standards] (gammaf): Likewise.
24183         [non-C99-based standards] (hypotf): Likewise.
24184         [non-C99-based standards] (j0f): Likewise.
24185         [non-C99-based standards] (j1f): Likewise.
24186         [non-C99-based standards] (jnf): Likewise.
24187         [non-C99-based standards] (lgammaf): Likewise.
24188         [non-C99-based standards] (tgammaf): Likewise.
24189         [non-C99-based standards] (y0f): Likewise.
24190         [non-C99-based standards] (y1f): Likewise.
24191         [non-C99-based standards] (ynf): Likewise.
24192         [non-C99-based standards] (isnanf): Likewise.
24193         [non-C99-based standards] (acoshf): Likewise.
24194         [non-C99-based standards] (asinhf): Likewise.
24195         [non-C99-based standards] (atanhf): Likewise.
24196         [non-C99-based standards] (cbrtf): Likewise.
24197         [non-C99-based standards] (expm1f): Likewise.
24198         [non-C99-based standards] (ilogbf): Likewise.
24199         [non-C99-based standards] (log1pf): Likewise.
24200         [non-C99-based standards] (logbf): Likewise.
24201         [non-C99-based standards] (nextafterf): Likewise.
24202         [non-C99-based standards] (remainderf): Likewise.
24203         [non-C99-based standards] (rintf): Likewise.
24204         [non-C99-based standards] (scalbf): Likewise.
24205         [non-C99-based standards] (copysignl): Likewise.
24206         [non-C99-based standards] (exp2l): Likewise.
24207         [non-C99-based standards] (log2l): Likewise.
24208         [non-C99-based standards] (modfl): Allow.
24209         [non-C99-based standards] (erfl): Do not allow.
24210         [non-C99-based standards] (erfcl): Likewise.
24211         [non-C99-based standards] (gammal): Likewise.
24212         [non-C99-based standards] (hypotl): Likewise.
24213         [non-C99-based standards] (j0l): Likewise.
24214         [non-C99-based standards] (j1l): Likewise.
24215         [non-C99-based standards] (jnl): Likewise.
24216         [non-C99-based standards] (lgammal): Likewise.
24217         [non-C99-based standards] (tgammal): Likewise.
24218         [non-C99-based standards] (y0l): Likewise.
24219         [non-C99-based standards] (y1l): Likewise.
24220         [non-C99-based standards] (ynl): Likewise.
24221         [non-C99-based standards] (isnanl): Likewise.
24222         [non-C99-based standards] (acoshl): Likewise.
24223         [non-C99-based standards] (asinhl): Likewise.
24224         [non-C99-based standards] (atanhl): Likewise.
24225         [non-C99-based standards] (cbrtl): Likewise.
24226         [non-C99-based standards] (expm1l): Likewise.
24227         [non-C99-based standards] (ilogbl): Likewise.
24228         [non-C99-based standards] (log1pl): Likewise.
24229         [non-C99-based standards] (logbl): Likewise.
24230         [non-C99-based standards] (nextafterl): Likewise.
24231         [non-C99-based standards] (remainderl): Likewise.
24232         [non-C99-based standards] (rintl): Likewise.
24233         [non-C99-based standards] (scalbl): Likewise.
24234         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24235         [non-C99-based standards] (FP_*): Do not allow.
24236         [C99-based standards] (FP_*): Change to
24237         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24238         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24239         allow.
24240         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24241         (SIG_ERR): Likewise.
24242         [X/Open-based standards] (SIG_HOLD): Likewise.
24243         (SIG_IGN): Likewise.
24244         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24245         positive value.
24246         (SIGFPE): Likewise.
24247         (SIGILL): Likewise.
24248         (SIGINT): Likewise.
24249         (SIGSEGV): Likewise.
24250         (SIGTER): Likewise.
24251         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24252         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24253         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24254         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24255         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24256         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24257         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24258         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24259         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24260         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24261         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24262         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24263         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24264         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24265         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24266         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24267         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24268         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24269         [X/Open-based standards] (SIGTRAP): Likewise.
24270         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24271         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24272         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24273         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24274         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24275         allow.
24277 2012-05-08  Ian Wienand  <ianw@vmware.com>
24279         [BZ #14080]
24280         * time/tzset.c (__tzset_parse_tz): Update default rules for
24281         daylight time changes in the Energy Policy Act of 2005.
24283 2012-05-09  Andreas Jaeger  <aj@suse.de>
24285         [BZ #13983]
24286         * elf/ldconfig.c (parse_conf): Change string to make clear that
24287         ldconfig only issued a warning if ld.so.conf does not exist.
24289 2012-05-08  David S. Miller  <davem@davemloft.net>
24291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24292         movxtod instead of popping the value on the stack.
24294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24296 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24298         * config.h.in: Add HAVE_ARM_PCS_VFP.
24300 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24302         [BZ #13979]
24303         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24304         checking but the checks are disabled for any reason.
24306 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24308         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24309         and ELF64_R_TYPE with ELFW(R_TYPE).
24311 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24313         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24314         (ulimit): Likewise.
24316         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24317         (settimeofday): Likewise.
24319 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24321         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24322         a struct th_u2 inside the union, and move tu_block/tu_code into
24323         a new th_u3 union of tu_block/tu_code inside of that.  Move
24324         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24325         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24326         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24327         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24328         (th_stuff): Change to th_u1.tu_stuff.
24329         (th_data): Define.
24330         (th_msg): Change to th_u1.th_u2.tu_data.
24332 2012-05-07  David S. Miller  <davem@davemloft.net>
24334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24336         [BZ #14074]
24337         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24338         (SETUP_PIC_REG): Use it.
24339         (SETUP_PIC_REG_LEAF): Use it.
24341 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24343         [BZ #13885]
24344         [BZ #13923]
24345         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24346         USE_AS_EXPM1L.
24347         (EXPL_FINITE): Likewise.
24348         (FLDLOG): Likewise.
24349         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24350         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24351         e_expl.S.
24352         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24353         USE_AS_EXPM1L.
24354         (EXPL_FINITE): Likewise.
24355         (FLDLOG): Likewise.
24356         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24357         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24358         e_expl.S.
24359         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24360         test of -max_value argument for long double.
24361         * sysdeps/i386/fpu/libm-test-ulps: Update.
24362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24364 2012-05-06  David S. Miller  <davem@davemloft.net>
24366         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24367         quad soft-float symbols whose references which are compiler
24368         generated.
24369         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24371 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24373         [BZ #13884]
24374         [BZ #13914]
24375         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24376         USE_AS_EXP10L.
24377         (EXPL_FINITE): Likewise.
24378         (FLDLOG): Likewise.
24379         (c0): Likewise.
24380         (c1): Likewise.
24381         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24382         Adjust comments for base varying.
24383         (__expl_finite): Change alias to EXPL_FINITE.
24384         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24385         e_expl.S.
24386         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24387         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24388         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24389         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24390         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24391         USE_AS_EXP10L.
24392         (EXPL_FINITE): Likewise.
24393         (FLDLOG): Likewise.
24394         (c0): Likewise.
24395         (c1): Likewise.
24396         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24397         Adjust comments for base varying.
24398         (__expl_finite): Change alias to EXPL_FINITE.
24399         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24400         tests for bugs.
24401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24403         [BZ #14064]
24404         * math/libm-test.inc (check_float_internal): Correct ulp
24405         calculation for subnormal expected results.
24407 2012-05-06  Andreas Jaeger  <aj@suse.de>
24409         * Makeconfig (+math-flags): New, set to -frounding-math.
24410         (+cflags): Add +math-flags so that all of glibc gets compiled with
24411         it.
24413         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24415 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24417         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24418         Disable one test.
24420         [BZ #13787]
24421         [BZ #13922]
24422         [BZ #14036]
24423         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24424         (__ieee754_expl): Allow for and saturate large arguments.
24425         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24426         (u_threshold): Likewise.
24427         (__exp): Call __ieee754_exp before checking for overflow and
24428         underflow.
24429         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24430         (u_threshold): Likewise.
24431         (__expf): Call __ieee754_expf before checking for overflow and
24432         underflow.
24433         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24434         (u_threshold): Likewise.
24435         (__expl): Call __ieee754_expl before checking for overflow and
24436         underflow.
24437         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24438         (__ieee754_expl): Allow for and saturate large arguments.
24439         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24440         missing overflow exception on overflow.
24441         (expm1_test): Do not allow missing overflow exception on overflow.
24443         * sysdeps/i386/fpu/e_expl.c: Move to ...
24444         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24445         rather than using inline asm.
24446         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24447         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24448         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24450         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24451         (nice): Likewise.
24452         (poll): Likewise.
24453         (signal): Likewise.
24454         (time): Likewise.
24455         (times): Likewise.
24457 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24459         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24460         sysdeps/unix/common/syscalls.list.
24461         (fchmod): Likewise.
24462         (fchown): Likewise.
24463         (ftruncate): Likewise.
24464         (getrusage): Likewise.
24465         (gettimeofday): Likewise.
24466         (setpgid): Likewise.
24467         (setregid): Likewise.
24468         (setreuid): Likewise.
24469         (sigaction): Likewise.
24470         (truncate): Likewise.
24471         (vhangup): Likewise.
24472         * sysdeps/unix/common/syscalls.list: Remove file.
24473         * sysdeps/unix/bsd/Implies: Don't include unix/common.
24474         * sysdeps/unix/sysv/linux/Implies: Likewise.
24476 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
24478         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24480         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24481         Moved to ...
24482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24483         Here.
24484         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24485         to ...
24486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24487         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24488         to ...
24489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24490         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24491         to ...
24492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24493         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24494         to ...
24495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24496         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24497         to ...
24498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24499         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24500         to ...
24501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24502         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24503         to ...
24504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24505         Here.
24506         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24507         to ...
24508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24509         Here.
24510         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24511         to ...
24512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24513         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24514         Moved to ...
24515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24516         Here.
24517         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24518         to ...
24519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24521 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24523         * sysdeps/unix/common/bits/dirent.h: Remove file.
24524         * sysdeps/unix/common/bits/fcntl.h: Likewise.
24526         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24527         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24528         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24529         * sysdeps/unix/bsd/isatty.c: Likewise.
24530         * sysdeps/unix/bsd/tcdrain.c: Likewise.
24531         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24532         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24534 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24536         [BZ #13563]
24537         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24538         long double comparison inaccuracies.
24539         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24542 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
24544         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24545         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24547 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24549         [BZ #14049]
24550         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24551         nonzero digits before rounding a hex value.
24552         * stdlib/tst-strtod.c (tests): Add another test.
24554 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24556         * sysdeps/s390/fpu/libm-test-ulps: Update.
24558 2012-05-03  Andreas Jaeger  <aj@suse.de>
24560         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24561         does not get optimized out.
24562         (malloc_opt_barrier): New.
24564 2012-05-03  Andreas Jaeger  <aj@suse.de>
24565             Roland McGrath  <roland@hack.frob.com>
24567         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24568         intermediate file deletion.
24569         (generated): Add .symlist files.
24571 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
24573         [BZ #13775]
24574         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24575         Redirect under this condition.
24576         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24577         [__USE_GNU] (__dprintf_chk): Not under this condition.
24578         [__USE_GNU] (__vdprintf_chk): Likewise.
24579         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24580         under this condition.
24581         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24582         [__USE_XOPEN2K8] (dprintf): Define under this condition.
24583         [__USE_XOPEN2K8] (vdprintf): Likewise.
24584         [__USE_GNU] (__dprintf_chk): Not under this condition.
24585         [__USE_GNU] (__vdprintf_chk): Likewise.
24586         [__USE_GNU] (dprintf): Likewise.
24587         [__USE_GNU] (vdprintf): Likewise.
24589 2012-05-03  Roland McGrath  <roland@hack.frob.com>
24591         * elf/Makefile (common-generated): Set this instead of generated for
24592         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
24593         $(all-built-dso)-derived lists.
24595 2012-05-03  Andreas Jaeger  <aj@suse.de>
24597         * sysdeps/i386/fpu/libm-test-ulps: Update.
24599         * FAQ: Removed.
24600         * FAQ.in: Likewise.
24601         * scripts/gen-FAQ.pl: Likewise.
24602         * manual/install.texi (Installation): Point to online location of
24603         FAQ.
24604         * Makefile (files-for-dist): Remove FAQ.
24605         (FAQ): Remove.
24607 2012-05-02  Allan McRae  <allan@archlinux.org>
24609         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24610         (LDFLAGS-reldepmod5.so): Likewise.
24611         (LDFLAGS-reldep6mod1.so): Likewise.
24612         (LDFLAGS-reldep6mod4.so): Likewise.
24613         (LDFLAGS-reldep8mod3.so): Likewise.
24614         (LDFLAGS-unload4mod1.so): Likewise.
24615         (LDFLAGS-unload4mod2.so): Likewise.
24616         (LDFLAGS-tst-initorder): Likewise.
24617         (LDFLAGS-tst-initordera2.so): Likewise.
24618         (LDFLAGS-tst-initordera3.so): Likewise.
24619         (LDFLAGS-tst-initordera4.so): Likewise.
24620         (LDFLAGS-tst-initorderb2.so): Likewise.
24621         (LDFLAGS-noload): Likewise.
24622         (LDFLAGS-next): Likewise.
24623         (LDFLAGS-order2mod1.so): Likewise.
24624         (LDFLAGS-order2mod2.so): Likewise.
24625         (LDFLAGS-tst-initorder2): Likewise.
24626         (LDFLAGS-tst-initorder2a.so): Likewise.
24627         (LDFLAGS-tst-initorder2b.so): Likewise.
24628         (LDFLAGS-tst-initorder2c.so): Likewise.
24629         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24631 2012-05-02  David S. Miller  <davem@davemloft.net>
24633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24635 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24637         [BZ #14055]
24638         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24640 2012-05-02  Andreas Jaeger  <aj@suse.de>
24642         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24643         since we manipulate rounding mode.
24644         (CPPFLAGS-test-idouble.c): Likewise.
24645         (CPPFLAGS-test-ifloat.c): Likewise.
24646         (CFLAGS-test-ldouble.c): Likewise.
24647         (CFLAGS-test-double.c): Likewise.
24648         (CFLAGS-test-float.c): Likewise.
24649         (CFLAGS-test-misc.c): Likewise.
24650         (CFLAGS-test-test-fenv.c): Likewise.
24652 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24654         [BZ #2550]
24655         [BZ #2570]
24656         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24657         comparisons to determine direction to adjust input.
24659 2012-05-01  Roland McGrath  <roland@hack.frob.com>
24661         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24662         output to the target.
24664         * scripts/localplt.awk: New file.
24665         * elf/Makefile ($(objpfx)check-localplt): Target removed.
24666         (check-localplt-CFLAGS): Variable removed.
24667         ($(all-built-dso:=.jmprel)): New static pattern rule.
24668         (generated): Add those targets.
24669         (localplt-built-dso): New variable.
24670         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24672         * elf/check-localplt.c: File removed.
24674         * scripts/check-execstack.awk: New file.
24675         * elf/Makefile ($(objpfx)check-execstack): Target removed.
24676         (check-execstack-CFLAGS): Variable removed.
24677         ($(objpfx)check-execstack.h): Target removed.
24678         ($(objpfx)execstack-default): New target.
24679         (generated): Add that instead of check-execstack.h.
24680         ($(all-built-dso:=.phdr)): New static pattern rule.
24681         (generated): Add those targets.
24682         * elf/check-execstack.c: File removed.
24684         * scripts/check-textrel.awk: New file.
24685         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24686         (check-textrel-CFLAGS): Variable removed.
24687         (all-built-dso): Use := to define.o
24688         ($(all-built-dso:=.dyn)): New static pattern rule.
24689         (generated): Add those targets.
24690         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24691         * config.make.in (READELF): New substituted variable.
24692         * elf/check-textrel.c: File removed.
24694 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24696         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24697         allow.
24698         * conform/data/ctype.h-data [C99-based standards] (isblank):
24699         Expect function.
24700         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24701         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24702         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24703         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24704         Specify type.  Require positive value.
24705         (EILSEQ): Likewise.
24706         (ERANGE): Likewise.
24707         [ISO || POSIX] (EILSEQ): Do not expect.
24708         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24709         Specify type.  Require positive value.
24710         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24711         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24712         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24713         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24714         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24715         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24716         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24717         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24718         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24719         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24720         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24721         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24722         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24723         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24724         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24725         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24726         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24727         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24728         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24729         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24730         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24731         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24732         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24733         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24734         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24735         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24736         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24737         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24738         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24739         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24740         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24741         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24742         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24743         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24744         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24745         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24746         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24747         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24748         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24749         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24750         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24751         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24752         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24753         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24754         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24755         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24756         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24757         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24758         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24759         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24760         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24761         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24762         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24763         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24764         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24765         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24766         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24767         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24768         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24769         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24770         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24771         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24772         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24773         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24774         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24775         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24776         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24777         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24778         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24779         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24780         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24781         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24782         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24783         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24784         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24785         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24786         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24787         Require >= 2.
24788         (FLT_ROUNDS): Expect as macro, not constant.
24789         (FLT_MANT_DIG): Use macro-int-constant.
24790         (DBL_MANT_DIG): Likewise.
24791         (LDBL_MANT_DIG): Likewise.
24792         (FLT_DIG): Likewise.
24793         (DBL_DIG): Likewise.
24794         (LDBL_DIG): Likewise.
24795         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24796         (DBL_MIN_EXP): Likewise.
24797         (LDBL_MIN_EXP): Likewise.
24798         (FLT_MAX_EXP): Use macro-int-constant.
24799         (DBL_MAX_EXP): Likewise.
24800         (LDBL_MAX_EXP): Likewise.
24801         (FLT_MAX_10_EXP): Likewise.
24802         (DBL_MAX_10_EXP): Likewise.
24803         (LDBL_MAX_10_EXP): Likewise.
24804         (FLT_MAX): Use macro-constant.
24805         (DBL_MAX): Likewise.
24806         (LDBL_MAX): Likewise.
24807         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24808         (DBL_EPSILON): Likewise.
24809         (LDBL_EPSILON): Likewise.
24810         (FLT_MIN): Likewise.
24811         (DBL_MIN): Likewise.
24812         (LDBL_MIN): Likewise.
24813         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24814         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24815         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24816         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24817         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24818         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24819         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24820         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24821         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24822         [ISO11] (FLT_TRUE_MIN): Likewise.
24823         [ISO11] (LDBL_TRUE_MIN): Likewise.
24824         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24825         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24826         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24827         (SCHAR_MAX): Likewise.
24828         (UCHAR_MAX): Likewise.
24829         (CHAR_MIN): Likewise.
24830         (CHAR_MAX): Likewise.
24831         (MB_LEN_MAX): Use macro-int-constant.
24832         (SHRT_MIN): Use macro-int-constant.  Specify type.
24833         (SHRT_MAX): Likewise.
24834         (USHRT_MAX): Likewise.
24835         (INT_MAX): Likewise.
24836         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24837         bound negative.
24838         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24839         bound with "U".
24840         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24841         bound with "L".
24842         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24843         bound negative.  Suffix upper bound with "L".
24844         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24845         bound with "UL".
24846         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24847         Specify type.
24848         [C99-based standards] (LLONG_MAX): Likewise.
24849         [C99-based standards] (ULLONG_MAX): Likewise.
24850         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24851         == 0.
24852         [ISO11] (max_align_t): Require type.
24853         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24855         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24856         from $CFLAGS, without defining away __attribute__ calls.
24857         (checknamespace): Use $CFLAGS_namespace.
24859         * conform/conformtest.pl (@keywords): Only include C99 keywords
24860         for standards based on C99 or C11.
24862         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24863         Disable tests.
24864         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24865         UNIX98]: Likewise.
24867         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24868         usability of symbols in #if.
24870         * conform/conformtest.pl: If macro or constant types start
24871         "promoted:", expect the symbol to be of the following type
24872         promoted by the integer promotions.
24874         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24875         in one place.  Also handle "macro-constant".
24877         * conform/conformtest.pl: Only accept expected macro values with
24878         "==".  Parse all "macro" lines in one place.
24879         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24881         * conform/conformtest.pl: Handle braced types on "constant" lines
24882         instead of handling "typed-constant".
24883         * conform/data/signal.h-data: Use "constant" instead of
24884         "typed-constant".
24886         * conform/conformtest.pl: Handle "optional-" at start of lines in
24887         one place rather than duplicating several cases.  Handle each
24888         format of "macro" line with initial "optional-".
24890         * conform/conformtest.pl: Only accept expected constant or
24891         optional-constant values with "==".  Parse all "constant" lines in
24892         one place.  Parse all "optional-constant" lines in one place.
24893         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24894         * conform/data/fmtmsg.h-data: Likewise.
24895         * conform/data/netinet/in.h-data: Likewise.
24896         * conform/data/tar.h-data: Likewise.
24897         * conform/data/limits.h-data: Use "==" form on "constant" and
24898         "optional-constant" lines.
24900         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24901         Use -std=c99 for XOPEN2K.
24902         (@knownproblems): Remove.
24903         (newtoken): Don't check %isknown.
24905         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24906         Do not expect macro.
24907         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24908         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24909         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24910         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24911         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24912         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24913         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24914         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24915         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24916         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24917         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24918         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24919         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24920         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24921         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24922         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24923         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24924         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24925         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24926         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24927         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24928         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24929         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24930         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24931         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24932         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24933         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24934         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24935         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24936         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24937         [XPG3] (acosh): Likewise.
24938         [XPG3] (asinh): Likewise.
24939         [XPG3] (atanh): Likewise.
24940         [XPG3] (cbrt): Likewise.
24941         [XPG3] (expm1): Likewise.
24942         [XPG3] (ilogb): Likewise.
24943         [XPG3] (log1p): Likewise.
24944         [XPG3] (logb): Likewise.
24945         [XPG3] (nextafter): Likewise.
24946         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24947         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24948         [XPG3] (remainder): Likewise.
24949         [XPG3] (rint): Likewise.
24950         [XPG3 || XPG4 || UNIX98] (round): Likewise.
24951         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24952         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24953         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24954         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24955         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24956         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24957         [UNIX98 || XOPEN2K] (scalb): Expect.
24958         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24959         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24960         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24961         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24962         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24963         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24964         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24965         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24966         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24967         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24968         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24969         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24970         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24971         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24972         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24973         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24974         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24975         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24976         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24977         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24978         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24979         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24980         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24981         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24982         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24983         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24984         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24985         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24986         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24987         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24988         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24989         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24990         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24991         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24992         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24993         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24994         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24995         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24996         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24997         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24998         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24999         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25000         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25001         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25002         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25003         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25004         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25005         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25006         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25007         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25008         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25009         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25010         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25011         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25012         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25013         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25014         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25015         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25016         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25017         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25018         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25019         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25020         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25021         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25022         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25023         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25024         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25025         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25026         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25027         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25028         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25029         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25030         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25031         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25032         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25033         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25034         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25035         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25036         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25037         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25038         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25039         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25040         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25041         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25042         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25043         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25044         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25045         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25046         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25047         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25048         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25049         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25050         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25051         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25052         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25053         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25054         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25055         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25056         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25057         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25058         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25059         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25060         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25061         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25062         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25063         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25064         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25065         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25066         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25067         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25068         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25069         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25070         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25071         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25072         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25073         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25074         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25075         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25076         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25077         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25078         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25079         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25080         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25081         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25082         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25083         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25084         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25085         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25086         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25087         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25088         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25089         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25090         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25091         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25092         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25093         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25094         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25096         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25097         _XOPEN_SOURCE_EXTENDED for XPG4.
25099         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25101         * Makeconfig (localtime): Remove variable.
25102         (inst_localtime-file): Likewise.
25104 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25107         Update.
25108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25109         Update.
25110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25111         Update.
25112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25113         Update.
25114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25115         Update.
25116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25117         Update.
25118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25119         Update.
25120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25121         Update.
25122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25123         Update.
25125 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25127         [BZ #2550]
25128         [BZ #2570]
25129         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25130         comparisons to determine direction to adjust input.
25131         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25132         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25133         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25134         Likewise.
25135         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25136         Likewise.
25137         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25138         Likewise.
25139         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25140         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25141         Likewise.
25142         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25143         Likewise.
25144         * math/libm-test.inc (nexttoward_test): Add more tests.
25146 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25148         [BZ #14040]
25149         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25150         in version GLIBC_2.1, not GLIBC_2.0.
25151         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25152         Likewise.
25154 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25156         [BZ #13942]
25157         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25158         (1 - x) * (1 + x).
25159         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25160         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25161         * math/libm-test.inc (acos_test): Add more tests.
25162         (asin_test): Likewise.
25163         * sysdeps/i386/fpu/libm-test-ulps: Update.
25164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25166         [BZ #14034]
25167         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25168         of square root.
25169         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25170         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25171         * math/libm-test.inc (acos_test_tonearest): New function.
25172         (acos_test_towardzero): Likewise.
25173         (acos_test_downward): Likewise.
25174         (acos_test_upward): Likewise.
25175         (asin_test_tonearest): Likewise.
25176         (asin_test_towardzero): Likewise.
25177         (asin_test_downward): Likewise.
25178         (asin_test_upward): Likewise.
25179         (main): Call the new functions.
25180         * sysdeps/i386/fpu/libm-test-ulps: Update.
25181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25183         [BZ #13884]
25184         [BZ #13924]
25185         * math/e_exp10.c: Include <float.h>.
25186         (__ieee754_exp10): Handle underflow here rather than multiplying
25187         large negative argument by M_LN10.
25188         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25189         of __ieee754_expf.
25190         * math/e_exp10l.c: Include <float.h>.
25191         (__ieee754_exp10l): Handle underflow here rather than multiplying
25192         large negative argument by M_LN10l.
25193         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25194         spurious overflow exception on underflow.
25196 2012-04-29  Marek Polacek  <polacek@redhat.com>
25198         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25199         (__fortify_function): New macro.
25200         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25201         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25202         __extern_always_inline.
25203         * libio/bits/stdio2.h: Likewise.
25204         * libio/bits/stdio.h: Likewise.
25205         * string/string.h: Likewise.
25206         * string/bits/string3.h: Likewise.
25207         * include/stdio.h: Likewise.
25208         * stdlib/bits/stdlib.h: Likewise.
25209         * stdlib/stdlib.h: Likewise.
25210         * rt/bits/mqueue2.h: Likewise.
25211         * rt/mqueue.h: Likewise.
25212         * posix/bits/unistd.h: Likewise.
25213         * posix/unistd.h: Likewise.
25214         * io/bits/poll2.h: Likewise.
25215         * io/bits/fcntl2.h: Likewise.
25216         * io/fcntl.h: Likewise.
25217         * io/sys/poll.h: Likewise.
25218         * misc/bits/syslog.h: Likewise.
25219         * misc/bits/syslog-ldbl.h: Likewise.
25220         * misc/sys/syslog.h: Likewise.
25221         * socket/bits/socket2.h: Likewise.
25222         * socket/sys/socket.h: Likewise.
25223         * debug/tst-chk1.c: Likewise.
25224         * wcsmbs/bits/wchar2.h: Likewise.
25225         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25226         * wcsmbs/wchar.h: Likewise.
25228 2012-04-29  Andreas Jaeger  <aj@suse.de>
25230         * Makerules (tests): Remove enable-check-abi protection.
25231         (check-abi-warn): Remove.
25232         (check-abi-%): Remove check-abi-warn usage.
25234         * configure.in: Remove check-abi configure option.
25235         * configure: Regenerated.
25236         * config.make.in (enable-check-abi): Remove.
25238 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25240         [BZ #14033]
25241         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25242         double functions to double *_finite functions.
25244         [BZ #13941]
25245         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25246         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25247         LDBL_MIN_EXP.
25248         * stdio-common/Makefile (tests): Add tst-sprintf3.
25249         * stdio-common/tst-sprintf3.c: New file.
25251         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25252         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25254 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25256         * conform/conformtest.pl: Remove duplicate typed-constant
25257         handling.
25259 2012-04-28  David S. Miller  <davem@davemloft.net>
25261         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25262         (check-abi-%): Remove AWK script prerequisite and explicit
25263         abilist directory.
25264         (check-abi): Rewrite to just diff the symlist with the abilist.
25265         (config-tls, config-abi-config): Delete, no longer used.
25266         (update-abi-%): Remove AWK script and explicit abilist directory.
25267         (update-abi): Rewrite to simply compare and conditionally copy the
25268         symlist and the sysdep abilist file.  Remove update-abi-config
25269         checks.
25270         * abilist/ld.abilist: Remove.
25271         * abilist/libBrokenLocale.abilist: Remove.
25272         * abilist/libanl.abilist: Remove.
25273         * abilist/libcrypt.abilist: Remove.
25274         * abilist/libdl.abilist: Remove.
25275         * abilist/librt.abilist: Remove.
25276         * abilist/libthread_db.abilist: Remove.
25277         * abilist/libutil.abilist: Remove.
25278         * scripts/extract-abilist.awk: Remove.
25279         * scripts/merge-abilist.awk: Remove.
25280         * sysdeps/generic/libcidn.abilist: New file.
25281         * sysdeps/generic/libnss_compat.abilist: New file.
25282         * sysdeps/generic/libnss_db.abilist: New file.
25283         * sysdeps/generic/libnss_dns.abilist: New file.
25284         * sysdeps/generic/libnss_files.abilist: New file.
25285         * sysdeps/generic/libnss_hesiod.abilist: New file.
25286         * sysdeps/generic/libnss_nis.abilist: New file.
25287         * sysdeps/generic/libnss_nisplus.abilist: New file.
25288         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25289         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25290         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25291         file.
25292         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25293         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25294         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25295         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25296         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25297         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25298         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25299         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25300         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25301         file.
25302         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25303         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25304         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25305         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25306         file.
25307         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25308         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25309         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25310         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25311         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25312         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25313         file.
25314         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25315         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25316         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25317         file.
25318         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25319         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25320         New file.
25321         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25322         New file.
25323         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25324         New file.
25325         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25326         New file.
25327         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25328         New file.
25329         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25330         New file.
25331         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25332         New file.
25333         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25334         New file.
25335         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25336         New file.
25337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25338         New file.
25339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25340         New file.
25341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25342         New file.
25343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25344         New file.
25345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25346         file.
25347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25348         New file.
25349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25350         New file.
25351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25352         file.
25353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25354         New file.
25355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25356         New file.
25357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25358         file.
25359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25360         New file.
25361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25362         New file.
25363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25364         New file.
25365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25366         New file.
25367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25368         New file.
25369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25370         New file.
25371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25373         file.
25374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25375         New file.
25376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25377         file.
25378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25379         file.
25380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25381         file.
25382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25383         file.
25384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25385         file.
25386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25387         New file.
25388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25389         file.
25390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25391         file.
25392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25393         New file.
25394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25395         file.
25396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25398         file.
25399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25400         New file.
25401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25402         file.
25403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25404         file.
25405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25406         file.
25407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25408         file.
25409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25410         file.
25411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25412         New file.
25413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25414         file.
25415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25416         file.
25417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25418         New file.
25419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25420         file.
25421         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25422         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25423         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25424         file.
25425         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25426         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25427         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25428         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25429         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25430         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25431         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25432         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25433         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25434         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25437         file.
25438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25439         New file.
25440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25441         file.
25442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25443         file.
25444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25445         file.
25446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25447         file.
25448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25449         file.
25450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25451         New file.
25452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25453         New file.
25454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25455         file.
25456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25457         New file.
25458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25459         file.
25460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25462         file.
25463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25464         New file.
25465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25466         file.
25467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25468         file.
25469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25470         file.
25471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25472         file.
25473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25474         file.
25475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25476         New file.
25477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25478         New file.
25479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25480         file.
25481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25482         New file.
25483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25484         file.
25486 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25488         * conform/conformtest.pl: Fix typo in handling typed-constant from
25489         allow-header.
25491 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25493         * README: Cut down references to pre-2.6 Linux kernels and
25494         Linuxthreads.  Update lists of configurations in libc and ports
25495         and sort alphabetically.  Say "or newer" with Linux kernel version
25496         requirements.
25498         * config.h.in [IS_IN_build]: Allow compiling without optimization.
25500 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25502         [BZ #887]
25503         * math/libm-test.inc (logb_test_downward): New test to expose
25504         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25505         rounding mode.
25507 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25509         [BZ #14027]
25510         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25511         to be done.
25512         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25513         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25515 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
25517         * sysdeps/unix/i386/brk.S: Remove file.
25518         * sysdeps/unix/i386/dl-brk.S: Likewise.
25519         * sysdeps/unix/i386/pipe.S: Likewise.
25520         * sysdeps/unix/i386/sigreturn.S: Likewise.
25521         * sysdeps/unix/i386/syscall.S: Likewise.
25522         * sysdeps/unix/i386/vfork.S: Likewise.
25523         * sysdeps/unix/i386/wait.S: Likewise.
25525         * sysdeps/unix/common/tcsendbrk.c: Move to ...
25526         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25528         * configure.in (arm*-none*): Do not allow without
25529         --enable-hacker-mode.
25530         (netbsd*): Remove case setting base_os.
25531         (386bsd*): Likewise.
25532         (freebsd*): Likewise.
25533         (bsdi*): Likewise.
25534         (osf*): Likewise.
25535         (sunos*): Likewise.
25536         (ultrix*): Likewise.
25537         (newsos*): Likewise.
25538         (dynix*): Likewise.
25539         (*bsd*): Likewise.
25540         (sysv*): Likewise.
25541         (isc*): Likewise.
25542         (esix*): Likewise.
25543         (sco*): Likewise.
25544         (minix*): Likewise.
25545         (irix4*): Likewise.
25546         (irix6*): Likewise.
25547         (solaris[2-9]*): Likewise.
25548         (none): Likewise.
25549         * configure: Regenerated.
25551 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25553         [BZ #11521]
25554         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25555         overflow or cancellation in calculating denominator.
25556         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25557         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25558         down expression to avoid unexpected rounding in newer GCCs.
25559         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25561 2012-04-26  David S. Miller  <davem@davemloft.net>
25563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25564         long-double compat symbols.
25565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25579 2012-04-25  David S. Miller  <davem@davemloft.net>
25581         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25582         HWCAP_* values only after the memory barriers have been defined.
25583         (atomic_full_barrier): Define.
25584         (atomic_read_barrier): Define.
25585         (atomic_write_barrier): Define.
25587 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25589         * shlib-versions: Add libgcc_s version information.
25590         * sysdeps/generic/libgcc_s.h: Remove.
25591         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25592         libgcc_s.h.
25593         * sysdeps/gnu/unwind-resume.c: Likewise.
25594         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25596 2012-04-25  David S. Miller  <davem@davemloft.net>
25598         * sysdeps/unix/sparc/brk.S: Delete.
25599         * sysdeps/unix/sparc/dl-brk.S: Delete.
25600         * sysdeps/unix/sparc/pipe.S: Delete.
25601         * sysdeps/unix/sparc/sysdep.S: Delete.
25602         * sysdeps/unix/sparc/sysdep.h: Delete.
25603         * sysdeps/unix/sparc/vfork.S: Delete.
25604         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25605         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25606         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25607         ret_ERRVAL, r0, r1, MOVE): Define.
25608         (JUMPTARGET): Remove.
25609         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25610         sysdeps/unix/sparc/sysdep.h
25611         (ENTRY, END): Remove.
25612         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25614 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
25616         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25617         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25618         -DIS_IN_build.
25620         * timezone/README: Update upstream location and email address for
25621         tzcode and tzdata.
25622         * timezone/zdump.c: Update from tzcode 2012b.
25623         * timezone/zic.c: Likewise.
25625         * configure.in (libc_cv_as_needed): Remove test.
25626         * configure: Regenerated.
25627         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25628         conditional definition.
25629         [$(have-as-needed) != yes] (no-as-needed): Likewise.
25630         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25631         * config.make.in (have-as-needed): Remove variable.
25633 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25634             Paul Pluzhnikov  <ppluzhnikov@google.com>
25636         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25637         strings correctly.
25639 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
25641         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25642         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25643         * sysdeps/sh/strlen.S: Likewise.
25645 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25647         * sysdeps/unix/fork.S: Remove file.
25648         * sysdeps/unix/i386/fork.S: Likewise.
25649         * sysdeps/unix/sparc/fork.S: Likewise.
25651         * sysdeps/unix/system.c: Remove file.
25652         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25654         * sysdeps/unix/getegid.S: Remove file.
25655         * sysdeps/unix/geteuid.S: Likewise.
25657 2012-04-24  Roland McGrath  <roland@hack.frob.com>
25659         * scripts/check-localplt.awk: New file.
25660         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25661         of diff.
25662         * scripts/data/localplt-generic.data: Add a comment.
25664         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25665         NODE when __dir_mkfile failed.
25666         * sysdeps/mach/hurd/symlinkat.c: Likewise.
25667         Reported by Ludovic Courtès <ludo@gnu.org>.
25669 2012-04-24  Andreas Jaeger  <aj@suse.de>
25671         * Makerules (common-clean): Also remove gen-as-const-headers
25672         files.
25674 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25676         * Makerules (native-compile): Do not change working directory for
25677         build.  Use $(OUTPUT_OPTION) in command.
25678         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25680 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25682         [BZ #13886]
25683         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25684         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25685         * math/libm-test.inc (floor_test): Add more tests.
25686         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25688 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25690         * sysdeps/unix/getdents.c: Remove file.
25691         * sysdeps/unix/sysv/getdents.c: Likewise.
25692         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25694         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25695         sysdeps/unix/mman/syscalls.list.
25696         (mmap): Likewise.
25697         (mprotect): Likewise.
25698         (msync): Likewise.
25699         (munmap): Likewise.
25700         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25701         * sysdeps/unix/mman/syscalls.list: Remove.
25702         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25704         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25705         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25706         * configure: Regenerated.
25707         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25708         $(libgcc_s_suffix).
25709         * config.make.in (libgcc_s_suffix): Remove variable.
25711 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25713         * sysdeps/unix/sysv/gethostname.c: Move to ...
25714         * sysdeps/posix/gethostname.c: ... here.
25716         * sysdeps/unix/execve.S: Remove file.
25718         * sysdeps/unix/_exit.S: Remove file.
25720 2012-04-23  Andreas Jaeger  <aj@suse.de>
25722         [BZ #13739]
25723         * manual/Makefile: Remove make dist support, there's no
25724         need for a stand-alone documentation tar ball.
25725         (TEXI2DVI): Define always, it's not in Makeconfig.
25726         (dist): Removed.
25727         (tar-it): Removed.
25728         (edition): Removed.
25729         (glibc-doc-$(edition).tar): Removed
25730         (%.Z): Removed.
25731         (%.gz): Removed.
25732         (%.uu): Removed.
25733         (ETAGS): Remove, it's in Makeconfig.
25734         (move-if-change): Remove, it's in Makeconfig.
25736 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25738         [BZ #13970]
25739         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25740         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25741         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25742         (strtod_l, strtof_l, strtold_l): Remove __wur.
25743         It is not necessarily an error to ignore strtol's return value.
25744         One can reliably look at the stored endptr to decide whether
25745         the number had valid syntax.
25747 2012-04-21  Andreas Jaeger  <aj@suse.de>
25749         [BZ #13739]
25750         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25752 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25754         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25755         * sysdeps/unix/sysv/Versions: Remove file.
25757 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25759         [BZ #13927]
25760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25762 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25764         [BZ #7064]
25765         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25766         version from __vm86.
25768 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25770         * sysdeps/unix/common/lxstat.c: Remove file.
25771         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25773         * sysdeps/unix/sysv/Makefile: Remove file.
25775         * sysdeps/unix/sysv/direct.h: Remove file.
25777         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25778         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25779         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25780         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25781         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25782         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25783         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25785         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25787         * sysdeps/unix/xmknod.c: Remove file.
25788         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25790         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25792         * sysdeps/unix/sysv/i386/time.S: Remove file.
25794         * sysdeps/unix/fxstat.c: Remove file.
25795         * sysdeps/unix/xstat.c: Likewise.
25796         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25798         * sysdeps/unix/sysv/sigaction.c: Remove file.
25800         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25801         (sysdep_headers): Remove variable.
25802         [termio.h not in sysdep_headers] (generated): Likewise.
25803         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25804         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25805         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25806         * sysdeps/unix/sysv/tcflow.c: Likewise.
25807         * sysdeps/unix/sysv/tcflush.c: Likewise.
25808         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25809         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25810         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25811         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25812         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25814         * sysdeps/unix/siglist.c: Remove file.
25816         * sysdeps/unix/getppid.S: Remove file.
25818         * sysdeps/unix/mkdir.c: Remove file.
25819         * sysdeps/unix/rmdir.c: Likewise.
25821 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25823         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25824         ERR_MAX value.
25825         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25826         errlist-compat value.
25828 2012-04-18  David S. Miller  <davem@davemloft.net>
25830         * sysdeps/generic/memcopy.h (reg_char): Delete.
25831         * debug/strcat_chk.c: Use char, not reg_char.
25832         * debug/strcpy_chk.c: Likewise.
25833         * debug/strncat_chk.c: Likewise.
25834         * debug/strncpy_chk.c: Likewise.
25835         * string/memchr.c: Likewise.
25836         * string/memrchr.c: Likewise.
25837         * string/rawmemchr.c: Likewise.
25838         * string/strcat.c: Likewise.
25839         * string/strchr.c: Likewise.
25840         * string/strchrnul.c: Likewise.
25841         * string/strcmp.c: Likewise.
25842         * string/strcpy.c: Likewise.
25843         * string/strncat.c: Likewise.
25844         * string/strncmp.c: Likewise.
25845         * string/strncpy.c: Likewise.
25847 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25849         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25850         __builtin_memcopy is called when src and dest ranges are known to not
25851         overlap.
25853 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25855         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25856         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25857         fwd_align_merge macro call.
25858         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25859         bwd_align_merge macro call.
25860         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25862 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25864         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25865         bwd_align_merge macros.
25866         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25867         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25868         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25870 2012-04-18  David S. Miller  <davem@davemloft.net>
25872         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25874 2012-04-18  Andreas Jaeger  <aj@suse.de>
25876         [BZ# 6794]
25877         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25878         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25879         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25881         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25882         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25883         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25885         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25886         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25887         Adjust for changed ldbl-128 files.
25889         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25890         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25891         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25893 2012-04-17  David S. Miller  <davem@davemloft.net>
25895         * sysdeps/sparc/sparc32/memcopy.h: Delete.
25897 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
25899         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25900         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25901         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25902         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25903         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25904         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25906 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25908         [BZ #6794]
25909         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25910         * math/libm-test.inc: Add ilogb errno and exception tests.
25911         * math/w_ilogb.c: New file: ilogb wrapper.
25912         * math/w_ilogbf.c: New file: ilogbf wrapper.
25913         * math/w_ilogbl.c: New file: ilogbl wrapper.
25914         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25915         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25916         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25917         exception being thrown with 0.0 as argument.
25918         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25919         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25920         exception being thrown with 0.0 as argument.
25921         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25922         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25923         exception being thrown with 0.0 as argument.
25924         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25925         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25926         exception being thrown with 0.0 as argument.
25927         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25928         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25929         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25930         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25931         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25932         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25933         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25934         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25935         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25937 2012-04-17  Petr Baudis  <pasky@ucw.cz>
25939         * include/sys/uio.h: Change __vector to __iovec to avoid clash
25940         with altivec.
25942 2012-04-16  Marek Polacek  <polacek@redhat.com>
25944         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25946 2012-04-16  Marek Polacek  <polacek@redhat.com>
25948         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25949         operands of fdivp instruction.
25951 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25953         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25954         * elf/tst-auditmod3b.c: Likewise.
25955         * elf/tst-auditmod4b.c: Likewise.
25956         * elf/tst-auditmod5b.c: Likewise.
25957         * elf/tst-auditmod6b.c: Likewise.
25958         * elf/tst-auditmod6c.c: Likewise.
25959         * elf/tst-auditmod7b.c: Likewise.
25960         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25961         * sysdeps/x86_64/preconfigure.in: Likewise.
25962         * sysdeps/x86_64/preconfigure: Regenerated.
25964 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25966         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25967         __ILP32__.
25969 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
25971         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25972         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25974 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
25976         [BZ #13973]
25977         * locale/iso-639.def: Fix gl language name. Spotted by
25978         Yaron Shahrabani.
25980 2012-04-12  Roland McGrath  <roland@hack.frob.com>
25982         [BZ #2074]
25983         * libio/libio.h (__io_write_fn): Update comment.
25985 2012-04-12  Petr Baudis  <pasky@ucw.cz>
25987         [BZ #2074]
25988         * stdio.texi (Hook Functions): The user provided writer function
25989         is not allowed to return -1.
25991 2012-04-11  David S. Miller  <davem@davemloft.net>
25993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25995 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
25997         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25998         Add a leading slash to rtkaio.
26000 2012-04-11  Jim Meyering  <meyering@redhat.com>
26002         [BZ #11959]
26003         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26004         It is not necessarily an error to ignore fwrite's return
26005         value.  One can reliably use ferror to test for errors after
26006         the fact.
26008 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26010         * bits/types.h (__snseconds_t): New type.
26011         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26013         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26014         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26015         (__SNSECONDS_T_TYPE): Likewise.
26016         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26017         (__SNSECONDS_T_TYPE): Likewise.
26018         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26019         (__SNSECONDS_T_TYPE): Likewise.
26021 2012-04-10  Andreas Jaeger  <aj@suse.de>
26023         [BZ #2636]
26024         * manual/time.texi (Processor Time): Return type of times is
26025         elapsed real time since an arbitrary point in the past.
26026         (CPU Time): Move CLK_TCK from here...
26027         (Processor Time): ...to here.  Correct description.
26028         * manual/conf.texi (Constants for Sysconf): Correct description of
26029         _SC_CLK_TCK.
26031 2012-04-10  David S. Miller  <davem@davemloft.net>
26033         [BZ #13967]
26034         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26035         where the is a gap between DT_REL(A) and DT_JMPREL.
26037 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26039         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26040         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26041         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26043 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26045         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26046         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26047         (dl_main): Handle --inhibit-cache.
26048         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26049         _dl_inhibit_cache.
26050         * elf/dl-load.c (_dl_map_object): Use it.
26051         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26053 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26055         [BZ #13872]
26056         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26057         (__ieee754_powl): Saturate large exponents rather than testing for
26058         overflow of y*log2(x).
26059         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26060         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26061         exceptions.
26063         [BZ #11521]
26064         * math/s_ctan.c: Include <float.h>.
26065         (__ctan): Avoid internal overflow or cancellation in calculating
26066         denominator.
26067         * math/s_ctanf.c: Likewise.
26068         * math/s_ctanl.c: Likewise.
26069         * math/s_ctanh.c: Likewise.
26070         * math/s_ctanhf.c: Likewise.
26071         * math/s_ctanhl.c: Likewise.
26072         * math/libm-test.inc (ctan_test): Add more tests.
26073         (ctanh_test): Likewise.
26074         * sysdeps/i386/fpu/libm-test-ulps: Update.
26075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26077 2012-04-09  Andreas Jaeger  <aj@suse.de>
26079         [BZ #6894]
26080         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26081         is an optional BSD extension.
26083         [BZ #10254]
26084         * manual/stdio.texi (Opening Streams): Document additional fopen
26085         parameters.
26087 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26089         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26090         %eax without telling the compiler.
26092 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26094         [BZ # 13963]
26095         * manual/install.texi: Use sourceware.org.
26097 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26099         [BZ #13873]
26100         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26101         (__ieee754_pow): Generate overflow and underflow using huge*huge
26102         and tiny*tiny rather than just returning constant infinity or zero
26103         for large exponents.
26104         * math/libm-test.inc (pow_test): Require overflow exceptions for
26105         applicable cases of large exponents.
26107         [BZ #706]
26108         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26109         (__ieee754_pow): Use iterative multiplication algorithm only for
26110         integer exponents with absolute value below 1024.  Check for odd
26111         integer exponents when using algorithm for real exponents.
26112         * math/libm-test.inc (pow_test): Add more tests.
26113         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26115 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26117         [BZ #13705]
26118         * math/libm-test.inc (exp_test): Do not allow overflow exception
26119         on underflow test.
26121 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26123         [BZ #13705]
26124         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26125         instead of __kernel_standard_f.
26127 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26129         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26130         * sysdeps/x86_64/memset_chk.S: Likewise.
26132 2012-04-08  Andreas Jaeger  <aj@suse.de>
26134         [BZ #10153]
26135         * manual/startup.texi (Environment Access): Describe return value
26136         for putenv and setenv.
26138         [BZ #6895]
26139         * manual/filesys.texi (Directory Entries): Add description for
26140         DT_LNK.
26142         [BZ #6890]
26143         * manual/filesys.texi (Directory Entries): Clarify that it's file
26144         system not operating system in the description of DT_UNKNOWN.
26146         [BZ #6578]
26147         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26149 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26151         [BZ #6649]
26152         * manual/llio.texi (Opening and Closing Files): Add cross
26153         reference to explain mode argument.
26155 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26157         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26158         * sysdeps/x86_64/memset_chk.S: Likewise.
26160 2012-04-07  David S. Miller  <davem@davemloft.net>
26162         * elf/elf.h (R_SPARC_WDISP10): Define.
26163         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26164         R_SPARC_SIZE32.
26165         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26166         R_SPARC_SIZE64 and R_SPARC_H34.
26168 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26170         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26171         conditions and remove no longer applicable assertion.
26173 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26175         * bits/byteswap.h: Include <features.h>.
26176         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26177         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26179 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26181         * bits/byteswap.h (__bswap_16): Removed.
26182         Include <bits/byteswap-16.h> to get __bswap_16.
26183         * sysdeps/i386/bits/byteswap.h: Likewise.
26184         * sysdeps/s390/bits/byteswap.h: Likewise.
26185         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26186         * bits/byteswap-16.h: New file.
26187         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26188         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26189         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26190         * string/Makefile (headers): Add bits/byteswap-16.h.
26192 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26194         [BZ #13895]
26195         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26196         extra indirection.
26197         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26198         * nss/tst-nss-static.c: New.
26200 2012-04-06  Robert Millan  <rmh@gnu.org>
26202         [BZ #6486]
26203         * manual/llio.texi (File Position Primitive): lseek
26204         refers to WHENCE when it really means OFFSET.
26206 2012-04-06  Andreas Jaeger  <aj@suse.de>
26208         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26209         strncmp declarations.
26211         * abilist/libc.abilist: Add __poll and __ppoll.
26213 2012-04-05  David S. Miller  <davem@davemloft.net>
26215         * scripts/check-local-headers.sh: Accept a host triplet in the
26216         path matched by the exclude regexp.
26218         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26219         definition.
26220         * sysdeps/powerpc/powerpc32/dl-machine.h
26221         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26222         * sysdeps/s390/s390-32/dl-machine.h
26223         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26224         * sysdeps/sparc/sparc32/dl-machine.h
26225         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26226         * sysdeps/sparc/sparc64/dl-machine.h
26227         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26229         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26230         lazy binding.
26231         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26232         undefined symbol errors.
26234         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26235         DT_NEEDED entries.
26237 2012-04-05  Michael Matz  <matz@suse.de>
26239         [BZ #13592]
26240         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26242 2012-04-05  Andreas Jaeger  <aj@suse.de>
26244         [BZ #13908]
26245         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26246         comment.
26248 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26250         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26251         which ROUND is no valid rounding mode.
26253 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26255         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26256         read again.
26257         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26259 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26261         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26262         an exception using FPU order intentionally.
26264 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26266         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26267         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26268         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26269         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26271 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26273         [BZ #12340]
26274         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26275         EINVAL when BUFLEN is too smal.
26277 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26279         [BZ #13553]
26280         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26281         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26283 2012-04-03  Andreas Jaeger  <aj@suse.de>
26285         [BZ #13938]
26286         * manual/setjmp.texi (System V contexts): Fix sentence.
26288         [BZ #13926]
26289         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26290         New macro for this case.
26291         [!__GNUC__] (__bswap_64): New inline function for this case.
26292         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26293         * bits/byteswap.h: Likewise.
26294         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26295         ull, guard with __GLIBC_HAVE_LONG_LONG.
26297         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26298         __GLIBC_HAVE_LONG_LONG.
26300         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26301         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26303 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26305         [BZ #13691]
26306         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26307         inptr and inend, rather than using last_ch.
26309 2012-04-02  David S. Miller  <davem@davemloft.net>
26311         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26312         * stdio-common/printf-parse.h (read_int): Change return type to
26313         'int', return -1 on INT_MAX overflow.
26314         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26315         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26316         overflows INT_MAX.  Check for overflow of in-format-string precision
26317         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26318         SIZE_MAX not INT_MAX for integer overflow test.
26319         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26320         skip the construct in the format string but do not record anything.
26321         * stdio-common/bug22.c: Adjust to test both width/prevision
26322         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26323         explicitly for proper errno values.
26325 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26327         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26328         CHAR_MAX.
26329         * string/test-strcmp.c [! WIDE]: Likewise.
26330         * time/tst-mktime2.c: Likewise for INT_MAX.
26331         * string/test-string.h: #include <sys/param.h> for MIN.
26333         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26334         * sysdeps/i386/init-first.c (init): Likewise.
26335         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26336         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26337         * sysdeps/sh/init-first.c (init): Likewise.
26339 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26341         * po/ru.po: Update from translation team.
26342         * po/vi.po: Likewise.
26344 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26346         * resolv/nss_dns/dns-host.c: Merge copyright years.
26348 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26350         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26351         Optimize memcpy with prefetch if
26352         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26353         src, dst pointers have unequal 16 byte alignments.
26355 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26357         [BZ #13928]
26358         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26359         from a CNAME entry and return the minimum ttl for the query.
26360         (gaih_getanswer_slice): Likewise.
26362 2012-03-30  Jeff Law  <law@redhat.com>
26364         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26365         due to long keys.
26366         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26367         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26369         * resolv/nss_dns/dns-host.c: Update copyright year.
26371 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26373         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26374         requests to save a system call.  Fix check that all bytes are sent.
26376         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26377         comments for sendmmsg.
26379 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26381         [BZ #13691]
26382         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26383         with only 1 character between 0x0041 and 0x01b0.
26384         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26385         * wcsmbs/tst-mbsnrtowcs.c: New file.
26387 2012-03-29  David S. Miller  <davem@davemloft.net>
26389         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26390         small copies by hand.
26392 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26394         [BZ #13761]
26395         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26396         _nss_compat_initgroups_dyn): Fall back to malloc/free
26397         for large group memberships.
26399 2012-03-28  David S. Miller  <davem@davemloft.net>
26401         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26402         that branches into memcpy.
26403         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26404         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26405         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26406         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26408         bits.
26409         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26410         implementation too.
26411         * sysdeps/sparc/mempcpy.S: New file.
26413         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26414         the IFUNC routine in the libc case.
26415         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26417         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26418         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26419         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26420         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26421         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26422         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26423         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26424         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26426         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26427         loop to 256 bytes instead of 64 bytes and fix test signedness.
26429         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26430         * sysdeps/sparc/sparc32/Makefile: rather than here...
26431         * sysdeps/sparc/sparc64/Makefile: and here.
26433 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26435         * malloc/mallocbug.c: Avoid warnings about unused variables.
26437 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26439         [BZ #13760]
26440         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26441         in the right place. Discard and retry query if response is
26442         larger than input buffer size.
26444 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26446         [BZ #369]
26447         [BZ #2678]
26448         [BZ #3866]
26449         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26450         x for large integer exponent.
26451         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26452         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26453         sign of result as needed afterwards.
26454         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26455         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26456         result for underflowing pow the same as for overflow.
26457         (__kernel_standard_l): Handle powl overflow and underflow here
26458         rather than calling __kernel_standard.
26459         * math/libm-test.inc (pow_test): Add more tests.
26461         [BZ #3868]
26462         [BZ #13879]
26463         [BZ #13910]
26464         [BZ #13911]
26465         [BZ #13912]
26466         [BZ #13913]
26467         [BZ #13915]
26468         [BZ #13916]
26469         [BZ #13917]
26470         [BZ #13918]
26471         [BZ #13919]
26472         [BZ #13920]
26473         [BZ #13921]
26474         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26475         * sysdeps/ieee754/k_standard.c: Include <float.h>.
26476         (__kernel_standard_l): New function.
26477         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26478         __kernel_standard.
26479         * math/w_acosl.c (__acosl): Likewise.
26480         * math/w_asinl.c (__asinl): Likewise.
26481         * math/w_atan2l.c (__atan2l): Likewise.
26482         * math/w_atanhl.c (__atanhl): Likewise.
26483         * math/w_coshl.c (__coshl): Likewise.
26484         * math/w_exp10l.c (__exp10l): Likewise.
26485         * math/w_exp2l.c (__exp2l): Likewise.
26486         * math/w_fmodl.c (__fmodl): Likewise.
26487         * math/w_hypotl.c (__hypotl): Likewise.
26488         * math/w_j0l.c (__j0l, __y0l): Likewise.
26489         * math/w_j1l.c (__j1l, __y1l): Likewise.
26490         * math/w_jnl.c (__jnl, __ynl): Likewise.
26491         * math/w_lgammal.c (__lgammal): Likewise.
26492         * math/w_log10l.c (__log10l): Likewise.
26493         * math/w_log2l.c (__log2l): Likewise.
26494         * math/w_logl.c (__logl): Likewise.
26495         * math/w_powl.c (__powl): Likewise.
26496         * math/w_remainderl.c (__remainderl): Likewise.
26497         * math/w_scalbl.c (sysv_scalbl): Likewise.
26498         * math/w_sinhl.c (__sinhl): Likewise.
26499         * math/w_sqrtl.c (__sqrtl): Likewise.
26500         * math/w_tgammal.c (__tgammal): Likewise.
26501         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26502         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26503         * math/libm-test.inc (acos_test): Add more tests.
26504         (acosh_test): Likewise.
26505         (asin_test): Likewise.
26506         (atanh_test): Likewise.
26507         (exp_test): Likewise.
26508         (exp10_test): Likewise.
26509         (exp2_test): Likewise.
26510         (expm1_test): Likewise.
26511         (lgamma_test): Likewise.
26512         (log_test): Likewise.
26513         (log10_test): Likewise.
26514         (log1p_test): Likewise.
26515         (log2_test): Likewise.
26516         (pow_test): Do not allow some spurious overflow exceptions.
26517         (sqrt_test): Add more tests.
26518         (tgamma_test): Likewise.
26519         (y0_test): Likewise.
26520         (y1_test): Likewise.
26521         (yn_test): Likewise.
26523 2012-03-27  Anton Blanchard  <anton@samba.org>
26525         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26526         MAP_HUGETLB.
26527         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26528         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26529         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26531 2012-03-27  David S. Miller  <davem@davemloft.net>
26533         * conform/Makefile: Run run-conformtest.sh using $(BASH).
26535         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26536         have-as-vis3 check.
26538 2012-03-27  Andreas Jaeger  <aj@suse.de>
26540         * sysdeps/x86_64/elf/configure.in: Moved to ...
26541         * sysdeps/x86_64/configure.in: ... here.
26542         * sysdeps/x86_64/elf/start.S: Moved to ...
26543         * sysdeps/x86_64/start.S: ... here.
26544         * sysdeps/x86_64/elf/configure: Delete.
26546         * sysdeps/x86_64/configure.in: Merge contents from
26547         sysdeps/i386/configure.in (without i686 check).
26549         * sysdeps/i386/elf/Versions: Merge into ...
26550         * sysdeps/i386/Versions: ... this.
26551         * sysdeps/i386/elf/Versions: Delete file.
26552         * sysdeps/i386/elf/start.S: Moved to ...
26553         * sysdeps/i386/start.S: ...here.
26554         * sysdeps/i386/elf/configure.in: Merge into...
26555         * sysdeps/i386/configure.in: ...here.
26556         * sysdeps/i386/elf/configure.in: Delete file.
26557         * sysdeps/i386/elf/configure: Delete file.
26559         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26560         * debug/backtracesyms.c: ... here.
26561         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26562         * debug/backtracesymsfd.c: ... here.
26563         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26564         * sysdeps/generic/ifunc-sel.h: ... here.
26566         * sysdeps/unix/i386/start.c: Delete file.
26567         * sysdeps/unix/sparc/start.c: Delete file.
26568         * sysdeps/unix/start.c: Delete file.
26570         * sysdeps/sh/elf/configure.in: Moved to ...
26571         * sysdeps/sh/configure.in: ... here.
26572         * sysdeps/sh/elf/start.S: Moved to ...
26573         * sysdeps/sh/start.S: ... here.
26574         * sysdeps/sh/elf/configure: Delete file.
26576         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26577         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26578         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26579         * sysdeps/powerpc/powerpc64/entry.h: ... here.
26580         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26581         * sysdeps/powerpc/powerpc64/start.S: here.
26582         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26583         * sysdeps/powerpc/powerpc64/Makefile: ... this.
26584         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26585         * sysdeps/powerpc/powerpc64/configure.in: ... this.
26586         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26588         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26589         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26590         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26591         * sysdeps/powerpc/powerpc32/start.S: ... here.
26592         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26593         * sysdeps/powerpc/powerpc32/configure.in: ... this.
26594         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26596         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26597         * sysdeps/powerpc/ifunc-sel.h: ... here.
26598         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26599         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26601         * sysdeps/sparc/elf/configure.in: Moved to ...
26602         * sysdeps/sparc/configure.in: ... here.
26603         * sysdeps/sparc/elf/configure: Delete file.
26604         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26605         * sysdeps/sparc/sparc32/start.S: ... here.
26606         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26607         * sysdeps/sparc/sparc64/start.S: ... here.
26608         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26609         * sysdeps/sparc/sparc32/Makefile: ... this.
26610         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26611         * sysdeps/sparc/sparc64/Makefile: ... this.
26613         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26614         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26615         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26616         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26617         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26618         * sysdeps/s390/s390-32/setjmp.S: ... here.
26619         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26620         * sysdeps/s390/s390-32/configure.in: ... here.
26621         * sysdeps/s390/s390-32/elf/configure: Delete file.
26622         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26623         * sysdeps/s390/s390-32/start.S: ... here.
26625         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26626         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26627         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26628         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26629         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26630         * sysdeps/s390/s390-64/setjmp.S: ... here.
26631         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26632         * sysdeps/s390/s390-64/configure.in: ... here
26633         * sysdeps/s390/s390-64/elf/configure: Delete file.
26634         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26635         * sysdeps/s390/s390-64/start.S: ... here.
26636         * sysdeps/s390/s390-64/elf/configure: Delete.
26638         * configure.in: Remove support for elf directories in sysdeps.
26640         * configure: Regenerated.
26641         * sysdeps/i386/configure: Regenerated.
26642         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26643         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26644         * sysdeps/s390/s390-32/configure: Regenerated.
26645         * sysdeps/s390/s390-64/configure: Regenerated.
26646         * sysdeps/sh/configure: Regenerated.
26647         * sysdeps/sparc/configure: Regenerated.
26648         * sysdeps/x86_64/configure: Regenerated.
26650 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
26652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26654         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26655         denormal result into account.
26657 2012-03-25  Roland McGrath  <roland@hack.frob.com>
26659         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26660         Reported by Allan McRae <allan@archlinux.org>.
26662 2012-03-23  Jeff Law  <law@redhat.com>
26664         * nss/getnssent.c (__nss_getent): Fix typo.
26666 2012-03-23  David S. Miller  <davem@davemloft.net>
26668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26670 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
26672         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26673         to pad to uint64_t for each field.
26674         (dl_tls_index): Replace unsigned long with uint64_t.
26676 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
26677         Paul Pluzhnikov  <ppluzhnikov@google.com>
26679         [BZ #6528]
26680         * grp/Makefile (otherlibs): Don't set it.
26681         * inet/Makefile (otherlibs): Likewise.
26682         * login/Makefile (otherlibs): Likewise.
26683         * nscd/Makefile (otherlibs): Likewise.
26684         * posix/Makefile (otherlibs): Likewise.
26685         * pwd/Makefile (otherlibs): Likewise.
26686         * rt/Makefile (otherlibs): Likewise.
26687         * sunrpc/Makefile (otherlibs): Likewise.
26688         * nss/Makefile (otherlibs): Likewise.
26689         Add libnss_files to routines and static-only-routines.
26690         ($(objpfx)getent): Remove rule.
26691         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26692         static-only-routines.
26694 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26696         [BZ #13892]
26697         * math/s_cexp.c: Include <float.h>.
26698         (__cexp): Handle exp result overflowing not necessarily
26699         overflowing both real and imaginary parts of result.
26700         * math/s_cexpf.c: Likewise.
26701         * math/s_cexpl.c: Likewise.
26702         * math/libm-test.inc (cexp_test): Add more tests.
26703         * sysdeps/i386/fpu/libm-test-ulps: Update.
26704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26706 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26708         * include/link.h (ELFW): New macro.
26709         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26710         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26712 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26714         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26715         with uint64_t.
26717 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26719         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26720         declaration.
26721         (struct La_x32_retval): Likewise.
26723 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26725         * sysdeps/x86_64/preconfigure.in: New file.
26726         * sysdeps/x86_64/preconfigure: New generated file.
26728 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26730         [BZ #13824]
26731         * math/e_exp2l.c: Include <float.h>.
26732         (__ieee754_exp2l): Handle overflow and underflow cases
26733         separately.  Only pass fractional part of argument to
26734         __ieee754_expl.
26735         * math/libm-test.inc (exp2_test): Add more tests.
26737         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26738         negating x to take absolute value.
26739         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26740         Likewise.
26741         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26742         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26743         Likewise.
26744         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26745         computing low part if x was negated.
26746         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26748 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26750         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26751         la_x32_gnu_pltexit.
26752         (pltexit): Cast int_retval to ptrdiff_t.
26753         * elf/tst-auditmod3b.c: Likewise.
26754         * elf/tst-auditmod4b.c: Likewise.
26755         * elf/tst-auditmod5b.c: Likewise.
26756         * elf/tst-auditmod6b.c: Likewise.
26757         * elf/tst-auditmod6c.c: Likewise.
26758         * elf/tst-auditmod7b.c: Likewise.
26760         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26761         and x32_gnu_pltexit.
26763         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26764         __ELF_NATIVE_CLASS.
26765         (La_x32_regs): New macro.
26766         (La_x32_retval): Likewise.
26767         (la_x32_gnu_pltenter): New function prototype.
26768         (la_x32_gnu_pltexit): Likewise.
26770 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26772         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26773         exponent.
26775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26777         * configure.in (libc_cv_cc_nofma): Check for option to disable
26778         generation of FMA instructions.
26779         * configure: Regenerate.
26780         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26781         * sysdeps/ieee754/dbl-64/Makefile: New file.
26782         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26783         Remove brandred-fma4.
26784         (CFLAGS-brandred-fma4.c): Remove.
26785         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26786         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26787         define.
26788         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26789         define.
26791 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26793         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26794         LLONG_MAX != LONG_MAX.
26795         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26796         (_fitoa_word): Likewise.
26797         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26798         LLONG_MAX != LONG_MAX.
26799         * stdio-common/_itowa.h: Include <_itoa.h>.
26800         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26801         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26802         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26803         only if not defined.
26804         (_ITOA_WORD_TYPE): Likewise.
26805         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26806         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26808 2012-03-21  David S. Miller  <davem@davemloft.net>
26810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26812 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26814         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26815         of x86_64 when setting libc_cv_slibdir, libdir and
26816         libc_cv_localedir.
26817         * sysdeps/unix/sysv/linux/configure: Regenerated.
26819 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26821         * manual/lang.texi (Old Varargs): Remove section.
26822         (How Variadic): Update menu.
26823         (va_start): Do not mention varargs.h.
26825 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26826             Joseph Myers  <joseph@codesourcery.com>
26828         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26829         link test.
26830         * configure: Regenerated.
26832 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26834         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26835         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26836         conformtest.pl
26838 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26840         * NOTES: Remove.
26841         * Makefile (files-for-dist): Remove NOTES.
26842         (NOTES): Remove rule.
26843         * README: Don't refer to NOTES.
26844         * manual/creature.texi: Don't include macros.texi.
26845         * manual/intro.texi (creature.texi): Remove comment referring to
26846         NOTES.
26848         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26849         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26850         * configure: Regenerated.
26851         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26852         LIBC_TRY_CC_OPTION.
26853         (libc_cv_as_i686): Likewise.
26854         (libc_cv_cc_avx): Likewise.
26855         (libc_cv_cc_sse2avx): Likewise.
26856         (libc_cv_cc_fma4): Likewise.
26857         (libc_cv_cc_novzeroupper): Likewise.
26858         * sysdeps/i386/configure: Regenerated.
26860         [BZ #13883]
26861         * sysdeps/i386/fpu/s_cexp.S: Remove.
26862         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26863         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26864         * math/libm-test.inc (cexp_test): Add more tests.
26865         * sysdeps/i386/fpu/libm-test-ulps: Update.
26866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26868 2012-03-21  Allan McRae  <allan@archlinux.org>
26870         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26872 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26874         [BZ #13871]
26875         * math/w_exp2.c: Do not include <float.h>.
26876         (o_threshold, u_threshold): Remove.
26877         (__exp2): Calculate result before checking finiteness and calling
26878         __kernel_standard.
26879         * math/w_exp2f.c: Likewise.
26880         * math/w_exp2l.c: Likewise.
26881         * math/libm-test.inc (exp2_test): Require overflow exception for
26882         1e6 input.
26884         [BZ #3866]
26885         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26886         range of signed 64-bit integers before using fistpll.  Remove
26887         checks for whether integers fit in mantissa bits.
26888         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26889         the range of signed 32-bit integers before using fistpl.  Remove
26890         checks for whether integers fit in mantissa bits.
26891         * sysdeps/i386/fpu/e_powl.S (p64): New object.
26892         (__ieee754_powl): Test for y outside the range of signed 64-bit
26893         integers before using fistpll.  Reduce 64-bit values to 63-bit
26894         ones as needed.
26895         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26896         divide-by-zero is raised for zero to large negative powers.
26897         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26898         (__ieee754_powl): Test for y outside the range of signed 64-bit
26899         integers before using fistpll.  Reduce 64-bit values to 63-bit
26900         ones as needed.
26901         * math/libm-test.inc (pow_test): Add more tests.
26903 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26905         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26906         <stdio-common/_itoa.h>.
26907         * debug/segfault.c: Likewise.
26908         * elf/dl-cache.c: Likewise.
26909         * elf/dl-minimal.c: Likewise.
26910         * elf/dl-misc.c: Likewise.
26911         * elf/dl-sysdep.c: Likewise.
26912         * elf/dl-version.c: Likewise.
26913         * elf/rtld.c: Likewise.
26914         * hurd/hurdsock.c: Likewise.
26915         * hurd/lookup-retry.c: Likewise.
26916         * malloc/malloc.c: Likewise.
26917         * malloc/mtrace.c: Likewise.
26918         * nscd/nscd_getgr_r.c: Likewise.
26919         * nscd/nscd_getpw_r.c: Likewise.
26920         * nscd/nscd_getserv_r.c: Likewise.
26921         * posix/getopt_init.c: Likewise.
26922         * posix/wordexp.c: Likewise.
26923         * stdio-common/_itoa.c: Likewise.
26924         * stdio-common/printf_fphex.c: Likewise.
26925         * stdio-common/vfprintf.c: Likewise.
26926         * string/_strerror.c: Likewise.
26927         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26928         * sysdeps/i386/i686/hp-timing.h: Likewise.
26929         * sysdeps/mach/_strerror.c: Likewise.
26930         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26931         * sysdeps/mach/hurd/sethostid.c: Likewise.
26932         * sysdeps/mach/hurd/xmknodat.c: Likewise.
26933         * sysdeps/mach/xpg-strerror.c: Likewise.
26934         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26935         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26936         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26937         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26938         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26939         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26940         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26941         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26942         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26943         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26944         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26945         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26946         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26947         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26948         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26949         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26950         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26951         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26952         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26953         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26954         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26956         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26958         * stdio-common/_itoa.h: Moved to ...
26959         * sysdeps/generic/_itoa.h: Here.
26961         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26963         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26964         instead of "_itoa.h" and "_itowa.h".
26965         * stdio-common/vfprintf.: Likewise.
26967 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26969         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26970         <bits/wordsize.h>.
26971         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26972         (__signbit): Likwise.
26973         (llrintf): Likwise.
26974         (llrint): Likwise.
26976 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26978         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26979         __WORDSIZE != 64.
26981 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
26983         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26984         OVERFLOW_EXCEPTION_OK.
26985         * math/libm-test.inc ("Philosophy"): Update comment about
26986         exception testing.
26987         (OVERFLOW_EXCEPTION): Define.
26988         (OVERFLOW_EXCEPTION_OK): Likewise.
26989         (INVALID_EXCEPTION_OK): Renumber.
26990         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26991         (IGNORE_ZERO_INF_SIGN): Likewise.
26992         (test_exceptions): Handle FE_OVERFLOW.
26993         (exp10_test): Expect overflow exceptions.
26994         (exp2_test): Likewise.
26995         (expm1_test): Likewise.
26996         (nextafter_test): Likewise.
26997         (pow_test): Likewise.
26998         (scalbn_test): Likewise.
26999         (scalbln_test): Likewise.
27001 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27003         * sysdeps/x86_64/bits/atomic.h
27004         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27005         64bit integer.
27006         (atomic_exchange_acq): Likewise.
27007         (__arch_exchange_and_add_body): Likewise.
27008         (__arch_add_body): Likewise.
27009         (atomic_add_negative): Likewise.
27010         (atomic_add_zero): Likewise.
27012 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27014         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27015         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27017 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27019         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27020         Check __x86_64__ instead of __WORDSIZE.
27022 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27024         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27026 2012-03-19  David S. Miller  <davem@davemloft.net>
27028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27030         * sysdeps/sparc/fpu/fenv_private.h: New file.
27031         * sysdeps/sparc/fpu/math_private.h: Use it.
27032         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27033         Remove.
27034         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27035         (libc_feholdexcept_setroundl): Remove.
27036         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27037         Remove.
27038         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27039         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27041 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27043         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27044         int64_t instead of long int.
27045         (INSERT_WORDS64): Likwise.
27047 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27049         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27050         _Unwind_GetCFA return to _Unwind_Ptr first.
27052 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27054         [BZ #13629]
27055         * math/s_clog.c: Include <float.h>.
27056         (__clog): Scale large or subnormal inputs.
27057         * math/s_clogf.c: Likewise.
27058         * math/s_clogl.c: Likewise.
27059         * math/s_clog10.c: Include <float.h>.
27060         (M_LOG10_2): Define.
27061         (__clog10): Scale large or subnormal inputs.
27062         * math/s_clog10f.c: Likewise.
27063         * math/s_clog10l.c: Likewise.
27064         * math/libm-test.inc (clog_test): Add more tests.
27065         (clog10_test): Likewise.
27066         * sysdeps/i386/fpu/libm-test-ulps: Update.
27067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27069         [BZ #11451]
27070         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27071         x and y.
27072         * math/libm-test.inc (atan2_test): Add another test.
27074         * Makerules (common-objdir-compile): Remove.
27075         * sysdeps/unix/Makefile (config-generated): Do not add
27076         $(unix-generated) to variable.
27077         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27078         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27079         Remove rule.
27080         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27081         Likewise.
27082         [generic bits/local_lim.h] (before-compile): Do not append to
27083         variable.
27084         [generic bits/local_lim.h] (common-generated): Likewise.
27085         [generic sys/param.h] (before-compile): Do not append to variable.
27086         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27087         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27088         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27089         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27090         include.
27091         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27092         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27093         [generic sys/param.h] ($(addprefix
27094         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27095         [generic sys/param.h] (common-generated): Do not append to
27096         variable.
27097         [generic sys/param.h] (sysdep_headers): Likewise.
27098         [generic bits/errno.h] (before-compile): Do not append to
27099         variable.
27100         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27101         rule.
27102         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27103         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27104         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27105         [generic bits/errno.h] (common-generated): Do not append to
27106         variable.
27107         [generic bits/ioctls.h] (before-compile): Do not append to
27108         variable.
27109         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27110         rule.
27111         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27112         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27113         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27114         rule.
27115         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27116         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27117         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27118         [generic bits/ioctls.h] (common-generated): Do not append to
27119         variable.
27120         [generic sys/syscall.h] (syscall.h): Remove variable.
27121         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27122         rule.
27123         [generic sys/syscall.h] (before-compile): Do not append to
27124         variable.
27125         [generic sys/syscall.h] (common-generated): Likewise.
27126         * sysdeps/unix/errnos-tmpl.c: Remove file.
27127         * sysdeps/unix/errnos.awk: Likewise.
27128         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27129         * sysdeps/unix/ioctls.awk: Likewise.
27130         * sysdeps/unix/mk-local_lim.c: Likewise.
27131         * sysdeps/unix/snarf-ioctls: Likewise.
27133 2012-03-19  Richard Henderson  <rth@twiddle.net>
27135         * sysdeps/i386/fpu/fenv_private.h: New file.
27136         * sysdeps/i386/fpu/math_private.h: Use it.
27137         (math_opt_barrier, math_force_eval): Remove.
27138         (libc_feholdexcept_setround_53bit): Remove.
27139         (libc_feupdateenv_53bit): Remove.
27140         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27141         (math_opt_barrier, math_force_eval): Remove.
27142         (libc_feholdexcept): Remove.
27143         (libc_feholdexcept_setround): Remove.
27144         (libc_fetestexcept, libc_fesetenv): Remove.
27145         (libc_feupdateenv_test): Remove.
27146         (libc_feupdateenv, libc_feholdsetround): Remove.
27147         (libc_feresetround): Remove.
27149         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27150         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27152         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27153         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27154         (libc_feupdateenv_testl): New.
27155         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27156         (libc_feupdateenv_testf): New.
27157         (libc_feupdateenv): Use libc_feupdateenv_test.
27158         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27159         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27161         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27162         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27163         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27164         (libc_feresetround_noex): New.
27165         (libc_feresetround_noexf): New.
27166         (libc_feresetround_noexl): New.
27167         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27168         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27169         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27170         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27171         SET_RESTORE_ROUND.
27172         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27173         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27174         (__cos): Likewise.
27175         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27176         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27177         SET_RESTORE_ROUND_NOEX.
27178         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27179         SET_RESTORE_ROUND_NOEXF.
27180         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27181         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27182         (libc_feholdsetroundf): New.
27183         (libc_feresetround, libc_feresetroundf): New.
27185         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27186         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27187         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27189         * sysdeps/generic/math_private.h: Include <fenv.h>.
27190         (default_libc_feholdexcept): New.
27191         (default_libc_feholdexcept_setround): New.
27192         (default_libc_fesetenv, default_libc_feupdateenv): New.
27193         (libc_feholdexcept): Only define if undefined.
27194         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27195         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27196         (libc_feholdexcept_setroundl): Likewise.
27197         (libc_feholdexcept_setround_53bit): Likewise.
27198         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27199         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27200         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27201         (libc_feupdateenv_53bit): Likewise.
27202         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27203         (libc_feholdexcept): Convert from macro to inline function.
27204         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27205         (libc_fesetenv, libc_feupdateenv): Likewise.
27207         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27208         not previously defined.
27209         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27210         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27211         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27212         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27213         * sysdeps/ieee754/flt-32/math_private.h: New file.
27214         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27215         math_private.h below SET_FLOAT_WORD.
27216         (__isnan, __isinf_ns, __finite): Remove.
27217         (__isnanf, __isinf_nsf, __finitef): Remove.
27219 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27223 2012-03-17  David S. Miller  <davem@davemloft.net>
27225         [BZ #6471]
27226         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27227         for 2.16.
27229 2012-03-16  David S. Miller  <davem@davemloft.net>
27231         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27232         warnings.
27234         [BZ #6471]
27235         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27236         properly.
27237         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27238         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27239         sysdep_routines when subdir is sysvipc.
27240         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27241         __getshmlba helper.
27243         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27245 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27247         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27248         [__LP64__].
27250 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27252         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27253         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27254         (__lround): Renamed to ...
27255         (__llround): This.  Replace long int with long long int.
27256         Define lround functions as aliases of llround functions.
27257         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27259 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27261         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27262         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27263         adresses to uintptr_t.  Replace "long int" and "unsigned long
27264         int" with "greg_t" on va_arg.
27266 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27268         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27269         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27271         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27272         Move e_machine check before EI_CLASS check.  Handle x32
27273         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27274         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27275         SKIP_EM_IA_64 and include
27276         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27278         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27279         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27280         (add_system_dir): New macro.
27282         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27283         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27285 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27287         [BZ #2551]
27288         [BZ #2552]
27289         [BZ #2553]
27290         [BZ #2554]
27291         [BZ #2562]
27292         [BZ #2563]
27293         [BZ #2565]
27294         [BZ #2566]
27295         [BZ #2576]
27296         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27297         (y0): Likewise.
27298         * math/w_j0f.c (j0f): Likewise.
27299         (y0f): Likewise.
27300         * math/w_j0l.c (__j0l): Likewise.
27301         (__y0l): Likewise.
27302         * math/w_j1.c (j1): Likewise.
27303         (y1): Likewise.
27304         * math/w_j1f.c (j1f): Likewise.
27305         (y1f): Likewise.
27306         * math/w_j1l.c (__j1l): Likewise.
27307         (__y1l): Likewise.
27308         * math/w_jn.c (jn): Likewise.
27309         (yn): Likewise.
27310         * math/w_jnf.c (jnf): Likewise.
27311         (ynf): Likewise.
27312         * math/w_jnl.c (__jnl): Likewise.
27313         (__ynl): Likewise.
27314         * math/libm-test.inc (j0_test): Add more tests.
27315         (j1_test): Likewise.
27316         (jn_test): Likewise.  Add trailing semicolon to existing test.
27317         (y0_test): Likewise.
27318         (y1_test): Likewise.
27319         * sysdeps/i386/fpu/libm-test-ulps: Update.
27320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27322         [BZ #13851]
27323         [BZ #13854]
27324         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27325         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27326         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27327         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27328         (__tanl): Set errno for infinite argument.
27329         * sysdeps/i386/fpu/mptan.c: Remove.
27330         * sysdeps/i386/fpu/s_tan.S: Likewise.
27331         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27332         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27333         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27334         * math/libm-test.inc (tan_test): Add more tests and enable more
27335         tests for double and long double.
27336         * sysdeps/i386/fpu/libm-test-ulps: Update.
27337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27339 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27341         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27342         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27344 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27346         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27347         * configure.in: Use it for both main tree and add-ons.
27348         * configure: Regenerated.
27350 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27352         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27354 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27356         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27357         in comment.
27359         [BZ #13851]
27360         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27361         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27362         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27363         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27364         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27365         infinite argument.
27366         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27367         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27368         != 0 for prec == 2.
27369         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27370         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27371         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27372         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27373         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27374         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27375         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27376         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27377         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27378         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27379         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27380         * math/libm-test.inc (cos_test): Add more tests and enable more
27381         tests for long double.
27382         (sin_test): Likewise.
27383         (sincos_test): Likewise.
27384         * sysdeps/i386/fpu/libm-test-ulps: Update.
27385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27387 2012-03-16  David S. Miller  <davem@davemloft.net>
27389         * sysdeps/sparc/fpu/math_private.h: New file.
27391 2012-03-15  David S. Miller  <davem@davemloft.net>
27393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27394         file.
27395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27397         file.
27398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27400         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27401         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27402         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27403         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27404         sysdep routines.
27405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27407         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27408         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27410         * sysdeps/sparc/sparc-ifunc.h: New file.
27411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27412         sparc-ifunc.h
27413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27415         Likewise.
27416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27417         Likewise.
27418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27422         Likewise.
27423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27428         Likewise.
27429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27430         Likewise.
27431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27435         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27436         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27437         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27438         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27446         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27447         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27448         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27449         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27450         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27451         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27452         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27453         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27454         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27456 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27458         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27459         scaling.
27460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27462 2012-03-15  Andreas Jaeger  <aj@suse.de>
27464         [BZ #13852]
27465         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27466         ieee754/flt-32 implementation for sin, cos and sincos.
27467         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27468         * sysdeps/i386/fpu/s_cosf.S: Likewise.
27469         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27470         * sysdeps/i386/fpu/s_sinf.S: Likewise.
27471         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27472         ieee754/flt-32 implementation for tan.
27474         * math/libm-test.inc (cos_test): Enable some large input tests for
27475         float as well
27476         (sin_test): Likewise.
27477         (sincos_test): Likewise.
27478         (tan_test): Add tests for large input.
27480         * sysdeps/i386/fpu/libm-test-ulps: Update.
27482 2012-03-15  Andreas Jaeger  <aj@suse.de>
27484         [BZ #13658]
27485         * math/libm-test.inc (cos_test): Add more test cases.
27486         (sin_test): Likewise.
27487         (sincos_test): Likewise.
27489 2012-03-15  Andreas Jaeger  <aj@suse.de>
27491         [BZ #13837]
27492         * math/libm-test.inc (cos_test): Add a test case for large input
27493         value.
27494         (sin_test): Likewise.
27495         (sincos_test): Likewise.
27497 2012-03-15  Andreas Jaeger  <aj@suse.de>,
27498         Joseph Myers  <joseph@codesourcery.com>
27500         [BZ #13658]
27501         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27502         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27503         * sysdeps/i386/fpu/branred.c: Likewise.
27504         * sysdeps/i386/fpu/dosincos.c: Likewise.
27505         * sysdeps/i386/fpu/mpa.c: Likewise.
27506         * sysdeps/i386/fpu/s_cos.S: Likewise.
27507         * sysdeps/i386/fpu/s_sin.S: Likewise.
27508         * sysdeps/i386/fpu/s_sincos.S: Likewise.
27509         * sysdeps/i386/fpu/sincos32.c: Likewise.
27511         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27512         Define.
27513         (libc_feupdateenv_53bit): Define.
27514         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27515         Define.
27516         (libc_feupdateenv_53bit): Define.
27518         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27519         53 bit (without extend i386 double precision).
27521         * math/libm-test.inc (sincos_test): Add tests for large input.
27522         (sin): Likewise.
27523         (cos): Likewise.
27525         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27527 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27531 2012-03-15  David S. Miller  <davem@davemloft.net>
27533         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27534         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27535         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27536         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27541         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27543         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27549         file.
27550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27552         file.
27553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27555         file.
27556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27558         file.
27559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27560         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27561         fmin/fmax sysdep routines.
27562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27564 2012-03-14  David S. Miller  <davem@davemloft.net>
27566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27569         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27570         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27571         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27572         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27573         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27575         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27576         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27577         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27580         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27581         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27582         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27583         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27584         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27585         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27586         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27587         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27588         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27589         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27590         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27591         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27592         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27593         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27594         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27595         routines.
27596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27597         file.
27598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27600         file.
27601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27603         file.
27604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27606         file.
27607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27609         file.
27610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27612         file.
27613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27614         file.
27615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27616         file.
27617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27618         file.
27619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27620         New file.
27621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27622         file.
27623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27624         file.
27625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27627         file.
27628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27630         file.
27631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27633         file.
27634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27636         VIS3 routines.
27638         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27639         New file.
27641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27643         * sysdeps/sparc/configure.in: New file.
27644         * sysdeps/sparc/configure: Generate.
27645         * configure.in (libc_cv_sparc_as_vis3): Substitute.
27646         * configure: Regenerate.
27647         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27648         * config.make.in (have-as-vis3): New.
27649         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27650         available use -Av9d instead of -Av9a.
27651         * sysdeps/sparc/sparc64/Makefile: Likewise.
27652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27654         New file.
27655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27656         file.
27657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27658         New file.
27659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27660         file.
27661         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27662         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27663         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27664         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27665         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27667         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27668         fzeros/fnegs to load 0x80000000 into a float register instead of
27669         using the stack.
27670         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27672 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27674         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27675         bits/syscall.h.
27676         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27677         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27678         ($(inst_includedir)/bits/syscall.h): Remove rule.
27679         ($(objpfx)bits/syscall.d): Include instead of
27680         $(objpfx)syscall-list.d.
27681         (generated): Change syscall-list.h and syscall-list.d to
27682         bits/syscall.h and bits/syscall.d.
27684 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27686         [BZ #13846]
27687         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27689 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27691         [BZ #13841]
27692         * math/s_csqrt.c: Include <float.h>.
27693         (__csqrt): Scale large or subnormal inputs.
27694         * math/s_csqrtf.c: Likewise.
27695         * math/s_csqrtl.c: Likewise.
27696         * math/libm-test.inc (csqrt_test): Add more tests.
27697         * sysdeps/i386/fpu/libm-test-ulps: Update.
27698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27700         [BZ #13840]
27701         * math/libm-test.inc (hypot_test): Add more tests.
27703 2012-03-13  David S. Miller  <davem@davemloft.net>
27705         [BZ #13840]
27706         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27707         double-precision for the calculation instead of scaling.
27709 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27711         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27712         manipulate bits before adding and subtracting TWO52[sx].
27713         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27714         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27715         Likewise.
27716         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27718 2012-03-13  David S. Miller  <davem@davemloft.net>
27720         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27721         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27722         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27723         rtld-global-offsets.h
27724         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27726         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27727         large parameters.
27729         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27731         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27732         'err' in the ifdef scope in which it is actually used.
27734         * nss/nss_db/db-init.c: Include string.h
27736 2012-03-12  David S. Miller  <davem@davemloft.net>
27738         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27739         masking out of the most significant byte of random value used.
27740         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27741         Fix coding style in previous change.
27743         * sysdeps/unix/sysv/linux/kernel-features.h
27744         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27745         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27746         expression.
27747         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27748         later.
27750 2012-03-11  David S. Miller  <davem@davemloft.net>
27752         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27753         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27754         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27755         for 'resultvar' otherwise things get truncated on 64-bit.
27757         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27758         Fix masking out of the most significant byte of random value used.
27760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27762 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27766 2012-03-09  David S. Miller  <davem@davemloft.net>
27768         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27769         variables with appropriate CPP guards.
27770         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27771         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27772         on resulting framesize and the management of the outregs buffer for pltexit.
27773         Preserve floating point return values across _dl_call_pltexit call.
27774         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27775         framesize and the management of the outregs buffer for pltexit.
27776         Preserve floating point return values across _dl_call_pltexit
27777         call.
27778         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27779         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27780         (print_exit): Fix format string for return register value.
27782 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27784         * sunrpc/Makefile (others): Add rpcgen.
27785         ($(objpfx)rpcgen): Remove special build rule and dependency on
27786         libc.
27787         * sunrpc/rpcgen.c: New file.
27789 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27791         [BZ #13673]
27792         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27793         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27794         * sysdeps/i386/crti.S: Likewise.
27795         * sysdeps/i386/crtn.S: Likewise.
27796         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27797         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27798         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27799         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27800         * sysdeps/sh/crti.S: Likewise.
27801         * sysdeps/sh/crtn.S: Likewise.
27802         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27804         [BZ #13673]
27805         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27806         with URL.
27807         * locale/programs/locfile-kw.gperf: Likewise.
27808         * locale/programs/charmap-kw.h: Regenerated.
27809         * locale/programs/locfile-kw.h: Likewise.
27811         [BZ #13673]
27812         * intl/plural.y: Replace FSF snail mail address with URL.
27813         * intl/plural.c: Regenerated.
27815 2012-03-09  Richard Henderson  <rth@twiddle.net>
27817         * include/math_private.h: Remove file.
27818         * math/math_private.h: Move file ...
27819         * sysdeps/generic/math_private.h: ... here.
27821         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27822         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27823         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27825         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27826         and <math_private.h>.
27827         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27828         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27829         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27830         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27831         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27832         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27833         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27834         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27835         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27836         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27837         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27838         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27839         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27840         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27841         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27842         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27843         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27844         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27845         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27846         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27847         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27848         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27849         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27850         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27851         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27852         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27853         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27854         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27855         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27856         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27857         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27858         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27859         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27860         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27861         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27862         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27863         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27864         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27865         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27866         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27867         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27868         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27869         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27870         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27871         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27872         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27873         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27874         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27875         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27876         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27877         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27878         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27879         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27880         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27881         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27882         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27883         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27884         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27885         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27886         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27887         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27888         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27889         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27890         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27891         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27892         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27893         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27894         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27895         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27896         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27897         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27898         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27899         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27900         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27901         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27902         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27903         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27904         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27905         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27906         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27907         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27908         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27909         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27910         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27911         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27912         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27913         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27914         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27915         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27916         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27917         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27918         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27919         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27920         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27921         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27922         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27923         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27924         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27925         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27926         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27927         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27928         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27929         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27930         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27931         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27932         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27933         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27934         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27935         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27936         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27937         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27938         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27939         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27940         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27941         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27942         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27943         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27944         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27945         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27946         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27947         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27948         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27949         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27950         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27951         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27952         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27953         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27954         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27955         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27956         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27957         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27958         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27959         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27960         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27961         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27962         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27963         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27964         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27965         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27966         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27967         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27968         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27969         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27970         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27971         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27972         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27973         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27974         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27975         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27976         * sysdeps/ieee754/k_standard.c: Likewise.
27977         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27978         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27979         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27980         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27981         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27982         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27983         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27984         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27985         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27986         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27987         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27988         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27989         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27990         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27991         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27992         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27993         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27994         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27995         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27996         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27997         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27998         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27999         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28000         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28001         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28002         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28003         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28004         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28005         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28006         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28007         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28008         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28009         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28010         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28011         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28012         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28013         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28014         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28015         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28016         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28017         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28018         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28019         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28020         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28021         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28022         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28023         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28024         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28025         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28026         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28027         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28028         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28029         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28030         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28031         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28032         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28033         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28034         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28035         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28036         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28037         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28038         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28039         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28040         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28041         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28043         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28044         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28045         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28046         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28047         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28048         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28049         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28050         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28051         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28052         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28053         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28054         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28055         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28056         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28057         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28058         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28059         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28060         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28061         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28062         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28063         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28064         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28065         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28066         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28067         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28068         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28069         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28070         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28071         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28072         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28073         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28074         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28075         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28076         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28077         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28078         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28079         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28080         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28081         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28082         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28083         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28084         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28085         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28086         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28087         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28088         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28089         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28090         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28091         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28092         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28093         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28094         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28095         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28096         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28097         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28098         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28099         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28100         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28101         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28102         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28103         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28104         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28105         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28106         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28107         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28108         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28109         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28110         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28111         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28112         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28113         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28114         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28115         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28116         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28117         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28118         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28119         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28120         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28121         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28122         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28123         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28124         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28125         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28126         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28127         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28128         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28129         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28130         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28131         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28132         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28133         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28134         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28135         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28136         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28137         * sysdeps/ieee754/s_lib_version.c: Likewise.
28138         * sysdeps/ieee754/s_matherr.c: Likewise.
28139         * sysdeps/ieee754/s_signgam.c: Likewise.
28140         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28141         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28142         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28143         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28144         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28145         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28146         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28147         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28148         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28149         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28150         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28151         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28152         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28153         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28154         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28155         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28156         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28157         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28158         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28159         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28160         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28162 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28164         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28165         * sunrpc/rpc_main.c: Likewise.
28166         * sunrpc/rpc_svcout.c: Likewise.
28168 2012-03-09  David S. Miller  <davem@davemloft.net>
28170         * include/math_private.h: New file.
28172 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28174         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28175         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28176         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28177         from <bits/socket_type.h>.
28178         (enum __socket_type): Don't define here.
28179         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28180         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28181         bits/socket_type.h.
28183         [BZ #13566]
28184         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28185         checking __USE_GNU.
28187         * Makerules ($(inst_includedir)/%.h): New rule.
28188         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28189         (install-others): Remove variable setting.
28190         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28192 2012-03-08  Richard Henderson  <rth@twiddle.net>
28194         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28195         from macro to inline function; merge with the
28196         !__LIBC_INTERNAL_MATH_INLINES version.
28197         (__ieee754_sqrtf): Likewise.
28199         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28200         to inline function.
28201         (__rintf, __floor, __floorf): Likewise.
28203         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28204         macro to inline function.
28205         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28207         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28208         not <math/math_private.h>.
28210 2012-03-08  David S. Miller  <davem@davemloft.net>
28212         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28213         copyright year.
28214         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28216 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28218         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28219         normalization.
28220         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28221         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28223 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28225         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28226         be defined individually, they must be defined as a block.  Define
28227         S for printing a string instead of hidint the different by using a
28228         macro for adding the 'l'.
28229         * stdio-common/tst-fphex-wide.c: Adjust.
28231 2012-03-07  Marek Polacek  <polacek@redhat.com>
28233         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28235 2012-03-08  Marek Polacek  <polacek@redhat.com>
28237         [BZ #13806]
28238         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28239         * stdio-common/tst-fphex.c: Define a few macros to make the
28240         test reusable.  Use them.
28241         * stdio-common/tst-fphex-wide.c: New file.
28243 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28245         [BZ #6911]
28246         * manual/macros.texi (gnusystems): New macro.
28247         (nongnusystems): Likewise.
28248         (gnulinuxhurdsystems): Likewise.
28249         (gnuhurdsystems): Likewise..
28250         (gnulinuxsystems): Likewise.
28251         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28252         variants of the GNU system, not "GNU system".
28253         * manual/conf.texi: Likewise.
28254         * manual/errno.texi: Likewise.  Update example of errno macro
28255         expansion.
28256         * manual/filesys.texi: Likewise.
28257         (getumask): Document as specific to GNU/Hurd.
28258         * manual/install.texi: Likewise.  Reword some references to
28259         GNU/Linux.
28260         * manual/intro.texi: Likewise.
28261         * manual/io.texi: Likewise.
28262         (File Name Portability): Detail which constraints are inapplicable
28263         to all GNU systems and which are only inapplicable to GNU/Hurd.
28264         * manual/job.texi: Likewise.
28265         * manual/llio.texi: Likewise.
28266         (O_NOCTTY): Document as present on GNU/Linux.
28267         * manual/maint.texi: Likewise.
28268         * manual/memory.texi: Likewise.
28269         * manual/pattern.texi: Likewise.
28270         * manual/pipe.texi: Likewise.
28271         * manual/process.texi: Likewise.
28272         * manual/resource.texi: Likewise.
28273         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28274         child on GNU/Hurd.
28275         * manual/setjmp.texi: Likewise.
28276         * manual/signal.texi: Likewise.
28277         * manual/startup.texi: Likewise.
28278         * manual/stdio.texi: Likewise.
28279         * manual/terminal.texi: Likewise.
28280         (ONLCR): Document as POSIX.
28281         (OXTABS): Document availability on GNU/Linux as XTABS.
28282         (ONOEOT): Document availability separately from other bits.
28283         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28284         * manual/time.texi: Likewise.
28285         * manual/users.texi: Likewise.
28286         * INSTALL: Regenerated.
28287         * sysdeps/gnu/errlist.c: Regenerated.
28289         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28290         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28291         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28292         puts.
28293         * configure: Regenerated.
28295 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28297         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28298         default includes instead of AC_HEADER_CHECK.
28299         * sysdeps/i386/configure: Regenerated.
28301         [BZ #10716]
28302         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28303         * math/s_cacoshf.c (__cacoshf): Likewise.
28304         * math/s_cacoshl.c (__cacoshl): Likewise.
28305         * math/s_casinh.c (__casinh): Set signs of result from argument.
28306         * math/s_casinhf.c (__casinhf): Likewise.
28307         * math/s_casinhl.c (__casinhl): Likewise.
28308         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28309         (casinh_test): Add more tests.
28310         * sysdeps/i386/fpu/libm-test-ulps: Update.
28311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28313 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28315         * po/zh_TW.po: Update from translation team.
28317         * login/Makefile (distribute): Remove variable.
28318         * catgets/Makefile: Likewise.
28319         * mach/Makefile: Likewise.
28320         * malloc/Makefile: Likewise.
28321         * misc/Makefile: Likewise.
28322         * iconv/Makefile: Likewise.
28323         * nscd/Makefile: Likewise.
28324         * hurd/Makefile: Likewise.
28325         * manual/Makefile: Likewise.
28326         * locale/Makefile: Likewise.
28327         * intl/Makefile: Likewise.
28328         * conform/Makefile: Likewise.
28329         * nss/Makefile: Likewise.
28330         * time/Makefile: Likewise.
28331         * soft-fp/Makefile: Likewise.
28332         * dirent/Makefile: Likewise.
28333         * gmon/Makefile: Likewise.
28334         * po/Makefile: Likewise.
28335         * rt/Makefile: Likewise.
28336         * socket/Makefile: Likewise.
28337         * math/Makefile: Likewise.
28338         * signal/Makefile: Likewise.
28339         * debug/Makefile: Likewise.
28340         * elf/Makefile: Likewise.
28341         * timezone/Makefile: Likewise.
28342         * stdlib/Makefile: Likewise.
28343         * iconvdata/Makefile: Likewise.
28344         * sunrpc/Makefile: Likewise.
28345         * io/Makefile: Likewise.
28346         * argp/Makefile: Likewise.
28347         * inet/Makefile: Likewise.
28348         * hesiod/Makefile: Likewise.
28349         * grp/Makefile: Likewise.
28350         * csu/Makefile: Likewise.
28351         * wctype/Makefile: Likewise.
28352         * crypt/Makefile: Likewise.
28353         * libio/Makefile: Likewise.
28354         * string/Makefile: Likewise.
28355         * nis/Makefile: Likewise.
28356         * resolv/Makefile: Likewise.
28357         * stdio-common/Makefile: Likewise.
28358         * wcsmbs/Makefile: Likewise.
28359         * dlfcn/Makefile: Likewise.
28360         * posix/Makefile: Likewise.
28362         [BZ #6959]
28363         * timezone/Makefile: Don't install timezone files, just the programs
28364         and scripts.
28366 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28368         * nss/databases.def: Add missing gshadow entry.
28370         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28372 2012-03-06  Marek Polacek  <polacek@redhat.com>
28374         [BZ #13726]
28375         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28376         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28377         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28378         * stdio-common/tst-long-dbl-fphex.c: New file.
28380 2012-03-06  David S. Miller  <davem@davemloft.net>
28382         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28383         (set_obp_int): New function.
28384         (get_obp_int): New function.
28385         (__get_clockfreq_via_dev_openprom): Likewise.
28386         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28387         Avoid unused variable warnings on 'val' and use builtin_expect.
28388         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28389         __builtin_expect.
28390         (INLINE_CLONE_SYSCALL): Likewise.
28392 2012-03-05  David S. Miller  <davem@davemloft.net>
28394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28396 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28400         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28401         only for |x| >= 40.
28402         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28404 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28406         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28407         Replace gettimeofday with __vdso_gettimeofday.
28409         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28410         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28411         __vdso_clock_gettime and __vdso_getcpu.
28413         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28414         time with __vdso_time.
28416 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28418         * manual/lang.texi (size_t): Note types to which size_t may be
28419         equivalent with the GNU C Library, but do not describe when
28420         differences between them are significant.
28422 2012-03-05  Andreas Jaeger  <aj@suse.de>
28424         * sysdeps/i386/fpu/libm-test-ulps: Update.
28426 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28428         [BZ #3976]
28429         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28430         (__ieee754_pow): Save and restore rounding mode and use
28431         round-to-nearest for main computations.
28432         * math/libm-test.inc (pow_test_tonearest): New function.
28433         (pow_test_towardzero): Likewise.
28434         (pow_test_downward): Likewise.
28435         (pow_test_upward): Likewise.
28436         (main): Call the new functions.
28437         * sysdeps/i386/fpu/libm-test-ulps: Update.
28438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28440         [BZ #3976]
28441         * math/libm-test.inc (cosh_test_tonearest): New function.
28442         (cosh_test_towardzero): Likewise.
28443         (cosh_test_downward): Likewise.
28444         (cosh_test_upward): Likewise.
28445         (sinh_test_tonearest): Likewise.
28446         (sinh_test_towardzero): Likewise.
28447         (sinh_test_downward): Likewise.
28448         (sinh_test_upward): Likewise.
28449         (main): Call the new functions.
28450         * sysdeps/i386/fpu/libm-test-ulps: Update.
28451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28453 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28455         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28456         default stack guard is set in last bytes.
28457         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28459 2012-03-05  Kees Cook  <keescook@chromium.org>
28461         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28463         [BZ #13656]
28464         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28465         possibly allocate from heap instead of stack.
28466         * stdio-common/bug-vfprintf-nargs.c: New file.
28467         * stdio-common/Makefile (tests): Add nargs overflow test.
28469 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
28471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28473 2012-03-03  Marek Polacek  <polacek@redhat.com>
28475         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28476         * math/math_private.h: Likewise.
28477         * stdlib/tst-strtod.c: Likewise.
28478         * sysdeps/i386/i486/bits/atomic.h: Likewise.
28479         * sysdeps/x86_64/bits/atomic.h: Likewise.
28481 2012-03-02  David S. Miller  <davem@davemloft.net>
28483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28487         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28488         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28489         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28490         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28492 2012-03-02  Roland McGrath  <roland@hack.frob.com>
28494         [BZ #13792]
28495         * manual/examples/README: New file, says the example source files
28496         can be used under GPL>=2.
28497         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28498         line containing just "*/".
28499         * manual/examples/add.c: Add copyright header (GPL>=2).
28500         * manual/examples/argp-ex1.c: Likewise.
28501         * manual/examples/argp-ex2.c: Likewise.
28502         * manual/examples/argp-ex3.c: Likewise.
28503         * manual/examples/argp-ex4.c: Likewise.
28504         * manual/examples/atexit.c: Likewise.
28505         * manual/examples/db.c: Likewise.
28506         * manual/examples/dir.c: Likewise.
28507         * manual/examples/dir2.c: Likewise.
28508         * manual/examples/execinfo.c: Likewise.
28509         * manual/examples/filecli.c: Likewise.
28510         * manual/examples/filesrv.c: Likewise.
28511         * manual/examples/fmtmsgexpl.c: Likewise.
28512         * manual/examples/genpass.c: Likewise.
28513         * manual/examples/inetcli.c: Likewise.
28514         * manual/examples/inetsrv.c: Likewise.
28515         * manual/examples/isockad.c: Likewise.
28516         * manual/examples/longopt.c: Likewise.
28517         * manual/examples/memopen.c: Likewise.
28518         * manual/examples/memstrm.c: Likewise.
28519         * manual/examples/mkfsock.c: Likewise.
28520         * manual/examples/mkisock.c: Likewise.
28521         * manual/examples/mygetpass.c: Likewise.
28522         * manual/examples/pipe.c: Likewise.
28523         * manual/examples/popen.c: Likewise.
28524         * manual/examples/rprintf.c: Likewise.
28525         * manual/examples/search.c: Likewise.
28526         * manual/examples/select.c: Likewise.
28527         * manual/examples/setjmp.c: Likewise.
28528         * manual/examples/sigh1.c: Likewise.
28529         * manual/examples/sigusr.c: Likewise.
28530         * manual/examples/stpcpy.c: Likewise.
28531         * manual/examples/strdupa.c: Likewise.
28532         * manual/examples/strftim.c: Likewise.
28533         * manual/examples/strncat.c: Likewise.
28534         * manual/examples/subopt.c: Likewise.
28535         * manual/examples/swapcontext.c: Likewise.
28536         * manual/examples/termios.c: Likewise.
28537         * manual/examples/testopt.c: Likewise.
28538         * manual/examples/testpass.c: Likewise.
28539         * manual/examples/timeval_subtract.c: Likewise.
28541         [BZ #13792]
28542         * manual/time.texi (Elapsed Time): Move timeval_subtract example
28543         function to ...
28544         * manual/timeval_subtract.c.texi: ... here, new file.
28546 2012-03-02  David S. Miller  <davem@davemloft.net>
28548         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28550 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
28552         [BZ #3976]
28553         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28554         (__sin): Save and restore rounding mode and use round-to-nearest
28555         for all computations.
28556         (__cos): Save and restore rounding mode and use round-to-nearest
28557         for all computations.
28558         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28559         <fenv.h>.
28560         (tan): Save and restore rounding mode and use round-to-nearest for
28561         all computations.
28562         * math/libm-test.inc (cos_test_tonearest): New function.
28563         (cos_test_towardzero): Likewise.
28564         (cos_test_downward): Likewise.
28565         (cos_test_upward): Likewise.
28566         (sin_test_tonearest): Likewise.
28567         (sin_test_towardzero): Likewise.
28568         (sin_test_downward): Likewise.
28569         (sin_test_upward): Likewise.
28570         (tan_test_tonearest): Likewise.
28571         (tan_test_towardzero): Likewise.
28572         (tan_test_downward): Likewise.
28573         (tan_test_upward): Likewise.
28574         (main): Call the new functions.
28575         * sysdeps/i386/fpu/libm-test-ulps: Update.
28576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28578         [BZ #10135]
28579         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28580         small n, then large n, before computing and testing k+n.
28581         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28582         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28583         Likewise.
28584         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28585         Likewise.
28586         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28587         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28588         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28589         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28590         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28591         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28592         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28593         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28594         * math/libm-test.inc (scalbn_test): Add more tests.
28595         (scalbln_test): Likewise.
28597         * manual/filesys.texi (mode_t): Describe constraints on size and
28598         signedness, not exact equivalence to a particular type.
28599         (ino_t): Likewise.
28600         (ino64_t): Likewise.
28601         (dev_t): Likewise.
28602         (nlink_t): Likewise.
28603         (blkcnt_t): Likewise.
28604         (blkcnt64_t): Likewise.
28605         * manual/llio.texi (off_t): Likewise.
28607         [BZ #3976]
28608         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28609         (__ieee754_exp): Save and restore rounding mode and use
28610         round-to-nearest for all computations.
28611         * math/libm-test.inc (exp_test_tonearest): New function.
28612         (exp_test_towardzero): Likewise.
28613         (exp_test_downward): Likewise.
28614         (exp_test_upward): Likewise.
28615         (main): Call the new functions.
28616         * sysdeps/i386/fpu/libm-test-ulps: Update.
28617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28619 2012-03-01  Chris Demetriou  <cgd@google.com>
28621         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28622         have predictable order.
28624 2012-03-01  David S. Miller  <davem@davemloft.net>
28626         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28628         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28629         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28630         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28631         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28633         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28634         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28635         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28637         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28638         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28639         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28640         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28641         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28645         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28646         * sysdeps/sparc/fpu/libm-test-ulps: to here.
28647         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28649         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28650         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28651         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28652         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28653         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28654         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28655         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28656         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28657         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28658         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28659         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28660         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28661         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28662         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28663         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28664         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28665         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28666         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28667         * sysdeps/sparc/elf/configure: Regenerated.
28669 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
28671         * configure.in (AS, LD): Require binutils 2.20 or later.
28672         * configure: Regenerated.
28673         * manual/install.texi (Tools for Compilation): Give binutils 2.20
28674         as required minimum version.
28675         * INSTALL: Regenerated.
28677         [BZ #2541]
28678         [BZ #4108]
28679         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28680         before squaring exponent.
28681         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28682         bottom long double and 27 bits of top long double before squaring
28683         exponent.
28684         * math/libm-test.inc (erfc_test): Add more tests.
28685         * sysdeps/i386/fpu/libm-test-ulps: Update.
28686         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28689 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28691         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28692         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28693         containing bit-fields.
28694         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28695         * soft-fp/single.h (_FP_UNION_S): Likewise.
28696         * soft-fp/double.h (_FP_UNION_D): Likewise.
28698 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28700         [BZ #13786]
28701         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28702         not include ../strcmp.S.
28703         [USE_AS_STRNCASECMP_L]: Likewise.
28704         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28705         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28706         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28707         (__strncasecmp_l_ia32): Define as alias to
28708         __strncasecmp_l_nonascii.
28710         [BZ #5794]
28711         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28712         * sysdeps/i386/fpu/libm-test-ulps: Update.
28713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28715         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28718 2012-02-29  Jeff Law  <law@redhat.com>
28720         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28721         out of bounds read.
28723 2012-02-29  Marek Polacek  <polacek@redhat.com>
28725         [BZ #13706]
28726         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28727         * elf/Makefile: Add rules to run tst-unused-dep.out.
28729 2012-02-28  David S. Miller  <davem@davemloft.net>
28731         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28732         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28733         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28734         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28735         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28736         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28738 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28740         * math/libm-test.inc (llround_test): Move one test from
28741         lround_test.  Use TEST_f_L in moved test.
28742         (lround_test): Move misplaced test to llround_test.  Add testcase
28743         from bug 2561.
28745 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28747         * sysdeps/x86_64/fpu/e_expf.S: New file.
28748         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28750 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28752         [BZ #13637]
28753         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28754         of remain_len that may cause incomplete multi-byte character and
28755         false match.
28756         * posix/bug-regex33.c: New file.
28757         * posix/Makefile (tests): Add bug-regex33.
28759 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28761         * manual/macros.texi: New file.
28762         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28763         * manual/libc.texinfo: Include macros.texi.
28764         * manual/creatute.texi: Likewise.
28765         * manual/install.texi: Likewise.
28766         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28767         @glibcadj{} in references to the GNU C Library.
28768         * manual/charset.texi: Likewise.
28769         * manual/conf.texi: Likewise.
28770         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28771         when not using those macros.
28772         * manual/creature.texi: Likewise.
28773         * manual/crypt.texi: Likewise.
28774         * manual/errno.texi: Likewise.
28775         * manual/filesys.texi: Likewise.
28776         * manual/header.texi: Likewise.
28777         * manual/install.texi: Likewise.
28778         * manual/intro.texi: Likewise.
28779         * manual/io.texi: Likewise.
28780         * manual/job.texi: Likewise.
28781         * manual/lang.texi: Likewise.
28782         * manual/libc.texiinfo: Likewise.
28783         * manual/llio.texi: Likewise.
28784         * manual/locale.texi: Likewise.
28785         * manual/maint.texi: Likewise.
28786         * manual/math.texi: Likewise.
28787         * manual/memory.texi: Likewise.
28788         * manual/message.texi: Likewise.
28789         * manual/nss.texi: Likewise.
28790         * manual/pattern.texi: Likewise.
28791         * manual/process.texi: Likewise.
28792         * manual/resource.texi: Likewise.
28793         * manual/search.texi: Likewise.
28794         * manual/setjmp.texi: Likewise.
28795         * manual/signal.texi: Likewise.
28796         * manual/socket.texi: Likewise.
28797         * manual/startup.texi: Likewise.
28798         * manual/stdio.texi: Likewise.
28799         * manual/string.texi: Likewise.
28800         * manual/sysinfo.texi: Likewise.
28801         * manual/syslog.texi: Likewise.
28802         * manual/terminal.texi: Likewise.
28803         * manual/time.texi: Likewise.
28804         * manual/users.texi: Likewise.
28805         * INSTALL: Regenerated.
28806         * NOTES: Regenerated.
28807         * sysdeps/gnu/errlist.c: Regenerated.
28809 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28811         * include/dirent.h: Include <dirstream.h> before
28812         <dirent/dirent.h>.
28814 2012-02-28  David S. Miller  <davem@davemloft.net>
28816         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28817         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28818         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28819         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28821 2012-02-27  David S. Miller  <davem@davemloft.net>
28823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28825         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28826         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28829         frame pointer instead of stack pointer relative arg slot.
28830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28831         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28832         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28834 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28836         [BZ #3992]
28837         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28839 2012-02-27  David S. Miller  <davem@davemloft.net>
28841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28845         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28846         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28847         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28848         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28850 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28852         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28853         later.  Allow versions 5-9.
28854         * configure: Regenerated.
28855         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28856         required minimum version and 4.6 as recommended version.  Do not
28857         mention bugs in GCC 2.7 and 2.8.
28858         * INSTALL: Regenerated.
28860 2012-02-27  David S. Miller  <davem@davemloft.net>
28862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28866         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28867         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28868         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28869         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28871         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28872         manipulate bits before adding and subtracting TWO112[sx].
28873         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28875 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28877         [BZ #13775]
28878         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28879         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28880         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28881         being in POSIX, because they are in 1003.1-2008.
28883         * rt/tst-aio.c: Include <fcntl.h>.
28884         * rt/tst-aio7.c: Likewise.
28885         * rt/tst-aio64.c: Likewise.
28887         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28889 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28891         * manual/install.texi (--with-headers): Describe headers as
28892         interface headers, not private headers.
28893         (Specific advice for GNU/Linux systems): Describe use of headers
28894         from "make headers_install", not private headers from older
28895         kernels.
28896         * INSTALL: Regenerated.
28897         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28898         Change to 2.6.19.
28899         * sysdeps/unix/sysv/linux/configure: Regenerated.
28901         * manual/llio.texi (fclean): Remove documentation.
28903         * manual/Makefile (libc-texi-generated): New variable.  Include
28904         version.texi.
28905         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28906         $(libc-texi-generated), not duplicated list of files.
28907         (version.texi, stamp-version): New rules.
28908         (realclean): Remove $(libc-texi-generated), not individual files
28909         from that list.  Do not remove dir-add.texinfo.
28910         * manual/libc.texinfo: Comment out uses of edition numbers and
28911         references to printed manual.  Remove last-updated dates.
28912         (EDITION): Comment out.
28913         (ISBN): Likewise.
28914         (VERSION, UPDATED): Remove.
28915         (version.texi): Include.
28917 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
28919         * sysdeps/posix/spawni.c: Include <signal.h>.
28920         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28921         * sysdeps/pthread/aio_fsync.c: Likewise.
28923 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
28925         * conform/Makefile (tests): Run only when not cross-compiling and
28926         when fast-check is not defined.
28928         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28929         * conform/data/limits.h-data: Fixes for POSIX2008.
28930         * conform/run-conformtest.sh: Run all tests.
28931         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28932         headers.
28933         * include/bits/dlfcn.h: Likewise.
28934         * include/langinfo.h: Likewise.
28935         * include/monetary.h: Likewise.
28936         * include/sys/poll.h: Likewise.
28938         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28939         for __USE_GNU.
28940         * posix/spawn.h: Define __need_sigset_t.
28941         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28942         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28943         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
28944         to get sigevent_t only.
28945         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28946         only for __USE_GNU.
28947         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28948         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28949         process_vm_writev only for __USE_GNU.
28950         * termios/termios.h: Declare tcgetsid also for POSIX2008.
28952         * conform/Makefile: For now ignore errors from run-conformtest.
28953         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
28954         POSIX to avoid namespace pollution.  Don't prepend headers.
28955         * conform/data/aio.h-data: Fixes for POSIX testing.
28956         * conform/data/fcntl.h-data: Likewise.
28957         * conform/data/glob.h-data: Likewise.
28958         * conform/data/grp.h-data: Likewise.
28959         * conform/data/pthread.h-data: Likewise.
28960         * conform/data/pwd.h-data: Likewise.
28961         * conform/data/signal.h-data: Likewise.
28962         * conform/data/spawn.h-data: Likewise.
28963         * conform/data/stdio.h-data: Likewise.
28964         * conform/data/stdlib.h-data: Likewise.
28965         * conform/data/stropts.h-data: Likewise.
28966         * conform/data/sys/mman.h-data: Likewise.
28967         * conform/data/sys/stat.h-data: Likewise.
28968         * conform/data/sys/types.h-data: Likewise.
28969         * conform/data/sys/wait.h-data: Likewise.
28970         * conform/data/time.h-data: Likewise.
28971         * conform/data/unistd.h-data: Likewise.
28972         * conform/data/utime.h-data: Likewise.
28974         * io/sys/stat.h: fchmod was always in POSIX.
28975         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28976         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28977         * rt/aio.h: Define __need_timespec before including <time.h>.
28978         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28979         struct.  Add forward declaration of pthread_attr_t and use it in
28980         sigevent.
28981         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28982         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28983         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28984         always remove CLK_TCK definition.
28986 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
28988         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28990 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
28992         * conform/run-conformtest.sh: New file.
28993         * conform/Makefile: Run run-conformtest for tests.
28994         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
28995         support.
28997         * conform/data/uchar.h-data: New file.
28998         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28999         * conform/data/arpa/inet.h-data: Likewise.
29000         * conform/data/assert.h-data: Likewise.
29001         * conform/data/complex.h-data: Likewise.
29002         * conform/data/cpio.h-data: Likewise.
29003         * conform/data/ctype.h-data: Likewise.
29004         * conform/data/dirent.h-data: Likewise.
29005         * conform/data/dlfcn.h-data: Likewise.
29006         * conform/data/errno.h-data: Likewise.
29007         * conform/data/fcntl.h-data: Likewise.
29008         * conform/data/float.h-data: Likewise.
29009         * conform/data/fmtmsg.h-data: Likewise.
29010         * conform/data/fnmatch.h-data: Likewise.
29011         * conform/data/ftw.h-data: Likewise.
29012         * conform/data/glob.h-data: Likewise.
29013         * conform/data/grp.h-data: Likewise.
29014         * conform/data/iconv.h-data: Likewise.
29015         * conform/data/inttypes.h-data: Likewise.
29016         * conform/data/langinfo.h-data: Likewise.
29017         * conform/data/libgen.h-data: Likewise.
29018         * conform/data/limits.h-data: Likewise.
29019         * conform/data/locale.h-data: Likewise.
29020         * conform/data/math.h-data: Likewise.
29021         * conform/data/monetary.h-data: Likewise.
29022         * conform/data/mqueue.h-data: Likewise.
29023         * conform/data/ndbm.h-data: Likewise.
29024         * conform/data/net/if.h-data: Likewise.
29025         * conform/data/netdb.h-data: Likewise.
29026         * conform/data/netinet/in.h-data: Likewise.
29027         * conform/data/nl_types.h-data: Likewise.
29028         * conform/data/poll.h-data: Likewise.
29029         * conform/data/pthread.h-data: Likewise.
29030         * conform/data/pwd.h-data: Likewise.
29031         * conform/data/regex.h-data: Likewise.
29032         * conform/data/sched.h-data: Likewise.
29033         * conform/data/search.h-data: Likewise.
29034         * conform/data/semaphore.h-data: Likewise.
29035         * conform/data/setjmp.h-data: Likewise.
29036         * conform/data/signal.h-data: Likewise.
29037         * conform/data/spawn.h-data: Likewise.
29038         * conform/data/stdarg.h-data: Likewise.
29039         * conform/data/stdio.h-data: Likewise.
29040         * conform/data/stdlib.h-data: Likewise.
29041         * conform/data/string.h-data: Likewise.
29042         * conform/data/strings.h-data: Likewise.
29043         * conform/data/stropts.h-data: Likewise.
29044         * conform/data/sys/ipc.h-data: Likewise.
29045         * conform/data/sys/mman.h-data: Likewise.
29046         * conform/data/sys/msg.h-data: Likewise.
29047         * conform/data/sys/resource.h-data: Likewise.
29048         * conform/data/sys/select.h-data: Likewise.
29049         * conform/data/sys/sem.h-data: Likewise.
29050         * conform/data/sys/shm.h-data: Likewise.
29051         * conform/data/sys/socket.h-data: Likewise.
29052         * conform/data/sys/stat.h-data: Likewise.
29053         * conform/data/sys/statvfs.h-data: Likewise.
29054         * conform/data/sys/time.h-data: Likewise.
29055         * conform/data/sys/timeb.h-data: Likewise.
29056         * conform/data/sys/times.h-data: Likewise.
29057         * conform/data/sys/types.h-data: Likewise.
29058         * conform/data/sys/uio.h-data: Likewise.
29059         * conform/data/sys/un.h-data: Likewise.
29060         * conform/data/sys/utsname.h-data: Likewise.
29061         * conform/data/sys/wait.h-data: Likewise.
29062         * conform/data/syslog.h-data: Likewise.
29063         * conform/data/tar.h-data: Likewise.
29064         * conform/data/termios.h-data: Likewise.
29065         * conform/data/utime.h-data: Likewise.
29066         * conform/data/utmpx.h-data: Likewise.
29067         * conform/data/varargs.h-data: Likewise.
29068         * conform/data/wchar.h-data: Likewise.
29069         * conform/data/wctype.h-data: Likewise.
29070         * conform/data/wordexp.h-data: Likewise.
29072         * include/stropts.h: New file.
29073         * include/uchar.h: New file.
29074         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29075         * include/assert.h: Likewise.
29076         * include/ctype.h: Likewise.
29077         * include/dirent.h: Likewise.
29078         * include/dlfcn.h: Likewise.
29079         * include/fcntl.h: Likewise.
29080         * include/fnmatch.h: Likewise.
29081         * include/glob.h: Likewise.
29082         * include/grp.h: Likewise.
29083         * include/libio.h: Likewise.
29084         * include/locale.h: Likewise.
29085         * include/math.h: Likewise.
29086         * include/net/if.h: Likewise.
29087         * include/netdb.h: Likewise.
29088         * include/netinet/in.h: Likewise.
29089         * include/pthread.h: Likewise.
29090         * include/pwd.h: Likewise.
29091         * include/regex.h: Likewise.
29092         * include/sched.h: Likewise.
29093         * include/search.h: Likewise.
29094         * include/setjmp.h: Likewise.
29095         * include/signal.h: Likewise.
29096         * include/stdio.h: Likewise.
29097         * include/stdlib.h: Likewise.
29098         * include/string.h: Likewise.
29099         * include/sys/cdefs.h: Likewise.
29100         * include/sys/mman.h: Likewise.
29101         * include/sys/msg.h: Likewise.
29102         * include/sys/resource.h: Likewise.
29103         * include/sys/select.h: Likewise.
29104         * include/sys/socket.h: Likewise.
29105         * include/sys/stat.h: Likewise.
29106         * include/sys/statvfs.h: Likewise.
29107         * include/sys/time.h: Likewise.
29108         * include/sys/times.h: Likewise.
29109         * include/sys/uio.h: Likewise.
29110         * include/sys/utsname.h: Likewise.
29111         * include/sys/wait.h: Likewise.
29112         * include/termios.h: Likewise.
29113         * include/time.h: Likewise.
29114         * include/ulimit.h: Likewise.
29115         * include/unistd.h: Likewise.
29116         * include/utime.h: Likewise.
29117         * include/wchar.h: Likewise.
29118         * include/wctype.h: Likewise.
29119         * include/wordexp.h: Likewise.
29121         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29123         * time/time.h: TIME_UTC must be a macro.
29124         Make timespec_get available for ISO C11 only as well.
29126 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29128         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29129         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29131 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29133         * configure.in: Use -o not -a in test for unsupported multi-arch.
29135 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29137         * manual/texinfo.tex: Update to version 2012-01-19.16.
29139 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29141         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29143 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29145         [BZ #13738]
29146         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29147         * manual/fdl-1.3.texi: New file.
29148         * manual/fdl-1.1.texi: File removed.
29150         [BZ #13738]
29151         * manual/libc.texinfo (FDL_VERSION): New @set.
29152         Use it for mention of FDL in cover text.
29153         (Documentation License): Use it in @include file name.
29155 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29156             Roland McGrath  <roland@hack.frob.com>
29158         [BZ #5461]
29159         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29160         not LONG_LONG_MAX and LONG_LONG_MIN.
29161         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29162         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29163         name.
29164         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29166 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29168         [BZ #2547]
29169         [BZ #11365]
29170         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29171         manipulate bits before adding and subtracting TWO23[sx].
29172         * math/libm-test.inc (nearbyint_test): Add more tests.
29174 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29176         [BZ #2548]
29177         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29178         bits before adding and subtracting TWO23[sx].
29179         * math/libm-test.inc (rint_test): Add more tests.
29180         (rint_test_tonearest): Likewise.
29181         (rint_test_towardzero): Likewise.
29182         (rint_test_downward): Likewise.
29183         (rint_test_upward: Likewise.
29185 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29187         [BZ #10110]
29188         * include/stdc-predef.h: New file.  Extracted from features.h.
29189         * include/features.h: Include stdc-predef.h.
29190         * Makefile (headers): Add stdc-predef.h.
29191         * CONFORMANCE (Compiler limitations): Update.
29193 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29195         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29197 2012-02-21  David S. Miller  <davem@davemloft.net>
29199         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29200         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29202 2012-02-20  David S. Miller  <davem@davemloft.net>
29204         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29205         using a normal save/restore sequence, rather than allocating a
29206         dummy stack frame just to store a frame pointer and restore.
29207         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29209 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29211         * manual/install.texi: Fix stray word in line-wrapped comment.
29213 2012-02-20  David S. Miller  <davem@davemloft.net>
29215         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29216         both binutils and gcc support GOTDATA.
29218         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29219         "rd %pc" in the PIC register setup sequences.
29221         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29222         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29223         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29224         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29225         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29226         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29227         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29228         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29229         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29230         (SYSCALL_ERROR_HANDLER): Likewise.
29231         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29232         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29234         (SYSCALL_ERROR_HANDLER): Likewise.
29236         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29237         (HAVE_GCC_GOTDATA): New.
29238         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29239         relocation support in both binutils and gcc.
29240         * sysdeps/sparc/elf/configure: Regenerate.
29242         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29243         * sysdeps/sparc/sparc32/elf/configure: Delete.
29244         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29245         * sysdeps/sparc/sparc64/elf/configure: Delete.
29246         * sysdeps/sparc/elf/configure.in: New file.
29247         * sysdeps/sparc/elf/configure: Generate.
29249         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29250         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29251         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29252         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29253         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29255 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29257         * manual/install.texi: Do not mention specific glibc version
29258         numbers.
29259         * manual/libc.texinfo (VERSION, UPDATED): Update.
29260         (@copying): Use @copyright{} and range of years.
29262 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29264         [BZ #13695]
29265         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29266         [crti.S not in sysdirs] (generated): Do not append.
29267         [crti.S not in sysdirs] (omit-deps): Likewise.
29268         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29269         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29270         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29271         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29272         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29273         Likewise.
29274         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29275         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29276         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29277         * csu/defs.awk: Remove file.
29278         * sysdeps/generic/initfini.c: Likewise.
29279         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29280         variable.
29281         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29282         Likewise.
29284 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29286         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29287         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29288         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29289         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29290         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29291         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29292         <bits/epoll.h>.
29293         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29294         (__EPOLL_PACKED): Define to empty if not defined by
29295         <bits/epoll.h>.
29296         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29298         bits/epoll.h.
29300 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29302         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29303         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29304         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29305         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29306         <bits/timerfd.h>.
29307         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29308         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29309         bits/timerfd.h.
29311 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29313         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29314         in C locale.
29315         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29316         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29317         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29320 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29322         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29323         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29325 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29327         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29328         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29329         defined.
29330         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29331         Likewise.
29332         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29333         entry for 2.16.
29335 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29337         * math/w_acos.c: Use non-signaling floating-point comparisons.
29338         * math/w_acosf.c: Likewise.
29339         * math/w_acosh.c: Likewise.
29340         * math/w_acoshf.c: Likewise.
29341         * math/w_acoshl.c: Likewise.
29342         * math/w_acosl.c: Likewise.
29343         * math/w_asin.c: Likewise.
29344         * math/w_asinf.c: Likewise.
29345         * math/w_asinl.c: Likewise.
29346         * math/w_atanh.c: Likewise.
29347         * math/w_atanhf.c: Likewise.
29348         * math/w_atanhl.c: Likewise.
29349         * math/w_exp2.c: Likewise.
29350         * math/w_exp2f.c: Likewise.
29351         * math/w_exp2l.c: Likewise.
29352         * math/w_j0.c: Likewise.
29353         * math/w_j0f.c: Likewise.
29354         * math/w_j0l.c: Likewise.
29355         * math/w_j1.c: Likewise.
29356         * math/w_j1f.c: Likewise.
29357         * math/w_j1l.c: Likewise.
29358         * math/w_jn.c: Likewise.
29359         * math/w_jnf.c: Likewise.
29360         * math/w_log.c: Likewise.
29361         * math/w_log10.c: Likewise.
29362         * math/w_log10f.c: Likewise.
29363         * math/w_log10l.c: Likewise.
29364         * math/w_log2.c: Likewise.
29365         * math/w_log2f.c: Likewise.
29366         * math/w_log2l.c: Likewise.
29367         * math/w_logf.c: Likewise.
29368         * math/w_logl.c: Likewise.
29369         * math/w_sqrt.c: Likewise.
29370         * math/w_sqrtf.c: Likewise.
29371         * math/w_sqrtl.c: Likewise.
29372         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29373         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29374         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29375         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29376         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29378 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29380         [BZ #9739]
29381         * manual/string.texi (strnlen): Use correct parameter name in
29382         equivalent expression.
29384 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29386         [BZ #11174]
29387         * manual/users.texi (seteuid): Consistently use neweuid for
29388         argument name.
29390 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29392         [BZ #13704]
29393         * manual/nss.texi (Services in the NSS configuration): Correct
29394         list of services in example configuration file.
29396 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29398         [BZ #11322]
29399         * manual/arith.texi: Remove statements about negative zero
29400         behaving identically to zero.
29402 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29404         [BZ #5993]
29405         * manual/install.texi: Do not document upgrading from libc5.
29407 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29409         [BZ #4596]
29410         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29412 2012-02-18  David S. Miller  <davem@davemloft.net>
29414         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29415         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29416         %o7 across the call.
29417         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29418         instead.
29419         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29420         SETUP_PIC_REG_LEAF.
29421         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29422         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29423         * sysdeps/sparc/crtn.S: Likewise.
29425 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29427         * aout/Makefile: Remove.
29429 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29431         [BZ #13058]
29432         * manual/examples/argp-ex1.c (main): Format definition in GNU
29433         style.
29434         * manual/examples/argp-ex2.c (main): Likewise.
29435         * manual/examples/argp-ex3.c (main): Likewise.
29436         * manual/examples/argp-ex4.c (main): Likewise.
29437         * manual/examples/longopt.c (main): Use new-style prototype
29438         definition.
29439         * manual/examples/strncat.c (main): Specify return type and use
29440         (void) for arguments.
29441         * manual/examples/subopt.c (main): Use char **argv argument.
29443 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29445         [BZ #5077]
29446         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29447         rounding modes.
29449 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29451         [BZ #6907]
29452         * manual/string.texi (strchr): Change when strchrnul is
29453         recommended.
29455 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29457         [BZ #174]
29458         * manual/locale.texi (setlocale): Document LOCPATH.
29460 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29462         [BZ #10210]
29463         * manual/process.texi (execle): Move @dots{} before last argument.
29465 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
29467         [BZ #12047]
29468         * manual/charset.texi (Generic Charset Conversion): Fix typo
29469         (LC_TYPE -> LC_CTYPE).
29471 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
29473         [BZ #5805]
29474         * manual/arith.texi (scalbn): Use @var{} on parameter names.
29475         (scalbnf): Likewise.
29476         (scalbnl): Likewise.
29477         (scalbln): Likewise.
29478         (scalblnf): Likewise.
29479         (scalblnl): Likewise.
29480         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29481         (vwarnx): Likewise.
29482         (verr): Likewise.
29483         (verrx): Likewise.
29484         * manual/filesys.texi (telldir): Use braces around return type.
29485         * manual/llio.texi (mmap): Add space after comma.
29486         (mmap64): Likewise.
29487         * manual/math.texi (jn): Use @var{} on parameter names.
29488         (jnf): Likewise.
29489         (jnl): Likewise.
29490         (yn): Likewise.
29491         (ynf): Likewise.
29492         (ynl): Likewise.
29493         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29494         line.
29495         * manual/resource.texi (ulimit): Use @dots{} instead of literal
29496         "...".
29497         (sched_get_priority_min): Remove semicolon on @deftypefun line.
29498         (sched_get_priority_max): Likewise.
29499         * manual/signal.texi (sigvec): Add space after comma.
29500         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29501         names.
29502         (if_indextoname): Likewise.
29503         (if_freenameindex): Likewise.
29504         (sendto): Use ',' instead of '.' in prototype.
29505         * manual/startup.texi (syscall): Use @dots{} instead of literal
29506         "...".
29507         * manual/stdio.texi (__fpending): Separate initial words of
29508         paragraph from @deftypefun line.
29509         * manual/syslog.texi (syslog): Use @dots{} instead of literal
29510         "...".
29511         (vsyslog): Use @var{} on parameter names.
29512         * manual/terminal.texi (stty): Use @var{} on parameter names.
29513         * manual/users.texi (getutmp): Use @var{} on parameter names.
29514         (getutmpx): Likewise.
29516 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29518         [BZ #6884]
29519         * manual/stdio.texi (fopen): Fix typos in description of
29520         ",ccs=STRING".
29522 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
29524         [BZ #4026]
29525         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29526         get clock_id definition.
29528 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
29530         [BZ #4822]
29531         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29532         (madvise): Cast every argument to void on its own.
29534 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29536         [BZ #9902]
29537         * manual/startup.texi (Exit Status): Fix typo.
29539 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29541         [BZ #10140]
29542         * manual/examples/argp-ex1.c: Include <stdlib.h>.
29543         * manual/examples/argp-ex2.c: Likewise.
29544         * manual/examples/argp-ex3.c: Likewise.
29546 2012-02-16  Richard Henderson  <rth@redhat.com>
29548         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29549         * sysdeps/s390/s390-32/initfini.c: Remove.
29550         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29551         * sysdeps/s390/s390-64/initfini.c: Remove.
29553 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29555         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29556         compiler output for sysdeps/generic/initfini.c.
29557         * sysdeps/sh/elf/initfini.c: Remove file.
29559 2012-02-16  David S. Miller  <davem@davemloft.net>
29561         [BZ #11494]
29562         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29564         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29565         * sysdeps/sparc/crti.S: New file.
29566         * sysdeps/sparc/crtn.S: New file.
29567         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29568         * sysdeps/sparc/sparc64/Makefile: Likewise.
29570 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
29572         [BZ #3335]
29573         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29575 2012-02-15  Roland McGrath  <roland@hack.frob.com>
29577         [BZ #4822]
29578         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29580         * mach/devstream.c (cookie_io_functions_t): Macro removed.
29581         (write, read, close): Likewise.
29582         Patch by Aurelien Jarno <aurelien@aurel32.net>.
29584 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
29586         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29587         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29588         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29589         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29590         <bits/signalfd.h>.
29591         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29593         bits/signalfd.h.
29595 2012-02-14  Marek Polacek  <polacek@redhat.com>
29597         * sysdeps/x86_64/crti.S: New file.
29598         * sysdeps/x86_64/crtn.S: New file.
29599         * sysdeps/x86_64/elf/initfini.c: Remove file.
29601 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29603         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29604         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29605         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29606         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29607         <bits/inotify.h>.
29608         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29610         bits/inotify.h.
29612 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29614         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29615         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29616         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29617         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29618         <bits/eventfd.h>.
29619         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29620         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29621         bits/eventfd.h.
29623 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
29625         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29626         __feraiseexcept instead of feraiseexcept.
29628         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29629         nanosleep invocations.
29630         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29631         strings, and add error checking for a nanosleep invocations.
29633 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
29635         Replace FSF snail mail address with URLs, as per GNU coding standards.
29636         Most of the snail mail addresses were wrong anyway, and omitting
29637         them makes the source code easier to maintain.  Almost all of the
29638         changes are to license notices and to locale LC_IDENTIFICATION
29639         addresses, except for this one:
29640         * manual/libc.texinfo: In "Published by", give the FSF's URL,
29641         not its snail mail address.
29643 2012-02-09  Richard Henderson  <rth@twiddle.net>
29645         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29646         of kernel-features.h.
29648         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29650 2012-02-08  Marek Polacek  <polacek@redhat.com>
29652         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29653         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29654         * sysdeps/gnu/_G_config.h: Likewise.
29655         * sysdeps/generic/_G_config.h: Likewise.
29657 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
29659         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29660         tests.
29661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29663         * sysdeps/powerpc/powerpc32/crti.S: New file.
29664         * sysdeps/powerpc/powerpc32/crtn.S: New file.
29665         * sysdeps/powerpc/powerpc64/crti.S: New file.
29666         * sysdeps/powerpc/powerpc64/crtn.S: New file.
29668         * Makeconfig (have-initfini): Don't set.
29669         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29670         * configure.in (nopic_initfini): Don't substitute.
29671         * config.h.in (HAVE_INITFINI): Don't #undef.
29672         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29673         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29675 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
29677         Support crti.S and crtn.S provided directly by architectures.
29678         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29679         [crti.S in sysdirs] (omit-deps): Likewise.
29680         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29681         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29682         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29683         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29684         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29685         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29686         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29687         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29688         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29689         compiler output for sysdeps/generic/initfini.c.
29690         * sysdeps/i386/elf/Makefile: Remove file.
29691         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29693 2012-02-07  Marek Polacek  <polacek@redhat.com>
29695         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29696         * sysdeps/gnu/_G_config.h: Likewise.
29697         * sysdeps/mach/hurd/_G_config.h: Likewise.
29699 2012-02-07  Marek Polacek  <polacek@redhat.com>
29701         * math/Makefile (tests): Add tst-CMPLX2.
29702         * math/tst-CMPLX2.c: New file.
29704 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29706         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29708         * math/libm-test.inc (jn_test): Add missing L suffix.
29710 2012-02-06  Marek Polacek  <polacek@redhat.com>
29712         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29713         * sysdeps/i386/fpu/e_powf.S: Likewise.
29714         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29715         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29716         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29717         * sysdeps/i386/fpu/e_pow.S: Likewise.
29718         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29719         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29720         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29721         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29722         * sysdeps/i386/fpu/e_log2.S: Likewise.
29723         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29724         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29725         * sysdeps/i386/fpu/e_powl.S: Likewise.
29726         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29727         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29728         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29729         * sysdeps/i386/fpu/e_logl.S: Likewise.
29730         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29731         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29732         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29733         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29734         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29735         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29736         * sysdeps/i386/fpu/e_log.S: Likewise.
29737         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29738         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29739         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29740         * sysdeps/i386/fpu/e_logf.S: Likewise.
29741         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29742         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29743         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29744         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29745         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29746         * sysdeps/i386/fpu/e_log10.S: Likewise.
29747         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29748         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29749         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29750         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29751         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29752         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29753         * sysdeps/i386/asm-syntax.h: Likewise.
29754         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29755         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29756         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29757         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29758         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29759         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29760         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29761         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29762         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29763         * sysdeps/powerpc/sysdep.h: Likewise.
29764         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29765         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29767 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29769         [BZ #411]
29770         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29772 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29774         * sysdeps/i386/sysdep.h: Include <features.h>.
29775         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29776         version.
29778 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29780         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29781         Define.
29782         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29783         LOAD_PIC_REG_STR.
29785 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29787         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29788         (SETUP_PIC_REG): Use GET_PC_THUNK.
29789         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29790         macro.
29792 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29794         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29795         for non-PIC compilation.
29796         (SETUP_PIC_REG): Add .p2align directive.
29797         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29798         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29799         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29800         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29801         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29802         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29803         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29804         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29805         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29806         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29807         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29808         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29809         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29810         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29811         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29812         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29813         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29814         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29815         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29816         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29817         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29818         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29819         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29820         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29821         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29822         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29823         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29824         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29825         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29826         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29827         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29828         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29829         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29830         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29831         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29832         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29833         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29834         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29835         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29836         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29837         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29839 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29841         * math/tst-CMPLX.c: Include <stdio.h>.
29843 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29845         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29846         float.
29847         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29848         * sysdeps/sparc/bits/mathdef.h: Likewise.
29850 2012-01-31  Marek Polacek  <polacek@redhat.com>
29852         * libio/libio.h: Don't define _PARAMS.
29853         * locale/programs/config.h: Don't define PARAMS.
29854         * stdlib/strtol_l.c: Likewise.
29855         (__strtol_l): Remove PARAMS from the prototype.
29857 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29859         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29860         names.  Just use the correct names.  Remove unnecessary wrapper
29861         functions.
29862         * malloc/arena.c: Likewise.
29863         * malloc/hooks.c: Likewise.
29865         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29866         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29867         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29869 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29871         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29872         into tail calls.
29873         (update_get_addr): New function.
29874         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29875         GET_ADDR_MODULE parameter.
29877 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29879         * crypt/cert.c: Remove __STDC__ conditionals.
29880         * crypt/crypt-entry.c: Likewise.
29881         * crypt/crypt_util.c: Likewise.
29882         * libio/filedoalloc.c: Likewise.
29883         * libio/fileops.c: Likewise.
29884         * libio/genops.c: Likewise.
29885         * libio/iofclose.c: Likewise.
29886         * libio/iofdopen.c: Likewise.
29887         * libio/iofopen.c: Likewise.
29888         * libio/iofopen64.c: Likewise.
29889         * libio/iogetdelim.c: Likewise.
29890         * libio/iopopen.c: Likewise.
29891         * libio/obprintf.c: Likewise.
29892         * libio/oldfileops.c: Likewise.
29893         * libio/oldiofclose.c: Likewise.
29894         * libio/oldiofdopen.c: Likewise.
29895         * libio/oldiofopen.c: Likewise.
29896         * libio/oldiopopen.c: Likewise.
29897         * libio/wfiledoalloc.c: Likewise.
29898         * libio/wgenops.c: Likewise.
29899         * locale/programs/xmalloc.c: Likewise.
29900         * misc/syslog.c: Likewise.
29901         * stdio-common/xbug.c: Likewise.
29902         * string/memchr.c: Likewise.
29903         * string/memcmp.c: Likewise.
29904         * string/memrchr.c: Likewise.
29905         * string/rawmemchr.c: Likewise.
29906         * sysdeps/posix/getcwd.c: Likewise.
29907         * time/strftime_l.c: Likewise.
29909 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29911         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29912         * config.make.in (config-cflags-sse2avx): Define.
29913         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29914         Fix typo.
29916 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
29918         * scripts/config.guess: Update from upstream config git repository.
29919         * scripts/config.sub: Likewise.
29921 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
29923         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29924         (EM_NUM): Update.
29925         (R_TILEPRO_*, R_TILEGX_*): New macros.
29927         * scripts/firstversions.awk: Fix bug in version range handling.
29929         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29931         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29933         * include/sys/epoll.h: New file.
29934         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29935         libc_hidden_def.
29937 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
29939         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29940         Avoid unnecessary __WORDSIZE == 64 test.
29941         (fmaxf): Use VEX format if possible.
29942         (fmax): Likewise.
29943         (fminf): Likewise.
29944         (fmin): Likewise.
29946         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29947         * math/math_private.h: Remove libc_fegetround* and
29948         libc_fesetround*.
29949         * sysdeps/i386/configure.in: Check for -msse2avx.
29950         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29951         also if SSE2AVX is defined.
29952         Remove libc_fegetround* and libc_fesetround*.
29953         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29954         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
29955         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29956         of HAS_YMM_USABLE.
29957         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29958         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29959         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29960         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29961         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29963         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29965 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29967         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29968         size is not set.
29969         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29971 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
29973         [BZ #13618]
29974         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29975         relocation.
29976         * Makeconfig (libm): Define.
29977         * elf/Makefile: Add rules to build and run tst-relsort1.
29978         * elf/tst-relsort1.c: New file.
29979         * elf/tst-relsort1mod1.c: New file.
29980         * elf/tst-relsort1mod2.c: New file.
29982 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
29984         * math/s_ldexp.c: Remove __STDC__ conditionals.
29985         * math/s_ldexpf.c: Likewise.
29986         * math/s_ldexpl.c: Likewise.
29987         * math/s_nextafter.c: Likewise.
29988         * math/s_nexttowardf.c: Likewise.
29989         * math/s_significand.c: Likewise.
29990         * math/s_significandf.c: Likewise.
29991         * math/s_significandl.c: Likewise.
29992         * math/w_jnl.c: Likewise.
29993         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29994         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29995         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29996         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29997         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29998         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29999         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30000         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30001         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30002         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30003         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30004         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30005         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30006         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30007         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30008         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30009         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30010         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30011         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30012         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30013         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30014         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30015         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30016         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30017         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30018         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30019         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30020         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30021         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30022         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30023         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30024         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30025         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30026         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30027         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30028         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30029         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30030         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30031         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30032         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30033         * sysdeps/ieee754/k_standard.c: Likewise.
30034         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30035         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30036         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30037         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30038         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30039         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30040         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30041         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30042         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30043         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30044         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30045         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30046         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30047         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30048         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30049         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30050         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30051         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30052         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30053         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30054         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30055         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30056         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30057         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30058         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30059         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30060         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30061         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30062         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30063         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30064         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30065         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30066         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30067         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30068         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30069         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30070         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30071         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30072         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30073         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30074         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30075         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30076         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30077         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30078         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30079         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30080         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30081         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30082         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30083         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30084         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30085         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30086         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30087         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30088         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30089         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30090         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30091         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30092         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30093         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30094         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30095         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30096         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30097         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30098         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30099         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30100         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30101         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30102         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30103         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30104         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30105         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30106         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30107         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30108         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30109         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30110         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30111         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30112         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30113         * sysdeps/ieee754/s_matherr.c: Likewise.
30114         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30115         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30116         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30117         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30119 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30121         * crypt/md5.h: Remove __STDC__ conditionals.
30122         * libio/libioP.h: Likewise.
30123         * locale/programs/config.h: Likewise.
30124         * sysdeps/generic/sysdep.h: Likewise.
30125         * sysdeps/i386/asm-syntax.h: Likewise.
30126         * sysdeps/s390/asm-syntax.h: Likewise.
30127         * sysdeps/unix/sysdep.h: Likewise.
30128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30131 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30133         * libio/libio.h: Remove __STDC__ conditionals.
30134         * malloc/obstack.h: Likewise.
30135         * math/complex.h: Likewise.
30136         * math/math.h: Likewise.
30137         * sysdeps/generic/_G_config.h: Likewise.
30138         * sysdeps/gnu/_G_config.h: Likewise.
30139         * sysdeps/mach/hurd/_G_config.h: Likewise.
30140         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30141         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30142         * sysdeps/sparc/bits/mathdef.h: Likewise.
30144 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30146         [BZ #13583]
30147         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30148         Clean up HAS_* macros.
30149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30150         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30151         possible.
30152         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30153         HAS_AVX.
30154         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30155         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30156         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30157         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30158         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30160 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30162         * elf/tst-unique3.cc (gets): Remove declaration.
30163         * elf/tst-unique3lib.cc (gets): Likewise.
30164         * elf/tst-unique3lib2.cc (gets): Likewise.
30165         * elf/tst-unique4.cc (gets): Likewise.
30167 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30169         * include/stdio.h: Add C++ protection.  Add gets declarations and
30170         definitions.
30171         * debug/tst-chk1.c: Don't declare gets here.
30172         * stdio-common/tst-gets.c: Likewise.
30174 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30176         * posix/glob: Remove directory.
30178 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30180         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30182 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30184         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30185         of the non-standard EPFNOSUPPORT.
30187 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30189         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30190         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30191         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30193 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30195         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30197 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30199         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30200         transient errors.
30201         * nscd/grpcache.c (cache_addgr): Likewise.
30202         * nscd/hstcache.c (cache_addhst): Likewise.
30203         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30204         * nscd/pwdcache.c (cache_addpw): Likewise.
30205         * nscd/servicescache.c (cache_addserv): Likewise.
30207 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30209         * malloc/malloc.c: Various cleanups.
30210         * malloc/hooks.c: Likewise.
30212         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30213         * stdlib/bug-fmtmsg1.c: New file.
30215         * stdlib/fmtmsg.c (init): Add missing unlock.
30216         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30218 2012-01-12  Marek Polacek  <polacek@redhat.com>
30220         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30221         and _GNU_SOURCE.
30223 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30225         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30226         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30227         macro to ensure uniqueness of label name.
30228         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30229         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30231 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30233         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30235         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30236         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30237         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30238         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30240 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30242         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30244         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30245         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30246         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30248         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30250         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30251         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30252         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30253         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30255         * math/bits/math-finite.h: Add ldexp support.
30257 2012-01-10  Marek Polacek  <polacek@redhat.com>
30259         * locale/programs/localedef.h (show_archive_content): Add noreturn
30260         attribute.
30262 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30264         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30266 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30268         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30270         * io/Makefile (headers): Add bits/poll2.h.
30272 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30275         typo #include statement.
30277 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30279         * include/sys/cdefs.h: Define __attribute_alloc_size.
30280         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30281         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30282         * elf/pldd.c: Likewise.
30283         * iconv/iconv_charmap.c: Likewise.
30284         * iconv/iconvconfig.c: Likewise.
30285         * iconv/strtab.c: Likewise.
30286         * locale/programs/locale.c: Likewise.
30287         * locale/programs/localedef.h: Likewise.
30288         * locale/programs/simple-hash.c: Likewise.
30289         * nscd/nscd.h: Likewise.
30290         * nss/makedb.c: Likewise.
30291         * sysdeps/generic/ldconfig.h: Likewise.
30292         * locale/programs/localedef.c: Remove xmalloc prototype.
30293         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30295 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30297         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30298         appropriate.
30300 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30302         * math/Makefile (tests): Add tst-CMPLX.
30303         * math/tst-CMPLX.c: New file.
30305         * math/complex.h (CMPLXL): Fix typo.
30307         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30308         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30309         GLIBC_2.16.
30310         * debug/tst-chk1.c: Add poll and ppoll tests.
30311         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30312         * include/sys/poll.h: Add hidden proto for ppoll.
30313         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30314         * sysdeps/mach/hurd/ppoll.c: Likewise.
30315         * io/ppoll.c: Likewise.
30316         * debug/poll_chk.c: New file.
30317         * debug/ppoll_chk.c: New file.
30318         * include/bits/poll2.h: New file.
30319         * io/bits/poll2.h: New file.
30321         [BZ #1350]
30322         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30324         * configure.in: static is always set to yes.  Remove.
30325         * config.make.in: Don't set build-static.
30326         * Makeconfig: Remove use of build-static.
30327         * dlfcn/Makefile: Likewise.
30328         * elf/Makefile: Likewise.
30329         * math/Makefile: Likewise.
30330         * misc/Makefile: Likewise.
30331         * nptl/Makefile: Likewise.
30332         * sysdeps/mach/hurd/Makefile: Likewise.
30334         * configure.in: PWD_P is not used anymore.
30335         * config.make.in: Remove PWD_P entry.
30337         * configure.in: Remove last remnants of RANLIB.
30338         No need to check for signed size_t anymore.
30339         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30340         and IA-64.
30341         Remove __builtin_expect test because we require at least gcc 3.4.
30342         * aclocal.m4: Likewise.
30344         * wcsmbs/mbrtoc16.c: Implement using towc function.
30345         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30346         * wcsmbs/wcsmbsload.c: Likewise.
30347         * iconv/gconv_simple.c: Likewise.
30348         * iconv/gconv_int.h: Likewise.
30349         * iconv/gconv_builtin.h: Likewise.
30350         * iconv/iconv_prog.c: Remove CHAR16 handling.
30352         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30354         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30356         * configure.in: Remove --with-elf and --enable-bounded options.
30357         Dont set base_machine for ia64.  More non-ELF conditions removed.
30358         Remove testing and setting of leading underscore information.
30359         * config.make.in (build-bounded): Set to no.
30360         * config.h.in: Remove NO_UNDERSCORES entry.
30361         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30362         them.
30363         * csu/start.c: Remove !NO_UNDERSCORE code.
30364         * locale/localeinfo.h: Likewise.
30365         * sysdeps/generic/machine-gmon.h: Likewise.
30366         * sysdeps/generic/sysdep.h: Likewise.
30367         * sysdeps/i386/sysdep.h: Likewise.
30368         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30369         * sysdeps/mach/sysdep.h: Likewise.
30370         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30371         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30372         * sysdeps/sh/sysdep.h: Likewise.
30373         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30374         * sysdeps/unix/i386/sysdep.S: Likewise.
30375         * sysdeps/unix/sparc/start.c: Likewise.
30376         * sysdeps/unix/sparc/sysdep.S: Likewise.
30377         * sysdeps/unix/sparc/sysdep.h: Likewise.
30378         * sysdeps/unix/start.c: Likewise.
30379         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30380         * sysdeps/x86_64/sysdep.h: Likewise.
30382 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30384         [BZ #13553]
30385         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30386         for non-gcc.
30387         * argp/argp-fmtstream.h: Use const instead __const.
30388         * argp/argp.h: Likewise.
30389         * assert/assert.h: Likewise.
30390         * bits/fenv.h: Likewise.
30391         * bits/sched.h: Likewise.
30392         * bits/sigset.h: Likewise.
30393         * bits/sigthread.h: Likewise.
30394         * catgets/nl_types.h: Likewise.
30395         * conform/data/pthread.h-data: Likewise.
30396         * crypt/crypt-private.h: Likewise.
30397         * crypt/crypt.h: Likewise.
30398         * crypt/crypt_util.c: Likewise.
30399         * ctype/ctype.h: Likewise.
30400         * debug/execinfo.h: Likewise.
30401         * debug/mbsnrtowcs_chk.c: Likewise.
30402         * debug/mbsrtowcs_chk.c: Likewise.
30403         * debug/wcsnrtombs_chk.c: Likewise.
30404         * debug/wcsrtombs_chk.c: Likewise.
30405         * debug/wcstombs_chk.c: Likewise.
30406         * dirent/dirent.h: Likewise.
30407         * dlfcn/dlfcn.h: Likewise.
30408         * elf/neededtest4.c: Likewise.
30409         * grp/grp.h: Likewise.
30410         * gshadow/gshadow.h: Likewise.
30411         * iconv/gconv.h: Likewise.
30412         * iconv/gconv_int.h: Likewise.
30413         * iconv/gconv_simple.c: Likewise.
30414         * iconv/iconv.h: Likewise.
30415         * iconv/loop.c: Likewise.
30416         * iconv/skeleton.c: Likewise.
30417         * include/aio.h: Likewise.
30418         * include/aliases.h: Likewise.
30419         * include/argz.h: Likewise.
30420         * include/arpa/inet.h: Likewise.
30421         * include/assert.h: Likewise.
30422         * include/dirent.h: Likewise.
30423         * include/dlfcn.h: Likewise.
30424         * include/execinfo.h: Likewise.
30425         * include/fcntl.h: Likewise.
30426         * include/fenv.h: Likewise.
30427         * include/glob.h: Likewise.
30428         * include/grp.h: Likewise.
30429         * include/libintl.h: Likewise.
30430         * include/mntent.h: Likewise.
30431         * include/netdb.h: Likewise.
30432         * include/pwd.h: Likewise.
30433         * include/rpc/netdb.h: Likewise.
30434         * include/sched.h: Likewise.
30435         * include/search.h: Likewise.
30436         * include/shadow.h: Likewise.
30437         * include/signal.h: Likewise.
30438         * include/stdio.h: Likewise.
30439         * include/stdlib.h: Likewise.
30440         * include/string.h: Likewise.
30441         * include/sys/socket.h: Likewise.
30442         * include/sys/stat.h: Likewise.
30443         * include/sys/statfs.h: Likewise.
30444         * include/sys/statvfs.h: Likewise.
30445         * include/sys/syslog.h: Likewise.
30446         * include/sys/time.h: Likewise.
30447         * include/sys/uio.h: Likewise.
30448         * include/time.h: Likewise.
30449         * include/unistd.h: Likewise.
30450         * include/utmp.h: Likewise.
30451         * include/wchar.h: Likewise.
30452         * include/wctype.h: Likewise.
30453         * inet/aliases.h: Likewise.
30454         * inet/arpa/inet.h: Likewise.
30455         * inet/netinet/ether.h: Likewise.
30456         * inet/netinet/in.h: Likewise.
30457         * intl/libintl.h: Likewise.
30458         * io/bits/fcntl2.h: Likewise.
30459         * io/fcntl.h: Likewise.
30460         * io/ftw.h: Likewise.
30461         * io/sys/poll.h: Likewise.
30462         * io/sys/stat.h: Likewise.
30463         * io/sys/statfs.h: Likewise.
30464         * io/sys/statvfs.h: Likewise.
30465         * io/utime.h: Likewise.
30466         * libio/bits/stdio.h: Likewise.
30467         * libio/bits/stdio2.h: Likewise.
30468         * libio/libio.h: Likewise.
30469         * libio/libioP.h: Likewise.
30470         * libio/stdio.h: Likewise.
30471         * locale/lc-ctype.c: Likewise.
30472         * locale/locale.h: Likewise.
30473         * login/utmp.h: Likewise.
30474         * malloc/arena.c: Likewise.
30475         * malloc/malloc.c: Likewise.
30476         * malloc/malloc.h: Likewise.
30477         * malloc/mcheck.c: Likewise.
30478         * malloc/mtrace.c: Likewise.
30479         * math/bits/mathcalls.h: Likewise.
30480         * math/fenv.h: Likewise.
30481         * math/math_private.h: Likewise.
30482         * misc/bits/error.h: Likewise.
30483         * misc/bits/syslog.h: Likewise.
30484         * misc/err.h: Likewise.
30485         * misc/error.h: Likewise.
30486         * misc/fstab.h: Likewise.
30487         * misc/mntent.h: Likewise.
30488         * misc/regexp.h: Likewise.
30489         * misc/search.h: Likewise.
30490         * misc/sgtty.h: Likewise.
30491         * misc/sys/mman.h: Likewise.
30492         * misc/sys/syslog.h: Likewise.
30493         * misc/sys/uio.h: Likewise.
30494         * misc/sys/xattr.h: Likewise.
30495         * misc/ttyent.h: Likewise.
30496         * nis/rpcsvc/ypclnt.h: Likewise.
30497         * nss/nss.h: Likewise.
30498         * posix/bits/unistd.h: Likewise.
30499         * posix/fnmatch.h: Likewise.
30500         * posix/glob.h: Likewise.
30501         * posix/sched.h: Likewise.
30502         * posix/spawn.h: Likewise.
30503         * posix/sys/wait.h: Likewise.
30504         * posix/unistd.h: Likewise.
30505         * posix/wordexp.h: Likewise.
30506         * pwd/pwd.h: Likewise.
30507         * resolv/netdb.h: Likewise.
30508         * resource/sys/resource.h: Likewise.
30509         * rt/aio.h: Likewise.
30510         * rt/bits/mqueue2.h: Likewise.
30511         * rt/mqueue.h: Likewise.
30512         * shadow/shadow.h: Likewise.
30513         * signal/signal.h: Likewise.
30514         * socket/send.c: Likewise.
30515         * socket/sendto.c: Likewise.
30516         * socket/sys/socket.h: Likewise.
30517         * stdio-common/printf.h: Likewise.
30518         * stdlib/bits/stdlib.h: Likewise.
30519         * stdlib/fmtmsg.h: Likewise.
30520         * stdlib/monetary.h: Likewise.
30521         * stdlib/stdlib.h: Likewise.
30522         * stdlib/ucontext.h: Likewise.
30523         * streams/stropts.h: Likewise.
30524         * string/argz.h: Likewise.
30525         * string/bits/string2.h: Likewise.
30526         * string/string.h: Likewise.
30527         * string/strings.h: Likewise.
30528         * sunrpc/rpc/auth.h: Likewise.
30529         * sunrpc/rpc/auth_des.h: Likewise.
30530         * sunrpc/rpc/clnt.h: Likewise.
30531         * sunrpc/rpc/netdb.h: Likewise.
30532         * sunrpc/rpc/pmap_clnt.h: Likewise.
30533         * sunrpc/rpc/xdr.h: Likewise.
30534         * sysdeps/generic/inttypes.h: Likewise.
30535         * sysdeps/generic/net/if.h: Likewise.
30536         * sysdeps/generic/sys/swap.h: Likewise.
30537         * sysdeps/gnu/net/if.h: Likewise.
30538         * sysdeps/gnu/utmpx.h: Likewise.
30539         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30540         * sysdeps/i386/i486/bits/string.h: Likewise.
30541         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30542         * sysdeps/s390/bits/string.h: Likewise.
30543         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30544         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30545         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30546         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30547         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30548         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30549         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30550         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30551         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30552         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30553         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30554         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30555         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30556         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30557         * sysdeps/unix/sysv/linux/readv.c: Likewise.
30558         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30559         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30560         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30561         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30562         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30563         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30564         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30565         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30566         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30567         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30568         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30569         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30570         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30571         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30572         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30573         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30574         * sysvipc/sys/ipc.h: Likewise.
30575         * sysvipc/sys/msg.h: Likewise.
30576         * sysvipc/sys/sem.h: Likewise.
30577         * sysvipc/sys/shm.h: Likewise.
30578         * termios/termios.h: Likewise.
30579         * time/sys/time.h: Likewise.
30580         * time/time.h: Likewise.
30581         * wcsmbs/bits/wchar2.h: Likewise.
30582         * wcsmbs/uchar.h: Likewise.
30583         * wcsmbs/wchar.h: Likewise.
30584         * wctype/wctype.h: Likewise.
30586         [BZ #13551]
30587         * Makeconfig: Remove all but ELF support including AIX support.
30588         * Makerules: Likewise.
30589         * config.h.in: Likewise.
30590         * config.make.in: Likewise.
30591         * configure: Likewise.
30592         * configure.in: Likewise.
30593         * csu/Makefile: Likewise.
30594         * csu/version.c: Likewise.
30595         * debug/Makefile: Likewise.
30596         * dlfcn/Makefile: Likewise.
30597         * elf/Makefile: Likewise.
30598         * extra-lib.mk: Likewise.
30599         * iconv/Makefile: Likewise.
30600         * include/libc-symbols.h: Likewise.
30601         * include/shlib-compat.h: Likewise.
30602         * resolv/Makefile: Likewise.
30603         * resolv/res_libc.c: Likewise.
30604         * rt/Makefile: Likewise.
30605         * sysdeps/i386/asm-syntax.h: Likewise.
30606         * sysdeps/i386/sysdep.h: Likewise.
30607         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30608         * sysdeps/mach/sysdep.h: Likewise.
30609         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30610         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30611         * sysdeps/s390/asm-syntax.h: Likewise.
30612         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30613         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30614         * sysdeps/sh/sysdep.h: Likewise.
30615         * sysdeps/unix/sparc/sysdep.h: Likewise.
30616         * sysdeps/wordsize-32/divdi3.c: Likewise.
30617         * sysdeps/x86_64/sysdep.h: Likewise.
30619         * argp/Versions: Remove _argp_unlock_xxx.
30621         [BZ #13559]
30622         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
30623         * abilist/libBrokenLocale.abilist: Likewise.
30624         * abilist/libanl.abilist: Likewise.
30625         * abilist/libc.abilist: Likewise.
30626         * abilist/libcrypt.abilist: Likewise.
30627         * abilist/libdl.abilist: Likewise.
30628         * abilist/libm.abilist: Likewise.
30629         * abilist/libnsl.abilist: Likewise.
30630         * abilist/libpthread.abilist: Likewise.
30631         * abilist/libresolv.abilist: Likewise.
30632         * abilist/librt.abilist: Likewise.
30633         * abilist/libthread_db.abilist: Likewise.
30634         * abilist/libutil.abilist: Likewise.
30635         * abilist/libnss_db.abilist: New file.
30637         * scripts/abilist.awk: Add support for indirect functions.
30639         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30641         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30643         * shlib-versions: Remove entries for ports architectures.
30645         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
30646         files in ports.
30647         * elf/stackguard-macros.h: Remove support for IA-64.
30648         * elf/tst-auditmod1.c: Likewise.
30649         * sysdeps/generic/ldsodefs.h: Likewise.
30651         * sysdeps/unix/sysv/linux/configure.in: Ports should define
30652         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30653         configure files.
30655         [BZ #13552]
30656         * configure.in: Remove --enable-omitfp support.
30657         * FAQ.in: Adjust.
30658         * config.make.in: Likewise.
30659         * Makeconfig: Likewise.
30660         * manual/install.texi: Likewise.
30662         In case anyone cares, the IA-64 architecture could move to ports.
30663         * sysdeps/ia64/*: Removed.
30664         * sysdeps/unix/sysv/linux/ia64/*: Removed.
30665         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30667         [BZ #13555]
30668         * configure.in: Remove entries for unsupported architectures.
30670         [BZ #13533]
30671         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30672         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
30673         routines.
30674         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30675         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30676         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
30677         fall back to using wcrtomb.
30678         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30679         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
30680         renaming.
30681         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30682         * wcsmbs/tst-c16c32-1.c: New file.
30684         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30685         local variable.
30687         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30689         * elf/tst-unique3.cc: Add explicit declaration of gets.
30690         * elf/tst-unique3lib.cc: Likewise.
30691         * elf/tst-unique3lib2.cc: Likewise.
30692         * elf/tst-unique4.cc: Likewise.
30694         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30696 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30698         [BZ #13566]
30699         * assert/assert.h (static_assert): Don't define for C++.
30700         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30701         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30703 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30705         * iconv/loop.c (single loop): Fix assertion in storing of
30706         remaining bytes.
30708         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30710 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30712         * posix/getconf.c: Update copyright year.
30713         * nss/getent.c: Likewise.
30714         * nss/makedb.c: Likewise.
30715         * iconv/iconvconfig.c: Likewise.
30716         * iconv/iconv_prog.c: Likewise.
30717         * elf/ldconfig.c: Likewise.
30718         * elf/pldd.c: Likewise.
30719         * elf/sotruss.ksh: Likewise.
30720         * catgets/gencat.c: Likewise.
30721         * csu/version.c: Likewise.
30722         * elf/ldd.bash.in: Likewise.
30723         * elf/sprof.c (print_version): Likewise.
30724         * locale/programs/locale.c: Likewise.
30725         * locale/programs/localedef.c: Likewise.
30726         * login/programs/pt_chown.c: Likewise.
30727         * nscd/nscd.c (print_version): Likewise.
30728         * debug/xtrace.sh: Likewise.
30729         * malloc/memusage.sh: Likewise.
30730         * malloc/mtrace.pl: Likewise.
30731         * debug/catchsegv.sh: Likewise.
30733 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30735         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30736         pure attribute.
30738 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30740         [BZ #13533]
30741         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30742         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30743         transformations.
30744         * iconv/gconv_int.h: Likewise.
30745         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30746         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30747         from libc for GLIBC_2.16.
30748         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30749         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30750         * wcsmbs/uchar.h: Really define mbstate_t.
30751         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30752         * wcsmbs/c16rtomb.c: New file.
30753         * wcsmbs/mbrtoc16.c: New file.
30754         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30755         for C/POSIX locale.
30756         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30757         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30759         * wcsmbs/wchar.h: Add missing __restrict.
30761 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30763         [BZ #13532]
30764         * time/Makefile (routines): Add timespec_get.
30765         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30766         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30767         timespec for ISO C11.
30768         * time/timespec_get.c: New file.
30769         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30770         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30772         [BZ #13531]
30773         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30774         * stdlib/stdlib.h: Declare aligned_alloc.
30775         * Versions.def: Add GLIBC_2.16 for libc.
30776         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30778         [BZ 13527]
30779         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30780         ISO C11.
30782         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30783         code.
30785         [BZ #13528]
30786         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30788         [BZ #13529]
30789         * assert/assert.h (static_assert): Define.
30791         * version.h: Update for 2.16 development version.
30793         [BZ #13526]
30794         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30795         _ISOC11_SOURCE.
30797         * version.h (RELEASE): Bump for 2.15 release.
30798         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30800         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30801         Patch by Marek Polacek <mpolacek@redhat.com>.
30803         * bits/byteswap.h: Protect long long constants with __extension__.
30804         * sysdeps/i386/bits/byteswap.h: Likewise.
30805         * sysdeps/ia64/bits/byteswap.h: Likewise.
30806         * sysdeps/s390/bits/byteswap.h: Likewise.
30807         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30809 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30811         [BZ #13540]
30812         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30813         destination buffer.
30814         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30816 2011-12-23  Marek Polacek  <polacek@redhat.com>
30818         * elf/dl-addr.c (determine_info): Add inline keyword.
30819         * elf/tst-auditmod4b.c (check_avx): Likewise.
30820         * elf/tst-auditmod6b.c (check_avx): Likewise.
30821         * elf/tst-auditmod6c.c (check_avx): Likewise.
30822         * elf/tst-auditmod7b.c (check_avx): Likewise.
30824 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30826         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30827         !__SSE_MATH__.
30829 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30831         [BZ #13540]
30832         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30833         processing for last bytes.
30835 2011-08-06  Bruno Haible  <bruno@clisp.org>
30837         [BZ #13061]
30838         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30839         U+0385, not to U+1FEE.
30841         [BZ #13062]
30842         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30843         entry for U+00A5 U+0301.
30845 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30847         [BZ #13166]
30848         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30849         buffer for the output is too small.
30851         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30852         optimization.
30854         [BZ #13185]
30855         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30856         SSE flags if possible.
30858 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30860         [BZ #13540]
30861         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30862         processing for last bytes.
30864 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30866         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30867         (syscall-list-default-options, syscall-list-default-condition)
30868         (syscall-list-includes): Define.
30869         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30870         list of ABIs and options and #if conditions for each ABI.  Do not
30871         handle common syscalls between ABIs specially.
30872         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30873         Remove.
30874         (syscall-list-variants, syscall-list-32bit-options)
30875         (syscall-list-32bit-condition, syscall-list-64bit-options)
30876         (syscall-list-64bit-condition): Define.
30877         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30878         (syscall-list-variants, syscall-list-32bit-options)
30879         (syscall-list-32bit-condition, syscall-list-64bit-options)
30880         (syscall-list-64bit-condition): Define.
30881         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30882         Remove.
30883         (syscall-list-variants, syscall-list-32bit-options)
30884         (syscall-list-32bit-condition, syscall-list-64bit-options)
30885         (syscall-list-64bit-condition): Define.
30886         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30887         Remove.
30888         (syscall-list-variants, syscall-list-32bit-options)
30889         (syscall-list-32bit-condition, syscall-list-64bit-options)
30890         (syscall-list-64bit-condition): Define.
30892 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30894         * locale/iso-639.def: Add brx entry.
30896         [BZ #13328]
30897         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30898         Proposed by Mariusz_Cukr <marcukr@op.pl>.
30900         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30901         __feraiseexcept_renamed.
30903 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30905         [BZ #13538]
30906         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30907         EPOLLET with unsigned values.
30908         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30909         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30911         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30912         to large cancellation.
30913         * math/s_cacoshf.c: Likewise.
30914         * math/s_cacoshl.c: Likewise.
30916 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
30918         [BZ #13305]
30919         [BZ #12786]
30920         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30921         * math/s_cacoshf.c: Likewise.
30922         * math/s_cacoshl.c: Likewise.
30924 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30926         [BZ #13439]
30927         * iconv/gconv.h: Define __GCONV_SWAP.
30928         * iconvdata/unicode.c: The swap bit must be stored in __flags.
30929         * iconvdata/utf-16.c: Likewise.
30930         * iconvdata/utf-32.c: Likewise.
30932 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30934         [BZ #13524]
30935         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30936         numerator after shifting it by one limb.
30938 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30940         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30941         under [__USE_EXTERN_INLINES].
30943 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30945         [BZ #13446]
30946         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30948 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30950         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30951         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30952         optimized code.
30953         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30954         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30955         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30956         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30957         for strncasecmp/strncasecmp_l compilation.
30958         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30959         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30961 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
30963         [BZ #13484]
30964         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30965         of __asm__.
30967 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30969         [BZ #13506]
30970         * time/tzfile.c (__tzfile_read): Check values from file header.
30972 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30974         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30975         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30976         * powerpc/powerpc32/dl-start.S: Likewise.
30977         * powerpc/powerpc32/elf/start.S: Likewise.
30978         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30979         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30980         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30981         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30982         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30983         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30984         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30985         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30986         * powerpc/powerpc32/fpu/s_round.S: Likewise.
30987         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30988         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30989         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30990         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30991         * powerpc/powerpc32/memset.S: Likewise.
30992         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30993         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30994         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30995         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30996         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30997         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30998         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30999         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31000         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31001         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31002         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31003         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31004         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31006 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31008         * math/libm-test.inc: Added more nearbyint tests.
31009         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31010         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31011         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31012         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31014 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31016         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31017         FD_CLOEXEC.
31019 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31021         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31022         Add wcscpy-ssse3 wcscpy-c.
31023         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31024         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31025         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31026         * sysdeps/x86_64/wcschr.S: New file.
31027         * sysdeps/x86_64/wcsrchr.S: New file.
31028         * string/test-strcmp.c: Remove checking of wcscmp function for
31029         wrong alignments.
31030         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31031         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31032         wcsrchr-sse2 wcsrchr-c.
31033         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31034         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31035         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31036         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31037         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31038         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31039         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31040         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31041         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31042         * wcsmbc/wcschr.c (WCSCHR): New macro.
31044 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31046         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31047         * wcsmbs/test-wcsrchr.c: New file.
31048         * string/test-strrchr.c: Add wcsrchr support.
31049         (WIDE): New macro.
31050         * wcsmbs/test-wcscpy.c: New file.
31051         * string/test-strcpy.c: Add wcscpy support.
31052         (WIDE): New macro.
31054 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31056         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31057         the inner loop.
31059 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31061         [BZ #13472]
31062         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31064 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31066         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31067         Minor optimizations.
31069         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31070         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31071         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31073 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31075         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31076         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31077         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31078         for gcc to avoid warnings.
31079         * inet/Makefile (tests): Add tst-checks.
31080         * inet/tst-checks.c: New file.
31082         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31083         warning.
31085         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31086         __wmemcmp_sse2.
31088         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31089         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31091         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31093 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31095         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31096         problem.
31098         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31100 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31102         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31103         conditional on GCC version.
31104         (__arch_compare_and_exchange_val_8_acq)
31105         (__arch_compare_and_exchange_val_16_acq)
31106         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31107         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31108         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31110 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31112         * sysdeps/sh/backtrace.c: New file.
31114 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31116         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31117         parenthesis.
31119 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31121         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31122         falling back to utime.
31124 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31126         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31127         expectations for float.
31129 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31131         * locale/weight.h (findidx): Add parameter len.
31132         * locale/weightwc.h (findidx): Likewise.
31133         * posix/fnmatch_loop.c (FCT): Adjust caller.
31134         * posix/regcomp.c (build_equiv_class): Likewise.
31135         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31136         * posix/regexec.c (check_node_accept_bytes): Likewise.
31137         * string/strcoll_l.c (STRCOLL): Likewise.
31138         * string/strxfrm_l.c (STRXFRM): Likewise.
31140 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31142         * Makefile.in: Remove CVSOPT handling.
31143         * configure.in: Remove use of AC_REVISION.
31144         * iconvdata/Makefile (distribute): No need to filter out CVS.
31145         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31146         handling.
31148 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31150         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31151         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31152         [USE_AS_STRNCASECMP_L]: Likewise.
31153         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31154         NO_TLS_DIRECT_SEG_REFS.
31155         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31156         Fix argument offsets for non-PIC.
31157         [USE_AS_STRNCASECMP_L]: Likewise.
31158         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31159         NO_TLS_DIRECT_SEG_REFS.
31161 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31163         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31164         O_CLOEXEC.
31165         * locale/loadlocale.c (_nl_load_locale): Likewise.
31167 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31169         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31170         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31171         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31172         (SYSCALL_GETTIME): Set errno on error.
31174         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31175         count references to noai6ai_cached.
31177 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31179         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31181         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31182         FD_CLOEXEC for /proc/self/maps.
31184         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31185         FD_CLOEXEC for /proc/meminfo.
31187         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31188         gai.conf.
31190         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31191         FD_CLOEXEC for given file.
31193         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31195         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31196         FD_CLOEXEC for /etc/hosts.
31197         (_gethtent): Likewise.
31199         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31201         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31202         cancellation and set FD_CLOEXEC for /etc/netgroup.
31204         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31205         reading /etc/publickey.
31207         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31208         allow cancellation when reading /etc/group.
31210         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31211         cancellation.
31212         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31214         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31215         when using data file.
31217         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31219         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31220         (write_nis_obj): Use "c" and "e" in fopen.
31222         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31224         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31226         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31228         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31230         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31231         locale.alias.
31233         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31235         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31237         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31239         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31240         file parsing and set FD_CLOEXEC.
31242 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31244         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31246 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31248         * malloc/arena.c (arena_get2): Don't call reused_arena when
31249         _int_new_arena failed.
31251 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31253         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31254         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31255         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31256         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31257         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31258         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31259         to compile strcasecmp and strncasecmp.
31260         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31261         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31263         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31265 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31267         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31268         locale-defines.sym to gen-as-const-headers.
31269         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31270         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31272         to compile strcasecmp and strncasecmp.
31273         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31274         strcasecmp_l and strncasecmp_l.
31275         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31276         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31277         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31278         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31279         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31280         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31281         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31282         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31283         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31284         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31285         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31287 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31289         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31290         result of SYSDEP_GETTIME_CPU to retval.
31291         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31292         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31294         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31295         variable.
31297         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31298         mantissa words.
31299         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31301         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31302         from unused variable.
31304         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31305         DWARF definitions.
31306         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31307         for assembling.
31309         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31310         over namespaces.
31312         * sunrpc/rpc_prot.c (rejected): Fix case value.
31314         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31315         unsigned long long int to avoid warnings in shift.
31317         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31318         of use of trans.
31319         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31320         variable tmp.
31322         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31323         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31324         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31326         * nis/nis_table.c (nis_list): Use variable of correct type for
31327         result of __follow_path call.
31329 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31331         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31332         of math functions ceil, trunc, floor, round, and sqrt, when
31333         avaliable on the platform.
31334         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31335         name clash.
31336         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31337         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31338         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31340 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31342         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31343         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31345 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31347         * include/unistd.h: Fix __readlink return type.
31348         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31350 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31352         * stdlib/ucontext.h: Undo last change for makecontext.
31354 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31356         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31358         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31359         * setjmp/setjmp.h: Mark functions as non-leaf.
31360         * setjmp/bits/setjmp2.h: Likewise.
31361         * stdlib/ucontext.h: Likewise.
31363 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31365         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31366         (reused_arena): Don't check arena limit.
31367         (arena_get2): Atomically check arena limit.
31369 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31371         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31372         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31374         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31375         instructions.
31377 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31379         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31380         handler when locking.
31382         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31383         Fix size of allocated buffer.
31385 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31387         [BZ #10103]
31388         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31389         declarations for long double functions.
31390         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31392         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31394 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31396         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31397         installed.
31399         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31400         is disabled.
31402 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31404         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31406 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31408         * include/alloca.h (stackinfo_alloca_round): Define.
31409         (extend_alloca): Use it.
31410         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31411         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31412         here.
31414         * scripts/check-local-headers.sh: Ignore libaudit.h.
31416         * nscd/Makefile (extra-objs): Make recursively expanded.
31418 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31420         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31421         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31423         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31424         * posix/tst-rfc3484-2.c: Likewise.
31425         * posix/tst-rfc3484-3.c: Likewise.
31427         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31428         process_vm_writev.
31429         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31430         process_vm_writev.
31431         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31432         process_vm_writev from libc using GLIBC_2.15 version.
31434         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31436 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31438         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31439         stack usage.
31441 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31443         [BZ #13367]
31444         * nss/getent.c (initgroups_keys): Show error message in case no group
31445         names are given.
31447         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31448         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31449         __bump_nl_timestamp.
31450         * nscd/connections (nscd_init): When host database is served open
31451         netlink socket and request notification about configuration changes.
31452         (main_loop_poll): Track netlink file descriptor and bump timestamp
31453         in case data becomes available.
31454         (main_loop_epoll): Likewise.
31455         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31456         (database_pers_head): Add extra_data fileds.
31457         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31458         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31459         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31460         Adjust caller.
31461         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31462         in6ai data, call __free_in6ai.
31463         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31464         Add -DHAVE_NETLINK.
31465         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
31466         interface information.  Reuse previous data if netlink timestamp
31467         is not changed.
31468         (__bump_nl_timestamp): New function.
31469         (__free_in6ai): New function.
31471 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
31473         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31474         close_not_cancel_no_status here.
31475         (__check_pf): Reorganize code a bit to not call close twice if OOM.
31477 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31479         [BZ #13276]
31480         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31481         return value.
31483         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31484         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31485         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31487 2011-07-03  Andreas Jaeger  <aj@suse.de>
31489         [BZ #10709]
31490         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31491         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31492         * math/libm-test.inc (sin_test): Add test case.
31494 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31496         [BZ #13337]
31497         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31498         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31500         * elf/chroot_canon.c (chroot_canon): Cleanups.
31502         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31504         [BZ #13335]
31505         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31506         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31508         * string/test-strchr.c: Make usable for strchrnul testing.
31509         * string/test-strchrnul.c: New file.
31510         * string/Makefile (strop-tests): Add strchrnul.
31512         * po/it.po: Update from translation team.
31513         * po/es.po: Likewise.
31515 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
31517         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31518         the three constants needed as parameters.  Drop the others.
31519         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31520         __m128i_strloadu_tolower.
31521         Create and initialize variable zero and use it in all the places
31522         where _mm_setzero_si128 was used.
31524         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31525         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31526         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31527         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31528         anymore.
31529         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31530         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31531         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31532         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31533         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31534         __mpranred, __mptan.
31535         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31536         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31537         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31538         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31539         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31540         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31541         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31542         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31543         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31545 2011-10-28  Andreas Schwab  <schwab@redhat.com>
31547         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31548         redefine if SHARED.
31549         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31551         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31552         wide char related routines to wcsmbs subdir.
31554 2011-10-27  Andreas Schwab  <schwab@redhat.com>
31556         [BZ #13344]
31557         * misc/sys/cdefs.h (__THROWNL): Define.
31558         * posix/unistd.h: Use __THREADNL instead of __THREAD
31559         for memory synchronization functions.
31561 2011-10-26  Roland McGrath  <roland@hack.frob.com>
31563         [BZ #13349]
31564         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31565         doesn't exist.
31566         * manual/stdio.texi (Obstack Streams): Node removed.
31568 2011-10-26  Andreas Schwab  <schwab@redhat.com>
31570         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31571         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31572         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31574         * math/math_private.h (math_force_eval): Allow non-addressable
31575         arguments.
31576         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31578 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31580         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31581         file is not needed.
31583         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31584         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31585         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31586         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31587         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31588         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31589         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31590         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31591         Add AVX variants.
31592         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31593         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31594         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31595         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31596         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31597         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31598         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31599         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31600         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31601         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31602         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31603         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31604         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31605         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31606         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31607         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31608         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31609         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31610         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31612         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31613         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
31615         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31616         place.  Use VEX encoding when compiling for AVX.
31618 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31620         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31621         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31623         * string/test-strchr.c (do_test): Don't generate NUL bytes.
31625 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31627         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31628         useless if() expression.
31629         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31630         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31631         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31632         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31633         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31634         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31635         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31636         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31637         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31638         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31639         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31640         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31641         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31642         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31643         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31644         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31645         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31646         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31647         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31649         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31651 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31653         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31654         condition.
31655         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31657 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31659         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31660         .text section.  Avoid duplicate constants.
31661         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31662         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31663         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31664         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31665         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31666         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31667         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31668         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31669         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31670         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31671         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31672         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31673         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31674         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31675         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31676         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31677         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31678         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31679         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31680         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31681         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31682         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31683         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31684         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31685         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31686         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31687         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31688         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31689         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31690         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31691         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31692         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31693         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31694         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31695         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31696         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31697         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31698         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31699         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31700         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31701         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31702         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31703         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31704         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31705         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31707 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31709         * sysdeps/x86_64/dla.h: Move to ...
31710         * sysdeps/x86_64/fpu/dla.h: ...here.
31711         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31712         situations.  Use __builtin_fma only for gcc 4.6 and up.
31714         * config.make.in: Add have-mfma4 entry.
31715         * configure.in: Substitute libc_cv_cc_fma4.
31716         * math/Makefile (dbl-only-routines): Add sincostab.
31717         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31718         Use __sincostab not sincos.
31719         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31720         name is a macro.
31721         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31722         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31723         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31724         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31725         using __copysign.
31726         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31727         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31728         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31729         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31730         and __inv.
31731         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31732         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31733         __copysign.
31734         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31735         define aliases when function name is a macro.
31736         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31737         sysdeps/ieee754/dbl-64/sincos.tbl.
31738         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31739         fma4-enabled routines.
31740         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31741         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31742         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31743         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31744         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31745         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31746         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31747         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31748         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31749         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31750         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31751         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31752         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31753         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31754         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31755         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31756         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31757         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31758         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31759         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31760         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31761         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31762         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31763         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31764         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31765         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31766         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31767         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31768         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31769         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31771         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31772         rename.
31773         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31774         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31775         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31776         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31777         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31778         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31779         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31780         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31782 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31784         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31786 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31788         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31790         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31791         prediction.
31792         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31794         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31795         Remove unused variable magic_bits.
31796         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31798         * string/strnlen.c: Define and use STRNLEN macro.
31799         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31800         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31801         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31802         * wcsmbs/wcslen.c: Define and use WCSLEN.
31803         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31804         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31805         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31806         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31807         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31808         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31809         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31811 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31814         strnlen-sse2-no-bsf.
31815         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31816         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31817         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31818         Add strnlen support.
31819         (USE_AS_STRNLEN): New macro.
31820         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31821         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31822         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31823         * sysdeps/x86_64/wcslen.S: New file.
31825 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31827         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31828         XMM-moves are used for copying on small sizes.
31830 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31832         * wcsmbs/Makefile (strop-tests): Add wcschr.
31833         * wcsmbs/test-wcschr.c: New file.
31834         * string/test-strchr.c: Update.
31835         Add wcschr support.
31836         (WIDE): New macro.
31838 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31840         * wcsmbs/Makefile (strop-tests): Add wcslen.
31841         * wcsmbs/test-wcslen.c: New file.
31842         * string/test-strlen.c: Update.
31843         Add wcslen support.
31844         (WIDE): New macro.
31846 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31848         * po/it.po: Update from translation team.
31850 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31852         * sysdeps/x86_64/wcscmp.S: Update.
31853         Fix wrong comparison semantics.
31854         wcscmp shall use signed comparison not unsigned.
31855         Don't use substraction to avoid overflow bug.
31856         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31857         * wcsmbc/wcscmp.c: Likewise.
31858         * string/test-strcmp.c: Likewise.
31859         Add new tests to check cases with negative values.
31861 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31863         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31864         * sysdeps/x86_64/dla.h: ...here.  New file.
31865         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31866         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31867         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31868         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31869         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31870         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31871         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31872         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31873         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31875 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31877         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31878         __ynl_finite aliases.
31880 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31884         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31885         define DLA_FMA.
31886         [DLA_FMA] (EMULV): Use DLA_FMA.
31887         [DLA_FMA] (MUL12): Use EMULV.
31888         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31889         that are not needed.
31890         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31891         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31892         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31893         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31894         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31895         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31896         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31898 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
31900         * math/s_nan.c: Undef __nan.
31901         * math/s_nanf.c: Undef __nanf.
31902         * math/s_nanl.c: Undef __nanl.
31903         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31904         "math_private.h".
31906 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31908         * math/s_catan.c: Add branch predictions.
31909         * math/s_catanf.c: Likewise.
31910         * math/s_catanh.c: Likewise.
31911         * math/s_catanhf.c: Likewise.
31912         * math/s_catanhl.c: Likewise.
31913         * math/s_catanl.c: Likewise.
31914         * math/s_cexp.c: Likewise.
31915         * math/s_cexpf.c: Likewise.
31916         * math/s_cexpl.c: Likewise.
31917         * math/s_clog.c: Likewise.
31918         * math/s_clog10.c: Likewise.
31919         * math/s_clog10f.c: Likewise.
31920         * math/s_clog10l.c: Likewise.
31921         * math/s_clogf.c: Likewise.
31922         * math/s_clogl.c: Likewise.
31923         * math/s_csqrt.c: Likewise.
31924         * math/s_csqrtf.c: Likewise.
31925         * math/s_csqrtl.c: Likewise.
31926         * math/s_ctanf.c: Likewise.
31927         * math/s_ctanh.c: Likewise.
31928         * math/s_ctanhf.c: Likewise.
31929         * math/s_ctanhl.c: Likewise.
31930         * math/s_ctanl.c: Likewise.
31932         * math/math_private.h: Define __nan, __nanf, __nanl.
31933         * math/s_cacosh.c: Include <math_private.h>.
31934         * math/s_cacoshl.c: Likewise.
31935         * math/s_casinh.c: Likewise.
31936         * math/s_casinhf.c: Likewise.
31937         * math/s_casinhl.c: Likewise.
31938         * math/s_ccos.c: Rely entire on ccosh.
31939         * math/s_ccosf.c: Rely entire on ccoshf.
31940         * math/s_ccosl.c: Rely entirely on ccoshl.
31941         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
31942         Remove tests for FE_INVALID.
31943         * math/s_ccoshf.c: Likewise.
31944         * math/s_ccoshl.c: Likewise.
31945         * math/s_csin.c: Likewise.
31946         * math/s_csinf.c: Likewise.
31947         * math/s_csinh.c Likewise.
31948         * math/s_csinhf.c: Likewise.
31949         * math/s_csinhl.c: Likewise.
31950         * math/s_csinl.c: Likewise.
31951         * math/s_ctan.c: Likewise.
31952         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31953         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31954         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31956 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
31958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31959         compilation problems.
31961         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31962         __builtin_expect.
31964 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
31966         * sysdeps/i386/configure.in: Test for -mfma4 option.
31967         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31968         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31969         COMMON_CPUID_INDEX_80000001.
31970         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31971         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31972         use it if FMA3 is not supported.
31973         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31975         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31976         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31978 2011-10-20  Andreas Schwab  <schwab@redhat.com>
31980         [BZ #12892]
31981         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31982         it would create a cycle with a link time dependency.
31984 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
31986         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31987         instruction.
31988         * string/Makefile (strop-tests): Add rawmemchr.
31989         * string/test-rawmemchr.c: New file.
31991         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31992         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
31993         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
31994         when compiling str{,n}casecmp and when AVX is available.  Hook up
31995         new optimized code in initializers.
31997 2011-10-19  Andreas Schwab  <schwab@redhat.com>
31999         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32000         __feraiseexcept instead of feraiseexcept.
32002 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32004         * math/math_private.h: Define defaults for libc_fetestexcept and
32005         libc_feupdateenv.
32006         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32007         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32008         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32009         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32010         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32011         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32012         libc_fetestexcept and libc_feupdateenv.
32014         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32015         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32016         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32017         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32018         libc_feholdexcept_setround.
32020         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32021         Add s_nearbyint-c and s_nearbyintf-c.
32022         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32023         nearbyintf inlines.
32024         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32025         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32026         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32027         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32029         * math/math_private.h: Define defaults for libc_fegetround,
32030         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32031         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32032         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32033         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32034         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32035         standard functions.
32036         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32037         Remove comments and hacks for old compiler versions.
32038         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32039         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32040         libc_feholdexceptl.
32042 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32044         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32045         (__feraiseexcept_renamed): Add __NTH.
32046         (feraiseexcept): Add __NTH.  Rename local variables to fix
32047         namespace violations.
32049 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32051         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32053         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32055         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32056         recently added interfaces.
32057         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32059         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32060         about macro parameter expansion.
32062         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32063         __NO_MATH_INLINES is defined.  Cleanups.
32065         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32066         and __floorf is target has SSE4.1.
32067         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32068         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32069         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32070         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32072         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32073         name.
32074         (floorf): Likewise.
32076         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32078 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32080         * misc/sys/cdefs.h: Fix last change.
32082         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32083         database lookup.
32085 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32087         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32089         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32090         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32091         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32092         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32093         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32094         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32095         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32096         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32097         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32098         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32099         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32100         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32101         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32102         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32103         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32104         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32105         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32106         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32107         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32108         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32109         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32110         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32112         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32113         ceil, ceilf, floor, floorf.
32115         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32116         Perform IRELATIVE relocations last.
32118         * elf/do-rel.h: Add another parameter nrelative, replacing the
32119         local variable with the same name.  Change name of the function
32120         to end in Rel or Rela (uppercase).
32121         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32122         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32123         elf_dynamic_do_##reloc function.
32125 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32127         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32128         is sufficient, at least on modern CPUs.
32130         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32132         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32133         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32135         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32136         __expl_finite.
32137         * math/bits/math-finite.h: Add entries for exp.
32138         * math/e_expl.c: Add __*_finite alias.
32139         * sysdeps/i386/fpu/e_exp.S: Likewise.
32140         * sysdeps/i386/fpu/e_expf.S: Likewise.
32141         * sysdeps/i386/fpu/e_expl.c: Likewise.
32142         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32143         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32144         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32145         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32146         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32147         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32148         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32150         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32151         is sufficient, at least on modern CPUs.
32153         * ctype/ctype-info.c (__ctype_init): Define.
32154         * include/ctype.h (__ctype_init): Declare.
32155         (__ctype_b_loc): The variable is always initialized.
32156         (__ctype_toupper_loc): Likewise.
32157         (__ctype_tolower_loc): Likewise.
32158         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32159         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32161 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32163         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32165         * configure.in: Also look in $cxxmachine/include for C++ system
32166         headers.
32168 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32170         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32171         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32172         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32173         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32174         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32175         (USE_AS_WMEMCMP): New macro.
32176         Fixing indents.
32177         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32178         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32179         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32180         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32181         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32182         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32183         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32184         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32185         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32186         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32187         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32188         (USE_AS_WMEMCMP): New macro.
32189         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32190         * sysdeps/string/test-memcmp.c: Update.
32191         Fix simple_wmemcmp.
32192         Add new tests.
32193         * wcsmbs/wmemcmp.c: Update.
32194         (WMEMCMP): New macro.
32195         Fix overflow bug.
32197 2011-10-12  Andreas Jaeger  <aj@suse.de>
32199         [BZ #13268]
32200         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32202 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32204         * libio/iofwide.c (do_length): Avoid warning.
32206         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32208 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32210         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32212         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32213         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32214         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32215         * sysdeps/i386/i686/fpu/e_log.S: New file.
32216         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32217         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32219         * ctype/ctype.h: Add support for inlined isXXX functions when
32220         compiling C++ code.
32222 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32224         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32226         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32228 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32230         [BZ #13291]
32231         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32233 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32235         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32236         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32237         feraiseexcept.
32239         * sysdeps/x86_64/memrchr.S: Check for zero size.
32241         * string/stratcliff.c: Add memrchr tests.
32243 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32245         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32246         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32247         rawmemchr-sse2 rawmemchr-sse2-bsf.
32248         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32249         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32250         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32251         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32252         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32253         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32254         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32255         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32256         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32257         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32258         * string/memrchr.c (MEMRCHR): New macro.
32260 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32262         Add integration with gcc's -ffinite-math-only and optimize wrapper
32263         functions in libm.
32264         * Versions.def: Define GLIBC_2.15 version for libm.
32265         * math/Makefile (headers): Add bits/math-finite.h.
32266         * math/bits/math-finite.h: New file.
32267         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32268         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32269         * math/e_acoshl.c: Add __*_finite alias.
32270         * math/e_acosl.c: Likewise.
32271         * math/e_asinl.c: Likewise.
32272         * math/e_atan2l.c: Likewise.
32273         * math/e_atanhl.c: Likewise.
32274         * math/e_coshl.c: Likewise.
32275         * math/e_exp10.c: Likewise.
32276         * math/e_exp10f.c: Likewise.
32277         * math/e_exp10l.c: Likewise.
32278         * math/e_exp2l.c: Likewise.
32279         * math/e_fmodl.c: Likewise.
32280         * math/e_gammal_r.c: Likewise.
32281         * math/e_hypotl.c: Likewise.
32282         * math/e_j0l.c: Likewise.
32283         * math/e_j1l.c: Likewise.
32284         * math/e_jnl.c: Likewise.
32285         * math/e_lgammal_r.c: Likewise.
32286         * math/e_log10l.c: Likewise.
32287         * math/e_log2l.c: Likewise.
32288         * math/e_logl.c: Likewise.
32289         * math/e_powl.c: Likewise.
32290         * math/e_sinhl.c: Likewise.
32291         * math/e_sqrtl.c: Likewise.
32292         * math/e_scalb.c: Completely rewritten and optimized.
32293         * math/e_scalbf.c: Likewise.
32294         * math/e_scalbl.c: Likewise.
32295         * math/w_acos.c: Likewise.
32296         * math/w_acosf.c: Likewise.
32297         * math/w_acosl.c: Likewise.
32298         * math/w_acosh.c: Likewise.
32299         * math/w_acoshf.c: Likewise.
32300         * math/w_acoshl.c: Likewise.
32301         * math/w_asin.c: Likewise.
32302         * math/w_asinf.c: Likewise.
32303         * math/w_asinl.c: Likewise.
32304         * math/w_atan2.c: Likewise.
32305         * math/w_atan2f.c: Likewise.
32306         * math/w_atan2l.c: Likewise.
32307         * math/w_atanh.c: Likewise.
32308         * math/w_atanhf.c: Likewise.
32309         * math/w_atanhl.c: Likewise.
32310         * math/w_exp10.c: Likewise.
32311         * math/w_exp10f.c: Likewise.
32312         * math/w_exp10l.c: Likewise.
32313         * math/w_fmod.c: Likewise.
32314         * math/w_fmodf.c: Likewise.
32315         * math/w_fmodl.c: Likewise.
32316         * math/w_j0.c: Likewise.
32317         * math/w_j0f.c: Likewise.
32318         * math/w_j0l.c: Likewise.
32319         * math/w_j1.c: Likewise.
32320         * math/w_j1f.c: Likewise.
32321         * math/w_j1l.c: Likewise.
32322         * math/w_jn.c: Likewise.
32323         * math/w_jnf.c: Likewise.
32324         * math/w_log.c: Likewise.
32325         * math/w_logf.c: Likewise.
32326         * math/w_logl.c: Likewise.
32327         * math/w_log10.c: Likewise.
32328         * math/w_log10f.c: Likewise.
32329         * math/w_log10l.c: Likewise.
32330         * math/w_log2.c: Likewise.
32331         * math/w_log2f.c: Likewise.
32332         * math/w_log2l.c: Likewise.
32333         * math/w_pow.c: Likewise.
32334         * math/w_powf.c: Likewise.
32335         * math/w_powl.c: Likewise.
32336         * math/w_remainder.c: Likewise.
32337         * math/w_remainderf.c: Likewise.
32338         * math/w_remainderl.c: Likewise.
32339         * math/w_scalb.c: Likewise.
32340         * math/w_scalbf.c: Likewise.
32341         * math/w_scalbl.c: Likewise.
32342         * math/w_sqrt.c: Likewise.
32343         * math/w_sqrtf.c: Likewise.
32344         * math/w_sqrtl.c: Likewise.
32345         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32346         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32347         used.
32348         * math/math_private.h: Declare __kernel_standard_f.
32349         * math/w_cosh.c: Remove cruft and optimize a bit.
32350         * math/w_coshf.c: Likewise.
32351         * math/w_coshl.c: Likewise.
32352         * math/w_exp2.c: Likewise.
32353         * math/w_exp2f.c: Likewise.
32354         * math/w_exp2l.c: Likewise.
32355         * math/w_hypot.c: Likewise.
32356         * math/w_hypotf.c: Likewise.
32357         * math/w_hypotl.c: Likewise.
32358         * math/w_lgamma.c: Likewise.
32359         * math/w_lgamma_r.c: Likewise.
32360         * math/w_lgammaf.c: Likewise.
32361         * math/w_lgammaf_r.c: Likewise.
32362         * math/w_lgammal.c: Likewise.
32363         * math/w_lgammal_r.c: Likewise.
32364         * math/w_sinh.c: Likewise.
32365         * math/w_sinhf.c: Likewise.
32366         * math/w_sinhl.c: Likewise.
32367         * math/w_tgamma.c: Likewise.
32368         * math/w_tgammaf.c: Likewise.
32369         * math/w_tgammal.c: Likewise.
32370         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32371         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32372         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32373         Minor optimizations.  Pretty printing.  Remove cruft.
32374         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32375         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32376         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32377         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32378         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32379         * sysdeps/i386/fpu/e_asin.S: Likewise.
32380         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32381         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32382         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32383         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32384         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32385         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32386         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32387         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32388         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32389         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32390         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32391         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32392         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32393         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32394         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32395         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32396         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32397         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32398         * sysdeps/i386/fpu/e_log.S: Likewise.
32399         * sysdeps/i386/fpu/e_log10.S: Likewise.
32400         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32401         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32402         * sysdeps/i386/fpu/e_log2.S: Likewise.
32403         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32404         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32405         * sysdeps/i386/fpu/e_logf.S: Likewise.
32406         * sysdeps/i386/fpu/e_logl.S: Likewise.
32407         * sysdeps/i386/fpu/e_pow.S: Likewise.
32408         * sysdeps/i386/fpu/e_powf.S: Likewise.
32409         * sysdeps/i386/fpu/e_powl.S: Likewise.
32410         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32411         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32412         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32413         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32414         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32415         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32416         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32417         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32418         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32419         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32420         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32421         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32422         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32423         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32424         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32425         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32426         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32427         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32428         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32429         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32430         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32431         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32432         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32433         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32434         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32435         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32436         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32437         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32438         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32439         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32440         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32441         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32442         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32443         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32444         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32445         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32446         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32447         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32448         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32449         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32450         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32451         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32452         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32453         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32454         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32455         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32456         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32457         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32458         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32459         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32460         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32461         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32462         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32463         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32464         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32465         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32466         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32467         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32468         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32469         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32470         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32471         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32472         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32473         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32474         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32475         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32476         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32477         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32478         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32479         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32480         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32481         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32482         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32483         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32484         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32485         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32486         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32487         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32488         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32489         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32490         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32491         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32492         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32493         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32494         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32495         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32496         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32497         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32498         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32499         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32500         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32501         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32502         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32503         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32504         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32505         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32506         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32507         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32508         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32509         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32510         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32511         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32512         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32513         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32514         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32515         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32516         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32517         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32518         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32519         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32520         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32521         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32522         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32523         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32524         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32525         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32526         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32527         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32528         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32529         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
32530         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32531         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32532         (__isnanf): Likewise.
32533         (__isinf_ns): Likewise.
32534         (__isinf_nsf): Likewise.
32535         (__finite): Likewise.
32536         (__finitef): Likewise.
32537         (__ieee754_sqrt): Define as macro.
32538         (__ieee754_sqrtf): Define as macro.
32539         (__ieee754_sqrtl): Define as macro.
32540         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32541         inlined copy.
32542         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32543         __FINITE_MATH_ONLY__ consistent.
32544         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32546 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
32548         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32549         of rawmemchr.
32551         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32553 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
32555         * po/ja.po: Update from translation team.
32557 2011-10-08  Roland McGrath  <roland@hack.frob.com>
32559         * locale/programs/locarchive.c (prepare_address_space): New function.
32560         (create_archive, enlarge_archive, open_archive): Use it.
32562         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32563         inside [SHARED], where it is used.
32565         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32567         * nss/getent.c (netgroup_keys): Remove unused variable.
32568         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32570 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
32572         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32573         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32574         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32575         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32576         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32577         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32578         * math/Makefile (libm-calls): Add s_isinf_ns.
32579         * math/divtc3.c: Use __isinf_nsl instead of isinf.
32580         * math/multc3.c: Likewise.
32581         * math/s_casin.c: Likewise.
32582         * math/s_casinf.c: Likewise.
32583         * math/s_casinl.c: Likewise.
32584         * math/s_ccos.c: Likewise.
32585         * math/s_ccosf.c: Likewise.
32586         * math/s_ccosl.c: Likewise.
32587         * math/s_ctan.c: Likewise.
32588         * math/s_ctanf.c: Likewise.
32589         * math/s_ctanh.c: Likewise.
32590         * math/s_ctanhf.c: Likewise.
32591         * math/s_ctanhl.c: Likewise.
32592         * math/s_ctanl.c: Likewise.
32593         * math/w_fmod.c: Likewise.
32594         * math/w_fmodf.c: Likewise.
32595         * math/w_fmodl.c: Likewise.
32596         * math/w_remainder.c: Likewise.
32597         * math/w_remainderf.c: Likewise.
32598         * math/w_remainderl.c: Likewise.
32599         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32600         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32601         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32602         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32603         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32604         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32605         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32606         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32608         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32609         of the number.
32610         * stdio-common/printf_fphex.c: Likewise.
32611         * stdio-common/printf_size.c: Likewise.
32613         * math/e_exp10.c: Include math_private.h using <...> not "...".
32614         * math/e_exp10f.c: Likewise.
32615         * math/e_exp10l.c: Likewise.
32616         * math/e_exp2l.c: Likewise.
32617         * math/e_j0l.c: Likewise.
32618         * math/e_j1l.c: Likewise.
32619         * math/e_jnl.c: Likewise.
32620         * math/e_lgammal_r.c: Likewise.
32621         * math/e_rem_pio2l.c: Likewise.
32622         * math/e_scalb.c: Likewise.
32623         * math/e_scalbf.c: Likewise.
32624         * math/e_scalbl.c: Likewise.
32625         * math/k_cosl.c: Likewise.
32626         * math/k_sinl.c: Likewise.
32627         * math/k_tanl.c: Likewise.
32628         * math/s_cacoshf.c: Likewise.
32629         * math/s_catan.c: Likewise.
32630         * math/s_catanf.c: Likewise.
32631         * math/s_catanh.c: Likewise.
32632         * math/s_catanhf.c: Likewise.
32633         * math/s_catanhl.c: Likewise.
32634         * math/s_catanl.c: Likewise.
32635         * math/s_ccosh.c: Likewise.
32636         * math/s_ccoshf.c: Likewise.
32637         * math/s_ccoshl.c: Likewise.
32638         * math/s_cexp.c: Likewise.
32639         * math/s_cexpf.c: Likewise.
32640         * math/s_cexpl.c: Likewise.
32641         * math/s_clog.c: Likewise.
32642         * math/s_clog10.c: Likewise.
32643         * math/s_clog10f.c: Likewise.
32644         * math/s_clog10l.c: Likewise.
32645         * math/s_clogf.c: Likewise.
32646         * math/s_clogl.c: Likewise.
32647         * math/s_csin.c: Likewise.
32648         * math/s_csinf.c: Likewise.
32649         * math/s_csinh.c: Likewise.
32650         * math/s_csinhf.c: Likewise.
32651         * math/s_csinhl.c: Likewise.
32652         * math/s_csinl.c: Likewise.
32653         * math/s_csqrt.c: Likewise.
32654         * math/s_csqrtf.c: Likewise.
32655         * math/s_csqrtl.c: Likewise.
32656         * math/s_ctan.c: Likewise.
32657         * math/s_ctanf.c: Likewise.
32658         * math/s_ctanh.c: Likewise.
32659         * math/s_ctanhf.c: Likewise.
32660         * math/s_ctanhl.c: Likewise.
32661         * math/s_ctanl.c: Likewise.
32662         * math/s_ldexp.c: Likewise.
32663         * math/s_ldexpf.c: Likewise.
32664         * math/s_ldexpl.c: Likewise.
32665         * math/s_significand.c: Likewise.
32666         * math/s_significandf.c: Likewise.
32667         * math/s_significandl.c: Likewise.
32668         * math/w_acos.c: Likewise.
32669         * math/w_acosf.c: Likewise.
32670         * math/w_acosh.c: Likewise.
32671         * math/w_acoshf.c: Likewise.
32672         * math/w_acoshl.c: Likewise.
32673         * math/w_acosl.c: Likewise.
32674         * math/w_asin.c: Likewise.
32675         * math/w_asinf.c: Likewise.
32676         * math/w_asinl.c: Likewise.
32677         * math/w_atan2.c: Likewise.
32678         * math/w_atan2f.c: Likewise.
32679         * math/w_atan2l.c: Likewise.
32680         * math/w_atanh.c: Likewise.
32681         * math/w_atanhf.c: Likewise.
32682         * math/w_atanhl.c: Likewise.
32683         * math/w_cosh.c: Likewise.
32684         * math/w_coshf.c: Likewise.
32685         * math/w_coshl.c: Likewise.
32686         * math/w_dremf.c: Likewise.
32687         * math/w_exp10.c: Likewise.
32688         * math/w_exp10f.c: Likewise.
32689         * math/w_exp10l.c: Likewise.
32690         * math/w_exp2.c: Likewise.
32691         * math/w_exp2f.c: Likewise.
32692         * math/w_fmod.c: Likewise.
32693         * math/w_fmodf.c: Likewise.
32694         * math/w_fmodl.c: Likewise.
32695         * math/w_hypot.c: Likewise.
32696         * math/w_hypotf.c: Likewise.
32697         * math/w_hypotl.c: Likewise.
32698         * math/w_j0.c: Likewise.
32699         * math/w_j0f.c: Likewise.
32700         * math/w_j0l.c: Likewise.
32701         * math/w_j1.c: Likewise.
32702         * math/w_j1f.c: Likewise.
32703         * math/w_j1l.c: Likewise.
32704         * math/w_jn.c: Likewise.
32705         * math/w_jnf.c: Likewise.
32706         * math/w_jnl.c: Likewise.
32707         * math/w_lgamma.c: Likewise.
32708         * math/w_lgamma_r.c: Likewise.
32709         * math/w_lgammaf.c: Likewise.
32710         * math/w_lgammaf_r.c: Likewise.
32711         * math/w_lgammal.c: Likewise.
32712         * math/w_lgammal_r.c: Likewise.
32713         * math/w_log.c: Likewise.
32714         * math/w_log10.c: Likewise.
32715         * math/w_log10f.c: Likewise.
32716         * math/w_log10l.c: Likewise.
32717         * math/w_log2.c: Likewise.
32718         * math/w_log2f.c: Likewise.
32719         * math/w_log2l.c: Likewise.
32720         * math/w_logf.c: Likewise.
32721         * math/w_logl.c: Likewise.
32722         * math/w_pow.c: Likewise.
32723         * math/w_powf.c: Likewise.
32724         * math/w_powl.c: Likewise.
32725         * math/w_remainder.c: Likewise.
32726         * math/w_remainderf.c: Likewise.
32727         * math/w_remainderl.c: Likewise.
32728         * math/w_scalb.c: Likewise.
32729         * math/w_scalbf.c: Likewise.
32730         * math/w_scalbl.c: Likewise.
32731         * math/w_sinh.c: Likewise.
32732         * math/w_sinhf.c: Likewise.
32733         * math/w_sinhl.c: Likewise.
32734         * math/w_sqrt.c: Likewise.
32735         * math/w_sqrtf.c: Likewise.
32736         * math/w_sqrtl.c: Likewise.
32737         * math/w_tgamma.c: Likewise.
32738         * math/w_tgammaf.c: Likewise.
32739         * math/w_tgammal.c: Likewise.
32741         * po/ja.po: Update from translation team.
32743 2011-09-29  Andreas Jaeger  <aj@suse.de>
32745         [BZ #13179]
32746         * sunrpc/netname.c (netname2host): Fix logic.
32748         [BZ #6779]
32749         [BZ #6783]
32750         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32751         correctly.
32752         * math/w_remainder.c (__remainder): Likewise.
32753         * math/w_remainderf.c (__remainderf): Likewise.
32754         * math/libm-test.inc (remainder_test): Add test cases.
32756 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32758         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32759         sdiv_qrnnd.
32761 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32763         * string/test-memcmp.c: Avoid unncessary #defines.
32764         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32766 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32768         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32769         Use new sse2 version for core i3 - i7 as it's faster
32770         than sse42 version.
32771         (bit_Prefer_PMINUB_for_stringop): New.
32772         * sysdeps/x86_64/rawmemchr.S: Update.
32773         Replace with faster SSE2 version.
32774         * sysdeps/x86_64/memrchr.S: New file.
32775         * sysdeps/x86_64/memchr.S: Update.
32776         Replace with faster SSE2 version.
32778 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32780         * elf/dl-load.c (lose): Add cast to avoid warning.
32782 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32784         * po/ca.po: Update from translation team.
32786         * inet/getnetgrent_r.c: Hook up nscd.
32787         * nscd/Makefile (routines): Add nscd_netgroup.
32788         (nscd-modules): Add netgroupcache.
32789         (CFLAGS-netgroupcache.c): Define.
32790         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32791         (cache_search): Add const to second parameter.
32792         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32793         INNETGR.
32794         (dbs): Add netgrdb entry.
32795         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32796         (verify_persistent_db): Handle netgrdb.
32797         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32798         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32799         GETFDNETGR.
32800         (netgroup_response_header): Define.
32801         (innetgroup_response_header): Define.
32802         (datahead): Add netgroup_response_header and innetgroup_response_header
32803         elements.
32804         * nscd/nscd.conf: Add entries for netgroup cache.
32805         * nscd/nscd.h (dbtype): Add netgrdb.
32806         (_PATH_NSCD_NETGROUP_DB): Define.
32807         (netgroup_iov_disabled): Declare.
32808         (xmalloc, xcalloc, xrealloc): Move declarations here.
32809         (cache_search): Adjust prototype.
32810         Add netgroup-related prototypes.
32811         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32812         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32813         (__nscd_innetgr): Declare.
32814         * nscd/selinux.c (perms): Use access_vector_t as element type and
32815         add netgroup-related initializers.
32816         * nscd/netgroupcache.c: New file.
32817         * nscd/nscd_netgroup.c: New file.
32818         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32819         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32820         For four parameters use innetgr.
32821         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32822         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32823         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32824         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32826         * nscd/connections.c (register_traced_file): Don't register file
32827         for disabled databases.
32829 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32831         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32833         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32834         from tree and freeing node.
32836 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32838         * nss/nsswitch.c (__nss_database_lookup): Handle
32839         nss_parse_service_list out of memory case.
32841 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32843         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32844         out of memory case.
32846 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32848         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32849         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32850         pass it down.
32851         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32852         elf_machine_rela, elf_machine_lazy_rel.
32853         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32854         (ELF_DYNAMIC_DO_REL): Likewise.
32855         (ELF_DYNAMIC_DO_RELA): Likewise.
32856         (ELF_DYNAMIC_RELOCATE): Likewise.
32857         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32858         to ELF_DYNAMIC_DO_REL.
32859         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32860         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32861         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32862         elf_machine_rela.
32863         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32864         skip_ifunc, don't call ifunc function if non-zero.
32865         (elf_machine_rela): Likewise.
32866         (elf_machine_lazy_rel): Likewise.
32867         (elf_machine_lazy_rela): Likewise.
32868         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32869         (elf_machine_lazy_rel): Likewise.
32870         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32871         Likewise.
32872         (elf_machine_lazy_rel): Likewise.
32873         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32874         Likewise.
32875         (elf_machine_lazy_rel): Likewise.
32876         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32877         (elf_machine_lazy_rel): Likewise.
32878         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32879         (elf_machine_lazy_rel): Likewise.
32880         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32881         (elf_machine_lazy_rel): Likewise.
32882         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32883         (elf_machine_lazy_rel): Likewise.
32884         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32885         (elf_machine_lazy_rel): Likewise.
32886         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32887         (elf_machine_lazy_rel): Likewise.
32889 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
32891         * nss/nss_files/files-init.c (_nss_files_init): Use static
32892         initialization for all the *_traced_file variables.
32894 2011-09-28  Andreas Schwab  <schwab@redhat.com>
32896         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32898 2011-09-27  Roland McGrath  <roland@hack.frob.com>
32900         [BZ #13226]
32901         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32903 2011-09-27  Andreas Schwab  <schwab@redhat.com>
32905         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32906         Reread the line before reparsing it.
32908 2011-09-26  Andreas Schwab  <schwab@redhat.com>
32910         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32912 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
32913             Maxim Kuvyrkov  <maxim@codesourcery.com>
32914             Joseph Myers  <joseph@codesourcery.com>
32916         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32917         if needed for __stack_chk_guard.
32919 2011-09-19  Roland McGrath  <roland@hack.frob.com>
32921         * sysdeps/posix/spawni.c (script_execute): Always define it.
32922         It will be optimized away if unused.
32923         (maybe_script_execute): New function.
32924         (__spawni): Call it.
32926         * Makerules: Don't include tls.make.
32927         (config-tls): Always set to thread.
32928         * tls.make.c: File removed.
32930 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
32932         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32933         * config.make.in (CPPFLAGS-config): New substituted variable.
32935 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32937         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32939         [BZ #13192]
32940         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32941         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32943 2011-09-15  Roland McGrath  <roland@hack.frob.com>
32945         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32946         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32947         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32948         (CALL_FAIL): Likewise.
32949         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32950         (CALL_FAIL): Macro removed.
32951         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32953 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32955         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32956         for __FINITE_MATH_ONLY__ == 1.
32958 2011-09-15  Andreas Schwab  <schwab@redhat.com>
32960         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32961         __ieee754_sqrt instead of sqrt.
32962         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32963         __ieee754_sqrtf instead of sqrtf.
32964         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32965         __floorf instead of floorf.
32966         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32967         __floorf, __truncf instead of floorf, truncf.
32969 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
32971         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32973         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32974         __extern_always_inline.
32975         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32976         32-bit.
32978 2011-09-14  Andreas Schwab  <schwab@redhat.com>
32980         * elf/rtld.c (dl_main): Also relocate in dependency order when
32981         doing symbol dependency testing.
32983 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
32985         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32986         Always define `refsym'.
32988 2011-09-13  Andreas Schwab  <schwab@redhat.com>
32990         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32991         (__FD_ELT): Renamed from __FDELT.
32992         * misc/bits/select2.h (__FD_ELT): Likewise.
32993         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32994         __FD_MASK instead of __FDELT, __FDMASK.
32995         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32996         Likewise.
32997         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32998         Likewise.
33000         * elf/Makefile (gen-ldd): Fix pattern.
33002         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33003         (init_tls): Likewise.
33005 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33007         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33009 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33011         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33012         `struct cmsghdr *' instead of `void *'.
33013         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33014         Likewise.
33016 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33018         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33019         if non-absolute.
33020         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33021         ldd_rewrite_script.
33023 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33025         * configure.in: Remove --with-tls option.
33026         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33027         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33028         out in case it is missing.
33029         * sysdeps/ia64/elf/configure.in: Likewise.
33030         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33031         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33032         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33033         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33034         * sysdeps/sh/elf/configure.in: Likewise.
33035         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33036         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33037         * sysdeps/x86_64/elf/configure.in: Likewise.
33038         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33039         * sysdeps/mach/hurd/tls.h: Likewise.
33041         [BZ #13067]
33042         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33044         [BZ #13090]
33045         * configure.in: Fix use of AC_INIT.
33047         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33049 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33051         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33052         __set_errno.
33053         * malloc/hooks.c: Likewise.
33055         [BZ #11929]
33056         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33057         variables statically.
33058         (narenas): Initialize.
33059         (list_lock): Initialize.
33060         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33061         initializtion of main_arena and list_lock.  Small cleanups.
33062         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33063         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33064         Add initializers to main_arena and mp_.
33065         (malloc_state): Remove pagesize member.  Change all users to use
33066         GLRO(dl_pagesize).
33068         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33069         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33070         is always initialized.
33072         * malloc/malloc.c: Removed unused configurations and dead code.
33073         * malloc/arena.c: Likewise.
33074         * malloc/hooks.c: Likewise.
33075         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33077         * include/tls.h: Removed.  USE___THREAD must always be defined.
33078         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33079         * elf/dl-libc.c: Likewise.
33080         * elf/dl-tsd.c: Likewise.
33081         * include/errno.h: Likewise.
33082         * include/netdb.h: Likewise.
33083         * include/resolv.h: Likewise.
33084         * inet/herrno-loc.c: Likewise.
33085         * inet/herrno.c: Likewise.
33086         * malloc/arena.c: Likewise.
33087         * malloc/hooks.c: Likewise.
33088         * malloc/malloc.c: Likewise.
33089         * resolv/res-state.c: Likewise.
33090         * resolv/res_libc.c: Likewise.
33091         * sysdeps/i386/dl-machine.h: Likewise.
33092         * sysdeps/ia64/dl-machine.h: Likewise.
33093         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33094         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33095         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33096         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33097         * sysdeps/sh/dl-machine.h: Likewise.
33098         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33099         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33100         * sysdeps/unix/i386/sysdep.S: Likewise.
33101         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33102         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33103         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33104         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33105         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33106         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33107         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33108         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33111         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33112         * sysdeps/x86_64/dl-machine.h: Likewise.
33113         * tls.make.c: Likewise.
33115         * configure.in: Remove --with-__thread option.  Make tests for
33116         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33117         tls_model attribute fail if no support is available.  Remove
33118         USE_IN_LIBIO.
33119         * Makeconfig: Adjust for dropped configure option.  All features are
33120         now mandatory.
33121         * Makerules: Likewise.
33122         * Versions.def: Likewise.
33123         * argp/argp-fmtstream.c: Likewise.
33124         * argp/argp-fmtstream.h: Likewise.
33125         * argp/argp-help.c: Likewise.
33126         * assert/assert.c: Likewise.
33127         * config.h.in: Likewise.
33128         * config.make.in: Likewise.
33129         * configure: Likewise.
33130         * configure.in: Likewise.
33131         * csu/Versions: Likewise.
33132         * csu/init.c: Likewise.
33133         * elf/tst-audit2.c: Likewise.
33134         * elf/tst-tls10.c: Likewise.
33135         * elf/tst-tls10.h: Likewise.
33136         * elf/tst-tls11.c: Likewise.
33137         * elf/tst-tls12.c: Likewise.
33138         * elf/tst-tls14.c: Likewise.
33139         * elf/tst-tlsmod11.c: Likewise.
33140         * elf/tst-tlsmod12.c: Likewise.
33141         * elf/tst-tlsmod13.c: Likewise.
33142         * elf/tst-tlsmod13a.c: Likewise.
33143         * elf/tst-tlsmod14a.c: Likewise.
33144         * elf/tst-tlsmod15b.c: Likewise.
33145         * elf/tst-tlsmod16a.c: Likewise.
33146         * elf/tst-tlsmod16b.c: Likewise.
33147         * elf/tst-tlsmod7.c: Likewise.
33148         * elf/tst-tlsmod8.c: Likewise.
33149         * elf/tst-tlsmod9.c: Likewise.
33150         * gmon/gmon.c: Likewise.
33151         * grp/fgetgrent_r.c: Likewise.
33152         * grp/putgrent.c: Likewise.
33153         * hurd/fopenport.c: Likewise.
33154         * include/libc-symbols.h: Likewise.
33155         * include/tls.h: Likewise.
33156         * intl/gettextP.h: Likewise.
33157         * intl/loadinfo.h: Likewise.
33158         * locale/global-locale.c: Likewise.
33159         * locale/localeinfo.h: Likewise.
33160         * mach/devstream.c: Likewise.
33161         * malloc/arena.c: Likewise.
33162         * malloc/set-freeres.c: Likewise.
33163         * misc/err.c: Likewise.
33164         * misc/getttyent.c: Likewise.
33165         * misc/mntent_r.c: Likewise.
33166         * posix/getopt.c: Likewise.
33167         * posix/wordexp.c: Likewise.
33168         * pwd/fgetpwent_r.c: Likewise.
33169         * resolv/Versions: Likewise.
33170         * resolv/res_hconf.c: Likewise.
33171         * shadow/fgetspent_r.c: Likewise.
33172         * shadow/putspent.c: Likewise.
33173         * stdio-common/printf_fphex.c: Likewise.
33174         * stdio-common/tmpfile.c: Likewise.
33175         * stdlib/abort.c: Likewise.
33176         * stdlib/fmtmsg.c: Likewise.
33177         * sunrpc/auth_unix.c: Likewise.
33178         * sunrpc/clnt_perr.c: Likewise.
33179         * sunrpc/clnt_tcp.c: Likewise.
33180         * sunrpc/clnt_udp.c: Likewise.
33181         * sunrpc/clnt_unix.c: Likewise.
33182         * sunrpc/openchild.c: Likewise.
33183         * sunrpc/svc_simple.c: Likewise.
33184         * sunrpc/svc_tcp.c: Likewise.
33185         * sunrpc/svc_udp.c: Likewise.
33186         * sunrpc/svc_unix.c: Likewise.
33187         * sunrpc/xdr.c: Likewise.
33188         * sunrpc/xdr_array.c: Likewise.
33189         * sunrpc/xdr_rec.c: Likewise.
33190         * sunrpc/xdr_ref.c: Likewise.
33191         * sunrpc/xdr_stdio.c: Likewise.
33193 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33195         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33197 2011-07-03  Andreas Jaeger  <aj@suse.de>
33199         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33200         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33201         regenerate with gen-libm-tests.pl.
33203 2010-05-12  Petr Baudis  <pasky@suse.cz>
33205         [BZ #11589]
33206         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33207         around j0() zero points by switching to j1().
33208         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33209         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33210         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33211         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33213 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33215         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33216         instead of 0.
33217         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33218         instead of 0.
33219         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33220         Patch in part by Pavel Roskin <proski@gnu.org>.
33222         [BZ #13138]
33223         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33224         realloc.
33225         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33226         Free memory block if necessary.
33228         [BZ #12847]
33229         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33230         be NULL.  Don't lock in this case.
33232 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33234         * elf/elf.h (ELFOSABI_GNU): New macro.
33235         (ELFOSABI_LINUX): Define to that.
33237 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33239         * string/strncat.c (strncat): Undef the symbol in case it has been
33240         defined in bits/string.h.
33242 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33244         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33246         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33247         link map.
33249 2011-08-17  Andreas Jaeger  <aj@suse.de>
33251         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33253 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33254             Ian Lance Taylor  <iant@google.com>
33256         * math/libm-test.inc (lround_test): New testcase.
33257         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33259 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33261         * Makefile: Remove support for automatic cvs check-ins.
33262         * Makerules: Likewise.
33263         * config.make.in: Likewise.
33264         * configure.in: Likewise.
33265         * intl/Makefile: Likewise.
33266         * locale/Makefile: Likewise.
33267         * po/Makefile: Likewise.
33268         * posix/Makefile: Likewise.
33269         * sysdeps/gnu/Makefile: Likewise.
33270         * sysdeps/mach/hurd/Makefile: Likewise.
33271         * sysdeps/sparc/sparc32/Makefile: Likewise.
33273         [BZ #13118]
33274         * posix/Makefile (bug-regex32-ENV): Define.
33275         Patch by John Stanley <jpsinthemix@verizon.net>.
33277         * misc/Makefile (headers): Add bits/select2.h.
33278         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33279         * misc/bits/select2.h: New file.
33280         * include/bits/select2.h: New file.
33281         * debug/Makefile (routines): Add fdelt_chk.
33282         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33283         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33284         FD_ISSET.
33285         * debug/fdelt_chk.c: New file.
33287         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33288         * wcsmbs/test-wmemcmp.c: Likewise.
33289         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33290         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33292 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33294         * string/Makefile (strop-tests): Add memcmp.
33295         * string/test-wmemcmp.c: New file.
33296         * string/test-memcmp.c: Add wmemcmp support.
33298 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33300         [BZ #13153]
33301         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33302         2011-07-19 change.
33304         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33305         garbage value in a __mach_port_mod_refs call in the cases of the
33306         task-self and thread-self ports.
33308 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33310         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33312 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33314         * elf/dl-load.c (lose): Check for non-null L.
33316 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33318         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33320         * elf/dl-libc.c (dlerror_run): Pass back error code from
33321         dl_catch_error.
33323         [BZ #13123]
33324         * elf/dl-load.c (lose): Free l_origin if it is valid.
33326         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33327         names.
33328         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33329         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33330         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33331         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33332         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33333         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33335 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33337         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33338         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33339         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33340         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33341         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33342         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33343         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33344         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33345         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33346         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33348 2011-08-15  Alan Modra  <amodra@gmail.com>
33350         [BZ #13092]
33351         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33352         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33353         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33354         ppc_mcount to static-only-routines.
33355         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33356         __mcount_internal.
33357         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33358         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33360 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33362         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33363         for finite and infinity parameters.
33365 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33367         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33368         and add nop instructions for throughput optimization.
33369         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33371 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33373         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33374         aligned copy for power7 with vector-scalar instructions.
33375         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33377 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33379         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33380         AVX check.
33382 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33384         [BZ #13144]
33385         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33386         last change.
33388 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33390         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33391         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33392         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33393         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33394         clock_gettime.
33396 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33398         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33399         Forgot to demangle the pointer.
33401         * sysdeps/i386/sysdep.h: Define atom_text_section.
33402         * sysdeps/x86_64/sysdep.h: Likewise.
33403         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33404         section with atom_text_section.
33405         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33406         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33407         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33408         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33409         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33411         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33412         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33413         already be defined.  Change to take two parameters and don't assign
33414         result to variable.  Adjust all users.
33415         Define INTERNAL_GETTIME if not already defined.
33416         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33417         call.
33418         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33419         HAVE_CLOCK_GETTIME_VSYSCALL.
33420         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33422         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33423         gettimeofday vsyscall, just use time.
33425 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33427         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33428         <errno.h>.
33430 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33432         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33433         syscall on x86-64.
33434         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33435         syscall.
33436         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33437         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33438         syscall if possible.
33440 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33442         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33443         e_ident.  Don't pass to find_mapsXX.
33444         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33446 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33449         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33450         * sysdeps/x86_64/multiarch/strchr.S: Update.
33451         Check bit_slow_BSF bit.
33452         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33453         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33454         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33456 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33458         [BZ #13134]
33459         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33460         before glibc 2.15.
33461         (tryshell): Define.
33462         (__spawni): Change last parameter to be flag.  Test
33463         SPAWN_XFLAGS_USE_PATH flag to use path or not.
33464         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33465         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33466         * posix/spawni.c: Likewise.
33467         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33468         * posix/spawnp.c: Likewise.  Change normal version to use
33469         SPAWN_XFLAGS_USE_PATH.
33470         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33471         SPAWN_XFLAGS_TRY_SHELL.
33473         [BZ #13150]
33474         * posix/glob.h: Remove gcc 1.x support.
33476         [BZ #13068]
33477         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33479 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33481         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33482         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33483         strrchr-sse2-bsf
33484         * sysdeps/i386/i686/multiarch/strchr.S: New file.
33485         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33486         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33487         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33488         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33489         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33491 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33493         * sysdeps/x86_64/wcscmp.S: New file.
33495         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33496         wcscmp-c wcscmp-sse2
33497         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33498         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33499         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33500         * wcsmbs/wcscmp.c: Allow renaming.
33502 2011-09-05  David S. Miller  <davem@davemloft.net>
33504         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33505         stack slot, rather than the struct return pointer slot.
33506         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33507         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33509         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33511 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33513         * po/ja.po: Update from translation team.
33515         [BZ #13144]
33516         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33517         kernel in 64-bit binaries.
33519 2011-09-01  David S. Miller  <davem@davemloft.net>
33521         * elf/elf.h (HWCAP_SPARC_*): Move to..
33522         * sysdeps/sparc/sysdep.h: this new file and add new values.
33523         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33524         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33525         _DL_HWCAP_COUNT to 24.
33526         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33527         entries.
33528         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33529         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33530         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33531         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33532         instead of magic constants.
33533         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33535 2011-08-31  David S. Miller  <davem@davemloft.net>
33537         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33538         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33539         Reimplement to do errno handling inline.
33540         (SYSCALL_ERROR_HANDLER): New macro.
33541         (__SYSCALL_STRING): Do not do errno handling in asm.
33542         (__CLONE_SYSCALL_STRING): Delete.
33543         (__INTERNAL_SYSCALL_STRING): Delete.
33544         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33545         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33546         (PSEUDO): Reimplement to do errno handling inline.
33547         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33548         (SYSCALL_ERROR_HANDLER): New macro.
33549         (__SYSCALL_STRING): Do not do errno handling in asm.
33550         (__CLONE_SYSCALL_STRING): Delete.
33551         (__INTERNAL_SYSCALL_STRING): Delete.
33552         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33553         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33554         i386.
33555         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33556         (inline_syscall*): Add 'err' argument.
33557         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33558         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33559         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33560         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33562         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33563         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33565 2011-08-30  Andreas Schwab  <schwab@redhat.com>
33567         * elf/rtld.c (dl_main): Relocate objects in dependency order.
33569 2011-08-29  Jiri Olsa <jolsa@redhat.com>
33571         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33572         directive.
33574 2011-08-24  David S. Miller  <davem@davemloft.net>
33576         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33578 2011-08-24  Andreas Schwab  <schwab@redhat.com>
33580         * elf/Makefile: Add rules to build and run unload8 test.
33581         * elf/unload8.c: New file.
33582         * elf/unload8mod1.c: New file.
33583         * elf/unload8mod1x.c: New file.
33584         * elf/unload8mod2.c: New file.
33585         * elf/unload8mod3.c: New file.
33587         * elf/dl-close.c (_dl_close_worker): Reset private search list if
33588         it wasn't used.
33590 2011-08-23  David S. Miller  <davem@davemloft.net>
33592         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33593         subtract stack bias.
33594         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33595         %sp not %fp in calculations.
33596         (_JMPBUF_UNWINDS_ADJ): Likewise.
33598         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33599         (aio_suspend): Call it to force an exception region around the
33600         AIO_MISC_WAIT() invocation.
33602 2011-08-23  Andreas Schwab  <schwab@redhat.com>
33604         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33605         backslash.
33607 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
33609         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33610         protection macro.
33611         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33612         and <dl-machine.h>.
33613         (Elf64_FuncDesc): Remove.
33615 2011-08-22  David S. Miller  <davem@davemloft.net>
33617         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33618         sigaltstack check, add missing cfi directives.
33619         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33620         missing cfi directives, and sigaltstack handling.
33622 2011-08-16  Andreas Schwab  <schwab@redhat.com>
33624         [BZ #11724]
33625         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33626         object is seen twice.
33627         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33629         * elf/Makefile (distribute): Add tst-initorder2.c.
33630         (tests): Add tst-initorder2.
33631         (modules-names): Add tst-initorder2a tst-initorder2b
33632         tst-initorder2c tst-initorder2d.  Add rules to build them.
33633         ($(objpfx)tst-initorder2.out): New rule.
33634         * elf/tst-initorder2.c: New file.
33635         * elf/tst-initorder2.exp: New file.
33637 2011-08-22  Andreas Schwab  <schwab@redhat.com>
33639         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33641         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33642         dependencies back to end of function.
33644         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33645         $(elfobjdir)/ld.so.
33647 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
33649         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33650         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33651         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33652         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33653         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33654         of __vdso_gettimeofday.
33655         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33656         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
33657         attribute_hidden.
33658         (_libc_vdso_platform_setup): Remove initialization of
33659         __vdso_gettimeofday and __vdso_time.
33661 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33663         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33664         and fgetc_unlocked.
33665         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33666         getc_unlocked.
33668         * elf/dl-open.c (add_to_global): Report additions to the global scope
33669         for LD_DEBUG=scopes.
33670         (dl_open_worker): Also print scope of newly loaded dependencies.
33671         (_dl_show_scope): Indicate if there is no scope.
33673         [BZ #13114]
33674         * stdio-common/Makefile (tests): Add bug24.
33675         * stdio-common/bug24.c: New file.
33677 2011-08-19  Andreas Jaeger  <aj@suse.de>
33679         [BZ #13114]
33680         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33681         non-existant file when using close-on-exec mode.
33683 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33686         the very first instruction.
33688         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33689         the CFI state in the end.
33690         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33691         inclusion of dl-trampoline.h.
33692         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33694 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33696         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33697         expectations for long double.
33699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33700         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33702 2011-08-14  David S. Miller  <davem@davemloft.net>
33704         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33705         artificual limit depends upon the system page size.
33707 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33709         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33710         * resolv/Makefile: Define CFLAGS-libresolv.
33712 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33714         * nss/makedb.c (compute_tables): Make variables used in nested
33715         function static.
33717 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33719         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33720         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33721         if buffer was too small.
33723         * elf/pldd.c (main): Attach to all threads in the process.
33724         Rewrite /proc handling to use *at functions.
33726 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33728         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33729         specifies first scope to show.
33730         (dl_open_worker): Update callers.  Move printing scope of new
33731         object to before the relocation.
33732         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33733         * sysdeps/generic/ldsodefs.h: Update declaration.
33735         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33736         string for the scope number.
33738 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33740         * nscd/servicescache.c (cache_addserv): Make sure written is always
33741         initialized.
33743 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33745         * sysdeps/i386/i486/bits/atomic.h
33746         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33747         statement expression, so as to suppress "set but not used" warning.
33748         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33750         * string/strncat.c (STRNCAT): Use prototype definition.
33752         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33753         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33754         -Iprograms here.
33755         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33756         (localedef-modules): Add localedef.
33757         (locale-modules): Add locale.
33759         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33760         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33761         to avoid a warning.
33763 2011-08-14  David S. Miller  <davem@davemloft.net>
33765         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33766         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33768 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33770         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33771         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33772         * elf/rtld.c (dl_main): Set l_name of vDSO.
33773         Call _dl_show_scope when DL_DEBUG_SCOPES.
33774         (process_dl_debug): Recognize scopes flag and also set it for all.
33775         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33776         Declare _dl_show_scope.
33778         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33779         (do_dlopen): Pass caller_dlopen to dl_open.
33780         (__libc_dlopen_mode): Initialize caller_dlopen.
33782         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33783         of libc.  Make tolower call locale-independent.  Optimize a bit by
33784         using isdigit instead of isalnum.
33785         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33787 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33789         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33790         was a dependency or dynamically loaded.
33792 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33794         * intl/l10nflist.c: Allow architecture-specific pop function.
33795         * sysdeps/x86_64/l10nflist.c: New file.
33797         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33798         classification.
33800 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33802         * include/dirent.h: Add libc_hidden_proto for scandirat and
33803         scandirat64.  Don't declare __scandirat64.
33804         * dirent/scandirat.c: Add libc_hidden_def.
33805         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33806         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33808 2011-08-10  David S. Miller  <davem@davemloft.net>
33810         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33811         enum.
33812         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33813         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33814         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33816 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33818         * Versions.def [libc]: Add GLIBC_2.15.
33819         * dirent/Makefile (routines): Add scandirat and scandirat64.
33820         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33821         GLIBC_2.15.
33822         * dirent/dirent.h: Declare scandirat and scandirat64.
33823         * dirent/scandirat.c: New file.
33824         * dirent/scandirat64.c: New file.
33825         * sysdeps/wordsize-64/scandirat.c: New file.
33826         * sysdeps/wordsize-64/scandirat64.c: New file.
33827         * dirent/opendir.c: Define opendirat.
33828         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33829         using scandirat.
33830         * dirent/scandir64.c: Adjust for scandir.c change.
33831         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33832         __scandirat64, and __scandir_cancel_handler.
33833         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33834         additional parameter and use openat instead of open (outside of ld.so).
33835         Add new __opendir as wrapper around __opendirat.
33836         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33837         here without requiring old scandirat implementation.
33839 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33841         * dirent/scandir.c (cancel_handler): Renamed to
33842         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33843         defined.  Adjust users.
33844         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33845         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33847 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33849         * string/test-string.h (IMPL): Use __STRING to expand name and then
33850         stringify it.
33852         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33853         of cleanups.
33855 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33857         * string/Makefile: Update.
33858         (strop-tests): Append strncat.
33859         * string/test-wcscmp.c: New file.
33860         New comprehensive test for wcscmp.
33861         * string/test-strcmp.c: Update.
33862         (WIDE): New define.
33864 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33866         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33867         line.
33869 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33872         encoding to ACE if AI_IDN.
33874 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33876         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33877         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33879 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33881         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33882         Fix overflow bug in strncat.
33883         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33885         * string/test-strncat.c: Update.
33886         Add new tests for checking overflow bugs.
33888 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33891         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33892         * sysdeps/i386/i686/multiarch/strcat.S: New file.
33893         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33894         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33895         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33896         * sysdeps/i386/i686/multiarch/strncat.S: New file.
33897         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33898         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33900         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33901         (USE_AS_STRCAT): Define.
33902         Add strcat and strncat support.
33903         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33905 2011-07-25  Andreas Schwab  <schwab@redhat.com>
33907         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33908         __n bigger than INT_MAX+1.
33909         (__strncmp_g): Likewise.
33911 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
33913         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33914         * libio/stido.h: Likewise.
33916         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33917         (AF_NFC): Define.
33918         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33919         (AF_NFC): Define.
33921         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33922         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33923         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33924         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33925         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33927         [BZ #13021]
33928         * scripts/test-installation.pl: Don't expect libnss_test1 to be
33929         installed.
33931         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33932         typo.
33933         (_dl_x86_64_save_sse): Likewise.
33935 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
33937         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33938         OSXSAVE.
33939         (_dl_x86_64_save_sse): Likewise.
33941         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33943         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33945 2011-07-21  Andreas Schwab  <schwab@redhat.com>
33947         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33948         change.
33949         (_dl_x86_64_save_sse): Use correct AVX check.
33951 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33953         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33954         bug in strncpy/strncat.
33955         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33957 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
33959         * string/tester.c (test_strcat): Add tests for different alignments
33960         of source and destination.
33961         (test_strncat): Likewise.
33963 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33965         [BZ #12852]
33966         * posix/glob.c (glob): Check passed in values before using them in
33967         expressions to avoid some overflows.
33968         (glob_in_dir): Likewise.
33970         [BZ #13007]
33971         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33972         check for AVX enablement so that we don't crash with old kernels and
33973         new hardware.
33974         * elf/tst-audit4.c: Add same checks here.
33975         * elf/tst-audit6.c: Likewise.
33977         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33979 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
33981         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33983 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33985         * po/cs.po: Update from translation team.
33986         * po/bg.po: Likewise.
33988 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
33990         * misc/sys/cdefs.h: Add support for const attribute.
33991         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33992         to gnu_dev_{major,minor,makedev} functions.
33994 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
33996         * intl/dcigettext.c (get_output_charset): Add missing bracket.
33998 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34000         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34001         strlen results.
34003 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34005         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34006         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34007         register in order to avoid conflicts with the soft frame pointer
34008         being held in r11 when necessary.
34009         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34010         (INTERNAL_VSYSCALL_NCS): Likewise.
34012 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34014         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34015         * elf/dl-fini.c (_dl_fini): Adjust caller.
34016         * elf/dl-close.c (_dl_close_worker): Likewise.
34017         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34019 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34021         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34022         "aux_cache->nlibs < 0".
34024         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34025         in the reload-count case.
34027 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34030         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34031         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34032         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34033         * sysdeps/x86_64/multiarch/strcat.S: New file.
34034         * sysdeps/x86_64/multiarch/strncat.S: New file.
34035         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34036         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34037         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34038         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34039         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34040         (USE_AS_STRCAT): Define.
34041         Add strcat and strncat support.
34042         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34043         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34044         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34045         * string/strncat.c: Update.
34046         (USE_AS_STRNCAT): Define.
34047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34048         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34049         and i7.
34050         * sysdeps/x86_64/multiarch/init-arch.h
34051         (bit_Prefer_PMINUB_for_stringop): New.
34052         (index_Prefer_PMINUB_for_stringop): Likewise.
34053         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34054         bit_Prefer_PMINUB_for_stringop.
34056 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34058         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34059         buffer64.
34060         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34061         of casting of buffer.
34062         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34063         buffer32 and buffer64.
34064         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34065         writes instead of casting of buffer.
34066         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34067         buffer32.
34068         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34069         casting of buffer.
34071 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34073         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34075 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34077         * nscd/nscd.c (termination_handler): Don't do anything for a database
34078         if it has not yet been initialized.
34080 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34082         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34084 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34086         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34088 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34090         * po/nl.po: Update from translation team.
34091         * po/sv.po: Likewise.
34093 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34095         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34096         now disallowed by GCC.
34098         * configure.in (use-default-link): Default to yes if a test -shared
34099         link meets our qualifications.
34100         * configure: Regenerated.
34102         * config.make.in (output-format): New variable.
34103         * configure.in: Check for ld --print-output-format support.
34104         * configure: Regenerated.
34105         * Makerules ($(common-objpfx)format.lds)
34106         [$(output-format) != unknown]: Just use $(output-format),
34107         instead of the linker-script munging.
34109 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34111         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34112         of $(common-objpfx)shlib.lds.
34113         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34115         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34116         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34118         * configure.in (-z relro check): Adjust test code to add a large
34119         writable data section after it.
34120         * configure: Regenerated.
34122 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34124         * configure.in (-z relro check): Fix test code to make the variable
34125         truly const.
34126         * configure: Regenerated.
34128 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34130         * nscd/nscd.h (struct traced_file): Define.
34131         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34132         elements.  Add traced_files.
34133         (inotify_fd): Declare.
34134         (register_traced_file): Declare.
34135         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34136         (inotify_fd): Export.
34137         (resolv_conf_descr): Remove.
34138         (nscd_init): Move inotify descriptor creation to main.
34139         Don't register files for notification here.
34140         (register_traced_file): New function.
34141         (invalidate_cache): Don't use reset_res to determine whether to call
34142         res_init, go through the list of registered files.
34143         (main_loop_poll): The inotify descriptors are now stored in the
34144         structures for the traced files.
34145         (main_loop_epoll): Likewise
34146         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34147         to __nss_disable_nscd.
34148         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34149         for a database anymore.  Check the records for all the registered
34150         files instead.
34151         * nss/Makefile (libnss_files-routines): Add files-init.
34152         (libnss_db-routines): Add db-init.
34153         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34154         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34155         * nss/nss_db/db-init.c: New file.
34156         * nss/nss_files/files-init.c: New file.
34157         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34158         __nss_lookup_function.
34159         (__nss_lookup_function): Call nss_load_library.
34160         (nss_load_all_libraries): New function.
34161         (__nss_disable_nscd): Take parameter with callback function for files
34162         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34163         used for the cached services.
34164         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34165         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34166         options for features to all the files in nscd.
34168         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34170 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34172         * csu/elf-init.c (__libc_csu_init): Comment typo.
34174 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34176         * po/pl.po: Update from translation team.
34177         * po/ja.po: Likewise.
34178         * po/ru.po: Likewise.
34179         * po/ko.po: Likewise.
34180         * po/fr.po: Likewise.
34182 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34184         * configure.in (.ctors/.dtors header and trailer check):
34185         Use an empirical test on a built program.
34186         * configure: Regenerated.
34188         * configure.in (-z relro check): Use an empirical test on a built DSO.
34189         Detect, but do not require, on ia64.
34190         * configure: Regenerated.
34192         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34193         Update tests that use readelf to use $READELF instead.
34194         * configure: Regenerated.
34196 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34198         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34199         if the result is not used.
34201 2011-07-05  Andreas Jaeger  <aj@suse.de>
34203         [BZ#9696]
34204         * stdlib/tst-strtod.c: Add testcase.
34206 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34208         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34209         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34210         The latter has a higher limit.  Take additional parameter to pass to
34211         the new function.
34212         (__pathconf): Pass file to __statfs_link_max.
34213         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34214         __statfs_link_max.
34215         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34216         __statfs_link_max.
34218         [BZ #12868]
34219         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34220         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34221         Handle Lustre.
34222         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34223         (__statfs_filesize_max): Likewise.
34224         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34226 2011-07-05  Andreas Jaeger  <aj@suse.de>
34228         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34230 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34232         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34233         `status' variable.
34234         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34235         Likewise.
34237 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34239         * Makefile (strop-tests): Add strncat.
34240         * string/test-strncat.c: New file.
34242 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34244         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34246 2011-06-21  Andreas Jaeger  <aj@suse.de>
34248         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34249         Copy rule from iconvdata/Makefile.
34251 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34253         [BZ #12922]
34254         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34255         but no long options are defined, just return 'W'.
34257 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34259         [BZ #9696]
34260         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34262 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34264         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34265         netgroups to read.
34266         (innetgr): Likewise.
34268 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34270         * config.make.in (install_root): Default to $(DESTDIR).
34272 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34274         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34276 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34278         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34280         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34281         containing directory rather than embedding absolute directory names.
34283         * scripts/check-local-headers.sh: Rewritten using awk.
34284         Match by word, not by line.  Print error messages for matches.
34285         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34287         * Makerules [shlib-lds-flags empty]:
34288         ($(common-objpfx)libc_pic.opts): New target.
34289         ($(common-objpfx)libc_pic.os.clean): New target.
34290         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34292         * config.make.in (OBJCOPY): New variable.
34293         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34294         * configure: Regenerated.
34296         * config.make.in (use-default-link): New variable.
34297         * configure.in (use_default_link): Grok --with-default-link to set it.
34298         * configure: Regenerated.
34299         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34300         (shlib-lds, shlib-lds-flags): Define to empty.
34302         * Makerules (shlib-lds): New variable.
34303         (shlib-lds-flags): New variable.
34304         (build-shlib, build-moduile, build-module-asneeded): Use it.
34305         ($(common-objpfx)libc.so): Use $(shlib-lds).
34306         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34307         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34309         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34310         DT_FLAGS/DT_FLAGS_1 with zero flags.
34312         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34313         linker script munging.
34315 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34317         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34318         as 128-bit value.
34319         * crypt/sha512.c (sha512_process_block): Perform total addition using
34320         128-bit if possible.
34321         (__sha512_finish_ctx): Likewise.
34322         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34323         as 64-bit value.
34324         * crypt/sha256.c (SWAP64): Define.
34325         (sha256_process_block): Perform total addition using 64-bit if
34326         possible.
34327         (__sha256_finish_ctx): Likewise.
34329 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34331         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34332         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34333         * nscd/hstcache.c (cache_addhst): Likewise.
34334         * nscd/grpcache.c (cache_addgr): Likewise.
34335         * nscd/aicache.c (addhstaiX): Likewise
34336         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34338 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34340         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34341         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34342         * nscd/hstcache.c (cache_addhst): Likewise.
34343         * nscd/grpcache.c (cache_addgr): Likewise.
34344         * nscd/aicache.c (addhstaiX): Likewise
34346 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34348         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34349         domain only when needed.
34351 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34353         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34354         is always restored.
34356 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34358         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34359         are re-adding the entry.
34360         * nscd/servicescache.c (cache_addserv): Likewise.
34362 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34364         * sysdeps/generic/dl-irel.h: fix protection against multiple
34365         inclusions.
34366         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34368 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34370         [BZ #12935]
34371         * malloc/memusage.sh: Fix quoting in message.
34372         * debug/xtrace.sh: Likewise.
34374         * configure.in: Remove support for --experimental-malloc option, make
34375         it the default.
34376         * config.make.in: Likewise.
34377         * malloc/Makefile: Likewise.
34379 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34381         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34382         two-byte characters.
34384 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34386         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34387         AC_CACHE_CHECK invocation.
34388         * configure: Regenerated.
34390         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34392 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34394         [BZ #12350]
34395         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34396         bit from old_res_options.
34398         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34400         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34401         value type for setfct.
34403 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34405         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34406         __gettimeofday instead of gettimeofday.
34408 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34410         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34412 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34414         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34416         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34417         info.
34419 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34421         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34422         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34423         strcpy-sse2-unaligned strncpy-sse2-unaligned
34424         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34425         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34426         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34427         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34428         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34429         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34430         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34431         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34432         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34433         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34434         (STRCPY): Support SSE2 and SSSE3 versions.
34436 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34438         [BZ #12874]
34439         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34440         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34441         kernels which artificially limit size of requests.
34443 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34446         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34447         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34448         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34449         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34450         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34451         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34452         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34453         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34454         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34455         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34456         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34457         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34458         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34459         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34461         Enable unaligned load optimization for Intel Core i3, i5 and i7
34462         processors.
34463         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34464         Define.
34465         (index_Fast_Unaligned_Load): Define.
34466         (HAS_FAST_UNALIGNED_LOAD): Define.
34468 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
34470         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34472 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34474         [BZ #12907]
34475         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34476         until it is clear that the information is realy needed.
34477         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34479 2011-06-22  Andreas Schwab  <schwab@redhat.com>
34481         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34483 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34485         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34486         /sys/devices/system/cpu/online if it is usable.
34488         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34489         reading the information from the /proc filesystem to once a second.
34491 2011-06-21  Andreas Jaeger  <aj@suse.de>
34493         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34494         NULL after inclusion of kernel headers.
34496 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
34498         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34499         calls to internal_setent.
34501         [BZ #12885]
34502         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34503         addresses using gethostbyname4_r ignore IPv4 addresses.
34505         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34506         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
34508         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34510 2011-06-20  David S. Miller  <davem@davemloft.net>
34512         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34513         inclusions.
34514         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34516         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34517         (elf_irel): Use it.
34518         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34519         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34520         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34521         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34522         * sysdeps/x86_64/dl-irel.h: Likewise.
34524         * elf/dl-runtime.c: Use elf_ifunc_invoke.
34525         * elf/dl-sym.c: Likewise.
34527 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34529         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
34530         need to dereference resplen2.
34532 2011-06-14  Andreas Schwab  <schwab@redhat.com>
34534         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34536 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34538         * Makeconfig: Define vardbdir and inst_vardbdir.
34539         * nss/Makefile: Add rules to install db-Makefile.
34541         * nss/nss_db/db-XXX.c: Cleanup.
34543         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34544         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34545         GLIBC_PRIVATE.
34546         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34547         * nss/makedb.c: Implement -g option to specify that value strings
34548         are generated and should not be added to table iterated over for
34549         get*ent calls.
34550         * nss/nss_db/db-initgroups.c: New file.
34552         * nss/getent.c: Add support for initgroups lookups through getgrouplist
34553         interface.
34555         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34556         (internal_getgrouplist): Adjust to name change.
34557         Update use_initgroups_entry if this is not the first call.
34558         * nss/databases.def: Add initgroups entry.
34560         * nss/makedb.c (compute_tables): Check result of multiple hash table
34561         sizes to minimize maximum chain length.
34563 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
34565         * Versions.def: Add entry for libnss_db.
34566         * shlib-versions: Likewise.
34567         * nss/Makefile: Add rules to build libnss_db.
34568         * nss/Versions: Add libnss_db information.  Organize libnss_files
34569         entries better.
34570         * nss/db-Makefile: Add gshadow support.  Change rules for the new
34571         makedb progra.  Some minor improvements to generate smaller files.
34572         * nss/nss_db/nss_db.h: Move NSS database header data structures to
34573         here from...
34574         * nss/makedb.c: ...here.
34575         Improve database format to be smaller and require less memory at
34576         runtime.
34577         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
34578         db anymore.
34579         * nss/nss_db/db-netgrp.c: Likewise.
34580         * nss/nss_db/db-open.c: Likewise.
34581         * nss/nss_files/flies-XXX.x: Adjust comments.
34582         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34583         * nss/nss_files/files-grp.c: Likewise.
34584         * nss/nss_files/files-hosts.c: Likewise.
34585         * nss/nss_files/files-network.c: Likewise.
34586         * nss/nss_files/files-proto.c: Likewise.
34587         * nss/nss_files/files-pwd.c: Likewise.
34588         * nss/nss_files/files-rpc.c: Likewise.
34589         * nss/nss_files/files-service.c: Likewise.
34590         * nss/nss_files/files-sgrp.c: Likewise.
34591         * nss/nss_files/files-spwd.c: Likewise.
34592         * nss/nss_db/db-alias.c: Removed.
34593         * nss/nss_db/dummy-db.h: Removed.
34595 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
34597         * nss/makedb.c: Rewritten to not use database library.
34598         * nss/Makefile: Update to build new makedb program.
34600 2011-06-14  Andreas Jaeger  <aj@suse.de>
34602         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34603         memset declaration.
34605 2011-06-10  Andreas Schwab  <schwab@redhat.com>
34607         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34608         tmpbuf.
34610 2011-06-10  Roland McGrath  <roland@hack.frob.com>
34612         * Makerules (shlib.lds): Fail if the linker script comes out empty.
34613         * elf/Makefile ($(objpfx)ld.so): Likewise.
34615         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34616         Don't list ld.so twice in dependencies.
34618         * posix/bug-regex31.c: Include <stdlib.h>.
34620         * nscd/hstcache.c (cache_addhst): Remove unused variable.
34622         * nis/nss_compat/compat-spwd.c
34623         (getspent_next_nss_netgr): Remove unused variable.
34624         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34626         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34627         nonmembers" output to use the right array.
34629         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34631         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34633         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34634         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34635         * catgets/gencat.c (read_input_file): Likewise.
34636         * locale/programs/locarchive.c (enlarge_archive): Likewise.
34638         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34639         variable definition inside #if's controlling its use.
34641         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34643         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34645         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34647         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34648         unreachable code.
34650         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34652         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34653         * configure: Regenerated.
34655         * Makerules: Revert last change.
34656         * elf/Makefile: Likewise.
34658 2011-06-09  Roland McGrath  <roland@hack.frob.com>
34660         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34661         * elf/Makefile ($(objpfx)librtld.os): Likewise.
34662         (reloc-link): Likewise.
34664 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
34666         * elf/Makefile: Add rules to build pldd.
34667         * elf/pldd.c: New file.
34668         * elf/pldd-xx.c: New file.
34670 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
34672         * version.h: Update for 2.15 development version.
34674 2011-06-07  David S. Miller  <davem@davemloft.net>
34676         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34677         ifuncs.
34678         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34679         elf_machine_lazy_rel): Likewise.
34680         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34681         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34682         elf_machine_lazy_rel): Likewise.
34683         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34684         dl_hwcap via passed in argument.
34685         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34686         Likewise.
34688 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34690         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34692 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34694         [BZ #12849]
34695         * manual/fdl-1.1.texi: New file, verbatim from:
34696         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34697         * manual/lgpl-2.1.texi: New file, verbatim from:
34698         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34699         * manual/Makefile (licenses): New variable, list those new file names.
34700         (texis): Use it.
34701         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34703         * manual/fdl.texi: File removed.
34704         * manual/lesser.texi: File removed.
34705         * manual/libc.texinfo (Copying, Documentation License):
34706         Use new @include file names, put @appendix directive before @include.
34708 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34710         [BZ #12841]
34711         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34712         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34713         (mq_open): Add __NTH.
34715 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34718         Assume Intel Core i3/i5/i7 processor if AVX is available.
34720 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34722         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34723         typo.
34725 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34727         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34728         memory.  Use alloca_account.  Fix memory leak when retrying.
34730 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34732         * version.h (RELEASE): Bump for 2.14 release.
34733         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34735         * config.make.in (RANLIB): Remove entry.
34737 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34739         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34740         (libc.pot): Work around missing support for .ksh extension in xgettext.
34742         [BZ #12684]
34743         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34744         if both request failed.
34745         (send_dg): In case of server errors clear resplen or *resplen2.
34747         [BZ #12454]
34748         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34749         when there are multiple maps.
34750         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34751         (_dl_fini): Remove test here.
34753         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34755 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34757         [BZ #12350]
34758         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34759         bit from old_res_options.
34760         (gaih_inet): Likewise.
34762         [BZ #11099]
34763         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34764         as signed.
34766         * resolv/res_init.c (res_setoptions): Make the code more compact.
34768         [BZ #11558]
34769         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34770         set RES_USEVC.
34772         [BZ #11634]
34773         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34775         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34777         [BZ #11781]
34778         * malloc/malloc.h: Declare malloc hook variables as volatile.
34780         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34781         in last patch.
34783         [BZ #11799]
34784         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34785         raise in the comment.
34786         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34787         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34788         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34790 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34792         [BZ #12811]
34793         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34794         grow the buffers more if it already has to be sufficient.
34795         (build_wcs_upper_buffer): Likewise.
34796         * posix/regexec.c (check_matching): Likewise.
34797         (clean_state_log_if_needed): Likewise.
34798         (extend_buffers): Don't enlarge buffers beyond size of the input
34799         buffer.
34800         Patches mostly by Emil Wojak <emil@wojak.eu>.
34801         * posix/bug-regex32.c: New file.
34802         * posix/Makefile (tests): Add bug-regex32.
34804         * locale/findlocale.c (_nl_find_locale): Return right away if
34805         _nl_explode_name failed.
34806         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34808         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34810         * debug/xtrace.sh: Unify messages.
34811         * malloc/memusage.sh: Likewise.
34813         [BZ #12813]
34814         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34815         time symbol from vDSO.  Substitute with vsyscall if not available.
34816         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34817         __vdso_time.
34819         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34820         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34821         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34822         Add sendmmsg and internal_sendmmsg.
34823         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34824         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34825         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34827         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34828         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34829         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34831 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34833         [BZ #12813]
34834         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34835         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34836         available.
34837         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34838         __vdso_getcpu.
34840         [BZ #12814]
34841         * iconvdata/Makefile (tests): Add bug-iconv9.
34842         * iconvdata/bug-iconv9.c: New file.
34844 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34846         [BZ #12814]
34847         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34849 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34851         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34852         (struct user_regs_struct): Change intcs field back to cs.
34854 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34856         * po/ja.po: Update from translation team.
34858 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34860         [BZ #12795]
34861         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34862         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34864 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34866         * stdlib/longlong.h: Update from GCC.
34868 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34870         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34871         parameter name.
34872         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34873         Add parameter name.
34874         (__sysconf): Pass it down.
34876 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34878         [BZ #12671]
34879         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34880         some situations.
34881         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34882         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34883         add in in __libc_use_alloca calls.  Adjust callers.
34884         (glob): Use malloc in some situations.
34886         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34887         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34888         pltexit.
34890 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
34892         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34893         and CLOCK_BOOTTIME_ALARM.
34895         [BZ #12782]
34896         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34897         is returned.
34899         * string/_strerror.c (__strerror_r): Print negative errors as signed
34900         numbers.
34902         [BZ #12777]
34903         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34904         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34905         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34907         * configure.in: Fix typo in redirection and correct removal of test
34908         files in two cases.
34910         [BZ #12788]
34911         * locale/setlocale.c (new_composite_name): Fix test to check for
34912         identical name of all categories.
34914         [BZ #12792]
34915         * libio/filedoalloc.c (local_isatty): New function.
34916         (_IO_file_doallocate): Use local_isatty.
34917         * stdio-common/perror.c (perror): In case a new stream is used
34918         forward the stream error.
34919         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34920         error flag.
34922 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
34924         [BZ #11869]
34925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34926         alloca.
34927         * include/alloca.h (extend_alloca_account): Define.
34929         [BZ #11857]
34930         * posix/regex.h: Fix comments with documentation of user-accessible
34931         fields after compilation and describe correct free'ing of pattern
34932         after re_compile_pattern.
34933         Patch by Reuben Thomas <rrt@sc3d.org>.
34935 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
34937         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34938         and -mno-altivec to prevent the compiler from using Altivec and/or
34939         VSX instructions when the corresponding registers are not available.
34941 2011-05-19  Andreas Schwab  <schwab@redhat.com>
34943         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34945 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
34947         * libio/freopen.c (freopen): Use __dup2, not dup2.
34948         * libio/freopen64.c (freopen64): Likewise.
34950 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34952         [BZ #12775]
34953         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34954         * math/Makefile (tests): Add test-powl.
34955         (CFLAGS-test-powl.c): Define.
34956         * math/test-powl.c: New file.
34958 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34960         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34962 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
34964         [BZ #11837]
34965         * iconvdata/gb18030.c: Update to GB18020-2005.
34967 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
34969         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34970         RE_SYNTAX_POSIX_AWK): Update to match recent development.
34971         Patch by Aharon Robbins <arnold@skeeve.com>.
34973         [BZ #11892]
34974         * stdlib/putenv.c (putenv): Don't always create copy of the variable
34975         on the stack.
34977         [BZ #11895]
34978         * misc/pselect.c (__pselect): Handle timeout value errors hidden
34979         through underflows.
34981         [BZ #12766]
34982         * misc/error.c (error_at_line): Ensure file_name and old_file_name
34983         point to strings before performing equality test for error_one_per_line
34984         mode.
34986         [BZ #11697]
34987         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34989         [BZ #11820]
34990         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34991         (struct user_fpregs_struct): Avoid __uint*_t types.
34993         [BZ #6420]
34994         * malloc/mtrace.c (tr_where): Add additional parameter to point to
34995         symbol info.  Use it instead of calling _dl_addr locally.
34996         (lock_and_info): New function.
34997         (tr_freehook): Call lock_and_info and pass symbol info as additional
34998         parameter to tr_where.
34999         (tr_mallochook): Likewise.
35000         (tr_reallochook): Likewise.
35001         (tr_memalignhook): Likewise.
35003         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35004         used and couldn't be at all thread-safe.
35006 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35008         * libio/freopen.c (freopen): Don't close old file descriptor
35009         before the new one is opened.  Instead dup the new file descriptor
35010         to the old one after the new stream is created.
35011         * libio/freopen64.c (freopen64): Likewise.
35012         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35013         * libio/fileops.c (_IO_new_file_close_it): Handle new
35014         _IO_FLAGS2_NOCLOSE flag.
35015         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35016         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35017         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35018         _IO_FLAGS2_NOCLOSE flag.
35019         * include/unistd.h: Add hidden_proto for dup3.
35020         Define __have_dup3.
35021         * io/dup3.c: Define hidden symbol.
35022         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35024         [BZ #7101]
35025         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35026         when an incomplete long option is used.
35027         * posix/tst-getopt_long1.c: New file.
35028         * posix/Makefile (tests): Add tst-getopt_long1.
35030         [BZ #10138]
35031         * scripts/config.guess: Update from autoconf-2.68.
35032         * scripts/config.sub: Likewise.
35034         [BZ #10157]
35035         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35036         tests into ...
35037         (has_cpuclock): ...this.  New function.
35038         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35039         macro here based on has_cpuclock code.
35041         [BZ #10149]
35042         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35043         First byte (not low byte) is now always NUL.
35044         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35046         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35047         Use non-cancelable interfaces.
35049         [BZ #9809]
35050         * locale/iso-639.def: Add entry for Sorani.
35052         [BZ #11901]
35053         * include/stdlib.h: Move include protection to the right place.
35054         Define abort_msg_s.  Declare __abort_msg with it.
35055         * stdlib/abort.c (__abort_msg): Adjust type.
35056         * assert/assert.c (__assert_fail_base): New function.  Majority
35057         of code from __assert_fail.  Allocate memory for __abort_msg with
35058         mmap.
35059         (__assert_fail): Now call __assert_fail_base.
35060         * assert/assert-perr.c: Remove bulk of implementation.  Use
35061         __assert_fail_base.
35062         * include/assert.hL Declare __assert_fail_base.
35063         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35064         mmap.
35065         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35067 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35069         [BZ #11952]
35070         [BZ #12453]
35071         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35072         until all modules are registered in the DTV.
35073         * elf/Makefile: Add rules to build and run tst-tls19.
35074         * elf/tst-tls19.c: New file.
35075         * elf/tst-tls19mod1.c: New file.
35076         * elf/tst-tls19mod2.c: New file.
35077         * elf/tst-tls19mod3.c: New file.
35078         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35080         [BZ #12083]
35081         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35082         correctly.
35084         [BZ #12601]
35085         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35086         two-byte sequence errors.
35087         * iconvdata/Makefile (tests): Add bug-iconv8.
35088         * iconvdata/bug-iconv8.c: New file.
35090         [BZ #12626]
35091         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35092         buf2 definition.
35094         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35096         [BZ #12432]
35097         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35098         (dummy_getcfa): New function.
35099         (init): Get _Unwind_GetCFA address, use dummy if not found.
35100         (backtrace_helper): In recursion check, also check whether CFA changes.
35101         (__backtrace): Completely initialize arg.
35103         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35104         storing incomplete byte sequence in state object.  Avoid testing for
35105         guaranteed too small input if we know there is enough data available.
35107 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35109         * Makeconfig (+link-pie): Indent.
35110         * Rules (binaries-pie): Define if $(have-fpie) and
35111         $(build-shared).
35112         (binaries-shared): Also filter out $(binaries-pie).
35113         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35114         * nscd/Makefile (others-pie): Add nscd.
35115         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35116         ($(objpfx)nscd): Remove command override.
35117         * login/Makefile (others-pie): Add pt_chown.
35118         ($(objpfx)pt_chown): Remove command override.
35119         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35120         remove command overrides.
35122 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35124         * libio/tst_putwc.c: Fix error messages.
35126         [BZ #12724]
35127         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35128         currently writing and seek to current position when not.
35129         * libio/Makefile (tests): Add bug-fclose1.
35130         * libio/bug-fclose1.c: New file.
35132 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35134         [BZ #12511]
35135         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35136         don't set DF_1_NODELETE here.
35137         (do_lookup_x): When entering new entry test for copy relocation
35138         and if necessary set DF_1_NODELETE flag.
35139         * elf/tst-unique4.cc: New file.
35140         * elf/tst-unique4.h: New file.
35141         * elf/tst-unique4lib.cc: New file.
35142         * elf/Makefile: Add rules to build and run tst-unique4.
35143         Patch by Piotr Bury <pbury@goahead.com>.
35145 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35147         [BZ #12052]
35148         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35150         [BZ #12625]
35151         * misc/mntent_r.c (addmntent): Flush the stream after the output
35153         [BZ #12393]
35154         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35155         (is_trusted_path_normalize): Skip initial colon.  Append slash
35156         to empty buffer.  Duplicate is_trusted_path code but allow
35157         constructed patch to be prefix.
35158         (is_dst): Allow $ORIGIN followed by /.
35159         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35160         Correct testing of result of is_trusted_path_normalize
35161         (decompose_rpath): Fix warning.
35163 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35165         [BZ #11257]
35166         * grp/initgroups.c (internal_getgrouplist): When we found the service
35167         list through the initgroups entry in nsswitch.conf do not always
35168         continue on a successful lookup.  Don't always use the
35169         __nss_group_database value if it is set.
35170         * nss/nsswitch.conf (initgroups): Change action for successful db
35171         lookup to continue for compatibility.
35173 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35175         [BZ #11532]
35176         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35177         and CP774 modules.
35178         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35179         and CP774 modules.
35180         * iconvdata/tst-tables.sh: Likewise.
35181         * iconvdata/cp770.c: New file.
35182         * iconvdata/cp771.c: New file.
35183         * iconvdata/cp772.c: New file.
35184         * iconvdata/cp773.c: New file.
35185         * iconvdata/cp774.c: New file.
35186         * iconvdata/testdata/CP770: New file.
35187         * iconvdata/testdata/CP770..UTF8: New file.
35188         * iconvdata/testdata/CP771: New file.
35189         * iconvdata/testdata/CP771..UTF8: New file.
35190         * iconvdata/testdata/CP772: New file.
35191         * iconvdata/testdata/CP772..UTF8: New file.
35192         * iconvdata/testdata/CP773: New file.
35193         * iconvdata/testdata/CP773..UTF8: New file.
35194         * iconvdata/testdata/CP774: New file.
35195         * iconvdata/testdata/CP774..UTF8: New file.
35197         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35198         END CHARMAP line.
35199         * iconvdata/gen-8bit-gap.sh: Likewise.
35200         * iconvdata/gen-8bit.sh: Likewise.
35202         * locale/iso-639.def: Add ary entry.
35204         [BZ #11258]
35205         * locale/C-translit.h.in: Add U20A1 transliteration.
35207         [BZ #12178]
35208         * locale/iso-639.def: Add wae entry.
35209         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35211         [BZ #12545]
35212         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35213         for n.
35215         [BZ #12711]
35216         * locale/C-translit.h.in: Add entry for U20B9.
35217         Patch by pravin.d.s@gmail.com.
35219 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35221         [BZ #12713]
35222         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35223         ENAMETOOLONG use generic getcwd.
35224         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35225         in rtld.  Use *stat64.
35226         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35227         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35228         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35229         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35230         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35231         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35232         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35233         __fstatat64 macros.
35234         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35235         * dirent/rewinddir.c: Add libc_hidden_def.
35236         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35237         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35239         * include/dirent.h (__alloc_dir): Add flags parameter.
35240         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35241         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35242         __alloc_dir.
35243         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35244         from fdopendir if O_CLOEXEC is already set.
35246 2011-03-15  Alan Modra  <amodra@gmail.com>
35248         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35249         l_tls_firstbyte_offset non-zero.  Save padding offset in
35250         l_tls_firstbyte_offset for later use.
35251         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35252         freeing static tls block.
35254 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35256         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35257         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35258         being defined by the kernel headers.
35260 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35262         [BZ #12734]
35263         * resolv/resolv.h: Define RES_NOTLDQUERY.
35264         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35265         no-tld-query and set RES_NOTLDQUERY.
35266         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35267         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35268         modern BIND to search name as TLD unless forbidden.
35270 2011-05-07  Petr Baudis  <pasky@suse.cz>
35271             Ulrich Drepper  <drepper@gmail.com>
35273         [BZ #12393]
35274         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35275         (is_trusted_path): ...to here.
35276         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35277         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35278         using is_trusted_path_normalize() in setuid scripts.
35280 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35282         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35283         __BEGIN/__END_DECLS.
35285 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35287         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35288         NSS_STATUS_NOTFOUND if no record was found.
35290 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35292         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35293         (headers-not-in-tirpc): Remove rpc/netdb.h
35294         * resolv/netdb.h: Revert last change.
35296 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35298         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35299         circular dependency between libgcc.a and libc.a.
35301 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35303         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35304         * nis/Makefile: Don't install rpcsvc/*.
35305         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35306         instead of <rpc/types.h>.
35307         (MAXHOSTNAMELEN): Define.
35309 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35311         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35313 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35315         [BZ #12714]
35316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35317         gethostbyname4_r when IPv6 results are possible.
35319 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35321         [BZ #12723]
35322         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35323         _PC_PIPE_BUF handling.
35325 2011-04-30  Bruno Haible  <bruno@clisp.org>
35327         [BZ #12717]
35328         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35329         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35330         to 'int'.
35331         * inet/getnameinfo.c (getnameinfo): Likewise.
35333 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35335         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35336         to groups setting in database lookup.
35337         * nss/nsswitch.conf: Add initgroups entry.
35339 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35341         [BZ #12685]
35342         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35343         mode string.
35344         Patch by Eric Blake <eblake@redhat.com>.
35346 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35348         * sunrpc/Makefile (need-export-routines): Add svc_run.
35349         (routines): Remove svc_run.
35350         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35351         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35352         * sunrpc/svc_run.c (svc_run): Likewise.
35353         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35355 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35357         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35358         problem in reallocation in last patch.
35360 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35362         * sunrpc/Makefile: Move inclusion of Rules.
35364 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35366         * nss/nss_files/files-initgroups.c: New file.
35367         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35368         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35369         _nss_files_initgroups_dyn.
35371 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35373         * elf/elf.h (R_ARM_IRELATIVE): Define.
35375 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35377         * po/ru.po: Update from translation team.
35379 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35381         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35382         dependencies.
35384 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35386         [BZ #12653]
35387         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35388         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35389         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35390         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35391         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35393 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35395         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35396         differing bytes.
35397         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35398         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35399         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35401 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35403         [BZ #12420]
35404         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35405         storing it.
35406         * stdlib/bug-getcontext.c: New file.
35407         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35409 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35411         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35412         instructions into .machine "z9-109".
35413         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35414         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35416 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35418         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35419         between environment variables and auxiliary vector.
35421 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35423         * Makefile: Add rules to build linkobj/libc.so.
35424         * include/libc-symbols.h: Define libc_hidden_nolink.
35425         * include/rpc/auth.h: Mark functions which are to be hidden.
35426         * include/rpc/auth_des.h: Likewise.
35427         * include/rpc/auth_unix.h: Likewise.
35428         * include/rpc/clnt.h: Likewise.
35429         * include/rpc/des_crypt.h: Likewise.
35430         * include/rpc/key_prot.h: Likewise.
35431         * include/rpc/pmap_clnt.h: Likewise.
35432         * include/rpc/pmap_prot.h: Likewise.
35433         * include/rpc/pmap_rmt.h: Likewise.
35434         * include/rpc/rpc_msg.h: Likewise.
35435         * include/rpc/svc.h: Likewise.
35436         * include/rpc/svc_auth.h: Likewise.
35437         * include/rpc/xdr.h: Likewise.
35438         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35439         * nss/Makefile: Likewise.
35440         * sunrpc/Makefile: Don't install headers.  Build library with normal
35441         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35442         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35443         for the compat linking library.  Remove use of INTDEF/INTUSE.
35444         * sunrpc/auth_none.c: Likewise.
35445         * sunrpc/auth_unix.c: Likewise.
35446         * sunrpc/authdes_prot.c: Likewise.
35447         * sunrpc/authuxprot.c: Likewise.
35448         * sunrpc/clnt_gen.c: Likewise.
35449         * sunrpc/clnt_perr.c: Likewise.
35450         * sunrpc/clnt_raw.c: Likewise.
35451         * sunrpc/clnt_simp.c: Likewise.
35452         * sunrpc/clnt_tcp.c: Likewise.
35453         * sunrpc/clnt_udp.c: Likewise.
35454         * sunrpc/clnt_unix.c: Likewise.
35455         * sunrpc/des_crypt.c: Likewise.
35456         * sunrpc/des_soft.c: Likewise.
35457         * sunrpc/get_myaddr.c: Likewise.
35458         * sunrpc/key_call.c: Likewise.
35459         * sunrpc/key_prot.c: Likewise.
35460         * sunrpc/netname.c: Likewise.
35461         * sunrpc/pm_getmaps.c: Likewise.
35462         * sunrpc/pm_getport.c: Likewise.
35463         * sunrpc/pmap_clnt.c: Likewise.
35464         * sunrpc/pmap_prot.c: Likewise.
35465         * sunrpc/pmap_prot2.c: Likewise.
35466         * sunrpc/pmap_rmt.c: Likewise.
35467         * sunrpc/publickey.c: Likewise.
35468         * sunrpc/rpc_cmsg.c: Likewise.
35469         * sunrpc/rpc_common.c: Likewise.
35470         * sunrpc/rpc_dtable.c: Likewise.
35471         * sunrpc/rpc_prot.c: Likewise.
35472         * sunrpc/rpc_thread.c: Likewise.
35473         * sunrpc/rtime.c: Likewise.
35474         * sunrpc/svc.c: Likewise.
35475         * sunrpc/svc_auth.c: Likewise.
35476         * sunrpc/svc_authux.c: Likewise.
35477         * sunrpc/svc_raw.c: Likewise.
35478         * sunrpc/svc_run.c: Likewise.
35479         * sunrpc/svc_simple.c: Likewise.
35480         * sunrpc/svc_tcp.c: Likewise.
35481         * sunrpc/svc_udp.c: Likewise.
35482         * sunrpc/svc_unix.c: Likewise.
35483         * sunrpc/svcauth_des.c: Likewise.
35484         * sunrpc/xcrypt.c: Likewise.
35485         * sunrpc/xdr.c: Likewise.
35486         * sunrpc/xdr_array.c: Likewise.
35487         * sunrpc/xdr_float.c: Likewise.
35488         * sunrpc/xdr_intXX_t.c: Likewise.
35489         * sunrpc/xdr_mem.c: Likewise.
35490         * sunrpc/xdr_rec.c: Likewise.
35491         * sunrpc/xdr_ref.c: Likewise.
35492         * sunrpc/xdr_sizeof.c: Likewise.
35493         * sunrpc/xdr_stdio.c: Likewise.
35495 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
35497         [BZ #12650]
35498         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35499         * sysdeps/ia64/dl-tls.h: Likewise.
35500         * sysdeps/powerpc/dl-tls.h: Likewise.
35501         * sysdeps/s390/dl-tls.h: Likewise.
35502         * sysdeps/sh/dl-tls.h: Likewise.
35503         * sysdeps/sparc/dl-tls.h: Likewise.
35504         * sysdeps/x86_64/dl-tls.h: Likewise.
35505         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35507 2011-03-14  Andreas Schwab  <schwab@redhat.com>
35509         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35510         rpath element also skip the following colon.
35511         (expand_dynamic_string_token): Add is_path parameter and pass
35512         down to DL_DST_REQUIRED and _dl_dst_substitute.
35513         (decompose_rpath): Call expand_dynamic_string_token with
35514         non-zero is_path.  Ignore empty rpaths.
35515         (_dl_map_object_from_fd): Call expand_dynamic_string_token
35516         with zero is_path.
35518 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
35520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35521         Make cancelable.
35523 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
35525         [BZ #12655]
35526         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35527         Patch by Filipe David Manana <fdmanana@apache.org>.
35529 2011-04-07  Andreas Schwab  <schwab@redhat.com>
35531         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35532         Maintain aligned stack.
35533         (CHECK_RSP): Remove unused macro.
35535 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
35537         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35538         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35540 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
35542         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35544         * include/features.h: Mention __USE_XOPEN2K8 in comment.
35546 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
35548         [BZ #12518]
35549         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35550         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35551         * sysdeps/x86_64/memmove.c: New file.
35552         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35553         (memcpy): Renamed to ...
35554         (__new_memcpy): This.
35555         (memcpy): Provide GLIBC_2_14 memcpy.
35556         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35557         (memcpy): Provide GLIBC_2_2_5 memcpy.
35559 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35561         [BZ #12631]
35562         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35564 2011-03-30  Andreas Schwab  <schwab@redhat.com>
35566         * misc/syncfs.c: New file.
35567         * misc/Makefile (routines): Add syncfs.
35568         * posix/unistd.h: Declare syncfs.
35569         * sysdeps/unix/syscalls.list: Add syncfs.
35571 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35573         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35574         open_by_handle_at.
35575         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35576         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35577         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35578         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35579         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35580         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35581         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35583 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35585         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35586         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35587         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35588         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35589         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35591         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35593         * io/Makefile: Compile fallocate.c, fallocate64.c, and
35594         sync_file_range.c with -fexceptions.
35595         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35596         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35597         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35598         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35599         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35600         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35601         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35602         sync_file_range as cancellation point
35603         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
35604         now a wrapper around __call_sync_file_range with cancellation handling.
35605         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35606         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
35607         function name to __call_sync_file_range.
35608         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35609         Add call_sync_file_range.
35611 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35613         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35614         bits/timex.h.
35616 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35618         * iconv/iconv.h: Fix typo in comment.
35619         * io/fcntl.h: Likewise.
35620         * libio/stdio.h: Likewise.
35621         * posix/spawn.h: Likewise.
35622         * posix/unistd.h: Likewise.
35623         * stdlib/stdlib.h: Likewise.
35624         * time/time.h: Likewise.
35625         * wcsmbs/wchar.h: Likewise.
35627         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35628         open_by_handle): Add.
35629         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35630         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
35631         Augment a few comments.
35632         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35633         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35634         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35635         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35636         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35637         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35638         open_by_handle.
35640         * io/fcntl.h (AT_EMPTY_PATH): Define.
35642 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
35644         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35645         * sysdeps/unix/sysv/linux/bits/time.h: New file.
35646         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35647         to...
35648         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
35649         * Versions.def: Add GLIBC_2.14.
35650         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35651         Export.
35653 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
35655         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35656         round counter.
35657         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35659 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35661         [BZ #12597]
35662         * string/test-strncmp.c (do_page_test): New function.
35663         (check2): Likewise.
35664         (test_main): Call check2.
35665         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35667 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
35669         [BZ #12587]
35670         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35671         Handle cache information in CPU leaf 4.
35672         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35674 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
35676         [BZ #12583]
35677         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35678         character representation.
35679         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35681 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35683         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35684         END(__isnan) to END(__isnanf) to match function entry point/label
35685         EALIGN(__isnanf,...).
35687 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35689         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35691 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35693         [BZ #12510]
35694         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35695         copy from the symbol referenced in the relocation to initialize the
35696         used variable.
35697         Patch by Piotr Bury <pbury@goahead.com>.
35698         * elf/Makefile: Add rules to build and tst-unique3.
35699         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35700         * elf/tst-unique3.cc: New file.
35701         * elf/tst-unique3.h: New file.
35702         * elf/tst-unique3lib.cc: New file.
35703         * elf/tst-unique3lib2.cc: New file.
35705         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35707 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35709         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35710         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35711         to _start.
35713 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35715         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35716         to-be-loaded object along a path to loader is ld.so.
35718 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35719             Ulrich Drepper  <drepper@gmail.com>
35721         * sysdeps/x86_64/memset.S: After aligning destination, code
35722         branches to different locations depending on the value of
35723         misalignment, when multiarch is enabled. Fix this.
35725 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35727         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35728         Set _x86_64_preferred_memory_instruction for AMD processsors.
35729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35730         Set bit_Prefer_SSE_for_memop for AMD processors.
35732 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35734         * libio/fmemopen.c (fmemopen): Optimize a bit.
35736 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35738         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35740 2011-03-03  Roland McGrath  <roland@redhat.com>
35742         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35744 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35746         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35747         __bzero_ultra1 instead of __memset_ultra1.
35749 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35750             Ulrich Drepper  <drepper@gmail.com>
35752         [BZ #12509]
35753         * include/link.h (struct link_map): Add l_orig_initfini.
35754         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35755         returning unsuccessfully.
35756         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35757         close of a file loaded at startup, restore the original l_initfini
35758         list.
35759         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35760         list, store the pointer.
35761         * elf/Makefile ($(objpfx)noload-mem): New rule.
35762         (noload-ENV): Define.
35763         (tests): Add $(objpfx)noload-mem.
35764         * elf/noload.c: Include <memcheck.h>.
35765         (main): Call mtrace.  Close all opened handles.
35767 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35769         [BZ #12454]
35770         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35771         dependencies are missing.
35773 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35775         Fix __if_freereq crash: Unlike the generic version which uses free,
35776         Hurd needs munmap.
35777         * sysdeps/mach/hurd/ifreq.h: New file.
35779 2011-01-27  Petr Baudis  <pasky@suse.cz>
35780             Ulrich Drepper  <drepper@gmail.com>
35782         [BZ 12445]#
35783         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35784         to extend_alloca().
35785         * stdio-common/bug23.c: New file.
35786         * stdio-common/Makefile (tests): Add bug23.
35788 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35789             Ulrich Drepper  <drepper@gmail.com>
35791         [BZ #12489]
35792         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35793         before performing relro protection.  At old place add assertion
35794         to make sure nothing changed.
35796 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35797             Glauber de Oliveira Costa  <glommer@gmail.com>
35799         * elf/elf.h: Add new ARM TLS relocs.
35801 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35804         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35805         cast from r3.
35806         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35807         'tests' variable.
35808         * sysdeps/wordsize-64/tst-writev.c: New file.
35810 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35812         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35813         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35814         insns in _dl_start to prevent a TOC reference before relocs are
35815         resolved.
35817 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35819         [BZ #12469]
35820         * Makeconfig: Remove RANLIB definition.
35821         * Makerules: Don't use RANLIB.
35822         * aclocal.m4: Remove ranlib test.
35823         * configure.in: No need to check for ranlib.
35824         * elf/rtld-Rules: Don't use RANLIB.
35826 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35828         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35829         protection macro.
35830         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35831         inclusion protection macro.
35833         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35834         SIGRTMIN and SIGRTMAX and print information in that case only when
35835         SIGRTMIN is defined.
35837 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35839         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35840         arginfo fn returning -1.
35842         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35843         and thousands string is zero terminated.
35845 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35847         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35848         sysdeps/unix/sysv/linux/bits/socket.h.
35850 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35852         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35853         (__CPU_COUNT): Remove old macros.
35854         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35855         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35856         (__CPU_ALLOC, __CPU_FREE): Add macros.
35857         (__sched_cpualloc, __sched_cpufree): Add declarations.
35859 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35861         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35862         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35863         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35864         (readdhstai): Return value of addhstaiX call.
35865         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35866         (addgrbyX): Return value returned by cache_addgr.
35867         (readdgrbyname): Return value returned by addgrbyX.
35868         (readdgrbygid): Likewise.
35869         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35870         (addpwbyX): Return value returned by cache_addpw.
35871         (readdpwbyname): Return value returned by addhstbyX.
35872         (readdpwbyuid): Likewise.
35873         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35874         (addservbyX): Return value returned by cache_addserv.
35875         (readdservbyname): Return value returned by addservbyX:
35876         (readdservbyport): Likewise.
35877         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35878         (addhstbyX): Return value returned by cache_addhst.
35879         (readdhstbyname): Return value returned by addhstbyX.
35880         (readdhstbyaddr): Likewise.
35881         (readdhstbynamev6): Likewise.
35882         (readdhstbyaddrv6): Likewise.
35883         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35884         (readdinitgroups): Return value returned by addinitgroupsX.
35885         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35886         (prune_cache): Keep track of timeout value of re-added entries.
35887         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35888         * nscd/nscd.h: Adjust prototypes of readd* functions.
35890 2011-02-04  Roland McGrath  <roland@redhat.com>
35892         * nis/nis_server.c (nis_servstate): Use the right name for 0.
35893         (nis_stats): Likewise.
35894         * nis/nis_modify.c (nis_modify): Likewise.
35895         * nis/nis_remove.c (nis_remove): Likewise.
35896         * nis/nis_add.c (nis_add): Likewise.
35898         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35900         * posix/fnmatch_loop.c: Add some consts.
35902         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35904 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
35906         [BZ #12460]
35907         * config.make.in (config-cflags-novzeroupper): Define.
35908         * configure.in: Substitute libc_cv_cc_novzeroupper.
35909         * elf/Makefile (AVX-CFLAGS): Define.
35910         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35911         (CFLAGS-tst-auditmod4a.c): Likewise.
35912         (CFLAGS-tst-auditmod4b.c): Likewise.
35913         (CFLAGS-tst-auditmod6b.c): Likewise.
35914         (CFLAGS-tst-auditmod6c.c): Likewise.
35915         (CFLAGS-tst-auditmod7b.c): Likewise.
35916         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35918 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
35920         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35921         function to the callback.
35922         Patch partly by Jiri Olsa <jolsa@redhat.com>.
35924 2011-02-02  Andreas Schwab  <schwab@redhat.com>
35926         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35927         of errno.
35929 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
35931         [BZ #11724]
35932         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35933         of constructors.
35934         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35935         of destructors.
35936         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35938         [BZ #11724]
35939         * elf/Makefile: Add rules to build and run new test.
35940         * elf/tst-initorder.c: New file.
35941         * elf/tst-initorder.exp: New file.
35942         * elf/tst-initordera1.c: New file.
35943         * elf/tst-initordera2.c: New file.
35944         * elf/tst-initordera3.c: New file.
35945         * elf/tst-initordera4.c: New file.
35946         * elf/tst-initorderb1.c: New file.
35947         * elf/tst-initorderb2.c: New file.
35948         * elf/tst-order-a1.c: New file.
35949         * elf/tst-order-a2.c: New file.
35950         * elf/tst-order-a3.c: New file.
35951         * elf/tst-order-a4.c: New file.
35952         * elf/tst-order-b1.c: New file.
35953         * elf/tst-order-b2.c: New file.
35954         * elf/tst-order-main.c: New file.
35955         New test case by George Gensure <werkt0@gmail.com>.
35957 2010-10-01  Andreas Schwab  <schwab@redhat.com>
35959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35960         decoding ACE if AI_CANONIDN.
35962 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
35964         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35966 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
35968         * version.h (RELEASE): Bump for 2.13 release.
35969         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35971         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35973         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35974         MADV_NOHUGEPAGE.
35975         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35976         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35977         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35978         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35979         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35980         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35982         * posix/getconf.c: Update copyright year.
35983         * catgets/gencat.c: Likewise.
35984         * csu/version.c: Likewise.
35985         * debug/catchsegv.sh: Likewise.
35986         * debug/xtrace.sh: Likewise.
35987         * elf/ldconfig.c: Likewise.
35988         * elf/ldd.bash.in: Likewise.
35989         * elf/sprof.c (print_version): Likewise.
35990         * iconv/iconv_prog.c: Likewise.
35991         * iconv/iconvconfig.c: Likewise.
35992         * locale/programs/locale.c: Likewise.
35993         * locale/programs/localedef.c: Likewise.
35994         * malloc/memusage.sh: Likewise.
35995         * malloc/mtrace.pl: Likewise.
35996         * nscd/nscd.c (print_version): Likewise.
35997         * nss/getent.c: Likewise.
35999         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36000         PF_CAIF, and PF_ALG.
36001         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36003 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36005         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36006         (modules-names): Use them.
36007         (ifunc-test-modules, ifunc-pie-tests): Define.
36008         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36009         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36010         (test-extras): Likewise.
36011         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36012         $(compile-command.c).
36013         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36014         (all-built-dso): Define.
36015         (check-textrel.out, check-execstack.out): Depend on it.
36017         * configure.in: Don't override --enable-multi-arch.
36019 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36021         [BZ #6812]
36022         * nscd/hstcache.c (tryagain): Define.
36023         (cache_addhst): Return tryagain not notfound for temporary errors.
36024         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36025         failed.
36027 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36029         [BZ #10563]
36030         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36031         to make the syscall.
36032         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36034         [BZ #12378]
36035         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36036         and fall back to matching as normal character if the string ends before
36037         the matching ']' is found.  This is what POSIX requires.
36038         * posix/testfnm.c: Adjust test result.
36039         * posix/globtest.sh: Adjust test result.  Add new test.
36040         * posix/tst-fnmatch.input: Likewise.
36041         * posix/tst-fnmatch2.c: Add new test.
36043 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36045         * elf/Makefile (check-execstack): Revert last change.  Depend on
36046         check-execstack.h.
36047         (check-execstack.h): New target.
36048         (generated): Add check-execstack.h.
36049         * elf/check-execstack.c: Include "check-execstack.h".
36050         (main): Revert last change.
36051         (handle_file): Return zero if GNU_STACK is absent and
36052         DEFAULT_STACK_PERMS doesn't include PF_X.
36054 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36056         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36057         in child fails because the descriptor is already closed.
36058         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36059         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36060         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36062         [BZ #12397]
36063         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36064         syscall.
36066         [BZ #10484]
36067         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36068         temporary buffer used to handle multi lookups locally.
36069         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36071 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36073         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36074         loader is ld.so.
36076 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36078         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36079         alignment for SSE2.
36081 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36083         [BZ #12394]
36084         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36085         characters.  When rounding increased number of integer digits recompute
36086         number of groups.
36087         * stdio-common/tst-grouping.c: New file.
36088         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36090 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36092         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36093         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36095         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36096         void.
36097         * bits/select.h: Likewise.
36099 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36101         * po/ja.po: Update from translation team.
36103 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36105         [BZ #11155]
36106         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36107         implementation just like for lxstat, fxstatat, et al.
36109 2010-12-27  Jim Meyering  <meyering@redhat.com>
36111         [BZ #12348]
36112         * posix/regexec.c (build_trtable): Return failure indication upon
36113         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36115 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36117         [BZ #12201]
36118         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36119         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36120         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36121         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36123         [BZ #12207]
36124         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36126         [BZ #12204]
36127         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36128         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36130 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36132         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36133         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36134         script has SORT_BY_INIT_PRIORITY.
36135         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36136         NO_CTORS_DTORS_SECTIONS is defined.
36137         * elf/soinit.c: Likewise.
36138         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36139         NO_CTORS_DTORS_SECTIONS is defined.
36140         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36141         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36142         * sysdeps/sh/init-first.c: Likewise.
36143         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36145 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36147         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36148         always use the slow path.
36150 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36152         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36153         similar rule which adds the sysdep directories to the header search in
36154         order to pick up the correct platform stackinfo.h.
36155         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36156         perform test if it is, otherwise return successfully without testing.
36157         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36158         DEFAULT_STACK_PERMS define in stackinfo.h.
36159         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36160         defined in stackinfo.h.
36161         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36162         DEFAULT_STACK_PERMS defined in stackinfo.h.
36163         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36164         * sysdeps/ia64/stackinfo.h: Likewise.
36165         * sysdeps/s390/stackinfo.h: Likewise.
36166         * sysdeps/sh/stackinfo.h: Likewise.
36167         * sysdeps/sparc/stackinfo.h: Likewise.
36168         * sysdeps/x86_64/stackinfo.h: Likewise.
36169         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36170         PF_X for powerpc64.  Retain PF_X for powerpc32.
36172 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36174         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36175         accurately.
36176         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36177         GETDENTS_64BIT_ALIGNED.
36179 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36181         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36183 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36185         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36186         _GNU_SOURCE.
36188         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36189         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36190         Remove __restrict.
36191         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36192         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36194 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36196         [BZ #11655]
36197         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36198         are initialized.
36200 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36202         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36204 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36206         * po/it.po: Update from translation team.
36208 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36210         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36211         unused codes.
36213 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36215         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36217 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36219         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36220         specially.
36221         (gaih_getanswer_slice): Likewise.
36223 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36225         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36227 2010-05-31  Petr Baudis  <pasky@suse.cz>
36229         [BZ #11149]
36230         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36231         silently even in the chroot mode.
36233 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36235         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36236         last patch a bit.  Pretty printing
36238 2010-05-31  Petr Baudis <pasky@suse.cz>
36240         [BZ #10085]
36241         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36242         initialization of skip_initgroups_dyn.
36244 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36246         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36247         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36249 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36251         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36253 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36255         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36256         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36257         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36258         ($(objpfx)tst-fnmatch-mem): New rule.
36259         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36260         * posix/tst-fnmatch.c (main): Call mtrace.
36262 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36265         Support Intel processor model 6 and model 0x2c.
36267 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36269         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36270           signed comparison.
36272 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36274         [BZ #12205]
36275         * string/test-strncasecmp.c (check_result): New function.
36276         (do_one_test): Use it.
36277         (check1): New function.
36278         (test_main): Use it.
36279         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36280         Support strcasecmp and strncasecmp.
36282 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36284         [BZ #12194]
36285         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36286         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36288 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36290         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36291         IFUNC support.
36292         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36293         memset-x86-64.
36294         * sysdeps/x86_64/multiarch/bzero.S: New file.
36295         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36296         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36297         * sysdeps/x86_64/multiarch/memset.S: New file.
36298         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36300         Set bit_Prefer_SSE_for_memop for Intel processors.
36301         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36302         Define.
36303         (index_Prefer_SSE_for_memop): Define.
36304         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36306 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36308         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36309         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36311 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36313         [BZ #12191]
36314         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36315         (__x86_64_raw_data_cache_size_half): Likewise.
36316         (__x86_64_raw_shared_cache_size): Likewise.
36317         (__x86_64_raw_shared_cache_size_half): Likewise.
36319         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36320         (__x86_64_raw_data_cache_size_half): Likewise.
36321         (__x86_64_raw_shared_cache_size): Likewise.
36322         (__x86_64_raw_shared_cache_size_half): Likewise.
36323         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36324         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36325         and __x86_64_raw_shared_cache_size_half.  Round
36326         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36327         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36328         to multiple of 256 bytes.
36330 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36332         [BZ #12167]
36333         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36334         of inacessible symlinks.  Verify result of symlink before returning it.
36335         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36336         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36338 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36340         * math/math.h (isinf): Fix typo in comment.
36342 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36344         * po/da.po: Update from translation team.
36346 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36348         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36349         is added to the list.
36351 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36352             Ulrich Drepper  <drepper@gmail.com>
36354         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36355         the global list here.  Move code to...
36356         (_dl_add_to_namespace_list): ...here.  New function.
36357         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36358         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36359         * elf/dl-load.c (lose): Don't remove the element from the list.
36360         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36361         (_dl_map_object): Likewise.
36363 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36365         [BZ #12159]
36366         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36367         into all bytes of SSE register.
36368         Patch by Richard Li <richardpku@gmail.com>.
36370 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36372         [BZ #12140]
36373         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36374         perturbing.
36376 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36378         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36379         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36380         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36381         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36383         submachine.
36384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36386 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36388         * include/dlfcn.h (__RTLD_SECURE): Define.
36389         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36390         mode & __RTLD_SECURE instead.
36391         (open_path): Rename preloaded parameter to secure.
36392         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36393         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36394         * elf/dl-deps.c (openaux): Likewise.
36395         * elf/rtld.c (struct map_args): Remove is_preloaded.
36396         (map_doit): Don't use it.
36397         (dl_main): Likewise.
36398         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36399         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36401 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36403         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36404         (sysd-rules-targets): Remove duplicates.
36405         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36406         rtld-%.$o dependency.
36408 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36410         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36411         _dl_map_object do it.
36413 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36415         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36416         fast fma builtins, define the macros in the C99 standard.
36417         (FP_FAST_FMAF): Likewise.
36418         (FP_FAST_FMAL): Likewise.
36419         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36421         * bits/mathdef.h: Update copyright year.
36422         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36424 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36426         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36427         builtins, define the macros in the C99 standard.
36428         (FP_FAST_FMAF): Likewise.
36429         (FP_FAST_FMAL): Likewise.
36430         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36431         multiply/add.
36432         (FP_FAST_FMAF): Likewise.
36434 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36436         [BZ #3268]
36437         * math/libm-test.inc (fma_test): Some new testcases.
36438         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36439         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36440         y and infinite z.  Do multiplication by C already in long double.
36441         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36443         y and infinite z.  Do bitwise or of inexact bit into u.d.
36444         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36445         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36446         * sysdeps/i386/fpu/s_fma.S: Removed.
36447         * sysdeps/i386/fpu/s_fmal.S: Removed.
36449 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36451         [BZ #3268]
36452         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36453         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36454         computation is not scheduled after fetestexcept.  Fix value
36455         of minimum denormal long double.
36457 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36459         [BZ #3268]
36460         * math/libm-test.inc (fma_test): Add some more tests.
36461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36462         correctly.
36464 2010-10-15  Andreas Schwab  <schwab@redhat.com>
36466         * scripts/data/localplt-s390-linux-gnu.data: New file.
36467         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36469 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
36471         [BZ #3268]
36472         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36473         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36474         instead of dbl-64.
36475         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36476         inlines.
36477         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36479         if one of x and y is very large and the other is subnormal.
36480         * sysdeps/s390/fpu/s_fmaf.c: New file.
36481         * sysdeps/s390/fpu/s_fma.c: New file.
36482         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36483         * sysdeps/powerpc/fpu/s_fma.S: New file.
36484         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36485         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36486         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36488 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
36490         [BZ #3268]
36491         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36492         fma tests.
36493         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36494         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36495         * sysdeps/i386/i686/multiarch/s_fma.c: Include
36496         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36497         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36498         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36499         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36501 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
36503         [BZ #12078]
36504         * posix/regcomp.c (parse_branch): One more memory leak plugged.
36505         * posix/bug-regex31.input: Add test case.
36507 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36509         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36510         * posix/bug-regex31.input: New file.
36512         [BZ #12078]
36513         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36514         (parse_sub_exp): Fix last change, use postorder.
36516         * posix/bug-regex31.c: New file.
36517         * posix/Makefile: Add rules to build and run bug-regex31.
36519         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36521         [BZ #12078]
36522         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36524         [BZ #12108]
36525         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36526         to have entries in sys_siglist.
36528         [BZ #12093]
36529         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36530         be NULL.
36532 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
36534         [BZ #3268]
36535         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36536         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36537         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36538         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36539         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36540         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36541         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36542         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36543         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36544         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36545         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36546         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36547         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36548         * math/ftestexcept.c (fetestexcept): Likewise.
36549         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36550         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36551         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36552         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36553         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36554         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36555         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36557 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36559         [BZ #12107]
36560         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36561         newline.
36563 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
36565         * string/bug-strstr1.c: New file.
36566         * string/Makefile: Add rules to build and run bug-strstr1.
36568 2010-10-05  Eric Blake  <eblake@redhat.com>
36570         [BZ #12092]
36571         * string/str-two-way.h (two_way_long_needle): Always clear memory
36572         when skipping input due to the shift table.
36574 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
36576         [BZ #12005]
36577         * malloc/mcheck.c: Handle large requests.
36579         [BZ #12077]
36580         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36581         for strncmp and strncasecmp.
36582         * string/stratcliff.c: Add tests for strcmp and strncmp.
36583         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36585 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36587         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36588         __set_fpscr.
36590 2010-09-30  Andreas Jaeger  <aj@suse.de>
36592         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36593         (CGROUP_SUPER_MAGIC): Define.
36594         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36595         Handle btrfs and cgroup file systems.
36596         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36597         Likewise.
36599 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
36601         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36602         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36604 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36606         [BZ #12067]
36607         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36608         trying to locate the ELF header.
36610 2010-09-27  Andreas Schwab  <schwab@redhat.com>
36612         [BZ #11611]
36613         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36614         Mask out sign-bit copies when constructing f_fsid.
36616 2010-09-24  Petr Baudis <pasky@suse.cz>
36618         * debug/stack_chk_fail_local.c: Add missing licence exception.
36619         * debug/warning-nop.c: Likewise.
36621 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
36623         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36624         implementing getdents64 using getdents syscall, set d_type if
36625         __ASSUME_GETDENTS32_D_TYPE.
36627 2010-09-16  Andreas Schwab  <schwab@redhat.com>
36629         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36630         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36632 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
36634         [BZ #12037]
36635         * posix/unistd.h: Undo change of feature selection for ftruncate from
36636         2010-01-11.
36638 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
36640         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36641         detection.
36643 2010-09-20  Andreas Schwab  <schwab@redhat.com>
36645         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36646         fanotify_mark.
36647         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36649 2010-09-14  Andreas Schwab  <schwab@redhat.com>
36651         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36652         variables after CHECK_SP call.
36653         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36655 2010-09-13  Andreas Schwab  <schwab@redhat.com>
36656             Ulrich Drepper  <drepper@redhat.com>
36658         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36659         re-relocationg ld.so.
36660         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36661         _dl_init_paths call.
36662         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
36663         here anymore.
36665 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
36667         * resolv/res_init.c (__res_vinit): Count the default server we added.
36669 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
36670             Ulrich Drepper  <drepper@redhat.com>
36672         [BZ #11968]
36673         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36674         (____longjmp_chk): Use %ebx for saving value across system call.
36675         Add unwind info.
36677 2010-09-06  Andreas Schwab  <schwab@redhat.com>
36679         * manual/Makefile: Don't mix pattern rules with normal rules.
36681 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36683         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36684         operation.
36685         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36686         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36687         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36688         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36689         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36690         Likewise.
36692 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36694         [BZ #11979]
36695         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36696         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36698 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36700         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36701         * sysdeps/x86_64/addmul_1.S: Likewise.
36702         * sysdeps/x86_64/lshift.S: Likewise.
36703         * sysdeps/x86_64/mul_1.S: Likewise.
36704         * sysdeps/x86_64/rshift.S: Likewise.
36705         * sysdeps/x86_64/sub_n.S: Likewise.
36706         * sysdeps/x86_64/submul_1.S: Likewise.
36708 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36710         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36711         Define __sched_param instead of SCHED_* and sched_param when
36712         <bits/sched.h> is included with __need_schedparam defined.
36713         * bits/sched.h [__need_schedparam]
36714         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36715         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36716         (__defined_schedparam): Define to 1.
36717         (__sched_param): New structure, identical to sched_param.
36718         (__need_schedparam): Undefine.
36720 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36722         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36723         (epoll_create1): Declare.
36725         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36727 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36729         [BZ #7066]
36730         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36731         shifting retval into place.
36733 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36735         * nis/rpcsvc/nis.h: Update copyright notice.
36736         * nis/rpcsvc/nis.x: Likewise.
36737         * nis/rpcsvc/nis_callback.h: Likewise.
36738         * nis/rpcsvc/nis_callback.x: Likewise.
36739         * nis/rpcsvc/nis_object.x: Likewise.
36740         * nis/rpcsvc/nis_tags.h: Likewise.
36741         * nis/rpcsvc/yp.h: Likewise.
36742         * nis/rpcsvc/yp.x: Likewise.
36743         * nis/rpcsvc/ypupd.h: Likewise.
36744         * nis/yp_xdr.c: Likewise.
36745         * nis/ypupdate_xdr.c: Likewise.
36747         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36748         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36749         (pmap_getport): Use __libc_rpc_getport.
36750         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36751         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36752         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36754 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36757         fanotify_mark.
36759 2010-08-27  Roland McGrath  <roland@redhat.com>
36761         * sysdeps/i386/i686/multiarch/Makefile
36762         (CFLAGS-varshift.c): New variable.
36764 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36766         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36767         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36769         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36771         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36773 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36775         * sysdeps/x86_64/strlen.S: Unroll the loop.
36776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36777         strlen-sse2 strlen-sse2-bsf.
36778         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36779         __strlen_no_bsf if bit_Slow_BSF is set.
36780         (__strlen_sse42): Removed.
36781         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36782         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36784 2010-08-25  Roland McGrath  <roland@redhat.com>
36786         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36787         * sysdeps/x86_64/multiarch/varshift.c: New file.
36788         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36789         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36790         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36791         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36793 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36795         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36796         strlen-sse2 strlen-sse2-bsf.
36797         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36798         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36799         (__strlen_sse2): Removed.
36800         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36801         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36802         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36803         bit_Slow_BSF for Atom.
36804         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36805         (index_Slow_BSF): Define.
36806         (HAS_SLOW_BSF): Define.
36808 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36810         [BZ #10851]
36811         * resolv/res_init.c (__res_vinit): When no server address at all
36812         is given default to loopback.
36814 2010-08-24  Roland McGrath  <roland@redhat.com>
36816         * configure.in: Remove config-name.h generation.
36817         * configure: Regenerated.
36818         * config-name.in: File removed.
36819         * scripts/config-uname.sh: New file.
36820         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36821         ($(objdir)config-name.h): New target.
36823         * sunrpc/rpc_parse.h: Avoid nested comment.
36825 2010-08-24  Richard Henderson  <rth@redhat.com>
36826             Ulrich Drepper  <drepper@redhat.com>
36827             H.J. Lu  <hongjiu.lu@intel.com>
36829         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36831         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36832         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36833         _mm_alignr_epi8 with _mm_loadu_si128.
36834         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36835         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36836         (__m128i_shift_right): Removed.
36837         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36838         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36839         * sysdeps/x86_64/multiarch/varshift.h: New file.
36840         * sysdeps/x86_64/multiarch/varshift.S: New file.
36842 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36844         * configure.in: Move assembler checks to before sysdep dir checking.
36846 2010-08-20  Petr Baudis  <pasky@suse.cz>
36848         * LICENSES: Sync the sunrpc license.
36850 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36852         * sunrpc/auth_des.c: Update copyright notice once again.
36853         * sunrpc/auth_none.c: Likewise.
36854         * sunrpc/auth_unix.c: Likewise.
36855         * sunrpc/authdes_prot.c: Likewise.
36856         * sunrpc/authuxprot.c: Likewise.
36857         * sunrpc/bindrsvprt.c: Likewise.
36858         * sunrpc/clnt_gen.c: Likewise.
36859         * sunrpc/clnt_perr.c: Likewise.
36860         * sunrpc/clnt_raw.c: Likewise.
36861         * sunrpc/clnt_simp.c: Likewise.
36862         * sunrpc/clnt_tcp.c: Likewise.
36863         * sunrpc/clnt_udp.c: Likewise.
36864         * sunrpc/clnt_unix.c: Likewise.
36865         * sunrpc/des_crypt.c: Likewise.
36866         * sunrpc/des_soft.c: Likewise.
36867         * sunrpc/get_myaddr.c: Likewise.
36868         * sunrpc/getrpcport.c: Likewise.
36869         * sunrpc/key_call.c: Likewise.
36870         * sunrpc/key_prot.c: Likewise.
36871         * sunrpc/openchild.c: Likewise.
36872         * sunrpc/pm_getmaps.c: Likewise.
36873         * sunrpc/pm_getport.c: Likewise.
36874         * sunrpc/pmap_clnt.c: Likewise.
36875         * sunrpc/pmap_prot.c: Likewise.
36876         * sunrpc/pmap_prot2.c: Likewise.
36877         * sunrpc/pmap_rmt.c: Likewise.
36878         * sunrpc/rpc/auth.h: Likewise.
36879         * sunrpc/rpc/auth_unix.h: Likewise.
36880         * sunrpc/rpc/clnt.h: Likewise.
36881         * sunrpc/rpc/des_crypt.h: Likewise.
36882         * sunrpc/rpc/key_prot.h: Likewise.
36883         * sunrpc/rpc/netdb.h: Likewise.
36884         * sunrpc/rpc/pmap_clnt.h: Likewise.
36885         * sunrpc/rpc/pmap_prot.h: Likewise.
36886         * sunrpc/rpc/pmap_rmt.h: Likewise.
36887         * sunrpc/rpc/rpc.h: Likewise.
36888         * sunrpc/rpc/rpc_des.h: Likewise.
36889         * sunrpc/rpc/rpc_msg.h: Likewise.
36890         * sunrpc/rpc/svc.h: Likewise.
36891         * sunrpc/rpc/svc_auth.h: Likewise.
36892         * sunrpc/rpc/types.h: Likewise.
36893         * sunrpc/rpc/xdr.h: Likewise.
36894         * sunrpc/rpc_clntout.c: Likewise.
36895         * sunrpc/rpc_cmsg.c: Likewise.
36896         * sunrpc/rpc_common.c: Likewise.
36897         * sunrpc/rpc_cout.c: Likewise.
36898         * sunrpc/rpc_dtable.c: Likewise.
36899         * sunrpc/rpc_hout.c: Likewise.
36900         * sunrpc/rpc_main.c: Likewise.
36901         * sunrpc/rpc_parse.c: Likewise.
36902         * sunrpc/rpc_parse.h: Likewise.
36903         * sunrpc/rpc_prot.c: Likewise.
36904         * sunrpc/rpc_sample.c: Likewise.
36905         * sunrpc/rpc_scan.c: Likewise.
36906         * sunrpc/rpc_scan.h: Likewise.
36907         * sunrpc/rpc_svcout.c: Likewise.
36908         * sunrpc/rpc_tblout.c: Likewise.
36909         * sunrpc/rpc_util.c: Likewise.
36910         * sunrpc/rpc_util.h: Likewise.
36911         * sunrpc/rpcinfo.c: Likewise.
36912         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36913         * sunrpc/rpcsvc/key_prot.x: Likewise.
36914         * sunrpc/rpcsvc/klm_prot.x: Likewise.
36915         * sunrpc/rpcsvc/mount.x: Likewise.
36916         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36917         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36918         * sunrpc/rpcsvc/rex.x: Likewise.
36919         * sunrpc/rpcsvc/rstat.x: Likewise.
36920         * sunrpc/rpcsvc/rusers.x: Likewise.
36921         * sunrpc/rpcsvc/sm_inter.x: Likewise.
36922         * sunrpc/rpcsvc/spray.x: Likewise.
36923         * sunrpc/rpcsvc/yppasswd.x: Likewise.
36924         * sunrpc/rtime.c: Likewise.
36925         * sunrpc/svc.c: Likewise.
36926         * sunrpc/svc_auth.c: Likewise.
36927         * sunrpc/svc_authux.c: Likewise.
36928         * sunrpc/svc_raw.c: Likewise.
36929         * sunrpc/svc_run.c: Likewise.
36930         * sunrpc/svc_simple.c: Likewise.
36931         * sunrpc/svc_tcp.c: Likewise.
36932         * sunrpc/svc_udp.c: Likewise.
36933         * sunrpc/svc_unix.c: Likewise.
36934         * sunrpc/svcauth_des.c: Likewise.
36935         * sunrpc/xcrypt.c: Likewise.
36936         * sunrpc/xdr.c: Likewise.
36937         * sunrpc/xdr_array.c: Likewise.
36938         * sunrpc/xdr_float.c: Likewise.
36939         * sunrpc/xdr_mem.c: Likewise.
36940         * sunrpc/xdr_rec.c: Likewise.
36941         * sunrpc/xdr_ref.c: Likewise.
36942         * sunrpc/xdr_sizeof.c: Likewise.
36943         * sunrpc/xdr_stdio.c: Likewise.
36945         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36946         handling.
36948 2010-08-19  Andreas Schwab  <schwab@redhat.com>
36950         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36952 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
36954         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36955         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36956         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36957         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36958         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36959         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36960         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36961         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36962         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36963         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36964         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36965         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36966         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36967         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36969 2010-07-26  Anton Blanchard  <anton@samba.org>
36971         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36972         * malloc/arena.c (heap_trim): Likewise.
36974 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
36976         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36977         here.  Not...
36978         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36979         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36981 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36983         * sysdeps/i386/elf/Makefile: New file.
36985 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36987         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36988         from fanotify_init.
36989         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36990         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36992 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
36994         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36995         of strncasecmp_l.
36996         * sysdeps/multiarch/strcmp.S: Likewise.
36998 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37000         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37001         strncase_l-nonascii.
37002         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37003         Add strncase_l-ssse3.
37004         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37005         * sysdeps/x86_64/strcmp.S: Likewise.
37006         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37007         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37008         * sysdeps/x86_64/strncase.S: New file.
37009         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37010         * sysdeps/x86_64/strncase_l.S: New file.
37011         * string/Makefile (strop-tests): Add strncasecmp.
37012         * string/test-strncasecmp.c: New file.
37014         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37015         warning.
37017         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37018         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37020 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37022         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37024 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37026         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37027         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37028         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37030 2010-05-01  Alan Modra  <amodra@gmail.com>
37032         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37033         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37034         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37035         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37036         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37037         tidying.  Don't tail-call __sigjmp_save for static lib.
37038         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37039         save location.
37040         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37041         (CALL_MCOUNT): Add eh info, and nop after bl.
37042         (TAIL_CALL_SYSCALL_ERROR): New macro.
37043         (PSEUDO_RET): Use it.
37044         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37045         Correct save location of integer regs and cr.
37046         (_dl_profile_resolve): Correct cr save location.  Delete nops
37047         after bl when SHARED.  Reduce cfi size a little by better
37048         placement of cfi directives.
37049         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37050         make a stack frame.  Instead use parm save area as a temp.
37051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37052         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37054         Don't make a stack frame for parent, use parm save area.
37055         Increase child stack frame to 112 bytes.  Don't save unused reg,
37056         and adjust reg usage.  Set up cfi on error recovery and
37057         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37059         (__makecontext): Add dummy nop after jump to exit.
37060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37061         Use correct parm save area and cr save, reduce stack frame.
37062         Correct cfi for possible PSEUDO_RET frame setup.
37063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37064         Branch to local label emitted by PSEUDO_RET rather than
37065         __syscall_error.
37067 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37069         [BZ #11904]
37070         * locale/programs/locale.c (print_assignment): New function.
37071         (show_locale_vars): Use it.
37073 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37075         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37076         field.
37077         (struct statfs64): Likewise.
37078         (_STATFS_F_FLAGS): Define.
37079         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37080         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37081         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37082         (ST_VALID): Define locally.
37083         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37084         __statvfs_getflags, use the provided value.
37085         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37086         __ASSUME_STATFS_F_FLAGS.
37088         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37090         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37091         Add sys/fanotify.h.
37092         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37093         fanotify_mask for GLIBC_2.13.
37094         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37095         fanotify_init and fanotify_mark.
37096         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37097         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37099         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37100         Add prlimit.
37101         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37102         prlimit64 for GLIBC_2.13.
37103         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37104         prlimit64.
37105         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37106         syscall.
37107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37108         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37109         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37110         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37111         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37112         add prlimit alias.
37113         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37115         [BZ #11903]
37116         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37117         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37119         * nss/Makefile: Add rules to build and run tst-nss-test1.
37120         * shlib-versions: Add entry for libnss_test1.
37121         * nss/nss_test1.c: New file.
37122         * nss/tst-nss-test1.c: New file.
37124         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37125         (__nss_configure_lookup): Set appropriate entry in
37126         __nss_configure_lookup to true.
37127         * nss/nsswitch.h: Define enum with indeces of databases in
37128         databases and __nss_database_custom arrays.  Declare
37129         __nss_database_custom.
37130         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37131         to avoid using nscd when custom rules are installed.
37132         * nss/getXXbyYY_r.c: Likewise.
37133         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37135         * nss/nss_files/files-parse.c: Whitespace fixes.
37137 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37139         [BZ #11883]
37140         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37141         * posix/fnmatch_loop.c: Likewise.
37143 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37145         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37146         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37147         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37148         * Versions.def [GLIBC_2.13]: Add.
37150 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37152         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37153         Also fail if tpwd after pwuid call is NULL.
37155 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37157         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37158         when converting to ms.
37160 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37162         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37163         EOPNOTSUPP errors with ENOTTY.
37164         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37165         EOPNOTSUPP errors with ENOTTY.
37167 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37169         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37170         Add strcasecmp_l-ssse3.
37171         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37172         strcasecmp.
37173         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37174         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37175         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37177 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37179         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37181         * string/Makefile (strop-tests): Add strcasecmp.
37182         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37183         strcasecmp_l-nonascii.
37184         (gen-as-const-headers): Add locale-defines.sym.
37185         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37186         * sysdeps/x86_64/strcasecmp.S: New file.
37187         * sysdeps/x86_64/strcasecmp_l.S: New file.
37188         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37189         * sysdeps/x86_64/locale-defines.sym: New file.
37190         * string/test-strcasecmp.c: New file.
37192         * string/test-strcasestr.c: Test both ends of the range of characters.
37193         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37195 2010-07-29  Roland McGrath  <roland@redhat.com>
37197         [BZ #11856]
37198         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37200 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37202         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37203         for ld.so.
37205 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37207         * manual/memory.texi (Malloc Tunable Parameters): Document
37208         M_PERTURB.
37210 2010-07-26  Roland McGrath  <roland@redhat.com>
37212         [BZ #11840]
37213         * configure.in (-fgnu89-inline check): Set and substitute
37214         gnu89_inline, not libc_cv_gnu89_inline.
37215         * configure: Regenerated.
37216         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37218 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37220         * string/test-strnlen.c: New file.
37221         * string/Makefile (strop-tests): Add strnlen.
37222         * string/tester.c (test_strnlen): Add a few more test cases.
37223         * string/tst-strlen.c: Better error reporting.
37225         * sysdeps/x86_64/strnlen.S: New file.
37227 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37229         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37230         lower-latency instructions.
37232 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37234         * string/test-strcasestr.c: New file.
37235         * string/test-strstr.c: New file.
37236         * string/Makefile (strop-tests): Add strstr and strcasestr.
37237         * string/str-two-way.h: Don't undefine MAX.
37238         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37240 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37242         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37243         strcasestr-nonascii.
37244         (CFLAGS-strcasestr-nonascii.c): Define.
37245         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37246         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37247         Remove unused attribute.
37249 2010-07-20  Roland McGrath  <roland@redhat.com>
37251         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37252         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37253         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37254         like LD_HWCAP_MASK can disable hwcaps.
37256 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37258         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37260 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37262         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37263         call in strcasestr.
37264         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37265         __strcasestr_sse42_nonascii.
37266         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37267         strcasestr-nonascii.c.
37268         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37270 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37272         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37273         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37274         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37275         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37277 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37279         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37280         fcntl.
37282 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37284         [BZ #11577]
37285         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37286         dl_signal_cerror.
37288 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37290         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37291         _PC_PIPE_BUF using F_GETPIPE_SZ.
37293 2010-07-05  Roland McGrath  <roland@redhat.com>
37295         * manual/arith.texi (Rounding Functions): Fix rint description
37296         implicit in round description.
37298 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37300         * elf/Makefile: Fix linking for a few tests to make recent linker
37301         happy.
37303 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37305         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37306         $(common-objpfx)libc_nonshared.a.
37308 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37310         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37311         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37312         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37313         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37314         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37315         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37316         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37317         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37332         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37333         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37334         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37335         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37336         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37337         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37338         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37339         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37340         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37341         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37342         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37343         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37359 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37361         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37362         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37363         * string/memmove.c (memmove): Renamed to ...
37364         (MEMMOVE): ...this.  Default to memmove.
37365         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37366         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37367         (END_CHK): Define.
37368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37369         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37370         mempcpy-ssse3-back memmove-ssse3-back.
37371         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37372         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37373         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37374         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37375         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37376         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37377         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37378         * sysdeps/x86_64/multiarch/memmove.c: New file.
37379         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37380         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37381         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37382         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37383         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37384         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37385         Define.
37386         (index_Fast_Copy_Backward): Define.
37387         (HAS_ARCH_FEATURE): Define.
37388         (HAS_FAST_REP_STRING): Define.
37389         (HAS_FAST_COPY_BACKWARD): Define.
37391 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37393         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37394         Restore proper fallback handling.
37396 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37398         [BZ #11701]
37399         * posix/group_member.c (__group_member): Correct checking loop.
37401         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37402         OOM in getpwuid_r correctly.  Return error number when the caller
37403         should return, otherwise -1.
37404         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37405         call returning > 0 value.
37406         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37408 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37410         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37411         libc_nonshared.a from targets in modules-names.
37413 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37415         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37416         requires it.
37418 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37420         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37421         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37422         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37423         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37425 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37427         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37429 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37431         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37432         and F_GETPIPE_SZ.
37433         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37434         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37437         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37438         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37440 2010-06-14  Roland McGrath  <roland@redhat.com>
37442         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37444 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37446         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37447         __REDIRECT followed by __THROW.
37448         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37449         * posix/getopt.h (getopt): Likewise.
37451 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37453         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37454         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37455         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37456         in AT_FLAGS.
37457         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37458         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37460 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37462         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37464 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
37466         [BZ #11640]
37467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37468         Properly check family and model.
37470 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
37472         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37474 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
37476         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37478 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
37480         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37481         symbol reference.
37483 2010-05-19  Andreas Schwab  <schwab@redhat.com>
37485         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37486         symbol reference.
37488 2010-05-21  Andreas Schwab  <schwab@redhat.com>
37490         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37491         and internal_recvmmsg.
37492         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37493         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37494         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37495         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37497         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37498         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37499         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37501 2010-05-20  Andreas Schwab  <schwab@redhat.com>
37503         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37505 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
37507         POWER7 optimizations.
37508         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37509         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37511 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
37513         * version.h: Update for 2.13 development version.
37515 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
37517         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37518         exceptions.  Return 0.
37520 2010-05-07  Roland McGrath  <roland@redhat.com>
37522         * elf/ldconfig.c (main): Add a const.
37524 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
37526         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37527         (args_options): Add no-idn option.
37528         (ahosts_keys_int): Add idn_flags to ai_flags.
37529         (parse_option): Handle 'i' option to clear idn_flags.
37531         * malloc/malloc.c (_int_free): Possible race in the most recently
37532         added check.  Only act on the data if no current modification
37533         happened.
37535 See ChangeLog.17 for earlier changes.