Fix dbl-64 hypot spurious underflows (bug 16314).
[glibc.git] / ChangeLog
blobb419cf3f93506ada105211127a0ca435fa18e308
1 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #16314]
4         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5         values below 2**-450, not 2**-500.
6         * math/auto-libm-test-in: Don't allow spurious underflow from
7         hypot.
8         * math/auto-libm-test-out: Regenerated.
10         [BZ #16316]
11         [BZ #16330]
12         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13         values of ha and hb and sort them after adjusting subnormal
14         arguments.
15         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16         Likewise.
17         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18         values of ea and eb and sort them after adjusting subnormal
19         arguments.
20         * math/auto-libm-test-in: Do not expect some hypot tests of
21         subnormals to fail.  Add more hypot tests.
22         * math/auto-libm-test-out: Regenerated.
24 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26         [BZ #13304]
27         * sysdeps/sh/s_fma.c: New file.
28         * sysdeps/sh/s_fmaf.c: New file.
29         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
30         version.
31         * sysdeps/sh/Implies: Add sh/soft-fp.
33 2013-12-16  Roland McGrath  <roland@hack.frob.com>
35         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
36         level of indirection to members `objname', `errstring', `malloced'.
37         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39         it as the __longjmp argument (just pass 1 instead).
40         (_dl_catch_error): Initialize C with argument pointers and address of
41         volatile local ERRCODE rather than copying values out of C at return.
43 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
45         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46         * math/auto-libm-test-out: Regenerated.
47         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48         (hypot_test_data): Likewise.
49         (pow_test_data): Likewise.
50         (pow_tonearest_test_data): Likewise.
51         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52         mpfr_ff_f.
53         (func_calc_desc): Add mpfr_ff_f union field.
54         (FUNC_mpfr_ff_f): New macro.
55         (test_functions): Add atan2, hypot and pow.
56         (special_fill_min): New function.
57         (special_fill_minus_min): Likewise.
58         (special_fill_min_subnorm): Likewise.
59         (special_fill_minus_min_subnorm): Likewise.
60         (special_real_inputs): Add min, -min, min_subnorm and
61         -min_subnorm.
62         (calc_generic_results): Handle mpfr_ff_f.
63         * sysdeps/i386/fpu/libm-test-ulps: Update.
64         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66 2013-12-16  Will Newton  <will.newton@linaro.org>
68         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
69         (Aligned Memory Blocks): Add documentation for aligned_alloc
70         and suggest it as an alternative to posix_memalign.
71         (Hooks for Malloc): Document __memalign_hook is also called
72         for aligned_alloc.  (Summary of Malloc): Add summary for
73         aligned alloc.  Document __memalign_hook is also called
74         for aligned_alloc.
76 2013-12-16  Will Newton  <will.newton@linaro.org>
78         * manual/memory.texi (Malloc Examples): Clarify default
79         alignment documentation.  Suggest posix_memalign rather
80         than memalign or valloc.
81         (Aligned Memory Blocks): Remove suggestion to use memalign
82         or valloc.  Remove obsolete comment about BSD.
83         Document memalign errno values and mark the function obsolete.
84         Document posix_memalign returned error codes.  Mark valloc
85         as obsolete.  (Hooks for Malloc): __memalign_hook is also
86         called for posix_memalign and valloc.
87         (Summary of Malloc): Add posix_memalign to function summary.
88         __memalign_hook is also called for posix_memalign and valloc.
90 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
92         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
93         TAYLOR_SIN.
94         (__sin): Adjust.
95         (__cos): Likewise.
96         (sloww): Use mynumber union.  Expand ternary operator into
97         if-else statements.
98         (cslow): use mynumber union.
100 2013-12-16  Allan McRae  <allan@archlinux.org>
102         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
103         * configure: Regenerated.
105         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
107         [BZ #14120]
108         * configure.ac: Added --enable-maintainer-mode. Check for
109         autoconf when enabled.
110         * configure: Regenerated.
112         * nscd/nscd.service: New file.
113         * nscd/nscd.tmpfiles: New file.
115 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
117         [BZ #12100]
118         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
119         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
120         * sysdeps/x86_64/multiarch/strstr.c: ... here.
121         (strstr): Add __strstr_sse2_unaligned ifunc.
122         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
123         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
124         (strcasestr): Remove __strcasestr_sse42 ifunc.
125         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
129 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
131         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
132         * sysdeps/sh/bits/fenv.h: ... here.
133         * sysdeps/sh/sh4/fpu/bits: Remove directory.
135 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
137         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
139 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
142         hypotf multiarch implementations.
143         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
144         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
146         multiarch hypot for PPC64.
147         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
148         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
149         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
150         multiarch hypotf for PPC64.
152 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
154         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
155         modff multiarch implementations.
156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
159         multiarch modf for PPC64.
160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
163         multiarch modff for PPC64.
165 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
168         and logl multiarch implementations.
169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
172         multiarch logb for PPC64.
173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
176         multiarch logb for PPC64.
177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
180         multiarch logb for PPC64.
182 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
185         isinff multiarch implementation.
186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
187         file.
188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
190         multiarch isinf for PPC64.
191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
192         file.
193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
194         multiarch isinff for PPC64.
196 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
198         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
199         finitef multiarch implementation.
200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
201         file.
202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
204         multiarch finite for PPC64.
205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
206         file.
207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
208         multiarch finitef for PPC64.
210 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
212         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
213         lrint multiarch implementation.
214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
215         file.
216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
218         multiarch llrint for PPC64.
219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
220         multiarch lrint for PPC64.
222 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
225         copysignf multiarch implementation.
226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
227         file.
228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
229         file.
230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
231         multiarch copysign for PPC64.
232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
233         multiarch copysignf for PPC64.
235 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
238         multiarch implementation.
239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
240         file.
241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
242         file.
243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
244         file.
245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
246         file.
247         multiarch llround for PPC64.
248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
249         multiarch trunc for PPC64.
250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
251         multiarch truncf for PPC64.
253 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
256         multiarch implementation.
257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
258         file.
259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
260         file.
261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
262         file.
263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
264         file.
265         multiarch llround for PPC64.
266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
267         multiarch round for PPC64.
268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
269         multiarch roundf for PPC64.
271 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
273         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
274         multiarch implementation.
275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
276         file.
277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
278         file.
279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
280         file.
281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
282         file.
283         multiarch llround for PPC64.
284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
285         multiarch floor for PPC64.
286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
287         multiarch floorf for PPC64.
289 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
292         multiarch implementation.
293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
294         file.
295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
296         file.
297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
298         file.
299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
300         file.
301         multiarch llround for PPC64.
302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
303         multiarch ceil for PPC64.
304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
305         multiarch ceilf for PPC64.
307 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
310         multiarch implementation.
311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
312         file.
313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
314         file.
315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
316         file.
317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
318         multiarch llround for PPC64.
319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
320         multiarch lround for PPC64.
322 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
324         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
325         multiarch implementation.
326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
329         file.
330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
333         multiarch isnan for PPC64.
334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
335         multiarch isnanf for PPC64.
337 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
339         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
340         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
341         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
342         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
343         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
346 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
348         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
349         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
350         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
351         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
353 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
356         multiarch implementations.
357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
358         (__libc_ifunc_impl_list): Likewise.
359         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
360         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
361         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
362         multiarch stpcpy for PPC64.
364 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
367         multiarch implementations.
368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
369         (__libc_ifunc_impl_list): Likewise.
370         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
371         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
372         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
373         multiarch strcpy for PPC64.
375 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
377         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
378         redefine function name.
379         (_wordcopy_fwd_dest_aligned): Likewise.
380         (_wordcopy_bwd_aligned): Likewise.
381         (_wordcopy_bwd_dest_aligned): Likewise.
382         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
383         multiarch implementations.
384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
385         (__libc_ifunc_impl_list): Likewise.
386         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
387         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
388         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
389         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
390         multiarch wcscpy for PPC64.
392 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
395         multiarch implementations.
396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
397         (__libc_ifunc_impl_list): Likewise.
398         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
399         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
400         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
401         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
402         multiarch wcscpy for PPC64.
404 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
407         multiarch implementations.
408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
409         (__libc_ifunc_impl_list): Likewise.
410         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
411         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
412         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
413         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
414         multiarch wcsrchr for PPC64.
416 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
418         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
419         multiarch implementations.
420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
421         (__libc_ifunc_impl_list): Likewise.
422         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
423         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
424         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
425         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
426         multiarch wcschr for PPC64.
428 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
431         multiarch implementations.
432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
433         (__libc_ifunc_impl_list): Likewise.
434         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
435         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
436         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
437         multiarch strchrnul for PPC64.
439 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
442         implementations.
443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
444         (__libc_ifunc_impl_list): Likewise.
445         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
446         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
447         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
448         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
449         strchr for PPC64.
451 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
454         implementations.
455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
456         (__libc_ifunc_impl_list): Likewise.
457         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
458         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
459         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
460         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
461         strncmp for PPC64.
463 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
466         multiarch implementations.
467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
468         (__libc_ifunc_impl_list): Likewise.
469         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
470         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
471         strncasecmp for PPC64.
472         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
473         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
474         multiarch strncasecmp_l for PPC64.
476 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
479         multiarch implementations.
480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
481         (__libc_ifunc_impl_list): Likewise.
482         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
483         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
484         multiarch strcasecmp for PPC64.
485         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
486         file.
487         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
488         multiarch strcasecmp_l for PPC64.
490 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
493         implementations.
494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
495         (__libc_ifunc_impl_list): Likewise.
496         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
497         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
498         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
499         strnlen for PPC64.
501 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
504         implementations.
505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
506         (__libc_ifunc_impl_list): Likewise.
507         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
508         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
509         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
510         strlen for PPC64.
512 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
515         implementations.
516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
517         (__libc_ifunc_impl_list): Likewise.
518         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
519         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
520         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
521         rawmemrchr for PPC64.
523 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
526         implementation.
527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
528         (__libc_ifunc_impl_list): Likewise.
529         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
530         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
531         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
532         memrchr for PPC64.
534 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
537         implementation.
538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
539         (__libc_ifunc_impl_list): Likewise.
540         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
541         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
542         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
543         memchr for PPC64.
545 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
548         implementation.
549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
550         (__libc_ifunc_impl_list): Likewise.
551         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
552         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
553         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
554         mempcpy for PPC64.
556 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
558         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
559         avoid cretion of __bzero symbol.
560         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
561         Likewise.
562         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
563         Likewise.
564         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
565         Likewise.
566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
567         multiarch implementations.
568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
569         (__libc_ifunc_impl_list): Likewise.
570         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
571         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
572         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
573         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
574         bzero for PPC32.
575         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
576         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
577         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
578         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
579         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
580         memset for PPC64.
581         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
583 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
585         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
587         implementations.
588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
589         (__libc_ifunc_impl_list): Likewise.
590         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
591         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
592         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
593         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
594         memcmp for PPC64.
596 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
599         multiarch for POWER/PPC64.
600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
601         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
602         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
603         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
604         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
605         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
606         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
607         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
608         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
609         memcpy for PPC64.
611 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
613         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
614         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
615         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
616         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
617         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
618         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
619         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
620         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
621         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
622         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
623         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
624         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
625         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
626         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
627         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
636 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
638         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
640 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
642         * benchtests/Makefile (bench): Add exp2 and log2.
643         (LDLIBS-bench-exp2): Add -lm.
644         (LDLIBS-bench-log2): Likewise.
645         * benchtests/exp2-inputs: New inputs file.
646         * benchtests/log2-inputs: New inputs file.
647         * benchtests/log-inputs: Add new inputs.
648         * benchtests/tan-inputs: Likewise.
650 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
652         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
653         definition...
654         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
655         csloww1, csloww2): ... from here.
657         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
658         instead of structures.
659         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
660         (POLYNOMIAL): Likewise.
661         (TAYLOR_SLOW): Likewise.
662         (__sin): Likewise.
663         (__cos): Likewise.
664         (slow1): Likewise.
665         (slow2): Likewise.
666         (sloww): Likewise.
667         (sloww1); Likewise.
668         (sloww2): Likewise.
669         (bsloww1): Likewise.
670         (bsloww2): Likewise.
671         (cslow2): Likewise.
672         (csloww): Likewise.
673         (csloww1): Likewise.
674         (csloww2): Likewise.
676 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
678         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
679         (__malloc_assert, __libc_realloc, __libc_calloc,
680         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
681         memcpy and memset.
682         * malloc/hooks.c (realloc_check): Likewise.
684 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
686         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
687         * malloc/arena.c: Remove PER_THREAD conditional.
688         [!PER_THREAD]: Remove code.
689         (ptmalloc_unlock_all2): Likewise.
690         (ptmalloc_init): Likewise.
691         (_int_new_arena): Likewise.
692         (arena_get2): Likewise.
693         * malloc/hooks.c (__malloc_get_state): Likewise.
694         (__malloc_set_state): Likewise.
695         * malloc/malloc.c: Likewise.
696         (struct malloc_state): Likewise.
697         (struct malloc_par): Likewise.
698         (__libc_realloc): Likewise.
699         (__libc_mallopt): Likewise.
701 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
703         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
705 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
707         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
708         macro to a function.  Check for zero perturb_byte.
709         (_int_malloc, _int_free): Remove zero perturb_byte checks.
711 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
713         * malloc/malloc.c: (force_reg): Remove.
714         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
715         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
716         force_reg by atomic_forced_read.
717         * malloc/arena.c (ptmalloc_init): Likewise.
718         * malloc/hooks.c (top_check): Likewise.
720 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
724 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
728 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
730         * math/auto-libm-test-in: Add tests of lgamma.
731         * math/auto-libm-test-out: Regenerated.
732         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
733         (M_LOG_2_SQRT_PIl): Likewise.
734         (lgamma_test_data): Use AUTO_TESTS_f_f1.
735         * math/gen-auto-libm-tests.c (func_calc_method): Add value
736         mpfr_f_f1.
737         (func_calc_desc): Add mpfr_f_f1 union field.
738         (ARGS1): New macro.
739         (ARGS2): Likewise.
740         (ARGS3): Likewise.
741         (ARGS4): Likewise.
742         (RET1): Likewise.
743         (RET2): Likewise.
744         (CALC): Likewise.
745         (FUNC): Likewise.
746         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
747         (test_functions): Add lgamma.
748         (calc_generic_results): Handle mpfr_f_f1.
749         * sysdeps/i386/fpu/libm-test-ulps: Update.
750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
752 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
754         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
755         __mpn_add_n for PowerPC64/POWER7.
756         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
757         __mpn_sub_n for PowerPC64/POWER7.
759 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
761         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
762         __mpn_addmul_1 for PowerPC64.
763         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
764         __mpn_submul_1 for PowerPC64.
765         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
766         for PowerPC64.
767         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
768         for PowerPC64.
770 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
772         [BZ #15089]
773         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
775 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
777         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
779 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
781         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
782         add multiarch folders.
783         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
784         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
785         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
786         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
787         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
788         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
789         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
790         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
791         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
792         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
793         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
801 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
804         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
806         New file.
807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
808         New file.
809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
810         multiarch __ieee754_hypot for PowerPC32.
811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
812         New file.
813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
814         New file.
815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
816         multiarch __ieee754_hypotf for PowerPC32.
818 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
820         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
821         long_double_symbol only if __logbl is defined.
822         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
823         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
824         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
825         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
826         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
827         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
828         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
829         path for implementation.
830         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
831         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
833         logb, and logbl multiarch implementations for PowerPC32.
834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
835         file.
836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
837         file.
838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
839         multiarch logb for PowerPC32.
840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
841         file.
842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
843         file.
844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
845         multiarch logbf for PowerPC32.
846         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
848         file.
849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
850         multiarch logbl implementation for PowerPC32.
852 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
855         and modff multiarch implementations.
856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
857         New file.
858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
859         New file.
860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
861         multiarch modf for PowerPC32.
862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
863         New file.
864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
865         New file.
866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
867         multiarch modff for PowerPC32.
869 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
872         and lrintf multiarch implementations.
873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
874         New file.
875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
876         New file.
877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
878         multiarch lrint for PowerPC32.
879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
880         file: multiarch lrintf for PowerPC32.
882 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
885         and lroundf multiarch implementations.
886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
887         New file.
888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
889         New file.
890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
891         New file.
892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
893         multiarch lround for PowerPC32.
894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
895         file: multiarch lroundf for PowerPC32.
897 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
900         copysign and copysignf multiarch implementations.
901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
902         New file.
903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
904         New file.
905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
906         file: multiarch copysign for PowerPC32.
907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
908         file: multiarch copysignf for PowerPC32.
910 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
913         and truncf multiarch implementations.
914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
915         New file.
916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
917         file.
918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
919         multiarch trunc for PowerPC32.
920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
921         New file.
922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
923         New file.
924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
925         multiarch truncf for PowerPC32.
927 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
930         and roundf multiarch implementations.
931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
932         New file.
933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
934         file.
935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
936         multiarch round for PowerPC32.
937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
938         New file.
939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
940         New file.
941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
942         multiarch roundf for PowerPC32.
944 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
947         and floorf multiarch implementations.
948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
949         New file.
950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
951         file.
952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
953         multiarch floor for PowerPC32.
954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
955         New file.
956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
957         New file.
958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
959         multiarch floorf for PowerPC32.
961 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
964         and ceilf multiarch implementations.
965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
966         New file.
967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
968         file.
969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
970         multiarch ceil for PowerPC32.
971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
972         New file.
973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
974         file.
975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
976         multiarch ceilf for PowerPC32.
978 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
980         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
981         is defined.
982         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
983         FINITEF is defined.
984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
985         and finitef multiarch implementations.
986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
987         New file.
988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
989         file.
990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
991         multiarch finite for PowerPC32.
992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
993         New file.
994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
995         file: multiarch finitef for PowerPC32.
997 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1000         and isinff multiarch implementations.
1001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1002         file.
1003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1004         file.
1005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1006         multiarch isinf for PowerPC32.
1007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1008         New file.
1009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1010         multiarch isinff for PowerPC32.
1012 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1014         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1015         alias when __isnan is defined.
1016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1017         and isnanf multiarch implementations.
1018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1019         file.
1020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1021         file.
1022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1023         file.
1024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1025         file.
1026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1027         multiarch isnan for PowerPC32.
1028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1029         New file.
1030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1031         New file.
1032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1033         multiarch isnanf for PowerPC32.
1035 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1038         and sqrtf multiarch implementations.
1039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1040         file.
1041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1042         file.
1043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1044         multiarch sqrt for PowerPC32.
1045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1046         file.
1047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1048         file.
1049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1050         multiarch sqrtf for PowerPC32.
1052 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1055         and llroundf multiarch implementations.
1056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1057         New file.
1058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1059         New file.
1060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1061         New file.
1062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1063         file: multiarch llround for PowerPC32.
1064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1065         file: multiarch llroundf for PowerPC32.
1067 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1070         multiarch PowerPC32 fpu implementations.
1071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1072         New file.
1073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1074         New file.
1075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1076         multiarch llrint for PowerPC32.
1077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1078         New file.
1079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1080         New file.
1081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1082         file.
1084 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1088 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1090         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1091         file.
1092         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1093         file.
1094         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1095         file.
1096         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1097         multiarch wordcopy for PPC32.
1098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1099         wordcopy objects.
1100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1101         (__libc_ifunc_impl_list): Likewise.
1102         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1103         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1104         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1105         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1106         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1107         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1109 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1111         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1113         file.
1114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1115         file.
1116         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1117         file.
1118         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1119         multiarch wcscpy for PPC32.
1120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1121         multiarch objects.
1122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1123         (__libc_ifunc_impl_list): Likewise.
1124         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1125         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1126         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1127         sysdeps/powerpc/power6/wcscpy.c.
1129 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1131         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1133         file.
1134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1135         file.
1136         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1137         file.
1138         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1139         multiarch wcsrchr for PPC32.
1140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1141         multiarch objects.
1142         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1143         (__libc_ifunc_impl_list): Likewise.
1144         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1145         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1146         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1147         sysdeps/powerpc/power6/wcsrchr.c.
1149 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1152         file.
1153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1154         file.
1155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1156         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1157         multiarch wcschr for PPc32.
1158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1159         multiarch objects.
1160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1161         (__libc_ifunc_impl_list): Likewise.
1162         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1163         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1164         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1165         sysdeps/powerpc/power6/wcschr.c.
1167 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1169         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1170         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1171         file.
1172         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1173         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1174         file: multiarch strchr for PPC32.
1175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1176         multiarch objects.
1177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1178         (__libc_ifunc_impl_list): Likewise.
1180 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1182         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1183         name.
1184         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1185         file.
1186         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1187         file.
1188         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1189         multiarch strchrnul for PPC32.
1190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1191         multiarch objects.
1192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1193         (__libc_ifunc_impl_list): Likewise.
1195 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1197         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1198         file.
1199         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1200         multiarch strncasecmp for PPC32.
1201         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1202         file.
1203         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1204         multiarch strncasecmp_l for PPC32.
1205         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1206         strncasecmp multiarch objects.
1207         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1208         (__libc_ifunc_impl_list): Likewise.
1210 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1212         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1213         file.
1214         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1215         multiarch strncasecmp for PPC32.
1216         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1217         New file.
1218         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1219         multiarch strcasecmp_l for PPC32.
1220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1221         multiarch objects.
1222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1223         (__libc_ifunc_impl_list): Likewise.
1225 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1227         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1228         file.
1229         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1230         file.
1231         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1232         multiarch strncmp for PPC32.
1233         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1234         multiarch objects.
1235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1236         (__libc_ifunc_impl_list): Likewise.
1238 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1240         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1241         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1242         file.
1243         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1244         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1246         multiarch objects.
1247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1248         (__libc_ifunc_impl_list): Likewise.
1250 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1252         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1253         file.
1254         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1255         file.
1256         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1258         multiarch objects.
1259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1260         (__libc_ifunc_impl_list): Likewise.
1262 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1264         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1265         file.
1266         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1267         file.
1268         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1269         multiarch rawmemchr for PPC32.
1270         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1271         multiarch objects.
1272         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1273         (__libc_ifunc_impl_list): Likewise.
1275 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1277         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1278         file.
1279         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1280         file.
1281         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1282         file: memrchr multiarch for PPC32.
1283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1284         multiarch objects.
1285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1286         (__libc_ifunc_impl_list): Likewise.
1288 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1290         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1291         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1292         file.
1293         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1294         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1295         multiarch memchr for PPC32.
1296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1297         multiarch objects.
1298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1299         (__libc_ifunc_impl_list): Likewise.
1301 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1303         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1304         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1305         file.
1306         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1307         file.
1308         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1309         file: multiarch mempcpy for PPC32.
1310         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1311         multiarch objects.
1312         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1313         (__libc_ifunc_impl_list): Likewise.
1315 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1317         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1318         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1319         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1320         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1321         multiarch bzero for PPC32.
1322         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1323         file.
1324         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1325         file.
1326         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1327         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1328         file: multiarch memset for PPC32.
1329         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1331         memset multiarch objects.
1332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1333         (__libc_ifunc_impl_list): Likewise.
1335 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1338         file.
1339         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1341         memcmp for PPC32.
1342         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1344         multiarch objects.
1345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1346         (__libc_ifunc_impl_list): Likewise.
1348 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1350         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1351         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1353         file.
1354         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1355         file.
1356         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1357         file.
1358         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1359         multiarch memcpy for PPC32.
1360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1361         multiarch objects.
1362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1363         (__libc_ifunc_impl_list): Likewise.
1365 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1367         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1368         support multiarch for POWER/PPC32.
1369         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1370         Likewise.
1371         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1373         Implies file to make multiarch folder appers before the fpu and
1374         default folder for power4 configuration.
1376 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1378         * scripts/bench.pl: Append volatile keyword to type.
1380 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1382         * sysdeps/sh/sotruss-lib.c: New file.
1383         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1385 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1389 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1391         [BZ #6810]
1392         * math/w_tgamma.c: Include <errno.h>.
1393         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1394         * math/w_tgammaf.c: Include <errno.h>.
1395         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1396         * math/w_tgammal.c: Include <errno.h>.
1397         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1398         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1399         underflow.  Add more tgamma tests.
1400         * math/auto-libm-test-out: Regenerated.
1401         * sysdeps/i386/fpu/libm-test-ulps: Update.
1402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1404         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1405         sin, sinh, tan, tanh, tgamma, y0 and y1.
1406         * math/auto-libm-test-out: Regenerated.
1407         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1408         (TEST_COND_x86): Likewise.
1409         (M_E2l): Remove macro.
1410         (M_E3l): Likewise.
1411         (M_2_SQRT_PIl): Likewise.
1412         (M_SQRT_PIl): Likewise.
1413         (M_1_DIV_El): Likewise.
1414         (log_test_data): Use AUTO_TESTS_f_f.
1415         (log10_test_data): Likewise.
1416         (log1p_test_data): Likewise.
1417         (log2_test_data): Likewise.
1418         (sin_test_data): Likewise.
1419         (sin_tonearest_test_data): Likewise.
1420         (sin_towardzero_test_data): Likewise.
1421         (sin_downward_test_data): Likewise.
1422         (sin_upward_test_data): Likewise.
1423         (sinh_test_data): Likewise.
1424         (sinh_tonearest_test_data): Likewise.
1425         (sinh_towardzero_test_data): Likewise.
1426         (sinh_downward_test_data): Likewise.
1427         (sinh_upward_test_data): Likewise.
1428         (tan_test_data): Likewise.
1429         (tan_tonearest_test_data): Likewise.
1430         (tan_towardzero_test_data): Likewise.
1431         (tan_downward_test_data): Likewise.
1432         (tan_upward_test_data): Likewise.
1433         (tanh_test_data): Likewise.
1434         (tgamma_test_data): Likewise.
1435         (y0_test_data): Likewise.
1436         (y1_test_data): Likewise.
1437         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1438         (special_real_inputs): Add pi/4.
1439         * sysdeps/i386/fpu/libm-test-ulps: Update.
1440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1442 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1444         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1445         "longjmp_target" static probes.
1446         (__longjmp): Rename to __longjmp_symbol.
1447         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1448         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1449         on which longjmp to generate.
1450         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1451         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1452         probe.
1453         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1454         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1455         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1456         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1457         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1458         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1460         __longjmp_symbol based on which __longjmp to generate.
1461         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1462         probe.
1463         (setjmp): Rename to setjmp_symbol.
1464         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1465         (_setjmp): Rename to _setjmp_symbol.
1466         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1467         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1468         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1469         which setjmp to generate.
1470         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1471         "longjmp_target" static probes.
1473 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1475         * benchtests/README: Add note about output arguments.
1476         * benchtests/bench-sincos.c: Remove file.
1477         * benchtests/sincos-inputs: New file.
1478         * scripts/bench.pl: Identify output arguments and define
1479         static variables for them.
1481         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1483         [BZ #15941]
1484         * Makefile (INSTALL): Add install-plain.texi as the primary
1485         dependency.
1486         * manual/install-plain.texi: New file.
1487         * manual/install.texi: Include node directive only for
1488         non-plaintext output.
1490 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1492         * stdlib/longlong.h: Update from GCC.
1494         [BZ #6807]
1495         [BZ #15901]
1496         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1497         * math/w_j0f.c (y0f): Likewise.
1498         * math/w_j0l.c (__y0l): Likewise.
1499         * math/w_j1.c (y1): Likewise.
1500         * math/w_j1f.c (y1f): Likewise.
1501         * math/w_j1l.c (__y1l): Likewise
1502         * math/w_jn.c (yn): Likewise.
1503         * math/w_jnf.c (ynf): Likewise.
1504         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1505         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
1506         value for Bessel function domain errors outside _SVID_ mode.
1507         Adjust sign of return value for yn (negative integer, 0).
1508         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1509         by zero in return for negative x and set sign appropriately for
1510         negative n.
1511         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1512         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1513         * math/libm-test.inc (y0_test_data): Add more tests and adjust
1514         expectations in error cases.
1515         (y1_test_data): Likewise.
1516         (yn_test_data): Likewise.
1517         * sysdeps/i386/fpu/libm-test-ulps: Update.
1518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1520 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1522         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1523         "64" to "64-v1".  Add "64-v2".
1524         (abi-64-options): Rename to ...
1525         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
1526         (abi-64-condition): Rename to ...
1527         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
1528         (abi-64-ld-soname): Rename to ...
1529         (abi-64-v1-ld-soname): ... this.
1530         (abi-64-v2-options): Define.
1531         (abi-64-v2-condition): Likewise.
1532         (abi-64-v2-ld-soname): Likewise.
1533         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1534         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1539 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1540             Alan Modra  <amodra@gmail.com>
1542         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1543         New versions for use with the ELFv2 ABI.
1544         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1545         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1546         declaration.
1547         (struct La_ppc64v2_retval): Likewise.
1548         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1549         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1550         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1551         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1552         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1553         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1554         Do not save or restore CR.
1555         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1556         (_dl_profile_resolve): Do no save or restore CR.  Support extended
1557         return values for ELFv2 ABI.  Fix location of FPR return registers.
1558         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1559         updated values for _CALL_ELF == 2.
1560         (La_regs, La_retval, int_retval): Likewise.
1562 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1564         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1565         (FRAME_MIN_SIZE_PARM): Likewise.
1566         (FRAME_BACKCHAIN): Likewise.
1567         (FRAME_CR_SAVE): Likewise.
1568         (FRAME_LR_SAVE): Likewise.
1569         (FRAME_TOC_SAVE): Likewise.
1570         (FRAME_PARM_SAVE): Likewise.
1571         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1572         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1573         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1574         (call_mcount_parm_offset): New macro.
1575         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1576         (PROF): Use symbolic stack frame offsets.
1577         (TAIL_CALL_SYSCALL_ERROR): Likewise.
1578         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1579         Redefine in terms of FRAME_MIN_SIZE.
1580         (_dl_runtime_resolve): Use symbolic stack frame offsets.
1581         (_dl_profile_resolve): Likewise.  Update comment.
1582         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1583         symbols stack frame offsets.
1584         (__sigsetjmp): Likewise.
1585         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1586         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1587         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1588         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1591         (FRAME_BACKCHAIN): Remove.
1592         (FRAME_CR_SAVE): Likewise.
1593         (FRAME_LR_SAVE): Likewise.
1594         (FRAME_COMPILER_DW): Likewise.
1595         (FRAME_LINKER_DW): Likewise.
1596         (FRAME_TOC_SAVE): Likewise.
1597         (FRAME_PARM_SAVE): Likewise.
1598         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1599         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1600         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1602         (CHECK_SP): Use symbolic stack frame offsets.
1603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1604         zone" instead of caller's parameter save area for temp storage.
1605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1606         Likewise.  Also, use symbolic stack frame offsets.
1607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1608         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1609         our own stack frame instead of the caller's.
1610         (__socket): Use symbolic stack frame offsets.
1612 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1613             Alan Modra  <amodra@gmail.com>
1615         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1616         Define.
1617         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1618         PPC64_LOCAL_ENTRY_OFFSET): Define.
1619         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1620         New function.
1621         (elf_machine_fixup_plt): Call it.
1622         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
1623         reloc arguments.
1624         (elf_machine_rela): Update call to elf_machine_plt_conflict.
1625         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1626         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1627         r2 before calling target.
1629 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1630             Alan Modra  <amodra@gmail.com>
1632         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1633         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1634         versions of macros to support ELFv2 ABI.
1635         (LOCALENTRY): New macro.
1636         (ENTRY, EALIGN): Use it.
1637         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1638         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1639         fall through into ENTRY entry point.
1640         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1641         Only define if _CALL_ELF != 2.
1643         (elf_machine_matches_host): Verify ABI version matches.
1644         (RTLD_START): Use LOCALENTRY.
1645         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1646         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1647         (PLT_ENTRY_WORDS): New macro.
1648         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1649         (elf_machine_runtime_setup): Support ELFv2 ABI.
1650         (elf_machine_fixup_plt): Likewise.
1651         (elf_machine_plt_conflict): Likewise.
1652         (resolve_ifunc): Likewise.
1653         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1654         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1655         Likewise.
1656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1657         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1659         (makecontext): Support ELFv2 ABI.
1660         * elf/elf.h (EF_PPC64_ABI): Define.
1662 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1664         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1665         New assembler macro.
1666         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1667         [ASSEMBLER] (ENTRY): ... but instead here ...
1668         [ASSEMBLER] (EALIGN): ... and here.
1669         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1670         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1671         [!ASSEMBLER] (ENTRY_2): Use it.
1672         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1673         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
1674         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1675         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1676         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1678         Use PPC64_LOAD_FUNCPTR.
1680 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1682         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1684 2013-12-04  Alan Modra  <amodra@gmail.com>
1686         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1687         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1688         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1689         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1691         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1692         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1693         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1694         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1695         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1696         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1698 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1701         (__makecontext): Fix incorrect CFI when backtracing out of
1702         context created via makecontext.
1703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1704         (__setcontext): Fix incorrect CFI during switch to new context.
1705         (__novec_setcontext): Likewise.
1707 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1709         [BZ #4772]
1710         * time/strptime_l.c (__strptime_internal): Allow modifiers
1711         in strptime.
1712         * time/tst-strptime.c (day_tests): Add testcase.
1715 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1717         * scripts/bench.pl: Skip over blank lines.
1719 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1721         [BZ #926]
1722         * manual/time.texi (Calendar Time): Clarify what timezone functions
1723         use.
1725 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1729 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1731         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1732         implementation.
1733         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1734         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1735         * debug/memset_chk.c (__memset_chk): Likewise.
1736         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1737         * debug/strncpy_chk.c: Likewise.
1739 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1741         [BZ #15268]
1742         [BZ #15425]
1743         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1744         (__ieee754_exp): For possibly underflowing results, check size of
1745         result and force underflow exception if required.
1746         * math/auto-libm-test-in: Add more tests of exp.
1747         * math/auto-libm-test-out: Regenerated.
1748         * sysdeps/i386/fpu/libm-test-ulps: Update.
1749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1751         [BZ #16283]
1752         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1753         * math/w_exp2f.c (__exp2f): Likewise.
1754         * math/w_exp2l.c (__exp2l): Likewise.
1755         * math/auto-libm-test-in: Do not allow missing errno on exp2
1756         underflow.
1757         * math/auto-libm-test-out: Regenerated.
1759 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1761         [BZ #16274]
1762         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1763         handle filename validation.
1764         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1765         (do_open): Delete.
1767 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1769         [BZ #6786]
1770         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1771         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1772         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1773         <float.h>.
1774         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1775         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1776         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1777         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1778         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1779         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1780         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1781         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1782         Add more erfc tests.
1783         * math/auto-libm-test-out: Regenerated.
1784         * sysdeps/i386/fpu/libm-test-ulps: Update.
1785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1787         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1788         exp2, expm1, j0 and j1.
1789         * math/auto-libm-test-out: Regenerated.
1790         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1791         (erfc_test_data): Likewise.
1792         (exp_test_data): Likewise.
1793         (exp_tonearest_test_data): Likewise.
1794         (exp_towardzero_test_data): Likewise.
1795         (exp_downward_test_data): Likewise.
1796         (exp_upward_test_data): Likewise.
1797         (exp10_test_data): Likewise.
1798         (exp2_test_data): Likewise.
1799         (expm1_test_data): Likewise.
1800         (j0_test_data): Likewise.
1801         (j1_test_data): Likewise.
1802         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1803         (input_flag_type): Add flag_xfail_rounding.
1804         (input_flags): Add xfail-rounding.
1805         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1806         (output_for_one_input_case): Handle flag_xfail_rounding.
1807         * sysdeps/i386/fpu/libm-test-ulps: Update.
1808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1810 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1812         [BZ #16289]
1813         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1814         division by 0.
1816 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1818         [BZ #16195]
1819         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1820         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1821         (STAP_PROBE0): New macro.
1822         (STAP_PROBE1): Likewise.
1823         (STAP_PROBE2): Likewise.
1824         (STAP_PROBE3): Likewise.
1825         (STAP_PROBE4): Likewise.
1827 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1829         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1831 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1833         * benchtests/Makefile (bench): Add sqrt.
1834         (LDLIBS-bench-sqrt): New.
1835         * benchtests/sqrt-input: New.
1837 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1839         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1840         (GAIH_EAI): Likewise.
1841         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1842         (gaih_inet): Likewise.
1843         (getaddrinfo): Don't use GAIH_EAI.
1845         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1846         (struct gaih): Remove definition.
1848 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1850         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1851         Use HERRNOP directly.
1853 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1857 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1859         * math/gen-auto-libm-tests.c (test_functions): Add more
1860         single-argument functions.
1861         (special_fill_pi_2): New function.
1862         (special_fill_minus_pi_2): Likewise.
1863         (special_fill_pi_6): Likewise.
1864         (special_fill_minus_pi_6): Likewise.
1865         (special_fill_pi_3): Likewise.
1866         (special_fill_2pi_3): Likewise.
1867         (special_fill_e): Likewise.
1868         (special_fill_1_e): Likewise.
1869         (special_fill_e_minus_1): Likewise.
1870         (special_real_inputs): Add more special inputs.
1871         (output_for_one_input_case): Do not require ERANGE on underflow to
1872         zero if round-to-nearest result does not underflow to zero, unless
1873         exact results required.
1874         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1875         atan, atanh, cbrt, cos and cosh.
1876         * math/auto-libm-test-out: Regenerated.
1877         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1878         (acos_tonearest_test_data): Likewise.
1879         (acos_towardzero_test_data): Likewise.
1880         (acos_downward_test_data): Likewise.
1881         (acos_upward_test_data): Likewise.
1882         (acosh_test_data): Likewise.
1883         (asin_test_data): Likewise.
1884         (asin_tonearest_test_data): Likewise.
1885         (asin_towardzero_test_data): Likewise.
1886         (asin_upward_test_data): Likewise.
1887         (asinh_test_data): Likewise.
1888         (atan_test_data): Likewise.
1889         (atanh_test_data): Likewise.
1890         (cbrt_test_data): Likewise.
1891         (cos_test_data): Likewise.
1892         (cos_tonearest_test_data): Likewise.
1893         (cos_towardzero_test_data): Likewise.
1894         (cos_downward_test_data): Likewise.
1895         (cos_upward_test_data): Likewise.
1896         (cosh_test_data): Likewise.
1897         (cosh_tonearest_test_data): Likewise.
1898         (cosh_towardzero_test_data): Likewise.
1899         (cosh_downward_test_data): Likewise.
1900         (cosh_upward_test_data): Likewise.
1901         * sysdeps/i386/fpu/libm-test-ulps: Update.
1902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1904 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1906         [BZ #6787]
1907         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1908         * math/w_exp10f.c (__exp10f): Likewise.
1909         * math/w_exp10l.c (__exp10l): Likewise.
1910         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1911         errno settings in existing tests.
1913         [BZ #14032]
1914         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1915         precision control set to double precision.
1916         * sysdeps/i386/fpu/w_sqrt.c: New file.
1917         * math/auto-libm-test-in: Add more tests.
1918         * math/auto-libm-test-out: Update.
1920         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1921         (sqrt_test_tonearest): New function.
1922         (sqrt_towardzero_test_data): New variable.
1923         (sqrt_test_towardzero): New function.
1924         (sqrt_downward_test_data): New variable.
1925         (sqrt_test_downward): New function.
1926         (sqrt_upward_test_data): New variable.
1927         (sqrt_test_upward): New function.
1928         (main): Call the new functions.
1930         * math/gen-auto-libm-tests.c: New file.
1931         * math/auto-libm-test-in: Likewise.
1932         * math/auto-libm-test-out: New generated file.
1933         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1934         variables.
1935         (%beautify): Add generated representations of zero.
1936         (top level): Set $auto_input and call parse_auto_input.
1937         (beautify): Remove trailing "f" from hex float constants.
1938         (parse_args): Handle XFAIL_TEST.
1939         (convert_condition): New function.
1940         (or_value): Likewise.
1941         (or_cond_value): Likewise.
1942         (generate_testfile): Handle AUTO_TESTS_* lines.
1943         (parse_auto_input): New function.
1944         * math/libm-test.inc (XFAIL_TEST): New macro.
1945         (ERRNO_UNCHANGED): Update value.
1946         (ERRNO_EDOM): Likewise.
1947         (ERRNO_ERANGE): Likewise.
1948         (IGNORE_RESULT): Likewise.
1949         (TEST_COND_flt_32): New macro.
1950         (TEST_COND_dbl_64): Likewise.
1951         (TEST_COND_ldbl_96_intel): Likewise.
1952         (TEST_COND_ldbl_96_m68k): Likewise.
1953         (TEST_COND_ldbl_128): Likewise.
1954         (TEST_COND_ldbl_128ibm): Likewise.
1955         (TEST_COND_long32): Likewise.
1956         (TEST_COND_long64): Likewise.
1957         (TEST_COND_before_rounding): Likewise.
1958         (TEST_COND_after_rounding): Likewise.
1959         (enable_test): Handle XFAIL_TEST flag.
1960         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1961         with finite results.
1962         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1963         auto-libm-test-out.
1965 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1966             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1968         [BZ #16214]
1969         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1970         __tls_get_addr_internal instead of __tls_get_offset in order to
1971         avoid GOT pointer dependency.  Make rtld export
1972         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1973         __tls_get_addr since we are a __tls_get_offset platform.
1974         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1975         GOT pointer being set up before.
1976         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1978 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
1980         * manual/math.texi (Errors in Math Functions): Document accuracy
1981         goals.
1983         [BZ #15004]
1984         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1985         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1986         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1987         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1988         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1989         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1990         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1991         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1992         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1993         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1994         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1995         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1996         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1997         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1998         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1999         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2001         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2002         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2003         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2004         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2005         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2006         Likewise.
2007         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2008         Likewise.
2009         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2010         Likewise.
2011         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2012         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2013         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2014         atomic-feupdateenv and flt-rounds.
2015         * sysdeps/powerpc/nofpu/Versions (libc): Add
2016         __atomic_feholdexcept, __atomic_feclearexcept,
2017         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2018         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2019         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2020         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2021         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2022         here.
2023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2024         Update.
2026         * manual/arith.texi (FP Exceptions): Document that exceptions may
2027         not be raised when matherr is used.
2028         (Math Error Reporting): Document overflow in directed rounding
2029         modes.  Document that errno may not be set when finite values are
2030         returned on overflow.  Document intent to set errno on underflow
2031         only for underflow to zero.
2033         [BZ #16271]
2034         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2035         round-to-nearest then adjust result for other rounding modes.
2036         * include/fenv.h (fegetround): Use libm_hidden_proto.
2037         * math/fegetround.c (fegetround): Use libm_hidden_def.
2038         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2039         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2040         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2041         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2042         Likewise.
2043         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2044         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2045         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2046         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2048 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2050         [BZ #16077]
2051         * nss/Versions (libnss_files): Add
2052         _nss_files_gethostbyname3_r.
2053         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2054         New function.
2055         (HOST_DB_LOOKUP): Remove macro.
2056         (_nss_files_gethostbyname_r): Implement function without the
2057         HOST_DB_LOOKUP macro.
2058         (_nss_files_gethostbyname2_r): Likewise.
2060 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2062         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2064 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2066         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2067         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2068         warning.
2070 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2072         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2073         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2074         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2075         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2076         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2077         __fe_nomask_env_priv and attribute_hidden.
2078         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2079         (libc_feupdateenv_test_ppc): Likewise.
2080         (libc_feresetround_ppc): Likewise.
2081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2082         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2083         compat_symbol macro.
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2085         (__fe_nomask_env): Likewise.
2086         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2088 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2090         * string/Makefile: Remove ifunc tests.
2091         * string/test-string.h: Define TEST_IFUNC.
2092         * string/test-bcopy-ifunc.c: Remove.
2093         * string/test-bzero-ifunc.c: Likewise.
2094         * string/test-memccpy-ifunc.c: Likewise.
2095         * string/test-memchr-ifunc.c: Likewise.
2096         * string/test-memcmp-ifunc.c: Likewise.
2097         * string/test-memcpy-ifunc.c: Likewise.
2098         * string/test-memmem-ifunc.c: Likewise.
2099         * string/test-memmove-ifunc.c: Likewise.
2100         * string/test-mempcpy-ifunc.c: Likewise.
2101         * string/test-memrchr-ifunc.c: Likewise.
2102         * string/test-memset-ifunc.c: Likewise.
2103         * string/test-rawmemchr-ifunc.c: Likewise.
2104         * string/test-stpcpy-ifunc.c: Likewise.
2105         * string/test-stpncpy-ifunc.c: Likewise.
2106         * string/test-strcasecmp-ifunc.c: Likewise.
2107         * string/test-strcasestr-ifunc.c: Likewise.
2108         * string/test-strcat-ifunc.c: Likewise.
2109         * string/test-strchr-ifunc.c: Likewise.
2110         * string/test-strchrnul-ifunc.c: Likewise.
2111         * string/test-strcmp-ifunc.c: Likewise.
2112         * string/test-strcpy-ifunc.c: Likewise.
2113         * string/test-strcspn-ifunc.c: Likewise.
2114         * string/test-strlen-ifunc.c: Likewise.
2115         * string/test-strncasecmp-ifunc.c: Likewise.
2116         * string/test-strncat-ifunc.c: Likewise.
2117         * string/test-strncmp-ifunc.c: Likewise.
2118         * string/test-strncpy-ifunc.c: Likewise.
2119         * string/test-strnlen-ifunc.c: Likewise.
2120         * string/test-strpbrk-ifunc.c: Likewise.
2121         * string/test-strrchr-ifunc.c: Likewise.
2122         * string/test-strspn-ifunc.c: Likewise.
2123         * string/test-strstr-ifunc.c: Likewise.
2125 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2127         * benchtests/Makefile: Remove ifunc tests.
2128         * benchtests/bench-string.h: Define TEST_IFUNC.
2129         * benchtests/bench-bcopy-ifunc.c: Remove.
2130         * benchtests/bench-bzero-ifunc.c: Likewise.
2131         * benchtests/bench-memccpy-ifunc.c: Likewise.
2132         * benchtests/bench-memchr-ifunc.c: Likewise.
2133         * benchtests/bench-memcmp-ifunc.c: Likewise.
2134         * benchtests/bench-memcpy-ifunc.c: Likewise.
2135         * benchtests/bench-memmem-ifunc.c: Likewise.
2136         * benchtests/bench-memmove-ifunc.c: Likewise.
2137         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2138         * benchtests/bench-memrchr-ifunc.c: Likewise.
2139         * benchtests/bench-memset-ifunc.c: Likewise.
2140         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2141         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2142         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2143         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2144         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2145         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2146         * benchtests/bench-strcat-ifunc.c: Likewise.
2147         * benchtests/bench-strchr-ifunc.c: Likewise.
2148         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2149         * benchtests/bench-strcmp-ifunc.c: Likewise.
2150         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2151         * benchtests/bench-strcpy-ifunc.c: Likewise.
2152         * benchtests/bench-strcspn-ifunc.c: Likewise.
2153         * benchtests/bench-strlen-ifunc.c: Likewise.
2154         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2155         * benchtests/bench-strncat-ifunc.c: Likewise.
2156         * benchtests/bench-strncmp-ifunc.c: Likewise.
2157         * benchtests/bench-strncpy-ifunc.c: Likewise.
2158         * benchtests/bench-strnlen-ifunc.c: Likewise.
2159         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2160         * benchtests/bench-strrchr-ifunc.c: Likewise.
2161         * benchtests/bench-strsep-ifunc.c: Likewise.
2162         * benchtests/bench-strspn-ifunc.c: Likewise.
2163         * benchtests/bench-strstr-ifunc.c: Likewise.
2165 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2167         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2169 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2171         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2172         * rt/aio.h: Likewise.
2173         * sysdeps/gnu/bits/utmp.h: Likewise.
2174         * sysdeps/gnu/bits/utmpx.h: Likewise.
2175         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2176         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2177         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2178         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2179         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2180         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2181         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2182         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2183         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2184         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2185         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2186         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2187         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2189         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2190         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2191         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2192         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2193         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2194         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2195         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2196         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2197         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2198         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2199         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2200         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2201         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2202         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2203         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2204         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2205         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2206         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2207         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2208         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2209         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2210         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2211         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2212         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2213         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2214         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2215         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2216         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2218 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2220         [BZ #16245]
2221         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2222         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2224 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2226         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2227         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2228         Likewise.
2230 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2232         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2233         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2234         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2235         (__fesetround): Remove define.
2236         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2237         rounding and exceptions handling.
2238         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2239         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2240         (__fe_nomask_env): Likewise.
2241         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2242         __fegetround instead of fegetround.
2243         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2244         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2246 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2248         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2249         it's there.
2251         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2253 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2255         [BZ #11157]
2256         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2257         (encrypt_r): Likewise.
2258         * malloc/obstack.h (obstack_free): Likewise.
2259         * posix/unistd.h (encrypt): Likewise.
2261 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2263         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2264         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2265         DL_CALL_DT_FINI() that call the functions directly.
2266         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2267         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2268         * elf/dl-fini.c: Likewise.
2270 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2272         * malloc/hooks.c (memalign_check): Add alignment rounding.
2273         * malloc/malloc.c (_mid_memalign): New function.
2274         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2275         Implement by calling _mid_memalign.
2276         * manual/probes.texi (Memory Allocation Probes): Remove
2277         memory_valloc_retry and memory_pvalloc_retry.
2279 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2281         * locale/programs/locarchive.c (open_archive): Add const
2282         qualifier to ARCHIVEFNAME and copy default fname to
2283         DEFAULT_FNAME.
2285         [BZ #15601]
2286         * libio/tst-widetext.input: Rename Oriya to Odia.
2287         * locale/iso-639.def: Likewise.
2289         * manual/probes.texi (Mathematical Function Probes): Add
2290         documentation for sin, cos, asin and acos probes.
2291         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2292         (__sin32): Add slowasin probe.
2293         (__cos32): Add slowacos probe.
2294         (__mpsin): Add slowsin probe.
2295         (__mpcos): Add slowcos probe.
2297 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2299         [BZ #15483]
2300         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2301         thread-local __sim_exceptions_thread and global
2302         __sim_exceptions_global.
2303         (__sim_disabled_exceptions): Change to thread-local
2304         __sim_disabled_exceptions_thread and global
2305         __sim_disabled_exceptions_global.
2306         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2307         and global __sim_round_mode_global.
2308         (__simulate_exceptions): Use thread-local floating-point state and
2309         set global state from it as needed.
2310         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2311         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2312         __sim_round_mode_thread.
2313         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2314         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2315         and global __sim_exceptions_global.
2316         (__sim_disabled_exceptions): Change to thread-local
2317         __sim_disabled_exceptions_thread and global
2318         __sim_disabled_exceptions_global.
2319         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2320         and global __sim_round_mode_global.
2321         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2322         (SIM_SET_GLOBAL): Likewise.
2323         * sysdeps/powerpc/soft-fp/sfp-machine.h
2324         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2325         __sim_round_mode_thread.
2326         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2327         __sim_disabled_exceptions_thread.
2328         (__sim_exceptions): Change to __sim_exceptions_thread.
2329         (__sim_disabled_exceptions): Change to
2330         __sim_disabled_exceptions_thread.
2331         (__sim_round_mode): Change to __sim_round_mode_thread.
2332         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2333         thread-local floating-point state and set global state from it as
2334         needed.
2335         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2336         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2337         (__sim_disabled_exceptions): Remove extern declaration.
2338         (feenableexcept): Use thread-local floating-point state and set
2339         global state from it as needed.
2340         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2341         extern declaration.
2342         (__sim_disabled_exceptions): Likewise.
2343         (__sim_round_mode): Likewise.
2344         (__fegetenv): Use thread-local floating-point state.
2345         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2346         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2347         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2348         floating-point state and set global state from it as needed.
2349         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2350         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2351         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2352         Likewise.
2353         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2354         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2355         Likewise.
2356         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2357         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2358         Use __sim_round_mode_thread.
2359         * math/test-fenv-tls.c: New file.
2360         * math/Makefile (tests): Add test-fenv-tls.
2361         ($(objpfx)test-fenv-tls): Depend on
2362         $(common-objpfx)nptl/libpthread.so.
2364 2013-11-19  Andreas Schwab  <schwab@suse.de>
2366         * locale/programs/locale.c (show_info): Decode wordarray elements.
2367         * locale/categories.def (LC_MONETARY): Add element for
2368         _NL_MONETARY_CRNCYSTR.
2369         * locale/C-monetary.c (conversion_rate): New variable.
2370         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2371         element.
2373 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2375         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2376         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2378 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2380         * elf/Makefile (tst-auxv): New test.
2381         * elf/tst-auxv.c: New
2382         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2384 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2386         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2387         (hidden_proto): Caller changed.
2388         (hidden_tls_proto): New macro.
2389         (libc_hidden_tls_proto): Likewise.
2390         (rtld_hidden_tls_proto): Likewise.
2391         (libm_hidden_tls_proto): Likewise.
2392         (libresolv_hidden_tls_proto): Likewise.
2393         (librt_hidden_tls_proto): Likewise.
2394         (libdl_hidden_tls_proto): Likewise.
2395         (libnss_files_hidden_tls_proto): Likewise.
2396         (libnsl_hidden_tls_proto): Likewise.
2397         (libnss_nisplus_hidden_tls_proto): Likewise.
2398         (libutil_hidden_tls_proto): Likewise.
2400 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2402         [BZ #10253]
2403         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2404         (decompose_rpath): Defer expansion to fillin_rpath.
2405         (_dl_init_paths): Pass linkmap to fillin_rpath.
2407 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2409         * benchtests/Makefile: Add strsep.
2410         * benchtests/bench-strsep.c: New file: strsep benchtest.
2411         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2413 2013-11-18  Andreas Schwab  <schwab@suse.de>
2415         * locale/programs/locale.c (show_info) [case byte]: Check for
2416         '\377' instead of '\177'.
2417         * locale/C-monetary.c (not_available): Always use "\377".
2418         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2419         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2420         detect unavailable sign_posn locale elements.
2421         * locale/localeconv.c (__localeconv): For grouping and
2422         mon_grouping handle "\177" and "\377" like no grouping.
2423         (INT_ELEM): New macro.  Use it to set all numeric members.
2424         * locale/programs/ld-monetary.c (monetary_read)
2425         <tok_mon_grouping>: Normalize single -1 to the empty string.
2426         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2427         Likewise.
2429 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2431         [BZ #16055]
2432         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2433         when we match (nil).
2434         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2436 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2438         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2439         (NO_TEST_INLINE): Update value.
2440         (ERRNO_UNCHANGED): Likewise.
2441         (ERRNO_EDOM): Likewise.
2442         (ERRNO_ERANGE): Likewise.
2443         (IGNORE_RESULT): Likewise.
2444         (check_float_internal): Check signs of NaN results if
2445         TEST_NAN_SIGN used.
2446         (check_complex): Pass TEST_NAN_SIGN flag through to second
2447         check_float_internal call.
2448         (copysign_test_data): Add tests with quiet NaNs as second
2449         argument.  Use TEST_NAN_SIGN.
2450         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2451         TEST_NAN_SIGN.
2452         (signbit_test_data): Add tests of quiet NaN argument.
2453         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2455         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2456         $ignore_result.
2457         (parse_args): Handle function results specified as IGNORE.
2458         * math/libm-test.inc (IGNORE_RESULT): New macro.
2459         (check_float_internal): Do not check numerical result if flag
2460         IGNORE_RESULT set.
2461         (check_complex): Pass through IGNORE_RESULT to second
2462         check_float_internal call.
2463         (check_int): Do not check numerical result if flag IGNORE_RESULT
2464         set.
2465         (check_long): Likewise.
2466         (check_bool): Likewise.
2467         (check_longlong): Likewise.
2468         (lrint_test_data): Add tests of infinite and NaN arguments.
2469         (lrint_tonearest_test_data): Likewise.
2470         (lrint_towardzero_test_data): Likewise.
2471         (lrint_downward_test_data): Likewise.
2472         (lrint_upward_test_data): Likewise.
2473         (llrint_test_data): Likewise.
2474         (llrint_tonearest_test_data): Likewise.
2475         (llrint_towardzero_test_data): Likewise.
2476         (llrint_downward_test_data): Likewise.
2477         (llrint_upward_test_data): Likewise.
2478         (lround_test_data): Likewise.
2479         (llround_test_data): Likewise.
2481         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2482         (ERRNO_UNCHANGED): Update value.
2483         (ERRNO_EDOM): Likewise.
2484         (ERRNO_ERANGE): Likewise.
2485         (NO_TEST_INLINE_FLOAT): New macro.
2486         (NO_TEST_INLINE_DOUBLE): Likewise.
2487         (enable_test): New function.
2488         (RUN_TEST_f_f): Check enable_test before running test.
2489         (RUN_TEST_2_f): Likewise.
2490         (RUN_TEST_fff_f): Likewise.
2491         (RUN_TEST_c_f): Likewise.
2492         (RUN_TEST_f_f1): Likewise.
2493         (RUN_TEST_fF_f1): Likewise.
2494         (RUN_TEST_fI_f1): Likewise.
2495         (RUN_TEST_ffI_f1): Likewise.
2496         (RUN_TEST_c_c): Likewise.
2497         (RUN_TEST_cc_c): Likewise.
2498         (RUN_TEST_f_i): Likewise.
2499         (RUN_TEST_f_i_tg): Likewise.
2500         (RUN_TEST_ff_i_tg): Likewise.
2501         (RUN_TEST_f_b): Likewise.
2502         (RUN_TEST_f_b_tg): Likewise.
2503         (RUN_TEST_f_l): Likewise.
2504         (RUN_TEST_f_L): Likewise.
2505         (RUN_TEST_fFF_11): Likewise.
2506         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2507         conditionals.
2508         (cosh_test_data): Likewise.
2509         (exp_test_data): Likewise.
2510         (expm1_test_data): Likewise.
2511         (hypot_test_data): Likewise.
2512         (pow_test_data): Likewise.
2513         (sinh_test_data): Likewise.
2514         (tanh_test_data): Likewise.
2515         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2516         flags argument.
2518         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2519         tests with quiet NaN input and output.
2520         (acosh_test_data): Likewise.
2521         (asin_test_data): Likewise.
2522         (asinh_test_data): Likewise.
2523         (atan_test_data): Likewise.
2524         (atanh_test_data): Likewise.
2525         (atan2_test_data): Likewise.
2526         (cbrt_test_data): Likewise.
2527         (cos_test_data): Likewise.
2528         (cosh_test_data): Likewise.
2529         (erf_test_data): Likewise.
2530         (erfc_test_data): Likewise.
2531         (exp_test_data): Likewise.
2532         (exp10_test_data): Likewise.
2533         (exp2_test_data): Likewise.
2534         (expm1_test_data): Likewise.
2535         (hypot_test_data): Likewise.
2536         (j0_test_data): Likewise.
2537         (j1_test_data): Likewise.
2538         (jn_test_data): Likewise.
2539         (lgamma_test_data): Likewise.
2540         (log_test_data): Likewise.
2541         (log10_test_data): Likewise.
2542         (log1p_test_data): Likewise.
2543         (log2_test_data): Likewise.
2544         (pow_test_data): Likewise.
2545         (scalb_test_data): Likewise.
2546         (sin_test_data): Likewise.
2547         (sincos_test_data): Likewise.
2548         (sinh_test_data): Likewise.
2549         (tan_test_data): Likewise.
2550         (tanh_test_data): Likewise.
2551         (tgamma_test_data): Likewise.
2552         (y0_test_data): Likewise.
2553         (y1_test_data): Likewise.
2554         (yn_test_data): Likewise.
2556         [BZ #16167]
2557         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2558         argument being NaN and avoid computations with second argument in
2559         that case.
2560         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2561         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2562         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2564 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
2566         * locale/iso-639.def: Add Chitwani Tharu (the).
2568 2013-11-14  Andreas Schwab  <schwab@suse.de>
2570         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2571         word instead of empty string.
2573 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2576         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2578         (__fe_nomask_env): Likewise.
2580 2013-11-13  Steve Ellcey  <sellcey@mips.com>
2582         * benchtests/bench-timing.h: Include time.h.
2584 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2586         [BZ #15997]
2587         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2588         to 3.4.0 for x32.
2589         * sysdeps/unix/sysv/linux/configure: Regenerated.
2591 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
2593         [BZ #16151]
2594         * stdlib/strtod_l.c (round_and_return): Do not consider
2595         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2596         exponent one less than half the least subnormal exponent.
2597         * stdlib/test-strtod-round-data: Add more tests.
2598         * stdlib/tst-strtod-round.c (tests): Regenerated.
2600 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2602         [BZ #14143]
2603         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2604         (__fe_mask_env): Likewise.
2605         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2606         libm_hidden_proto and add function prototype.
2607         (__fe_mask_env): Add function prototype.
2608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2609         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2611         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2613         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2615 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2617         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2618         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2620 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2622         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2623         of htab_find_slot().
2625 2013-11-11  David S. Miller  <davem@davemloft.net>
2627         [BZ #16150]
2628         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2629         symbol in the non-vis3 case in static builds.
2630         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2631         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2632         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2633         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2635 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2637         [BZ #387]
2638         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2639         it is empty.
2641 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2643         * benchtests/Makefile: Add bench-strtod.
2644         * benchtests/bench-strtod.c: New file: strtod benchtest
2646 2013-11-11  Andreas Schwab  <schwab@suse.de>
2648         [BZ #16153]
2649         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2650         terminating NUL in key length.
2652 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2654         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2655         Add artificial ODP entry for vDSO symbol for PPC64.
2656         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2657         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2659 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2661         [BZ #15374]
2662         * nss/getent.c (services_keys): Recognize services starting with digit.
2664 2013-11-06  David S. Miller  <davem@davemloft.net>
2666         [BZ #15985]
2667         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2668         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2670 2013-11-06  Will Newton  <will.newton@linaro.org>
2672         * manual/memory.texi (Malloc Examples): Remove register
2673         keyword from examples.
2675 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
2677         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2679 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
2681         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2682         depending on [__GCC_IEC_559 > 0].
2683         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2684         depending on [__GCC_IEC_559_COMPLEX > 0].
2686 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
2688         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2689         to iso-639.def.
2691 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
2693         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2695 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
2697         [BZ #16112]
2698         * malloc/malloc (malloc_info): Do not handle first bin as
2699         special case.
2701 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
2703         * locale/iso-639.def: Add Central Nahuatl (nhn).
2705 2013-11-01  Bruno Haible  <bruno@clisp.org>
2707         [BZ #7003]
2708         * manual/math.texi (BSD Random): Specify range upper bound as
2709         in POSIX.
2711 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
2713         * locale/iso-639.def: Add Meadow Mari (mhr).
2715 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2717         [BZ #14752], [BZ #15763]
2718         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2719         Validate name.
2720         * rt/tst_shm.c: Add test for escaping directory.
2722 2013-10-31  Andreas Schwab  <schwab@suse.de>
2724         [BZ #15917]
2725         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2726         followed by 'x' as part of digit sequence.
2727         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2729 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2731         [BZ #16037]
2732         * configure.ac: allow GNU Make 4.0 and greater.
2733         * configure: Regenerated.
2735 2013-10-30  Will Newton  <will.newton@linaro.org>
2737         [BZ #16038]
2738         * malloc/hooks.c (memalign_check): Limit alignment to the
2739         maximum representable power of two.
2740         * malloc/malloc.c (__libc_memalign): Likewise.
2741         * malloc/tst-memalign.c (do_test): Add test for very
2742         large alignment values.
2743         * malloc/tst-posix_memalign.c (do_test): Likewise.
2745 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2747         [BZ #11087]
2748         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2749         (munmap_chunk): Likewise.
2750         (mremap_chunk): Likewise.
2752 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2754         [BZ #15799]
2755         * stdlib/div.c (div): Remove obsolete code.
2756         * stdlib/ldiv.c (ldiv): Likewise.
2757         * stdlib/lldiv.c (lldiv): Likewise.
2759 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2761         [BZ #16071]
2762         * nss/nss_files/files-XXX.c (get_contents_ret): New
2763         enumerator.
2764         (get_contents): New function.
2765         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2767 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2769         * configure.in: Moved to ...
2770         * configure.ac: ... here. Change reference to configure.in
2771         to configure.ac.
2772         * sysdeps/arm/preconfigure.ac: ... here.
2773         configure.in to configure.ac.
2774         * sysdeps/gnu/configure.in: Moved to ...
2775         * sysdeps/gnu/configure.ac: ... here.
2776         * sysdeps/i386/configure.in: Moved to ...
2777         * sysdeps/i386/configure.ac: ... here.
2778         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2779         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2780         * sysdeps/mach/configure.in: Moved to ...
2781         * sysdeps/mach/configure.ac: ... here.
2782         * sysdeps/mach/hurd/configure.in: Moved to ...
2783         * sysdeps/mach/hurd/configure.ac: ... here.
2784         * sysdeps/powerpc/configure.in: Moved to ...
2785         * sysdeps/powerpc/configure.ac: ... here.
2786         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2787         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2788         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2789         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2790         * sysdeps/s390/s390-32/configure.in: Moved to ...
2791         * sysdeps/s390/s390-32/configure.ac: ... here.
2792         * sysdeps/s390/s390-64/configure.in: Moved to ...
2793         * sysdeps/s390/s390-64/configure.ac: ... here.
2794         * sysdeps/sh/configure.in: Moved to ...
2795         * sysdeps/sh/configure.ac: ... here.
2796         * sysdeps/sparc/configure.in: Moved to ...
2797         * sysdeps/sparc/configure.ac: ... here.
2798         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2799         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2800         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2801         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2802         * sysdeps/x86_64/configure.in: Moved to ...
2803         * sysdeps/x86_64/configure.ac: ... here.
2804         * sysdeps/x86_64/preconfigure.in: Moved to ...
2805         * sysdeps/x86_64/preconfigure.ac: ... here.
2806         * aclocal.m4: Change reference to configure.in to configure.ac.
2807         * config.h.in: Likewise.
2808         * manual/install.texi: Likewise.
2809         * manual/maint.texi: Likewise.
2810         * Makefile: Likewise.
2811         * malloc/Makefile: Likewise.
2812         * nscd/Makefile: Likewise.
2813         * Makeconfig: Change reference to configure.in and
2814         preconfigure.in to configure.ac and preconfigure.ac
2815         respectively.
2816         * INSTALL: Regenerated.
2817         * configure: Likewise.
2818         * sysdeps/gnu/configure: Likewise.
2819         * sysdeps/i386/configure: Likewise.
2820         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2821         * sysdeps/mach/configure: Likewise.
2822         * sysdeps/mach/hurd/configure: Likewise.
2823         * sysdeps/powerpc/configure: Likewise.
2824         * sysdeps/powerpc/powerpc32/configure: Likewise.
2825         * sysdeps/powerpc/powerpc64/configure: Likewise.
2826         * sysdeps/s390/s390-32/configure: Likewise.
2827         * sysdeps/s390/s390-64/configure: Likewise.
2828         * sysdeps/sh/configure: Likewise.
2829         * sysdeps/sparc/configure: Likewise.
2830         * sysdeps/unix/sysv/linux/configure: Likewise.
2831         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2832         * sysdeps/x86_64/configure: Likewise.
2833         * sysdeps/x86_64/preconfigure: Likewise.
2835 2013-10-29  Andreas Schwab  <schwab@suse.de>
2837         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2839 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2841         * benchtests/pow-inputs: Add new inputs.
2843         * benchtests/exp-inputs: Add new inputs.
2845         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2846         conditional check for return value.
2847         (__cos32): Likewise.
2849 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2851         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2852         to provide a boost for large inputs with word alignment.
2853         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2854         implementation based on optimized PPC64 strcpy.
2855         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2856         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2857         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2858         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2860 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2862         [BZ #2801]
2863         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2865 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2867         [BZ #14876]
2868         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2869         * time/tst-strptime.c (day_tests): Add testcase.
2871 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2873         [BZ #14029]
2874         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2876 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2878         [BZ #16074]
2879         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2880         MAP_FAILED on error.
2882 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2884         [BZ #16072]
2885         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2886         heap for large requests.
2888 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2890         [BZ #9954]
2891         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2892         result if the result has no associated interface.
2893         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2894         interface for all 127.X.Y.Z addresses.
2896 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2898         * locale/iso-639.def: Add Ligurian (lij)
2900 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2902         [BZ #15825]
2903         * sunrpc/rpc_main.c: Document rpcgen -5.
2905 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2907         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2909 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2911         [BZ #10278]
2912         * posix/glob.c: Match only directories when trailing slash is present.
2913         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2914         (main): Add testcase.
2916 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2918         [BZ #15670]
2919         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2921 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2923         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2924         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2925         AUTH_DES and cindex for FIPS 140-2.
2926         (DES Encryption): Add cindex FIPS 46-3.
2928         * locale/locarchive.h (struct locarhandle): Add fname.
2929         * locale/programs/localedef.c (main): Pass ARGV[remaining]
2930         if an optional argument was specified to --list-archive,
2931         otherwise NULL.
2932         * locale/programs/locarchive.c (show_archive_content): Take new
2933         argument fname and pass it via ah.fname to open_archive.
2934         * locale/programs/localedef.h: Update decl.
2935         (open_archive): If AH->fname is non-null, open that file
2936         rather than the default file name, and don't ignore ENOENT.
2937         (create_archive): Set AH.fname to NULL.
2938         (delete_locales_from_archive): Likewise.
2939         (add_locales_to_archive): Likewise.
2940         * locale/programs/locfile.c (write_all_categories): Likewise.
2942 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
2943             Aldy Hernandez  <aldyh@redhat.com>
2945         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2946         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2947         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2948         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2949         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2950         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2951         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2952         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2953         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2954         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2955         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2956         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2957         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2958         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2959         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2960         Likewise.
2961         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2962         Likewise.
2963         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2964         Likewise.
2965         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2966         Likewise.
2967         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2968         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2969         Likewise.
2970         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2971         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2972         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2973         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2974         Likewise.
2975         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2976         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2977         * sysdeps/powerpc/preconfigure: Likewise.
2978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2979         Likewise.
2980         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2981         Replace contents of file by #include of <fenv_libc.h>.
2982         * sysdeps/powerpc/soft-fp/sfp-machine.h
2983         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2984         and <sys/prctl.h>.
2985         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2986         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2987         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2988         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2989         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2990         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2991         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2992         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2993         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2994         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2995         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2996         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2998         Allow copysignl PLT reference to be missing.
3000 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3001             Joseph Myers  <joseph@codesourcery.com
3003         [BZ #15948]
3004         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3005         single character.
3006         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3008 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3010         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3011         * elf/tst-tls1.c: Likewise.
3012         * elf/tst-tls10.h: Likewise.
3013         * elf/tst-tls14.c: Likewise.
3014         * elf/tst-tls2.c: Likewise.
3015         * elf/tst-tls3.c: Likewise.
3016         * elf/tst-tls4.c: Likewise.
3017         * elf/tst-tls5.c: Likewise.
3018         * elf/tst-tls6.c: Likewise.
3019         * elf/tst-tls7.c: Likewise.
3020         * elf/tst-tls8.c: Likewise.
3021         * elf/tst-tls9.c: Likewise.
3022         * elf/tst-tlsmod1.c: Likewise.
3023         * elf/tst-tlsmod13.c: Likewise.
3024         * elf/tst-tlsmod13a.c: Likewise.
3025         * elf/tst-tlsmod14a.c: Likewise.
3026         * elf/tst-tlsmod16a.c: Likewise.
3027         * elf/tst-tlsmod16b.c: Likewise.
3028         * elf/tst-tlsmod2.c: Likewise.
3029         * elf/tst-tlsmod3.c: Likewise.
3030         * elf/tst-tlsmod4.c: Likewise.
3031         * elf/tst-tlsmod5.c: Likewise.
3032         * elf/tst-tlsmod6.c: Likewise.
3034 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3036         [BZ #12486]
3037         * malloc/malloc.c: remove checks for statistics.
3039 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3041         [BZ #15277]
3042         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3043         * inet/tst-network.c: Add testcase.
3045 2013-10-17  Andreas Schwab  <schwab@suse.de>
3047         [BZ #15218]
3048         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3049         to determine canonical name.
3051 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3053         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3054         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3055         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3056         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3057         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3058         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3059         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3060         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3061         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3062         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3063         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3064         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3065         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3066         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3067         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3068         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3069         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3070         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3071         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3072         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3073         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3074         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3075         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3076         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3077         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3078         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3079         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3080         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3081         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3082         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3083         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3084         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3085         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3086         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3087         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3088         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3089         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3090         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3091         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3092         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3093         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3094         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3095         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3096         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3097         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3098         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3099         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3100         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3101         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3102         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3103         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3104         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3105         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3106         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3107         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3108         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3109         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3110         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3112 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3114         [BZ #16041]
3115         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3116         make result into a quiet NaN.
3118 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3120         * soft-fp/adddf3.c: Fix horizontal whitespace.
3121         * soft-fp/addsf3.c: Likewise.
3122         * soft-fp/addtf3.c: Likewise.
3123         * soft-fp/divdf3.c: Likewise.
3124         * soft-fp/divsf3.c: Likewise.
3125         * soft-fp/divtf3.c: Likewise.
3126         * soft-fp/double.h: Likewise.
3127         * soft-fp/eqdf2.c: Likewise.
3128         * soft-fp/eqsf2.c: Likewise.
3129         * soft-fp/eqtf2.c: Likewise.
3130         * soft-fp/extenddftf2.c: Likewise.
3131         * soft-fp/extended.h: Likewise.
3132         * soft-fp/extendsfdf2.c: Likewise.
3133         * soft-fp/extendsftf2.c: Likewise.
3134         * soft-fp/extendxftf2.c: Likewise.
3135         * soft-fp/fixdfdi.c: Likewise.
3136         * soft-fp/fixdfsi.c: Likewise.
3137         * soft-fp/fixdfti.c: Likewise.
3138         * soft-fp/fixsfdi.c: Likewise.
3139         * soft-fp/fixsfsi.c: Likewise.
3140         * soft-fp/fixsfti.c: Likewise.
3141         * soft-fp/fixtfdi.c: Likewise.
3142         * soft-fp/fixtfsi.c: Likewise.
3143         * soft-fp/fixtfti.c: Likewise.
3144         * soft-fp/fixunsdfdi.c: Likewise.
3145         * soft-fp/fixunsdfsi.c: Likewise.
3146         * soft-fp/fixunsdfti.c: Likewise.
3147         * soft-fp/fixunssfdi.c: Likewise.
3148         * soft-fp/fixunssfsi.c: Likewise.
3149         * soft-fp/fixunssfti.c: Likewise.
3150         * soft-fp/fixunstfdi.c: Likewise.
3151         * soft-fp/fixunstfsi.c: Likewise.
3152         * soft-fp/fixunstfti.c: Likewise.
3153         * soft-fp/floatdidf.c: Likewise.
3154         * soft-fp/floatdisf.c: Likewise.
3155         * soft-fp/floatditf.c: Likewise.
3156         * soft-fp/floatsidf.c: Likewise.
3157         * soft-fp/floatsisf.c: Likewise.
3158         * soft-fp/floatsitf.c: Likewise.
3159         * soft-fp/floattidf.c: Likewise.
3160         * soft-fp/floattisf.c: Likewise.
3161         * soft-fp/floattitf.c: Likewise.
3162         * soft-fp/floatundidf.c: Likewise.
3163         * soft-fp/floatundisf.c: Likewise.
3164         * soft-fp/floatunditf.c: Likewise.
3165         * soft-fp/floatunsidf.c: Likewise.
3166         * soft-fp/floatunsisf.c: Likewise.
3167         * soft-fp/floatunsitf.c: Likewise.
3168         * soft-fp/floatuntidf.c: Likewise.
3169         * soft-fp/floatuntisf.c: Likewise.
3170         * soft-fp/floatuntitf.c: Likewise.
3171         * soft-fp/fmadf4.c: Likewise.
3172         * soft-fp/fmasf4.c: Likewise.
3173         * soft-fp/fmatf4.c: Likewise.
3174         * soft-fp/gedf2.c: Likewise.
3175         * soft-fp/gesf2.c: Likewise.
3176         * soft-fp/getf2.c: Likewise.
3177         * soft-fp/ledf2.c: Likewise.
3178         * soft-fp/lesf2.c: Likewise.
3179         * soft-fp/letf2.c: Likewise.
3180         * soft-fp/muldf3.c: Likewise.
3181         * soft-fp/mulsf3.c: Likewise.
3182         * soft-fp/multf3.c: Likewise.
3183         * soft-fp/negdf2.c: Likewise.
3184         * soft-fp/negsf2.c: Likewise.
3185         * soft-fp/negtf2.c: Likewise.
3186         * soft-fp/op-1.h: Likewise.
3187         * soft-fp/op-2.h: Likewise.
3188         * soft-fp/op-4.h: Likewise.
3189         * soft-fp/op-8.h: Likewise.
3190         * soft-fp/op-common.h: Likewise.
3191         * soft-fp/quad.h: Likewise.
3192         * soft-fp/single.h: Likewise.
3193         * soft-fp/soft-fp.h: Likewise.
3194         * soft-fp/sqrtdf2.c: Likewise.
3195         * soft-fp/sqrtsf2.c: Likewise.
3196         * soft-fp/sqrttf2.c: Likewise.
3197         * soft-fp/subdf3.c: Likewise.
3198         * soft-fp/subsf3.c: Likewise.
3199         * soft-fp/subtf3.c: Likewise.
3200         * soft-fp/truncdfsf2.c: Likewise.
3201         * soft-fp/trunctfdf2.c: Likewise.
3202         * soft-fp/trunctfsf2.c: Likewise.
3203         * soft-fp/trunctfxf2.c: Likewise.
3204         * soft-fp/unorddf2.c: Likewise.
3205         * soft-fp/unordsf2.c: Likewise.
3206         * soft-fp/unordtf2.c: Likewise.
3208 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3210         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3211         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3213 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3215         * elf/dl-libc.c: Clear initfini list after freeing.
3217 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3219         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3220         * soft-fp/addsf3.c: Likewise.
3221         * soft-fp/addtf3.c: Likewise.
3222         * soft-fp/divdf3.c: Likewise.
3223         * soft-fp/divsf3.c: Likewise.
3224         * soft-fp/divtf3.c: Likewise.
3225         * soft-fp/double.h: Likewise.
3226         * soft-fp/eqdf2.c: Likewise.
3227         * soft-fp/eqsf2.c: Likewise.
3228         * soft-fp/eqtf2.c: Likewise.
3229         * soft-fp/extenddftf2.c: Likewise.
3230         * soft-fp/extended.h: Likewise.
3231         * soft-fp/extendsfdf2.c: Likewise.
3232         * soft-fp/extendsftf2.c: Likewise.
3233         * soft-fp/extendxftf2.c: Likewise.
3234         * soft-fp/fixdfdi.c: Likewise.
3235         * soft-fp/fixdfsi.c: Likewise.
3236         * soft-fp/fixdfti.c: Likewise.
3237         * soft-fp/fixsfdi.c: Likewise.
3238         * soft-fp/fixsfsi.c: Likewise.
3239         * soft-fp/fixsfti.c: Likewise.
3240         * soft-fp/fixtfdi.c: Likewise.
3241         * soft-fp/fixtfsi.c: Likewise.
3242         * soft-fp/fixtfti.c: Likewise.
3243         * soft-fp/fixunsdfdi.c: Likewise.
3244         * soft-fp/fixunsdfsi.c: Likewise.
3245         * soft-fp/fixunsdfti.c: Likewise.
3246         * soft-fp/fixunssfdi.c: Likewise.
3247         * soft-fp/fixunssfsi.c: Likewise.
3248         * soft-fp/fixunssfti.c: Likewise.
3249         * soft-fp/fixunstfdi.c: Likewise.
3250         * soft-fp/fixunstfsi.c: Likewise.
3251         * soft-fp/fixunstfti.c: Likewise.
3252         * soft-fp/floatdidf.c: Likewise.
3253         * soft-fp/floatdisf.c: Likewise.
3254         * soft-fp/floatditf.c: Likewise.
3255         * soft-fp/floatsidf.c: Likewise.
3256         * soft-fp/floatsisf.c: Likewise.
3257         * soft-fp/floatsitf.c: Likewise.
3258         * soft-fp/floattidf.c: Likewise.
3259         * soft-fp/floattisf.c: Likewise.
3260         * soft-fp/floattitf.c: Likewise.
3261         * soft-fp/floatundidf.c: Likewise.
3262         * soft-fp/floatundisf.c: Likewise.
3263         * soft-fp/floatunsidf.c: Likewise.
3264         * soft-fp/floatunsisf.c: Likewise.
3265         * soft-fp/floatuntidf.c: Likewise.
3266         * soft-fp/floatuntisf.c: Likewise.
3267         * soft-fp/floatuntitf.c: Likewise.
3268         * soft-fp/fmadf4.c: Likewise.
3269         * soft-fp/fmasf4.c: Likewise.
3270         * soft-fp/fmatf4.c: Likewise.
3271         * soft-fp/gedf2.c: Likewise.
3272         * soft-fp/gesf2.c: Likewise.
3273         * soft-fp/getf2.c: Likewise.
3274         * soft-fp/ledf2.c: Likewise.
3275         * soft-fp/lesf2.c: Likewise.
3276         * soft-fp/letf2.c: Likewise.
3277         * soft-fp/muldf3.c: Likewise.
3278         * soft-fp/mulsf3.c: Likewise.
3279         * soft-fp/multf3.c: Likewise.
3280         * soft-fp/negdf2.c: Likewise.
3281         * soft-fp/negsf2.c: Likewise.
3282         * soft-fp/negtf2.c: Likewise.
3283         * soft-fp/op-1.h: Likewise.
3284         * soft-fp/op-2.h: Likewise.
3285         * soft-fp/op-4.h: Likewise.
3286         * soft-fp/op-8.h: Likewise.
3287         * soft-fp/op-common.h: Likewise.
3288         * soft-fp/quad.h: Likewise.
3289         * soft-fp/single.h: Likewise.
3290         * soft-fp/soft-fp.h: Likewise.
3291         * soft-fp/sqrtdf2.c: Likewise.
3292         * soft-fp/sqrtsf2.c: Likewise.
3293         * soft-fp/sqrttf2.c: Likewise.
3294         * soft-fp/subdf3.c: Likewise.
3295         * soft-fp/subsf3.c: Likewise.
3296         * soft-fp/subtf3.c: Likewise.
3297         * soft-fp/truncdfsf2.c: Likewise.
3298         * soft-fp/trunctfdf2.c: Likewise.
3299         * soft-fp/trunctfsf2.c: Likewise.
3300         * soft-fp/trunctfxf2.c: Likewise.
3301         * soft-fp/unorddf2.c: Likewise.
3302         * soft-fp/unordsf2.c: Likewise.
3303         * soft-fp/unordtf2.c: Likewise.
3305 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3307         [BZ #15672]
3308         * misc/error.c (error_tail): Fix possible buffer overflow.
3310 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3312         [BZ #13028]
3313         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3314         address.
3316 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3318         [BZ #832]
3319         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3320         testing pipefail option.
3322 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3324         * soft-fp/double.h: Indent preprocessor directives inside #if.
3325         * soft-fp/extended.h: Likewise.
3326         * soft-fp/op-2.h: Likewise.
3327         * soft-fp/op-4.h: Likewise.
3328         * soft-fp/op-common.h: Likewise.
3329         * soft-fp/quad.h: Likewise.
3330         * soft-fp/single.h: Likewise.
3331         * soft-fp/soft-fp.h: Likewise.
3333 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3335         * iconv/iconv_prog.c: Fix typos.
3336         * stdio-common/psiginfo-data.h: Likewise.
3338 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3340         [BZ #15764]
3341         * locale/setlocale.c: Fix typo.
3343 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3345         [BZ #16036]
3346         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3347         signaling NaN arguments.
3348         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3349         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3351         [BZ #14910]
3352         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3353         unordered operands.
3354         * soft-fp/gesf2.c (__gesf2): Likewise.
3355         * soft-fp/getf2.c (__getf2): Likewise.
3356         * soft-fp/ledf2.c (__ledf2): Likewise.
3357         * soft-fp/lesf2.c (__lesf2): Likewise.
3358         * soft-fp/letf2.c (__letf2): Likewise.
3360         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3361         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3362         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3363         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3364         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3365         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3366         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3367         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3368         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3369         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3370         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3371         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3372         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3373         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3374         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3375         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3376         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3377         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3378         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3379         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3380         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3381         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3382         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3383         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3384         * soft-fp/floattidf.c (__floattidf): Likewise.
3385         * soft-fp/floattisf.c (__floattisf): Likewise.
3386         * soft-fp/floattitf.c (__floattitf): Likewise.
3387         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3388         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3389         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3390         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3391         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3392         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3393         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3394         * soft-fp/gesf2.c (__gesf2): Likewise.
3395         * soft-fp/getf2.c (__getf2): Likewise.
3396         * soft-fp/ledf2.c (__ledf2): Likewise.
3397         * soft-fp/lesf2.c (__lesf2): Likewise.
3398         * soft-fp/letf2.c (__letf2): Likewise.
3400         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3401         Undefine and redefine.
3402         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3403         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3404         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3405         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3406         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3407         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3408         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3409         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3410         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3411         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3412         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3413         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3414         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3415         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3416         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3418         [BZ #16032]
3419         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3420         without decrementing exponent if mantissa >= that for the
3421         denominator, not >.
3422         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3423         denominator, not >.  Decrement exponent in < case instead of
3424         incrementing in >= case.
3425         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3426         without decrementing exponent if mantissa >= that for the
3427         denominator, not >.
3429         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3430         computing saturated result for unsigned overflow.
3432 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3433             Jeff Law  <law@redhat.com>
3435         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3436         (atan2Mp): Add systemtap probe marker.
3437         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3438         (__ieee754_log): Add systemtap probe marker.
3439         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3440         (atanMp): Add systemtap probe marker.
3441         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3442         (tanMp): Add systemtap probe marker.
3443         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3444         (__slowexp): Add systemtap probe marker.
3445         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3446         (__slowpow): Add systemtap probe marker.
3447         * manual/probes.texi: Document probes.
3449 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3451         [BZ #15362]
3452         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3453         written.
3454         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3455         written.
3456         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3457         written to buffer but not flushed.
3458         * libio/iofwrite_u.c:  Likewise.
3459         * libio/iopadn.c:  Return bytes returned even if EOF was
3460         encountered.
3461         * libio/iowpadn.c:  Likewise.
3462         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3463         if _IO_padn does not write the whole buffer.
3464         [!COMPILE_WPRINTF] (PAD): Likewise.
3466 2013-10-10  David S. Miller  <davem@davemloft.net>
3468         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3469         directory block.
3471 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3473         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3474         instead of FSF address.
3475         * soft-fp/fixdfti.c: Likewise.
3476         * soft-fp/fixsfti.c: Likewise.
3477         * soft-fp/fixtfti.c: Likewise.
3478         * soft-fp/fixunsdfti.c: Likewise.
3479         * soft-fp/fixunssfti.c: Likewise.
3480         * soft-fp/fixunstfti.c: Likewise.
3481         * soft-fp/floattidf.c: Likewise.
3482         * soft-fp/floattisf.c: Likewise.
3483         * soft-fp/floattitf.c: Likewise.
3484         * soft-fp/floatuntidf.c: Likewise.
3485         * soft-fp/floatuntisf.c: Likewise.
3486         * soft-fp/floatuntitf.c: Likewise.
3487         * soft-fp/trunctfxf2.c: Likewise.
3489         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3490         * soft-fp/fixdfti.c: Likewise.
3491         * soft-fp/fixsfti.c: Likewise.
3492         * soft-fp/fixtfti.c: Likewise.
3493         * soft-fp/fixunsdfti.c: Likewise.
3494         * soft-fp/fixunssfti.c: Likewise.
3495         * soft-fp/fixunstfti.c: Likewise.
3496         * soft-fp/floattidf.c: Likewise.
3497         * soft-fp/floattisf.c: Likewise.
3498         * soft-fp/floattitf.c: Likewise.
3499         * soft-fp/floatuntidf.c: Likewise.
3500         * soft-fp/floatuntisf.c: Likewise.
3501         * soft-fp/floatuntitf.c: Likewise.
3502         * soft-fp/trunctfxf2.c: Likewise.
3504 2013-10-10  David S. Miller  <davem@davemloft.net>
3506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3508 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
3510         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3511         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3512         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3513         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3514         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3515         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3516         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3518         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3519         for NaNs before doing comparisons on argument.
3520         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3521         Likewise.
3523 2013-10-10  Will Newton  <will.newton@linaro.org>
3525         * malloc/hooks.c (memalign_check): Ensure the value of bytes
3526         passed to _int_memalign does not overflow.
3528 2013-10-10  Torvald Riegel  <triegel@redhat.com>
3530         * scripts/bench.pl: Add include-sources directive.
3531         * benchtests/README: Update documentation.
3533 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3535         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3536         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3537         instead of FP_INIT_ROUNDMODE.
3538         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3539         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3541         [BZ #16034]
3542         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
3543         copy class of input value.
3544         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
3545         not handle exceptions.
3546         * soft-fp/negsf2.c (__negsf2): Likewise.
3547         * soft-fp/negtf2.c (__negtf2): Likewise.
3548         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3550 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
3552         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3553         semicolon.  From Linux kernel.
3555 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
3557         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3559 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
3561         [BZ #156]
3562         * manual/socket.texi: Added statement about buffer
3563         for gethostbyname2_r.
3565 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
3567         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3568         Use .p2align directive instead, throughout.
3569         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3570         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3571         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3572         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3573         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3574         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3575         * sysdeps/x86_64/strchr.S: Likewise.
3576         * sysdeps/x86_64/strrchr.S: Likewise.
3578 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3580         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3582         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3584         * sysdeps/generic/math_private.h (__mpsin1): Remove
3585         declaration.
3586         (__mpcos1): Likewise.
3587         (__mpsin): New argument __range_reduce.
3588         (__mpcos): Likewise.
3589         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3590         (slow): Use __mpsin and __mpcos.
3591         (slow1): Likewise.
3592         (slow2): Likewise.
3593         (sloww): Likewise.
3594         (sloww1): Likewise.
3595         (sloww2): Likewise.
3596         (bsloww): Likewise.
3597         (bsloww1): Likewise.
3598         (bsloww2): Likewise.
3599         (cslow2): Likewise.
3600         (csloww): Likewise.
3601         (csloww1): Likewise.
3602         (csloww2): Likewise.
3603         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3604         range_reduce.  Merge in __mpsin1.
3605         (__mpcos): Likewise.
3606         (__mpsin1): Remove.
3607         (__mpcos1): Likewise.
3609 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3611         * locale/loadlocale.c (_nl_intern_locale_data): Use
3612         LOCFILE_ALIGNED_P.
3613         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3614         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3615         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3616         obstack data is appropriately aligned.
3617         (obstack_int32_grow_fast): Likewise.
3618         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3619         * locale/programs/locfile.c (add_locale_uint32): Likewise.
3620         (add_locale_uint32_array): Likewise.
3622 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3624         * benchtests/Makefile: Remove ARGLIST and RET variables.
3625         ($(objpfx)bench-%.c): Pass only function name to the script.
3626         * benchtests/README: Update documentation.
3627         * benchtests/acos-inputs: Add new directives.
3628         * benchtests/acosh-inputs: Likewise.
3629         * benchtests/asin-inputs: Likewise.
3630         * benchtests/asinh-inputs: Likewise.
3631         * benchtests/atan-inputs: Likewise.
3632         * benchtests/atanh-inputs: Likewise.
3633         * benchtests/cos-inputs: Likewise.
3634         * benchtests/cosh-inputs: Likewise.
3635         * benchtests/exp-inputs: Likewise.
3636         * benchtests/log-inputs: Likewise.
3637         * benchtests/pow-inputs: Likewise.
3638         * benchtests/rint-inputs: Likewise.
3639         * benchtests/sin-inputs: Likewise.
3640         * benchtests/sinh-inputs: Likewise.
3641         * benchtests/tan-inputs: Likewise.
3642         * benchtests/tanh-inputs: Likewise.
3643         * scripts/bench.pl: Add support for new directives.
3645 2013-10-07  Alan Modra  <amodra@gmail.com>
3647         * README: Fix careless merge.
3649 2013-10-05  Alan Modra  <amodra@gmail.com>
3651         * NEWS: Mention powerpc64le support and bugs fixed.
3652         * README: Both big-endian and little-endian powerpc64 supported.
3654 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3656         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3657         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3658         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3659         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3661 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
3663         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3664         match prototype.
3666 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
3668         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3669         Move -mhard-float appending from
3670         ports/sysdeps/powerpc/powerpc32/Makefile.
3671         [$(with-fp) = yes] (ASFLAGS): Likewise.
3672         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3673         * sysdeps/powerpc/nofpu: Move directory from
3674         ports/sysdeps/powerpc/nofpu.
3675         * sysdeps/powerpc/soft-fp: Move directory from
3676         ports/sysdeps/powerpc/soft-fp.
3677         * sysdeps/powerpc/powerpc32/405: Move directory from
3678         ports/sysdeps/powerpc/powerpc32/405.
3679         * sysdeps/powerpc/powerpc32/440: Move directory from
3680         ports/sysdeps/powerpc/powerpc32/440.
3681         * sysdeps/powerpc/powerpc32/464: Move directory from
3682         ports/sysdeps/powerpc/powerpc32/464.
3683         * sysdeps/powerpc/powerpc32/476: Move directory from
3684         ports/sysdeps/powerpc/powerpc32/476.
3685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3686         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3688         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3690         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3692         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3694         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3695         * README: Update for powerpc-*-linux-gnu software floating point
3696         support in libc.
3698         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3699         case to powerpc/powerpc32*.
3700         * sysdeps/unix/sysv/linux/configure: Regenerated.
3702         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3703         (_FPU_MASK_OM): Define as 0x04.
3704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3706         0x00c10080.
3707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3708         0x0000003c.
3709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3712         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3713         getcontext_e500.
3714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3715         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3716         setcontext_e500.
3717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3718         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3719         and setcontext_e500.
3721 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3723         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3725 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3727         * manual/threads.texi (Default Thread Attributes): Fix typo.
3729 2013-10-04  Will Newton  <will.newton@linaro.org>
3731         * malloc/Makefile: Add tst-memalign.
3732         * malloc/tst-memalign.c: New file.
3734         * malloc/tst-posix_memalign.c: Add comments.
3735         (do_test): Add comments and call free on all potentially
3736         allocated pointers. Add space after cast.
3738         * malloc/tst-pvalloc.c: Add comments.
3739         (do_test): Add comments and call free on all potentially
3740         allocated pointers. Remove duplicate check for NULL pointer.
3741         Add space after cast.
3743         * malloc/tst-valloc.c: Add comments.
3744         (do_test): Add comments and call free on all potentially
3745         allocated pointers. Remove duplicate check for NULL pointer.
3746         Add space after cast.
3748 2013-10-04  Alan Modra  <amodra@gmail.com>
3750         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3751         Use stdint types in rather than __attribute__((mode())).
3752         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3754 2013-10-04  Alan Modra  <amodra@gmail.com>
3756         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3757         Correct handling of unaligned relocs for little-endian.
3758         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3760 2013-10-04  Alan Modra  <amodra@gmail.com>
3762         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3763         * configure: Regenerate.
3764         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3765         * shlib-versions: Likewise.
3767 2013-10-04  Alan Modra  <amodra@gmail.com>
3769         * string/tester.c (test_memrchr): Increment reported test cycle.
3771 2013-10-04  Alan Modra  <amodra@gmail.com>
3773         * string/test-memcpy.c (do_one_test): When reporting errors, print
3774         string address and don't overrun end of string.
3776 2013-10-04  Alan Modra  <amodra@gmail.com>
3778         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3779         insrdi.  Make better use of reg selection to speed exit slightly.
3780         Schedule entry path a little better.  Remove useless "are we done"
3781         checks on entry to main loop.  Handle wrapping around zero address.
3782         Correct main loop count.  Handle single left-over word from main
3783         loop inline rather than by using loop_small.  Remove extra word
3784         case in loop_small caused by wrong loop count.  Add little-endian
3785         support.
3786         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3787         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3788         cache hint.
3789         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3790         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3791         support.  Avoid rlwimi.
3792         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3794 2013-10-04  Alan Modra  <amodra@gmail.com>
3796         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3797         insrdi.  Formatting.
3798         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3799         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3800         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3801         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3802         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3803         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3805 2013-10-04  Alan Modra  <amodra@gmail.com>
3807         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3808         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3809         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3810         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3811         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3812         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3813         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3814         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3815         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3816         use of regs.  Use power7 mtocrf.  Tidy function tails.
3818 2013-10-04  Alan Modra  <amodra@gmail.com>
3820         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3821         Formatting.  Consistently use rXXX register defines or rN defines.
3822         Use early exit labels that avoid restoring unused non-volatile regs.
3823         Make cr field use more consistent with rWORDn compares.  Rename
3824         regs used as shift registers for unaligned loop, using rN defines
3825         for short lifetime/multiple use regs.
3826         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3827         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3828         addi 1,1,64 to pop stack frame.  Simplify return value code.
3829         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3831 2013-10-04  Alan Modra  <amodra@gmail.com>
3833         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3834         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3835         rather than rlwimi.
3836         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3837         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3838         little-endian support.  Correct typos.
3839         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3840         rather than rlwimi.
3841         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3842         in loop and entry code to keep "and." results.
3843         (strchr): Add little-endian support.  Comment.  Move cntlzd
3844         earlier in tail.
3845         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3847 2013-10-04  Alan Modra  <amodra@gmail.com>
3849         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3850         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3851         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3852         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3854 2013-10-04  Alan Modra  <amodra@gmail.com>
3856         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3857         (rTMP): Define as r11.
3858         (strcmp): Add little-endian support.  Optimise tail.
3859         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3860         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3861         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3862         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3863         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3864         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3865         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3867 2013-10-04  Alan Modra  <amodra@gmail.com>
3869         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3870         little-endian support.  Remove unnecessary "are we done" tests.
3871         Handle "s" wrapping around zero and extremely large "size".
3872         Correct main loop count.  Handle single left-over word from main
3873         loop inline rather than by using small_loop.  Correct comments.
3874         Delete "zero" tail, use "end_max" instead.
3875         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3877 2013-10-04  Alan Modra  <amodra@gmail.com>
3879         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3880         support.  Don't branch over align.
3881         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3882         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3883         support.  Rearrange tmp reg use to suit.  Comment.
3884         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3886 2013-10-04  Alan Modra  <amodra@gmail.com>
3888         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3890 2013-10-04  Alan Modra  <amodra@gmail.com>
3892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3893         conditional form of branch and link when obtaining pc.
3894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3896 2013-10-04  Alan Modra  <amodra@gmail.com>
3898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3899         HIWORD/LOWORD.
3900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3903 2013-10-04  Alan Modra  <amodra@gmail.com>
3905         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3906         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3907         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3908         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3909         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3910         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3911         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3912         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3913         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3914         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3916 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3917             Alistair Popple <alistair@ozlabs.au.ibm.com>
3918             Alan Modra <amodra@gmail.com>
3920         [BZ #15723]
3921         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3922         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3923         _dl_hwcap access for little-endian.
3924         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3925         destroy vmx regs when saving unaligned.
3926         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3927         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
3928         destroy vmx regs when saving unaligned.
3930 2013-10-04  Alan Modra  <amodra@gmail.com>
3932         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3933         Don't use a union to pack hi/low value.
3935 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3937         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3938         for little-endian.
3939         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3940         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3941         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3942         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3943         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3945 2013-10-04  Alan Modra  <amodra@gmail.com>
3947         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3948         constants to usual value for .cst8 section, and remove redundant
3949         high address load.
3950         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3951         constant for 0x1p52.  Load little-endian words of double from
3952         correct stack offsets.
3954 2013-10-04  Alan Modra  <amodra@gmail.com>
3956         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3957         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3958         words of double from correct stack offsets.
3959         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3960         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3961         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3962         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3963         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3964         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3965         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3966         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3967         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3968         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3969         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3970         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3971         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3972         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3973         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3974         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3975         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3977 2013-10-04  Alan Modra  <amodra@gmail.com>
3979         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3980         64-bit int/double union.
3981         (_FPU_SETCW): Likewise.
3982         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3983         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3985 2013-10-04  Alan Modra  <amodra@gmail.com>
3987         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3988         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3990 2013-10-04  Alan Modra  <amodra@gmail.com>
3992         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3993         use vector int constants.
3994         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3996 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3998         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3999         array with long long.
4000         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4001         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4002         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4003         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4004         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4005         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4006         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4007         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4008         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4009         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4010         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4011         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4012         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4014 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4016         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4017         (__signbit): Likewise.  Correct for little-endian.
4018         (__signbitl): Call __signbit.
4019         (lrint): Correct for little-endian.
4020         (lrintf): Call lrint.
4022 2013-10-04  Alan Modra  <amodra@gmail.com>
4024         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4025         union 32-bit int array member with 64-bit int array.
4026         (t515, tm256): Double rather than long double.
4027         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4029 2013-10-04  Alan Modra  <amodra@gmail.com>
4031         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4032         Delete.
4033         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4034         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4035         version of math_ldbl.h.
4037 2013-10-04  Alan Modra  <amodra@gmail.com>
4039         [BZ #15734], [BZ #15735]
4040         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4041         all uses of ieee875 long double macros and unions.  Simplify test
4042         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4043         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4044         normalize after ldbl_extract_mantissa, and don't add hidden bit
4045         already handled.  Don't treat low word of ieee854 mantissa like
4046         low word of IBM long double and mask off bit when testing for
4047         zero.
4048         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4049         all uses of ieee875 long double macros and unions.  Simplify tests
4050         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4051         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4052         two1022, instead use their values.  Recognise that tests for large
4053         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4054         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4055         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4056         test for 0.0L and nan.  Correct negation.
4057         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4058         ieee875 long double macros and unions.  Correct output for large
4059         magnitude x.  Correct absolute value calculation.
4060         (__erfcl): Likewise.
4061         * math/libm-test.inc: Add tests for errors discovered in IBM long
4062         double versions of fmodl, remainderl, erfl and erfcl.
4064 2013-10-04  Alan Modra  <amodra@gmail.com>
4066         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4067         all uses of ieee854 long double macros and unions.  Simplify tests
4068         for long doubles that are fully specified by the high double.
4069         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4070         Likewise.
4071         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4072         Remove dead code too.
4073         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4074         (__ieee754_ynl): Likewise.
4075         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4076         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4077         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4078         Remove dead code too.
4079         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4080         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4081         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4082         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4083         Simplify.
4084         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4085         Simplify.
4086         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4087         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4088         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4089         Comment on variable precision.
4090         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4091         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4092         Likewise.
4093         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4094         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4095         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4096         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4097         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4099 2013-10-04  Alan Modra  <amodra@gmail.com>
4101         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4102         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4103         all uses of ieee854 long double macros and unions.
4104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4105         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4106         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4107         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4108         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4109         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4110         Likewise.
4111         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4112         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4113         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4114         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4115         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4116         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4117         Simplify sign and nan test too.
4118         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4119         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4120         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4121         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4122         Likewise.
4123         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4124         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4125         Likewise.
4126         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4127         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4128         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4129         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4130         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4133 2013-10-04  Alan Modra  <amodra@gmail.com>
4135         * stdio-common/printf_size.c (__printf_size): Don't use
4136         union ieee854_long_double in fpnum union.
4137         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4138         signbit macro to retrieve sign from long double.
4139         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4140         retrieve sign from long double.
4141         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4142         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4143         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4144         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4145         * math/test-misc.c (main): Don't use union ieee854_long_double.
4147 2013-10-04  Alan Modra  <amodra@gmail.com>
4149         [BZ #15680]
4150         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4151         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4152         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4153         calculation.  Remove unnecessary test for denormal exponent.
4154         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4155         Correct handling of denormals.  Avoid undefined shift behaviour.
4156         Correct normalisation of low mantissa when low double is denormal.
4157         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4158         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4159         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4160         Correct normalisation of low mantissa.  Test for overflow of high
4161         mantissa and normalise.
4162         (ldbl_nearbyint): Use more readable constant for two52.
4163         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4164         (__mpn_construct_long_double): Fix test for overflow of high
4165         mantissa and correct normalisation.  Avoid undefined shift.
4167 2013-10-04  Alan Modra  <amodra@gmail.com>
4169         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4170         (union ibm_extended_long_double): Define as an array of ieee754_double.
4171         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4172         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4173         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4174         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4175         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4176         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4177         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4178         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4179         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4180         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4181         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4183 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4185         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4186         page size instead of calling getpagesize.
4188         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4189         (LOCFILE_ALIGN_MASK): Likewise.
4190         (LOCFILE_ALIGN_UP): Likewise.
4191         (LOCFILE_ALIGNED_P): Likewise.
4192         * locale/programs/ld-collate.c (collate_output): Use the new
4193         macros instead of __alignof__ (int32_t).
4194         * locale/weight.h (findidx): Likewise.
4196 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4198         [BZ #431]
4199         * manual/string.texi: Fix strncat and wcsncat.
4201 2013-10-03  Brooks Moses  <bmoses@google.com>
4203         [BZ #15915]
4204         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4205         * Makerules: ...here, and adjust associated comments.
4207 2013-10-02  Will Newton  <will.newton@linaro.org>
4209         * malloc/Makefile: Add tst-pvalloc.
4210         * malloc/tst-pvalloc.c: New file.
4212 2013-10-02  Will Newton  <will.newton@linaro.org>
4214         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4215         improve test coverage.
4217 2013-10-02  Will Newton  <will.newton@linaro.org>
4219         * malloc/Makefile: Add tst-posix_memalign.
4220         * malloc/tst-posix_memalign.c: New file.
4222 2013-10-01  Eric Blake  <eblake@redhat.com>
4224         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4225         Use __THROWNL rather than __THROW on static functions.
4227 2013-09-30  Petr Machata  <pmachata@redhat.com>
4229         * elf/elf.h (R_AARCH64_ABS16): New macro.
4230         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4231         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4232         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4233         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4234         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4235         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4236         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4237         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4238         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4239         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4240         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4241         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4242         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4243         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4244         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4245         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4246         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4247         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4248         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4249         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4250         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4251         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4252         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4253         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4254         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4255         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4256         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4257         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4258         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4259         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4260         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4261         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4262         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4263         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4264         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4265         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4266         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4267         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4268         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4269         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4270         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4271         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4272         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4273         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4274         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4275         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4276         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4277         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4278         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4279         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4280         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4281         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4282         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4283         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4284         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4285         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4286         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4287         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4288         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4289         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4290         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4291         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4292         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4293         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4294         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4295         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4296         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4297         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4298         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4299         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4300         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4301         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4302         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4303         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4304         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4305         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4306         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4307         (R_AARCH64_TLSDESC_LDR): Likewise.
4308         (R_AARCH64_TLSDESC_ADD): Likewise.
4309         (R_AARCH64_TLSDESC_CALL): Likewise.
4311 2013-09-30  Andreas Schwab  <schwab@suse.de>
4313         [BZ #15048]
4314         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4315         the nss database lookup.
4316         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4319 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4321         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4323 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4325         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4326         ${Bash-specific parameter/pattern/string} parameter expansion.
4327         * sysdeps/unix/make-syscalls.sh: Likewise.
4329 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4331         * sysdeps/sh/stackguard-macros.h: New file.
4333 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4336         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4337         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4338         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4339         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4340         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4342 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4344         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4345         Fix thread ID register.
4347 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4349         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4350         [POSIX || UNIX98]: Require rather than permitting all symbols from
4351         <time.h>.
4352         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4353         element of struct sched_param.
4354         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4355         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4356         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4357         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4358         constant.
4360 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4362         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4363         argument calculation.
4365 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4367         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4368         Expect macro.
4369         [POSIX] (pthread_attr_t): Do not require type.
4370         [POSIX] (pthread_cond_t): Likewise.
4371         [POSIX] (pthread_condattr_t): Likewise.
4372         [POSIX] (pthread_key_t): Likewise.
4373         [POSIX] (pthread_mutex_t): Likewise.
4374         [POSIX] (pthread_mutexattr_t): Likewise.
4375         [POSIX] (pthread_once_t): Likewise.
4376         [POSIX] (pthread_t): Likewise.
4377         [POSIX-based standards] (pthread_atfork): Expect function.
4379 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4380             Richard Sandiford  <richard@codesourcery.com>
4382         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4383         (swap_endianness_p): New extern variable.
4384         (set_big_endian): New inline function.
4385         (maybe_swap_uint32): Likewise.
4386         (maybe_swap_uint32_array): Likewise.
4387         (maybe_swap_uint32_obstack): Likewise.
4388         * locale/programs/locfile.c: Include <stdbool.h>.
4389         (swap_endianness_p): New variable.
4390         (add_locale_uint32): Call maybe_swap_uint32.
4391         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4392         (write_locale_data): Call maybe_swap_uint32_array.
4393         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4394         maybe_swap_uint32.
4395         (obstack_int32_grow_fast): Likewise.
4396         (output_weightwc): Call maybe_swap_uint32_obstack.
4397         (collate_output): Likewise.
4398         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4399         (OPT_LITTLE_ENDIAN): Likewise.
4400         (options): Add --little-endian and --big-endian options.
4401         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4402         * locale/programs/locarchive.c: Include "locfile.h".
4403         (GET): New macro.
4404         (SET): Likewise.
4405         (INC): Likewise.
4406         (create_archive): Use the new macros to access fields of
4407         structures directly mapped from or written to locale archives.
4408         (oldlocrecentcmp): Likewise.
4409         (enlarge_archive): Likewise.
4410         (insert_name): Likewise.
4411         (add_alias): Likewise.
4412         (add_locale): Likewise.
4413         (delete_locales_from_archive): Likewise.
4414         (show_archive_content): Likewise.
4415         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4416         locale data.
4418 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4420         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4421         http://www.gnu.org/doc/freemanuals.texi.
4422         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4424 2013-09-24  Will Newton  <will.newton@linaro.org>
4426         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4427         macro.
4429 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4431         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4432         unsigned char.
4434 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4436         * manual/threads.texi (POSIX Threads): Fix a typo.
4438 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4440         [BZ #14547]
4441         * string/tst-strcoll-overflow.c: New test case.
4442         * string/Makefile (xtests): Add tst-strcoll-overflow.
4443         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4444         cache if string sizes may cause integer overflow.
4446         [BZ #14547]
4447         * string/strcoll_l.c (coll_seq): New members rule, idx,
4448         save_idx and back_us.
4449         (get_next_seq_nocache): New function.
4450         (do_compare_nocache): New function.
4451         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4452         when malloc fails.
4454 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4456         [BZ #15754]
4457         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4458         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4459         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4461         [BZ #15754]
4462         * elf/Makefile (tests): Add tst-ptrguard1.
4463         (tests-static): Add tst-ptrguard1-static.
4464         (tst-ptrguard1-ARGS): Define.
4465         (tst-ptrguard1-static-ARGS): Define.
4466         * elf/tst-ptrguard1.c: New file.
4467         * elf/tst-ptrguard1-static.c: New file.
4468         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4469         * sysdeps/i386/stackguard-macros.h: Likewise.
4470         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4471         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4472         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4473         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4474         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4475         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4477 2013-09-23  Hector Marco  <hecmargi@upv.es>
4478             Ismael Ripoll  <iripoll@disca.upv.es>
4479             Carlos O'Donell  <carlos@redhat.com>
4481         [BZ #15754]
4482         * sysdeps/generic/stackguard-macros.h: Define
4483         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4484         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4485         Define __pointer_chk_guard_local.
4486         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4487         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4489 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4491         [BZ #15859]
4492         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4494 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4496         * include/string.h (__ffs): Declare as hidden.
4497         * string/ffs.c (__ffs): Define as hidden.
4498         * sysdeps/i386/ffs.c (__ffs): Likewise.
4499         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4500         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4501         * sysdeps/s390/ffs.c (__ffs): Likewise.
4502         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4504 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
4506         * NEWS: Mention malloc probes.
4508         * malloc/arena.c (new_heap): New memory_heap_new probe.
4509         (grow_heap): New memory_heap_more probe.
4510         (shrink_heap): New memory_heap_less probe.
4511         (heap_trim): New memory_heap_free probe.
4512         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4513         (systrim): New memory_sbrk_less probe.
4514         * manual/probes.texi: Document them.
4516         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4517         * manual/probes.texi: Document it.
4519         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4520         (__libc_realloc): Add memory_realloc_retry probe.
4521         (__libc_memalign): Add memory_memalign_retry probe.
4522         (__libc_valloc): Add memory_valloc_retry probe.
4523         (__libc_pvalloc): Add memory_pvalloc_retry probe.
4524         (__libc_calloc): Add memory_calloc_retry probe.
4525         * manual/probes.texi: Document them.
4527         * malloc/arena.c (get_free_list): Add probe
4528         memory_arena_reuse_free_list.
4529         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4530         and memory_arena_reuse.
4531         (arena_get2) [!PER_THREAD]: Likewise.
4532         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4533         memory_arena_reuse_realloc.
4534         * manual/probes.texi: Document them.
4536         * malloc/malloc.c (__libc_free): Add
4537         memory_mallopt_free_dyn_thresholds probe.
4538         (__libc_mallopt): Add multiple memory_mallopt probes.
4539         * manual/probes.texi: Document them.
4541         * malloc/malloc.c: Include stap-probe.h.
4542         (__libc_mallopt): Add memory_mallopt probe.
4543         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4544         * manual/probes.texi: New.
4545         * manual/Makefile (chapters): Add probes.
4546         * manual/threads.texi: Set next node.
4548 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
4550         [BZ #15963, #13985]
4551         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4552         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4553         Add `Chinese' to `nan' entry name.
4555 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4557         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4558         (POLYNOMIAL): Likewise.
4559         (TAYLOR_SINCOS): Likewise.
4560         (TAYLOR_SLOW): Likewise.
4561         (__sin): Use TAYLOR_SINCOS.
4562         (__cos): Likewise.
4563         (slow): Use TAYLOR_SLOW.
4564         (sloww): Likewise.
4565         (bsloww): Likewise.
4566         (csloww): Likewise.
4568 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4570         * stdlib/strtod_l.c: Fix buffer overrun.
4572 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4574         * benchtests/Makefile (bench): Add sincos.
4575         * benchtests/bench-sincos.c: New file.
4577         * math/libm-test.inc (cos_test_data): New test inputs.
4578         (sin_test_data): Likewise.
4580         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4581         macro.
4582         (__sin): Use it.
4583         (__cos): Likewise.
4584         (slow1): Likewise.
4585         (slow2): Likewise.
4586         (sloww1): Likewise.
4587         (sloww2): Likewise.
4588         (bsloww1): Likewise.
4589         (bsloww2): Likewise.
4590         (cslow2): Likewise.
4591         (csloww1): Likewise.
4592         (csloww2): Likewise.
4594         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4595         function.
4596         (__sin): Use it.
4597         (__cos): Likewise.
4599         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4600         gotos.
4601         (__cos): Likewise.
4603 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
4605         * config.h.in (HAVE_MIPS_NAN2008): New macro.
4606         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4607         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4608         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4609         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4610         * elf/cache.c (print_entry): Handle the new cache flags.
4612 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4613             Aldy Hernandez  <aldyh@redhat.com>
4615         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4616         Change condition to [_SOFT_FLOAT].
4617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4629         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4630         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4632         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4633         declaration.
4635 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4637         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4638         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4639         (__longjmp): Use LOAD_GP to load saved GPRs.
4640         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4641         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4642         (__sigsetjmp): Use SAVE_GP to save GPRs.
4644         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4645         Do not append -msoft-float.
4646         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4648 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4650         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4652 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
4654         [BZ #15966]
4655         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4656         (_FPU_GETCW): Use initial "__" on variable and field names but not
4657         on macro parameter name.
4658         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
4659         parentheses around reference to macro parameter.
4661 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
4663         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4664         prototype.
4665         (ctype_startup): Use uint32_t in cast and sizeof for
4666         ctype->charnames.
4668 2013-09-11  Jia Liu  <proljc@gmail.com>
4670         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4671         __daddr_t_defined.
4672         [__FreeBSD__]: Likewise.
4674 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
4676         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4677         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4678         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4679         (strchr): Remove __strchr_sse42 ifunc selection.
4680         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4681         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4683 2013-09-11  Will Newton  <will.newton@linaro.org>
4685         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4686         parameter to RES. Remove hardcoded 1000 value.
4687         * benchtests/bench-skeleton.c (main): Pass RES parameter
4688         to TIMING_INIT and multiply result by 1000.
4690 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4694 2013-09-11  Andreas Schwab  <schwab@suse.de>
4696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4697         if not defined.
4698         (O_TMPFILE) [__USE_GNU]: Define.
4699         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4700         Define.
4702 2013-09-11  Will Newton  <will.newton@linaro.org>
4704         [BZ #15857]
4705         * malloc/malloc.c (__libc_memalign): Check the value of bytes
4706         does not overflow.
4708 2013-09-11  Will Newton  <will.newton@linaro.org>
4710         [BZ #15856]
4711         * malloc/malloc.c (__libc_valloc): Check the value of bytes
4712         does not overflow.
4714 2013-09-11  Will Newton  <will.newton@linaro.org>
4716         [BZ #15855]
4717         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4718         does not overflow.
4720 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
4722         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4723         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4724         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4725         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4726         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4728 2013-09-10  Allan McRae  <allan@archlinux.org>
4730         [BZ #15748]
4731         * manual/arith.texi (Parsing of Floats): Clarify
4732         cross-reference.
4734         [BZ #15849]
4735         * manual/install.texi (Running make install): Mention
4736         --enable-pt-chown.
4737         * INSTALL: Regenerated.
4739 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4741         * csu/init-first.c (_init): Remove the !SHARED condition around
4742         FPU control word initialization.
4743         * elf/dl-support.c (_dl_fpu_control): New variable.
4744         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4745         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4746         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4747         * math/test-fpucw-static.c: New file.
4748         * math/test-fpucw-ieee.c: New file.
4749         * math/test-fpucw-ieee-static.c: New file.
4750         * math/Makefile (tests): Add `test-fpucw-ieee' and
4751         `$(tests-static)'.
4752         (tests-static): New variable.
4753         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4754         dependency to...
4755         [($(build-shared),yes)]
4756         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4757         ... this.
4758         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4759         New dependency.
4761 2013-09-09  Allan McRae  <allan@archlinux.org>
4763         [BZ #15939]
4764         * manual/string.texi (Collation Functions): Fix typo in
4765         strcoll example.
4766         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4768         [BZ #15893]
4769         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4771         [BZ #15892]
4772         * libio/memstream.c (open_memstream): Fix memory leak.
4773         * libio/wmemstream.c (open_wmemstream): Likewise.
4775         [BZ #15895]
4776         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4778 2013-09-09  Will Newton  <will.newton@linaro.org>
4780         * malloc/Makefile: Add tst-realloc to tests.
4781         * malloc/tst-realloc.c: New file.
4783 2013-09-09  Allan McRae  <allan@archlinux.org>
4785         [BZ #15844]
4786         * COPYING: Update from GNU website to fix FSF address.
4787         * COPYING.LIB: Likewise.
4789 2013-09-06  David S. Miller  <davem@davemloft.net>
4791         * po/zh_TW.po: Update Chinese (traditional) translation from
4792         translation project.
4794 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4795             Joseph Myers  <joseph@codesourcery.com>
4797         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4798         "localeinfo.h".
4799         (obstack_chunk_alloc): New macro.
4800         (obstack_chunk_free): Likewise.
4801         (record_offset): New function.
4802         (init_locale_data): Likewise.
4803         (align_locale_data): Likewise.
4804         (add_locale_empty): Likewise.
4805         (add_locale_raw_data): Likewise.
4806         (add_locale_raw_obstack): Likewise.
4807         (add_locale_string): Likewise.
4808         (add_locale_wstring): Likewise.
4809         (add_locale_uint32): Likewise.
4810         (add_locale_uint32_array): Likewise.
4811         (add_locale_char): Likewise.
4812         (start_locale_structure): Likewise.
4813         (end_locale_structure): Likewise.
4814         (start_locale_prelude): Likewise.
4815         (end_locale_prelude): Likewise.
4816         (write_locale_data): Take locale_file structure rather than an
4817         iovec.
4818         * locale/programs/locfile.h: Include "obstack.h".
4819         (struct locale_file): Change to store locale file contents instead
4820         of header.
4821         (init_locale_data): New prototype.
4822         (align_locale_data): Likewise.
4823         (add_locale_empty): Likewise.
4824         (add_locale_raw_data): Likewise.
4825         (add_locale_raw_obstack): Likewise.
4826         (add_locale_string): Likewise.
4827         (add_locale_wstring): Likewise.
4828         (add_locale_uint32): Likewise.
4829         (add_locale_uint32_array): Likewise.
4830         (add_locale_char): Likewise.
4831         (start_locale_structure): Likewise.
4832         (end_locale_structure): Likewise.
4833         (start_locale_prelude): Likewise.
4834         (end_locale_prelude): Likewise.
4835         (write_locale_data): Update prototype.
4836         * locale/programs/3level.h (struct TABLE): Remove result field.
4837         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4838         Use new locale_file interface.
4839         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4840         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4841         * locale/programs/ld-address.c (address_output): Use new
4842         locale_file interface.
4843         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4844         NO_ADD_LOCALE.
4845         (collate_finish): Don't call collseq_table_finalize.
4846         (collate_output): Use new locale_file interface.
4847         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4848         in file.
4849         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4850         (TABLE): Move defines earlier in file.
4851         (ELEMENT): Likewise.
4852         (DEFAULT): Likewise.
4853         (wctrans_table_add): Move macro and inline function earlier in
4854         file.
4855         (struct wctype_table): Move type earlier in file.
4856         (add_locale_wctype_table): New static prototype.
4857         (struct locale_ctype_t): Use logical types instead of struct iovec
4858         pointers for members.
4859         (ctype_output): Use new locale_file interface.
4860         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4861         new locale_file interface.
4862         (allocate_arrays): Update for use of new locale_file interface.
4863         * locale/programs/ld-identification.c (identification_output): Use
4864         new locale_file interface.
4865         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4866         * locale/programs/ld-messages.c (messages_output): Likewise.
4867         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4868         * locale/programs/ld-name.c (name_output): Likewise.
4869         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4870         * locale/programs/ld-paper.c (paper_output): Likewise.
4871         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4872         * locale/programs/ld-time.c (time_output): Likewise.
4874 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4876         * benchtests/Makefile: Add memrchr benchmark.
4877         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4878         benchmark as memrchr.
4879         * benchtests/bench-memrchr-ifunc.c: New file.
4880         * benchtests/bench-memrchr.c: New file.
4882 2013-09-06   Will Newton  <will.newton@linaro.org>
4884         * benchtests/Makefile (string-bench): Add memcpy.
4886 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4887             Cong Wang  <amwang@redhat.com>
4889         * sysdeps/unix/sysv/linux/bits/in.h
4890         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4891         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4892         before __USE_KERNEL_IPV6_DEFS uses.
4893         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4894         IPPROTO_BEETPH.
4895         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4896         sockaddr_in6, or ipv6_mreq.
4898 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4900         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4901         memory access for final bytes in some large inputs.
4902         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4904 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4906         * string/test-memrchr.c: New file.
4907         * string/test-memrchr-ifunc.c: New file.
4908         * string/Makefile: Add new memrchr testcase.
4910 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4912         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4913         fanotify_init returns EPERM.
4915 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4917         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4918         errors.
4919         (top level): Treat second token from macro or constant entries for
4920         allowed headers as allowed.
4921         * include/complex.h: Condition internal declarations on
4922         [!_ISOMAC].
4923         * include/fenv.h: Condition include of <stdbool.h> and internal
4924         declarations on [!_ISOMAC].
4926 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
4928         [BZ #15923]
4929         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4931 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4933         * configure.in (--enable-versioning): Remove configure option.
4934         (libc_cv_asm_symver_directive): Remove configure test.
4935         (libc_cv_ld_version_script_option): Likewise.
4936         (VERSIONING): Remove variable and AC_SUBST.
4937         (DO_VERSIONING): Remove AC_DEFINE.
4938         * configure: Regenerated.
4939         * config.h.in (DO_VERSIONING): Remove macro.
4940         * Makerules [$(versioning) = yes]: Change conditionals to
4941         [$(build-shared) = yes].
4942         * config.make.in (versioning): Remove variable.
4943         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4944         [$(build-shared) = yes].
4945         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4946         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4947         * elf/Makefile [$(versioning) = yes]: Change conditionals to
4948         [$(build-shared) = yes].
4949         * extra-lib.mk [$(versioning) = yes]: Likewise.
4950         * hurd/Makefile [$(versioning) = yes]: Likewise.
4951         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4952         [SHARED].
4953         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4954         [SHARED].
4955         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4956         [SHARED && !NO_HIDDEN].
4957         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4958         [SHARED].
4959         [SHARED && DO_VERSIONING]: Likewise..
4960         * libio/Makefile [$(versioning) = yes]: Change conditionals to
4961         [$(build-shared) = yes].
4962         * manual/install.texi (--disable-versioning): Remove
4963         documentation.
4964         * INSTALL: Regenerated.
4965         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4966         to [SHARED].
4967         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4968         [$(build-shared) = yes].
4969         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4970         * sysdeps/i386/i686/multiarch/strstr-c.c
4971         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4972         [SHARED && !NO_HIDDEN].
4973         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4974         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4975         * sysdeps/powerpc/powerpc32/dl-machine.c
4976         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4977         * sysdeps/powerpc/powerpc32/sysdep.h
4978         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4979         to [SHARED && PIC && !NO_HIDDEN].
4980         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4981         conditional to [SHARED].
4983 2013-09-04   Will Newton  <will.newton@linaro.org>
4985         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4986         * benchtests/bench-string.h: Include bench-timing.h instead
4987         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4988         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4989         call to HP_TIMING_DIFF_INIT.
4990         * benchtests/bench-memccpy.c: Use bench-timing.h macros
4991         instead of hp-timing.h macros.
4992         * benchtests/bench-memchr.c: Likewise.
4993         * benchtests/bench-memcmp.c: Likewise.
4994         * benchtests/bench-memcpy.c: Likewise.
4995         * benchtests/bench-memmem.c: Likewise.
4996         * benchtests/bench-memmove.c: Likewise.
4997         * benchtests/bench-memset.c: Likewise.
4998         * benchtests/bench-rawmemchr.c: Likewise.
4999         * benchtests/bench-strcasecmp.c: Likewise.
5000         * benchtests/bench-strcasestr.c: Likewise.
5001         * benchtests/bench-strcat.c: Likewise.
5002         * benchtests/bench-strchr.c: Likewise.
5003         * benchtests/bench-strcmp.c: Likewise.
5004         * benchtests/bench-strcpy.c: Likewise.
5005         * benchtests/bench-strcpy_chk.c: Likewise.
5006         * benchtests/bench-strlen.c: Likewise.
5007         * benchtests/bench-strncasecmp.c: Likewise.
5008         * benchtests/bench-strncat.c: Likewise.
5009         * benchtests/bench-strncmp.c: Likewise.
5010         * benchtests/bench-strncpy.c: Likewise.
5011         * benchtests/bench-strnlen.c: Likewise.
5012         * benchtests/bench-strpbrk.c: Likewise.
5013         * benchtests/bench-strrchr.c: Likewise.
5014         * benchtests/bench-strspn.c: Likewise.
5015         * benchtests/bench-strstr.c: Likewise.
5017 2013-09-04  Will Newton  <will.newton@linaro.org>
5019         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5021 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5023         [BZ #15427]
5024         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5025         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5026         * math/libm-test.inc (lgamma_test_data): Add more tests.
5027         * sysdeps/i386/fpu/libm-test-ulps: Update.
5028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5030 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5032         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5033         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5034         Add ifunc.
5035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5036         Add strcmp-sse2-unaligned
5037         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5039 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5041         * Versions.def (libc): Add GLIBC_2.19.
5043 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5045         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5046         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5048 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5050         [BZ #14155]
5051         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5052         intermediate calculations in recurrence.
5053         (__ieee754_ynf): Likewise.
5054         * math/libm-test.inc (jn_test_data): Do not allow spurious
5055         underflow exception.  Add more tests.
5056         (yn_test_data): Add more tests.
5057         * sysdeps/i386/fpu/libm-test-ulps: Update.
5058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5060 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5062         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5064 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5066         * csu/init-first.c: Fix then/than typos.
5067         * locale/programs/ld-collate.c: Likewise.
5068         * locale/programs/linereader.h: Likewise.
5069         * manual/charset.texi: Likewise.
5070         * manual/filesys.texi: Likewise.
5071         * manual/stdio.texi: Likewise.
5072         * manual/string.texi: Likewise.
5073         * stdlib/fmtmsg.c: Likewise.
5074         * sysdeps/i386/stpncpy.S: Likewise.
5075         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5076         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5077         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5078         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5080 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5082         * elf/dl-open.c: Fix typos.
5083         * iconvdata/gbbig5.c: Likewise.
5084         * iconvdata/iso-2022-jp.c: Likewise.
5085         * iconv/gconv_int.h: Likewise.
5086         * iconv/loop.c: Likewise.
5087         * nis/rpcsvc/nis.h: Likewise.
5088         * resolv/ns_name.c: Likewise.
5089         * stdio-common/vfscanf.c: Likewise.
5090         * streams/stropts.h: Likewise.
5091         * sunrpc/rpc_thread.c: Likewise.
5092         * sysdeps/i386/strpbrk.S: Likewise.
5093         * sysdeps/ieee754/k_standard.c: Likewise.
5094         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5095         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5096         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5097         * sysdeps/mach/hurd/profil.c: Likewise.
5098         * sysdeps/s390/dl-procinfo.h: Likewise.
5099         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5100         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5101         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5102         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5103         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5105 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5107         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5110 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5112         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5113         aix specific files.
5114         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5115         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5116         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5117         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5118         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5119         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5120         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5121         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5123 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5124             Roland McGrath  <roland@hack.frob.com>
5126         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5127         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5129 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5131         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5132         __executable_start symbol instead of _start.
5134 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5136         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5137         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5138         Move macros to...
5139         * sysdeps/gnu/ldsodefs.h: ... this new file.
5141         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5142         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5143         instead of ELFOSABI_LINUX.
5145         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5146         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5147         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5148         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5149         Likewise.
5150         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5151         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5152         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5153         Likewise.
5154         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5155         (ibm_extended_long_double): Add ieee_nan member.
5156         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5157         (do_test): New function.
5159         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5160         TEST_TRUNC.
5161         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5162         functions, renamed from truncdfsf_test, trunctfsf_test,
5163         trunctfdf_test.
5164         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5165         functions.
5166         (do_test): Run all these.
5168 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5170         * argp/argp-help.c: Fix typos.
5171         * argp/argp-parse.c: Likewise.
5172         * debug/backtracesyms.c: Likewise.
5173         * elf/elf.h: Likewise.
5174         * malloc/malloc.c: Likewise.
5175         * nis/nis_print.c: Likewise.
5176         * resolv/res_comp.c: Likewise.
5177         * stdlib/stdlib.h: Likewise.
5178         * sunrpc/clnt_tcp.c: Likewise.
5179         * sunrpc/clnt_udp.c: Likewise.
5180         * sunrpc/clnt_unix.c: Likewise.
5181         * sysdeps/unix/bsd/ptsname.c: Likewise.
5182         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5183         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5185         Likewise.
5186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5187         Likewise.
5188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5189         Likewise.
5190         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5192 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5194         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5197 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5199         [BZ #15897]
5200         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5201         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5202         ($(objpfx)bug-dl-leaf): New rule.
5203         ($(objpfx)bug-dl-leaf.so): Likewise.
5204         ($(objpfx)bug-dl-leaf.out): Likewise.
5205         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5206         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5207         * dlfcn/bug-dl-leaf.c: New test.
5208         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5209         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5210         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5211         (dlclose): Likewise.
5212         (dlmopen): Likewise.
5214 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5216         * include/netdb.h [!_ISOMAC]:
5217         Don't include <tls.h>.
5218         (h_errno, __libc_h_errno): Move declaration and macros out of
5219         [_LIBC_REENTRANT].
5221         * include/resolv.h [_RESOLV_H_]:
5222         Don't include <tls.h>.
5223         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5224         * resolv/res_libc.c: Don't include <tls.h>.
5225         (_res): Use __attribute__ ((nocommon)) in place of
5226         __attribute__ ((section (".bss"))).
5228         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5229         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5231         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5233         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5234         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5236         * resolv/res_mkquery.c: Include <sys/time.h>.
5238         * inet/ifreq.c: Moved to ...
5239         * sysdeps/unix/ifreq.c: ... here.
5240         * inet/ifreq.c: New file, true stub version.
5242         * socket/sa_len.c: New file.
5243         * socket/Makefile (aux): Add it.
5244         * sysdeps/unix/sysv/linux/Makefile
5245         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5246         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5247         and #include <socket/sa_len.c>.
5248         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5249         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5251         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5252         * bits/socket.h: ... here.
5254         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5255         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5256         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5258 2013-08-27  Andreas Schwab  <schwab@suse.de>
5260         [BZ #15736]
5261         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5262         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5263         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5264         * string/test-strcasecmp.c (test_main): Run tests in several
5265         locales.
5266         * string/test-strncasecmp.c (test_main): Likewise.
5268         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5269         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5270         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5272         (__strncasecmp_ssse3) [PIC]: Likewise.
5274 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5276         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5278         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5279         instead of explicitly declaring xdecrypt.
5280         * nis/nss_nis/nis-publickey.c: Likewise.
5282 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5284         [BZ #15890]
5285         * nscd/aicache.c: Include res_hconf.h.
5286         (addhstaiX): Initialize res_hconf.
5288 2013-08-26  Andreas Schwab  <schwab@suse.de>
5290         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5291         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5293 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5295         * nscd/aicache.c (addhstaiX): Fix indentation.
5297 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5299         * configure.ac: Quote $build_pt_chown test.
5300         * configure: Regenerated.
5302 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5304         [BZ #15532]
5305         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5306         * math/s_cexpf.c (__cexpf): Likewise.
5307         * math/s_cexpl.c (__cexpl): Likewise.
5308         * math/libm-test.inc (cexp_test_data): Correct expected return
5309         value for NaN + i0.  Add another test.
5311 2013-08-22  David S. Miller  <davem@davemloft.net>
5313         * po/ca.po: Update Catalan translation from translation project.
5314         * po/uk.po: Add Ukrainian translations from translation project.
5316 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5318         [BZ #15797]
5319         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5320         is infinite, not alongside NaN test.
5321         * math/s_fdimf.c (__fdimf): Likewise.
5322         * math/s_fdiml.c (__fdiml): Likewise.
5323         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5324         errno is unchanged.
5326 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5328         * argp/argp-help.c: Fix typos.
5329         * crypt/speeds.c: Likewise.
5330         * csu/check_fds.c: Likewise.
5331         * elf/dl-load.c: Likewise.
5332         * elf/dl-open.c: Likewise.
5333         * elf/reldep3.c: Likewise.
5334         * elf/reldep.c: Likewise.
5335         * elf/sprof.c: Likewise.
5336         * iconv/iconv_charmap.c: Likewise.
5337         * iconv/skeleton.c: Likewise.
5338         * iconv/strtab.c: Likewise.
5339         * io/lockf64.c: Likewise.
5340         * libio/libioP.h: Likewise.
5341         * resolv/gai_notify.c: Likewise.
5342         * resolv/ns_name.c: Likewise.
5343         * resolv/ns_samedomain.c: Likewise.
5344         * resolv/res_send.c: Likewise.
5345         * stdlib/random.c: Likewise.
5346         * sunrpc/rpc/xdr.h: Likewise.
5347         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5348         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5349         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5350         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5351         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5352         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5353         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5354         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5355         * sysdeps/mach/hurd/check_fds.c: Likewise.
5356         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5357         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5358         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5359         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5360         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5361         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5362         * sysdeps/pthread/aio_notify.c: Likewise.
5363         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5364         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5365         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5366         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5367         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5369 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5371         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5372         version if bit_Slow_SSE4_2 is set.
5373         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5374         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5376 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5378         [BZ #15867]
5379         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5380         trampoline stack frame information.
5381         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5382         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5383         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5384         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5385         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5386         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5387         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5388         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5389         sa_flags value.
5390         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5391         interrupting a syscall and set with option SA_SIGINFO.
5393 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5395         [BZ #15531]
5396         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5397         argument is infinite.
5398         * math/s_cprojf.c (__cprojf): Likewise.
5399         * math/s_cprojl.c (__cprojl): Likewise.
5400         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5401         * math/libm-test.inc (cproj_test_data): Add more tests.
5403         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5405         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5406         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5407         size.  Use __ffs to determine corresponding shift.
5409 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5410             Roland McGrath  <roland@hack.frob.com>
5412         * Makefile (INSTALL): Remove trailing blank lines from output of
5413         makeinfo.
5415 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5417         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5418         Align 32 bit compat elf_greg to 8 bytes.
5420 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5422         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5424 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5426         * string/strcoll_l.c (coll_seq): New structure.
5427         (get_next_seq_cached): New function.
5428         (get_next_seq): New function.
5429         (do_compare): New function.
5430         (STRCOLL): Use GNU style definition.  Simplify implementation
5431         by using get_next_seq, get_next_seq_cached and do_compare.
5433 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5435         [BZ #14699]
5436         CVE-2013-4237
5437         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5438         member.
5439         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5440         member.
5441         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5442         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5443         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5444         conditional.
5445         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5446         GETDENTS_64BIT_ALIGNED.
5447         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5448         * manual/filesys.texi (Reading/Closing Directory): Document
5449         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5450         strongly.
5451         * manual/conf.texi (Limits for Files): Add portability note to
5452         NAME_MAX, PATH_MAX.
5453         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5455 2013-08-13  Andreas Schwab  <schwab@suse.de>
5457         [BZ #15749]
5458         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5459         of fabs.
5460         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5461         LDBL_MAX_EXP >= 16384]: Add tests for it.
5463 2013-08-12  David S. Miller  <davem@davemloft.net>
5465         * version.h (RELEASE): Set to "development".
5466         (VERSION): Set to "2.18.90".
5467         * NEWS: Add 2.19 section.
5469 2013-08-03  David S. Miller  <davem@davemloft.net>
5471         * po/ko.po: Update Korean translation from translation project.
5473 2013-08-01  David S. Miller  <davem@davemloft.net>
5475         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5476         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5477         Bilka.
5479 2013-07-30  David S. Miller  <davem@davemloft.net>
5481         * po/fr.po: Update French translation from translation project.
5483 2013-07-28  David S. Miller  <davem@davemloft.net>
5485         * po/cs.po: Update Czech translation from translation project.
5487         * po/sv.po: Update Swedish translation from translation project.
5489 2013-07-27  David S. Miller  <davem@davemloft.net>
5491         * po/eo.po: Update Esperanto translation from translation project.
5493         * po/vi.po: Update Vietnamese translation from translation project.
5495         * po/de.po: Update German translation from translation project.
5497 2013-07-26  David S. Miller  <davem@davemloft.net>
5499         * po/bg.po: Update Bulgarian translation from translation project.
5501         * po/nl.po: Update Dutch translation from translation project.
5502         * po/pl.po: Update Polish translation from translation project.
5503         * po/ru.po: Update Russian translation from translation project.
5505 2013-07-24  David S. Miller  <davem@davemloft.net>
5507         * po/libc.pot: Update.
5509 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5511         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5512         variable page size.
5513         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5514         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5515         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5517 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5519         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5521 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5522             Andreas Schwab  <schwab@suse.de>
5523             Roland McGrath  <roland@hack.frob.com>
5524             Joseph Myers  <joseph@codesourcery.com>
5525             Carlos O'Donell  <carlos@redhat.com>
5527         [BZ #15755]
5528         * config.h.in: Define HAVE_PT_CHOWN.
5529         * config.make.in (build-pt-chown): New variable.
5530         * configure.in (--enable-pt_chown): New configure option.
5531         * configure: Regenerate.
5532         * login/Makefile: Include Makeconfig.  Build pt_chown only if
5533         build-pt-chown is enabled.
5534         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5535         pt_chown to fix pty ownership.
5536         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5537         CLOSE_ALL_FDS.
5538         * manual/install.texi (Configuring and compiling): Mention
5539         --enable-pt_chown. Add @findex for grantpt.
5540         * INSTALL: Regenerate.
5542 2013-07-20  David S. Miller  <davem@davemloft.net>
5544         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5545         difference between 32-bit and 64-bit.
5547 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
5549         [BZ #15711]
5550         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5551         Avoid system header dependency with -ffreestanding.
5552         ($(objpfx)bits/syscall%d): Likewise.
5554 2013-07-13  David S. Miller  <davem@davemloft.net>
5556         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5557         underflows from atanl/atan2l due to bug 15319.
5558         (casinh_test_data): Likewise.
5560 2013-07-07  David S. Miller  <davem@davemloft.net>
5562         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5564 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
5566         * sysdeps/i386/fpu/libm-test-ulps: Update.
5567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5569 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5571         * configure.in (--enable-lock-elision): Fix message text.
5572         * INSTALL: Regenerate.
5573         * configure: Regenerate.
5575 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5579 2013-07-03  Andreas Jaeger  <aj@suse.de>
5581         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5582         define.
5583         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5584         (ptrace_peeksiginfo_args): Add.
5585         (__ptrace_peeksiginfo_flags): Add.
5586         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5587         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5588         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5590 2013-07-03  Allan McRae  <allan@archlinux.org>
5592         * sysdeps/i386/fpu/libm-test-ulps: Update.
5594 2013-07-02  David S. Miller  <davem@davemloft.net>
5596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5598 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
5600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5602 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5604         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5607 2013-07-02  Andi Kleen <ak@linux.intel.com>
5609         * config.h.in (ENABLE_LOCK_ELISION): Add.
5610         * configure.in (--enable-lock-elision): Add option.
5611         * manual/install.texi: Document --enable lock elision.
5612         * configure: Regenerate
5613         * INSTALL: Regenerate.
5615 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5617         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5618         SSE4.2 strcasecmp for libc.a.
5619         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5621 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5623         [BZ #13304]
5624         * soft-fp/op-common.h (_FP_FMA): New macro.
5625         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5626         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
5627         (_FP_MUL_MEAT_1_imm): ... here.
5628         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
5629         (_FP_MUL_MEAT_1_wide): ... here.
5630         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
5631         (_FP_MUL_MEAT_1_hard): ... here.
5632         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5633         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
5634         (_FP_MUL_MEAT_2_wide): ... here.
5635         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
5636         (_FP_MUL_MEAT_2_wide_3mul): ... here.
5637         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
5638         (_FP_MUL_MEAT_2_gmp): ... here.
5639         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5640         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
5641         (_FP_MUL_MEAT_4_wide): ... here.
5642         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
5643         (_FP_MUL_MEAT_4_gmp): ... here.
5644         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5645         (_FP_WFRACBITS_DW_S): Likewise.
5646         (_FP_WFRACXBITS_DW_S): Likewise.
5647         (_FP_HIGHBIT_DW_S): Likewise.
5648         (FP_FMA_S): Likewise.
5649         (_FP_FRAC_HIGH_DW_S): Likewise.
5650         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5651         (_FP_WFRACBITS_DW_D): Likewise.
5652         (_FP_WFRACXBITS_DW_D): Likewise.
5653         (_FP_HIGHBIT_DW_D): Likewise.
5654         (FP_FMA_D): Likewise.
5655         (_FP_FRAC_HIGH_DW_D): Likewise.
5656         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5657         (_FP_WFRACBITS_DW_E): Likewise.
5658         (_FP_WFRACXBITS_DW_E): Likewise.
5659         (_FP_HIGHBIT_DW_E): Likewise.
5660         (FP_FMA_E): Likewise.
5661         (_FP_FRAC_HIGH_DW_E): Likewise.
5662         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5663         (_FP_WFRACBITS_DW_Q): Likewise.
5664         (_FP_WFRACXBITS_DW_Q): Likewise.
5665         (_FP_HIGHBIT_DW_Q): Likewise.
5666         (FP_FMA_Q): Likewise.
5667         (_FP_FRAC_HIGH_DW_Q): Likewise.
5668         * soft-fp/fmasf4.c: New file.
5669         * soft-fp/fmadf4.c: Likewise.
5670         * soft-fp/fmatf4.c: Likewise.
5672 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5674         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5675         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5676         Silvermont.
5677         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5678         macro.
5679         (index_Slow_SSE4_2): Likewise.
5680         (index_Prefer_PMINUB_for_stringop): Likewise.
5681         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5682         bit_Slow_SSE4_2 is set.
5683         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5684         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5686 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5688         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5689         rtld_global._dl_hwcap2.
5690         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5691         POWER8.
5692         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5693         POWER8 feature descriptions defined in _dl_hwcap2.
5694         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5695         string handling for POWER8 feature bits.
5696         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5697         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5698         _dl_powerpc_cap_flags.
5699         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5700         * sysdeps/powerpc/rtld-global-offsets.sym
5701         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5702         _dl_hwcap2 in the rtld_global_ro structure.
5704 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5706         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5707         hardware capabilities in support of AT_HWCAP2.
5708         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5709         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5710         GLRO(dl_hwcap2).
5711         (_dl_show_auxv): Add support for calling _dl_procinfo to display
5712         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
5713         explicitly the unknown a_type display mechanism is used.
5714         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5715         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5716         struct member.
5717         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5718         to macro prototype for AT_HWCAP2 support.
5719         * sysdeps/i386/dl-procinfo.h: Likewise.
5720         * sysdeps/s390/dl-procinfo.h: Likewise.
5721         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5722         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5723         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5724         return -1 for unknown a_type display fallback.
5725         * sysdeps/sparc/dl-procinfo.h: Likewise.
5726         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5727         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5729 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5731         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5732         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5734 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5736         [BZ #12492]
5737         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5738         mprotect making __stack_prot writable.
5740 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5741             Joseph Myers  <joseph@codesourcery.com>
5743         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5744         as being properly aligned.
5746 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5748         * dlfcn/modstatic5.c: New file.
5749         * dlfcn/tststatic5.c: New file.
5750         * dlfcn/Makefile (tests): Add tststatic5.
5751         (tests-static): Likewise.
5752         (modules-names): Add modstatic5.
5753         (tststatic5-ENV): New variable.
5754         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5756         [BZ #15022]
5757         * elf/dl-support.c (_dl_main_map): New variable.
5758         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5759         (_dl_nns, _dl_load_adds): Set to 1.
5760         (_dl_initial_searchlist): Refer to _dl_main_map.
5761         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5762         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5763         call to _dl_get_origin.
5764         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5765         around call_map.
5766         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5767         * dlfcn/modstatic3.c: New file.
5768         * dlfcn/tststatic3.c: New file.
5769         * dlfcn/tststatic4.c: New file.
5770         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5771         (tests-static): Likewise.
5772         (modules-names): Add modstatic3.
5773         (tststatic3-ENV, tststatic4-ENV): New variables.
5774         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5775         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5777 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5779         * configure.in (CC): Require GCC version 4.4 or later.
5780         * configure: Regenerated.
5781         * manual/install.texi (Tools for Compilation): Update GCC version
5782         requirement.
5783         * INSTALL: Regenerated.
5785 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5787         [BZ #15674]
5788         * string/test-memcmp.c (check2): New.
5789         (main): Call check2.
5791         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5793 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5795         [BZ #15022]
5796         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5797         over to...
5798         (dl_open_worker) [!SHARED]: ... here.
5800 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5802         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5804 2013-06-25  Richard Henderson  <rth@redhat.com>
5806         * locale/programs/locarchive.c: Include <libc-internal.h>
5808 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5810         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5811         trailing whitespace removed.
5813 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5815         [BZ #10283]
5816         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5817         * locale/programs/locarchive.c: Include libc-mmap.h.
5818         (prepare_address_space): Take two new outputs (the mmap base and len).
5819         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5820         values.
5821         (create_archive): Declare new mmap base and len values for
5822         prepare_address_space, and store the result in ah.
5823         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5824         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5825         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5826         Declare new mmap base and len values for
5827         prepare_address_space, and store the result in new_ah.
5828         (open_archive): Declare new mmap base and len values for
5829         prepare_address_space, and store the result in ah.
5830         (close_archive): If ah->mmap_base is not NULL, use that and
5831         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5832         * sysdeps/generic/libc-mmap.h: New file.
5834 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5836         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5837         (ALIGN_UP): Likewise.
5838         (PTR_ALIGN_DOWN): Likewise.
5839         (PTR_ALIGN_UP): Likewise.
5841 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5843         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5844         entry mapped to PPC_PLATFORM_POWER8.
5845         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5846         POWER8.
5847         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5848         (_dl_string_platform): Add case for exporting platform position for
5849         POWER8.
5850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5851         search path to sysdeps/powerpc/powerpc32/power8 directory.
5852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5853         search path to sysdeps/powerpc/powerpc64/power8 directory.
5854         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5855         power7 directories.
5856         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5857         power7 directories.
5859 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5861         * INSTALL: Regenerate.
5863         * nscd/connections.c (nscd_init): Fix comment.
5865 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5867         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5869         [BZ #15667]
5870         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5871         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5873 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5875         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5876         DL_DST_REQ_STATIC.
5877         (DL_DST_REQ_STATIC): Remove macro.
5879 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5881         [BZ #7006]
5882         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5883         with a shift of 0 bits.
5885 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5887         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5888         $(tststatic-ENV).
5890 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5892         [BZ #15655]
5893         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5895 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5897         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5898         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5899         accepts -fno-tree-loop-distribute-patterns.
5900         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5901         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5902         recursive call.
5903         * string/memset.c (memset): Likewise.
5904         * string/test-memmove.c (simple_memmove): Disable loop transformation
5905         to library calls.
5906         * string/test-memset.c (simple_memset): Likewise.
5907         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5908         * benchtests/bench-memset.c (simple_memset): Likewise.
5909         * configure: Regenerated.
5911 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5913         * math/test-misc.c (main): Ignore fesetround failure when failures
5914         of subsequent rounding tests would be ignored.
5916         [BZ #15654]
5917         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5918         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5919         * math/fegetenv.c (__fegetenv): Return 0.
5920         * math/fegetexcept.c (fegetexcept): Return 0.
5921         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5922         FE_TONEAREST.
5923         * math/feholdexcpt.c (feholdexcept): Return 0.
5924         * math/fesetenv.c (__fesetenv): Return 0.
5925         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5926         argument FE_TONEAREST.
5927         * math/feupdateenv.c (__feupdateenv): Return 0.
5928         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5930 2013-06-18  Roland McGrath  <roland@hack.frob.com>
5932         * elf/rtld-Rules (rtld-compile-command.S): New variable.
5933         (rtld-compile-command.s, rtld-compile-command.c): New variables.
5934         ($(objpfx)rtld-%.os rules): Use them.
5936 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5938         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5939         fields.
5941 2013-06-17  Roland McGrath  <roland@hack.frob.com>
5943         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5944         length of target pattern, then descending length of dependency pattern.
5945         * configure.in (AWK): Require gawk 3.1.2 or newer.
5946         * manual/install.texi (Tools for Compilation): Say that we do.
5947         * configure: Regenerated.
5949         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5950         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5951         * scripts/sysd-rules.awk: ... this new script.
5952         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5953         than a glob-style pattern.
5955 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
5957         * math/test-misc.c (main): Do not treat incorrectly rounded
5958         conversions as failure unless ROUNDING_TESTS passes.
5960 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
5962         [BZ #15631]
5963         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5964         restore exception state around main square root computation, then
5965         check for inexactness explicitly.
5967         * math/libm-test.inc (fma_test_data): Add another test.
5969 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5971         * manual/threads.texi (Non-POSIX Extensions): New document
5972         node.  Document pthread_getattr_default_np and
5973         pthread_setattr_default_np.
5975         * Versions.def (libpthread): Add GLIBC_2.18.
5976         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5978         Likewise.
5979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5980         Likewise.
5981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5982         Likewise.
5983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5984         Likewise.
5985         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5986         Likewise.
5987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5988         Likewise.
5989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5990         Likewise.
5991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5992         Likewise.
5993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5994         Likewise.
5996 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5998         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5999         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6001 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6002             H.J. Lu  <hjl.tools@gmail.com>
6004         [BZ #15627]
6005         * sysdeps/x86_64/rtld-memset.c: Remove file.
6006         * sysdeps/x86_64/rtld-memset.S: New file.
6008 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6010         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6011         (test_in_one_mode): Take arguments for whether the rounding mode
6012         is supported for each floating-point type.
6013         (do_test): Pass new arguments to test_in_one_mode using
6014         ROUNDING_TESTS.
6016 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6018         * posix/tst-waitid.c (do_test): Distinguish different instances of
6019         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6020         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6021         before entering the kernel for waitpid.
6023 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6025         * NEWS: Fix note on clock function precision.  Text by Roland
6026         McGrath.
6028 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6030         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6031         it into place only when and if the sanity check passes.
6033 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6035         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6036         output for whether conversion result is exact.  Take argument
6037         indicating whether type is IBM long double.
6038         (round_for_all): Change need_exact field to ibm_ld.
6039         * stdlib/tst-strtod-round.c (struct exactness): New type.
6040         (struct test): Change bool ld_ok field to struct exactness exact.
6041         (TEST): Update all definitions for change to field.
6042         (tests): Regenerate array contents.
6043         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6044         field value.  Check for IBM long double here.
6045         (do_test): Update calls to test_in_one_mode.
6047 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6049         [BZ #12515]
6050         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6051         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6053 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6055         [BZ #15605]
6056         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6057         generated by the compiler on loop optimizations.
6058         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6059         general definitions.
6061 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6063         * math/bug-nextafter.c: Include <math-tests.h>.
6064         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6065         the relevant type.
6066         * math/bug-nexttoward.c: Include <math-tests.h>.
6067         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6068         the relevant type.
6069         * math/test-misc.c: Include <math-tests.h>.
6070         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6071         the relevant type.
6073 2013-06-12  Andreas Jaeger  <aj@suse.de>
6075         * po/ia.po: Update Interlingua translation from translation
6076         project.
6078 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6080         * include/fenv.h: Include stdbool.h.
6081         (struct rm_ctx): New structure.
6082         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6083         Define macro.
6084         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6085         (SET_RESTORE_ROUNDF): Likewise.
6086         (SET_RESTORE_ROUNDL): Likewise.
6087         (SET_RESTORE_ROUND_NOEX): Likewise.
6088         (SET_RESTORE_ROUND_NOEXF): Likewise.
6089         (SET_RESTORE_ROUND_NOEXL): Likewise.
6090         (SET_RESTORE_ROUND_53BIT): Likewise.
6091         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6092         (libc_feresetround_noexf_ctx): Likewise.
6093         (libc_feresetround_noexl_ctx): Likewise.
6094         (libc_feholdsetround_53bit_ctx): Likewise.
6095         (libc_feresetround_53bit_ctx): Likewise.
6096         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6097         (libc_feholdexcept_setround_sse_ctx): New function.
6098         (libc_fesetenv_sse_ctx): Likewise.
6099         (libc_feupdateenv_sse_ctx): Likewise.
6100         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6101         (libc_feholdexcept_setround_387_ctx): Likewise.
6102         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6103         (libc_feholdsetround_387_prec_ctx): Likewise.
6104         (libc_feholdsetround_387_ctx): Likewise.
6105         (libc_feholdsetround_387_53bit_ctx): Likewise.
6106         (libc_feholdsetround_sse_ctx): Likewise.
6107         (libc_feresetround_sse_ctx): Likewise.
6108         (libc_feresetround_387_ctx): Likewise.
6109         (libc_feupdateenv_387_ctx): Likewise.
6110         (libc_feholdexcept_setroundf_ctx): Define macro.
6111         (libc_fesetenvf_ctx): Likewise.
6112         (libc_feupdateenvf_ctx): Likewise.
6113         (libc_feholdsetroundf_ctx): Likewise.
6114         (libc_feresetroundf_ctx): Likewise.
6115         (libc_feholdexcept_setround_ctx): Likewise.
6116         (libc_fesetenv_ctx): Likewise.
6117         (libc_feupdateenv_ctx): Likewise.
6118         (libc_feholdsetround_ctx): Likewise.
6119         (libc_feresetround_ctx): Likewise.
6120         (libc_feholdexcept_setroundl_ctx): Likewise.
6121         (libc_feupdateenvl_ctx): Likewise.
6122         (libc_feholdsetroundl_ctx): Likewise.
6123         (libc_feresetroundl_ctx): Likewise.
6124         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6125         (libc_feresetround_53bit_ctx): Likewise.
6127 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6129         * locale/iso-639.def: Convert to UTF-8.
6131 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6133         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6134         (EXCEPTION_TESTS_double): Likewise.
6135         (EXCEPTION_TESTS_long_double): Likewise.
6136         (EXCEPTION_TESTS): Likewise.
6137         * math/libm-test.inc (test_exceptions): Only test exceptions if
6138         EXCEPTION_TESTS (FLOAT).
6140 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6142         * benchtests/Makefile (string-bench): Add strcpy_chk and
6143         stpcpy_chk.
6144         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6145         * benchtests/bench-stpcpy_chk.c: New file.
6146         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6147         * benchtests/bench-strcpy_chk.c: New file.
6148         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6149         code.
6150         (do_test): Likewise.
6152 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6154         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6155         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6156         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6157         with tabs where appropriate.
6158         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6159         dl-procinfo.h.
6160         [PPC_PLATFORM_PPC440]: Likewise.
6161         [PPC_PLATFORM_PPC464]: Likewise.
6162         [PPC_PLATFORM_PPC476]: Likewise.
6163         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6164         ppc464, and ppc476 platform strings merging from ports/
6165         dl-procinfo.h.
6167 2013-06-11  Andreas Schwab  <schwab@suse.de>
6169         [BZ #14991]
6170         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6171         (from_ucs4_idx): Regenerate.
6172         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6173         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6174         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6175         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6176         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6177         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6178         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6179         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6180         from FROM_LOOP and TO_LOOP specific macros.
6181         (BODY): Handle combining characters.
6182         * iconvdata/BIG5HKSCS.irreversible: Update.
6183         * iconvdata/BIG5HKSCS.precomposed: New file.
6184         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6185         characters.
6186         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6188 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6190         * include/sys/time.h: Fix indentation and add copyright header.
6192         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6193         (do_test): Likewise.
6194         * string/test-memchr.c (do_one_test): Likewise.
6195         (do_test): Likewise.
6196         * string/test-memcmp.c (do_one_test): Likewise.
6197         (do_test): Likewise.
6198         * string/test-memcpy.c (do_one_test): Likewise.
6199         (do_test): Likewise.
6200         * string/test-memmem.c (do_one_test): Likewise.
6201         (do_test): Likewise.
6202         (do_random_tests): Likewise.
6203         * string/test-memmove.c (do_one_test): Likewise.
6204         (do_test): Likewise.
6205         * string/test-memset.c (do_one_test): Likewise.
6206         (do_test): Likewise.
6207         * string/test-rawmemchr.c (do_one_test): Likewise.
6208         (do_test): Likewise.
6209         * string/test-strcasecmp.c (do_one_test): Likewise.
6210         (do_test): Likewise.
6211         * string/test-strcasestr.c (do_one_test): Likewise.
6212         (do_test): Likewise.
6213         * string/test-strcat.c (do_one_test): Likewise.
6214         (do_test): Likewise.
6215         * string/test-strchr.c (do_one_test): Likewise.
6216         (do_test): Likewise.
6217         * string/test-strcmp.c (do_one_test): Likewise.
6218         (do_test): Likewise.
6219         * string/test-strcpy.c (do_one_test): Likewise.
6220         (do_test): Likewise.
6221         * string/test-string.h: Likewise.
6222         (test_init): Likewise.
6223         * string/test-strlen.c (do_one_test): Likewise.
6224         (do_test): Likewise.
6225         * string/test-strncasecmp.c (do_one_test): Likewise.
6226         (do_test): Likewise.
6227         * string/test-strncat.c (do_one_test): Likewise.
6228         (do_test): Likewise.
6229         * string/test-strncmp.c (do_one_test): Likewise.
6230         (do_test_limit): Likewise.
6231         (do_test): Likewise.
6232         * string/test-strncpy.c (do_one_test): Likewise.
6233         (do_test): Likewise.
6234         * string/test-strnlen.c (do_one_test): Likewise.
6235         (do_test): Likewise.
6236         * string/test-strpbrk.c (do_one_test): Likewise.
6237         (do_test): Likewise.
6238         * string/test-strrchr.c (do_one_test): Likewise.
6239         (do_test): Likewise.
6240         * string/test-strspn.c (do_one_test): Likewise.
6241         (do_test): Likewise.
6242         * string/test-strstr.c (do_one_test): Likewise.
6243         (do_test): Likewise.
6245         * benchtests/Makefile (string-bench): Add string benchmarks.
6246         * benchtests/bench-bcopy-ifunc.c: New file.
6247         * benchtests/bench-bcopy.c: New file.
6248         * benchtests/bench-bzero-ifunc.c: New file.
6249         * benchtests/bench-bzero.c: New file.
6250         * benchtests/bench-memccpy-ifunc.c: New file.
6251         * benchtests/bench-memccpy.c: New file.
6252         * benchtests/bench-memchr-ifunc.c: New file.
6253         * benchtests/bench-memchr.c: New file.
6254         * benchtests/bench-memcmp-ifunc.c: New file.
6255         * benchtests/bench-memcmp.c: New file.
6256         * benchtests/bench-memmem-ifunc.c: New file.
6257         * benchtests/bench-memmem.c: New file.
6258         * benchtests/bench-memmove-ifunc.c: New file.
6259         * benchtests/bench-memmove.c: New file.
6260         * benchtests/bench-mempcpy-ifunc.c: New file.
6261         * benchtests/bench-mempcpy.c: New file.
6262         * benchtests/bench-memset-ifunc.c: New file.
6263         * benchtests/bench-memset.c: New file.
6264         * benchtests/bench-rawmemchr-ifunc.c: New file.
6265         * benchtests/bench-rawmemchr.c: New file.
6266         * benchtests/bench-stpcpy-ifunc.c: New file.
6267         * benchtests/bench-stpcpy.c: New file.
6268         * benchtests/bench-stpncpy-ifunc.c: New file.
6269         * benchtests/bench-stpncpy.c: New file.
6270         * benchtests/bench-strcasecmp-ifunc.c: New file.
6271         * benchtests/bench-strcasecmp.c: New file.
6272         * benchtests/bench-strcasestr-ifunc.c: New file.
6273         * benchtests/bench-strcasestr.c: New file.
6274         * benchtests/bench-strcat-ifunc.c: New file.
6275         * benchtests/bench-strcat.c: New file.
6276         * benchtests/bench-strchr-ifunc.c: New file.
6277         * benchtests/bench-strchr.c: New file.
6278         * benchtests/bench-strchrnul-ifunc.c: New file.
6279         * benchtests/bench-strchrnul.c: New file.
6280         * benchtests/bench-strcmp-ifunc.c: New file.
6281         * benchtests/bench-strcmp.c: New file.
6282         * benchtests/bench-strcpy-ifunc.c: New file.
6283         * benchtests/bench-strcpy.c: New file.
6284         * benchtests/bench-strcspn-ifunc.c: New file.
6285         * benchtests/bench-strcspn.c: New file.
6286         * benchtests/bench-strlen-ifunc.c: New file.
6287         * benchtests/bench-strlen.c: New file.
6288         * benchtests/bench-strncasecmp-ifunc.c: New file.
6289         * benchtests/bench-strncasecmp.c: New file.
6290         * benchtests/bench-strncat-ifunc.c: New file.
6291         * benchtests/bench-strncat.c: New file.
6292         * benchtests/bench-strncmp-ifunc.c: New file.
6293         * benchtests/bench-strncmp.c: New file.
6294         * benchtests/bench-strncpy-ifunc.c: New file.
6295         * benchtests/bench-strncpy.c: New file.
6296         * benchtests/bench-strnlen-ifunc.c: New file.
6297         * benchtests/bench-strnlen.c: New file.
6298         * benchtests/bench-strpbrk-ifunc.c: New file.
6299         * benchtests/bench-strpbrk.c: New file.
6300         * benchtests/bench-strrchr-ifunc.c: New file.
6301         * benchtests/bench-strrchr.c: New file.
6302         * benchtests/bench-strspn-ifunc.c: New file.
6303         * benchtests/bench-strspn.c: New file.
6304         * benchtests/bench-strstr-ifunc.c: New file.
6305         * benchtests/bench-strstr.c: New file.
6307         * benchtests/Makefile: Disable parallel execution of targets.
6308         (string-bench): Add memcpy.
6309         (benchset): New variable to store a list of benchmark sets.
6310         (bench-func): Renamed from bench.
6311         (bench-set): New target.
6312         (bench): Depend on bench-func and bench-set.
6313         * benchtests/README: Add section on benchmark sets.
6314         * benchtests/bench-memcpy-ifunc.c: New file.
6315         * benchtests/bench-memcpy.c: New file.
6316         * benchtests/bench-string.h: New file.
6318 2013-06-11  Andreas Schwab  <schwab@suse.de>
6320         [BZ #15577]
6321         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6322         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6323         values in the triple.
6324         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6325         terminator in the group key.
6327 2013-06-11  Andreas Jaeger  <aj@suse.de>
6329         * po/zh_TW.po: Update Chinese (traditional) translation from
6330         translation project.
6332 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6334         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6335         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6336         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6337         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6338         (clock_getcpuclockid): Likewise.
6339         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6340         Add weak_alias and libc_hidden_def.
6341         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6342         * rt/clock_gettime.c (clock_gettime): Rename to
6343         __clock_gettime.  Add weak_alias and libc_hidden_def.
6344         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6345         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6346         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6347         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6348         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6349         Likewise.
6350         * rt/clock_settime.c (clock_settime): Rename to
6351         __clock_settime.  Add weak_alias and libc_hidden_def.
6352         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6354 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6356         * mach/err_boot.sub: Remove trailing whitespace.
6357         * mach/err_ipc.sub: Likewise.
6358         * mach/err_mach.sub: Likewise.
6360         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6361         (ROUNDING_TESTS_double): Likewise.
6362         (ROUNDING_TESTS_long_double): Likewise.
6363         (ROUNDING_TESTS): Likewise.
6364         * math/libm-test.inc: Include <math-tests.h>.
6365         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6366         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6367         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6368         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6370 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6372         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6373         of assigning.
6375 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6377         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6378         otherwise empty TRANS lines.
6379         * sysdeps/gnu/errlist.c: Regenerated.
6381         * catgets/gencat.c (error_print): Use (void) in function
6382         definition.
6383         * crypt/crypt_util.c (__init_des): Likewise.
6384         * crypt/speeds.c (Stop): Likewise.
6385         (main): Likewise.
6386         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6387         * inet/ruserpass.c (token): Likewise.
6388         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6389         * intl/localealias.c (extend_alias_table): Likewise.
6390         * intl/plural-exp.c (init_germanic_plural): Likewise.
6391         * libio/fcloseall.c (__fcloseall): Likewise.
6392         * libio/genops.c (_IO_flush_all): Likewise.
6393         (_IO_flush_all_linebuffered): Likewise.
6394         (_IO_cleanup): Likewise.
6395         (_IO_iter_begin): Likewise.
6396         (_IO_iter_end): Likewise.
6397         (_IO_list_lock): Likewise.
6398         (_IO_list_unlock): Likewise.
6399         (_IO_list_resetlock): Likewise.
6400         * libio/getchar.c (getchar): Likewise.
6401         * libio/getchar_u.c (getchar_unlocked): Likewise.
6402         * libio/getwchar.c (getwchar): Likewise.
6403         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6404         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6405         * login/getpt.c (__getpt): Likewise.
6406         * login/tst-utmp.c (main): Likewise.
6407         * malloc/hooks.c (__malloc_check_init): Likewise.
6408         * malloc/malloc.c (__malloc_stats): Likewise.
6409         * malloc/mtrace.c (tr_break): Likewise.
6410         (mtrace): Likewise.
6411         (muntrace): Likewise.
6412         * misc/fstab.c (endfsent): Likewise.
6413         * misc/getclktck.c (__getclktck): Likewise.
6414         * misc/getdtsz.c (__getdtablesize): Likewise.
6415         * misc/gethostid.c (gethostid): Likewise.
6416         * misc/getpagesize.c (__getpagesize): Likewise.
6417         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6418         (__get_nprocs): Likewise.
6419         (__get_phys_pages): Likewise.
6420         (__get_avphys_pages): Likewise.
6421         * misc/getttyent.c (getttyent): Likewise.
6422         (setttyent): Likewise.
6423         (endttyent): Likewise.
6424         * misc/getusershell.c (getusershell): Likewise.
6425         (endusershell): Likewise.
6426         (setusershell): Likewise.
6427         (initshells): Likewise.
6428         * misc/hsearch.c (__hdestroy): Likewise.
6429         * misc/sync.c (sync): Likewise.
6430         * misc/syslog.c (closelog_internal): Likewise.
6431         (closelog): Likewise.
6432         * misc/ttyslot.c (ttyslot): Likewise.
6433         * misc/vhangup.c (vhangup): Likewise.
6434         * posix/fork.c (__fork): Likewise.
6435         * posix/getegid.c (__getegid): Likewise.
6436         * posix/geteuid.c (__geteuid): Likewise.
6437         * posix/getgid.c (__getgid): Likewise.
6438         * posix/getpid.c (__getpid): Likewise.
6439         * posix/getppid.c (__getppid): Likewise.
6440         * posix/getuid.c (__getuid): Likewise.
6441         * posix/pause.c (pause): Likewise.
6442         * posix/setpgrp.c (setpgrp): Likewise.
6443         * posix/setsid.c (__setsid): Likewise.
6444         * posix/test-vfork.c (noop): Likewise.
6445         * resolv/gethnamaddr.c (_endhtent): Likewise.
6446         (_gethtent): Likewise.
6447         (ht_endhostent): Likewise.
6448         (gethostent): Likewise.
6449         (dns_service): Likewise.
6450         * stdlib/drand48.c (drand48): Likewise.
6451         * stdlib/lrand48.c (lrand48): Likewise.
6452         * stdlib/mrand48.c (mrand48): Likewise.
6453         * stdlib/rand.c (rand): Likewise.
6454         * stdlib/random.c (__random): Likewise.
6455         * stdlib/setenv.c (clearenv): Likewise.
6456         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6457         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6458         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6459         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6460         (__get_nprocs): Likewise.
6461         (__get_phys_pages): Likewise.
6462         (__get_avphys_pages): Likewise.
6463         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6464         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6465         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6466         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6467         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6468         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6469         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6470         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6471         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6472         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6473         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6474         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6475         * sysdeps/posix/clock.c (clock): Likewise.
6476         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6477         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6478         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6479         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6480         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6481         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6482         (__get_nprocs_conf): Likewise.
6483         (__get_phys_pages): Likewise.
6484         (__get_avphys_pages): Likewise.
6485         * time/clock.c (clock): Likewise.
6486         * time/tzset.c (__tzname_max): Likewise.
6488 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6490         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6491         (__bswap_32): Do not use "register".
6492         * crypt/crypt.c (_ufc_doit_r): Likewise.
6493         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6494         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6495         * gmon/gmon.c (__monstartup): Likewise.
6496         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6497         * hurd/hurdmalloc.c (more_memory): Likewise.
6498         (malloc): Likewise.
6499         (free): Likewise.
6500         (realloc): Likewise.
6501         (malloc_fork_prepare): Likewise.
6502         (malloc_fork_parent): Likewise.
6503         (malloc_fork_child): Likewise.
6504         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6505         (_svcauth_des): Likewise.
6506         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6507         * inet/inet_net.c (inet_network): Likewise.
6508         * inet/inet_netof.c (inet_netof): Likewise.
6509         * inet/rcmd.c (__validuser2_sa): Likewise.
6510         * io/fts.c (fts_open): Likewise.
6511         (fts_load): Likewise.
6512         (fts_close): Likewise.
6513         (fts_read): Likewise.
6514         (fts_children): Likewise.
6515         (fts_build): Likewise.
6516         (fts_stat): Likewise.
6517         (fts_sort): Likewise.
6518         (fts_alloc): Likewise.
6519         (fts_lfree): Likewise.
6520         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6521         (_IO_file_xsgetn): Likewise.
6522         (_IO_file_xsgetn_mmap): Likewise.
6523         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6524         (_IO_cookie_write): Likewise.
6525         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6526         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6527         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6528         * malloc/obstack.c (_obstack_begin): Likewise.
6529         (_obstack_begin_1): Likewise.
6530         (_obstack_newchunk): Likewise.
6531         (_obstack_allocated_p): Likewise.
6532         (obstack_free): Likewise.
6533         (_obstack_memory_used): Likewise.
6534         * misc/getttyent.c (getttynam): Likewise.
6535         (getttyent): Likewise.
6536         (skip): Likewise.
6537         (value): Likewise.
6538         * misc/getusershell.c (initshells): Likewise.
6539         * misc/syslog.c (__vsyslog_chk): Likewise.
6540         * misc/ttyslot.c (ttyslot): Likewise.
6541         * nis/nis_hash.c (__nis_hash): Likewise.
6542         * posix/fnmatch_loop.c (FCT): Likewise.
6543         * posix/getconf.c (print_all): Likewise.
6544         (main): Likewise.
6545         * posix/getopt.c (exchange): Likewise.
6546         * posix/glob.c (globfree): Likewise.
6547         (prefix_array): Likewise.
6548         (__glob_pattern_type): Likewise.
6549         * resolv/arpa/nameser.h (NS_GET16): Likewise.
6550         (NS_GET32): Likewise.
6551         (NS_PUT16): Likewise.
6552         (NS_PUT32): Likewise.
6553         * resolv/gethnamaddr.c (getanswer): Likewise.
6554         (gethostbyname2): Likewise.
6555         (gethostbyaddr): Likewise.
6556         (_gethtent): Likewise.
6557         (_gethtbyname2): Likewise.
6558         (_gethtbyaddr): Likewise.
6559         * resolv/ns_print.c (dst_s_get_int16): Likewise.
6560         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6561         * resolv/res_init.c (__res_vinit): Likewise.
6562         (net_mask): Likewise.
6563         * resolv/res_mkquery.c (outchar): Likewise.
6564         (PRINT): Likewise.
6565         * stdio-common/printf_fp.c (outchar): Likewise.
6566         (PRINT): Likewise.
6567         * stdio-common/printf_fphex.c (outchar): Likewise.
6568         (PRINT): Likewise.
6569         * stdio-common/printf_size.c (outchar): Likewise.
6570         (PRINT): Likewise.
6571         * stdio-common/test_rdwr.c (main): Likewise.
6572         * stdio-common/tfformat.c (matches): Likewise.
6573         * stdio-common/vfprintf.c (outchar): Likewise.
6574         (printf_unknown): Likewise.
6575         (buffered_vfprintf): Likewise.
6576         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6577         * stdio-common/xbug.c (AppendToBuffer): Likewise.
6578         (ReadFile): Likewise.
6579         * stdlib/qsort.c (SWAP): Likewise.
6580         (_quicksort): Likewise.
6581         * stdlib/setenv.c (__add_to_environ): Likewise.
6582         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6583         * stdlib/strtol_l.c (__strtol_l): Likewise.
6584         * stdlib/tst-strtod.c (main): Likewise.
6585         * stdlib/tst-strtol.c (main): Likewise.
6586         * stdlib/tst-strtoll.c (main): Likewise.
6587         * string/bits/string2.h (__strcmp_cc): Likewise.
6588         (__strcmp_cg): Likewise.
6589         (__strcspn_c1): Likewise.
6590         (__strcspn_c2): Likewise.
6591         (__strcspn_c3): Likewise.
6592         (__strspn_c1): Likewise.
6593         (__strspn_c2): Likewise.
6594         (__strspn_c3): Likewise.
6595         (__strsep_1c): Likewise.
6596         (__strsep_2c): Likewise.
6597         (__strsep_3c): Likewise.
6598         * string/memccpy.c (__memccpy): Likewise.
6599         * string/stpcpy.c (__stpcpy): Likewise.
6600         * string/strcmp.c (strcmp): Likewise.
6601         * string/strrchr.c (strrchr): Likewise.
6602         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6603         Likewise.
6604         * sysdeps/mach/hurd/getcwd.c
6605         (_hurd_canonicalize_directory_name_internal): Likewise.
6606         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6607         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6608         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6609         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6610         Likewise, in both definitions.
6611         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6612         definitions.
6613         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6614         64] (__bswap_64): Likewise.
6615         * time/test_time.c (main): Likewise.
6616         * time/tzfile.c (__tzfile_read): Likewise.
6617         (__tzfile_compute): Likewise.
6618         * time/tzset.c (__tzset_parse_tz): Likewise.
6619         (tzset_internal): Likewise.
6620         (compute_change): Likewise.
6621         * wcsmbs/wcscat.c (__wcscat): Likewise.
6622         * wcsmbs/wcschr.c (wcschr): Likewise.
6623         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6624         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6625         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6626         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6627         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6628         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6629         * wcsmbs/wmemchr.c (wmemchr): Likewise.
6630         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6631         * wcsmbs/wmemset.c (wmemset): Likewise.
6633 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
6635         * scripts/config.guess: Update to version 2013-05-16.
6636         * scripts/config.sub: Update to version 2013-04-24.
6637         * scripts/install-sh: Update to version 2011-11-20.07.
6638         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6639         * scripts/move-if-change: Update to version 2012-01-06 07:23.
6641 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
6643         * debug/fgetws_u_chk.c: Fix leading whitespaces.
6644         * elf/sln.c: Likewise.
6645         * hurd/hurd/ioctl.h: Likewise.
6646         * hurd/hurdmalloc.c: Likewise.
6647         * hurd/xattr.c: Likewise.
6648         * include/shlib-compat.h: Likewise.
6649         * inet/ruserpass.c: Likewise.
6650         * libio/iofgets_u.c: Likewise.
6651         * libio/iofgetws_u.c: Likewise.
6652         * locale/programs/ld-identification.c: Likewise.
6653         * locale/programs/ld-time.c: Likewise.
6654         * mach/msg-destroy.c: Likewise.
6655         * nss/nss_files/files-netgrp.c: Likewise.
6656         * resolv/res_data.c: Likewise.
6657         * soft-fp/op-1.h: Likewise.
6658         * soft-fp/op-2.h: Likewise.
6659         * soft-fp/op-4.h: Likewise.
6660         * soft-fp/op-common.h: Likewise.
6661         * stdio-common/printf_fphex.c: Likewise.
6662         * stdlib/strtod_l.c: Likewise.
6663         * sunrpc/rpc/clnt.h: Likewise.
6664         * sysdeps/generic/framestate.c: Likewise.
6665         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6666         * sysdeps/i386/bsd-setjmp.S: Likewise.
6667         * sysdeps/i386/__longjmp.S: Likewise.
6668         * sysdeps/i386/setjmp.S: Likewise.
6669         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6670         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6671         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6672         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6673         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6674         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6675         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6676         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6677         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6678         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6679         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6680         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6681         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6682         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6683         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6684         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6685         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6686         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6687         * sysdeps/ieee754/support.c: Likewise.
6688         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6689         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6690         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6691         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6692         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6693         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6694         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6695         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6696         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6697         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6698         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6699         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6700         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6701         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6702         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6703         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6704         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6707 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
6709         * posix/transbug.c: Remove executable mode.
6711 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
6713         * crypt/speeds.c: Remove trailing whitespace.
6714         * dlfcn/default.c: Likewise.
6715         * elf/ifuncdep2.c: Likewise.
6716         * elf/ifuncmain1.c: Likewise.
6717         * elf/ifuncmain1vis.c: Likewise.
6718         * elf/testobj.h: Likewise.
6719         * elf/tst-stackguard1.c: Likewise.
6720         * gmon/sys/gmon.h: Likewise.
6721         * hurd/hurdmsg.c: Likewise.
6722         * hurd/new-fd.c: Likewise.
6723         * hurd/ports-get.c: Likewise.
6724         * iconvdata/ibm1008_420.c: Likewise.
6725         * inet/tst-getni1.c: Likewise.
6726         * inet/tst-getni2.c: Likewise.
6727         * libio/ioungetc.c: Likewise.
6728         * libio/wfiledoalloc.c: Likewise.
6729         * manual/libm-err-tab.pl: Likewise.
6730         * math/w_dremf.c: Likewise.
6731         * misc/ftruncate.c: Likewise.
6732         * posix/bug-glob2.c: Likewise.
6733         * posix/tst-pcre.c: Likewise.
6734         * posix/wait4.c: Likewise.
6735         * resolv/README: Likewise.
6736         * resolv/res_debug.h: Likewise.
6737         * resolv/tst-inet_ntop.c: Likewise.
6738         * setjmp/bug269-setjmp.c: Likewise.
6739         * soft-fp/extended.h: Likewise.
6740         * soft-fp/op-1.h: Likewise.
6741         * soft-fp/op-2.h: Likewise.
6742         * soft-fp/op-4.h: Likewise.
6743         * soft-fp/op-8.h: Likewise.
6744         * soft-fp/testit.c: Likewise.
6745         * stdio-common/bug16.c: Likewise.
6746         * stdlib/random.c: Likewise.
6747         * sunrpc/rpcsvc/rquota.x: Likewise.
6748         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6749         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6750         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6751         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6752         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6753         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6754         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6755         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6756         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6757         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6758         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6759         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6760         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6761         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6762         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6763         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6764         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6765         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6766         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6767         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6768         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6769         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6770         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6771         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6772         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6773         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6774         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6775         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6776         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6777         * sysdeps/ieee754/s_lib_version.c: Likewise.
6778         * sysdeps/mach/hurd/check_fds.c: Likewise.
6779         * sysdeps/mach/hurd/getsockname.c: Likewise.
6780         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6781         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6782         * sysdeps/powerpc/bits/link.h: Likewise.
6783         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6784         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6785         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6786         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6787         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6788         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6789         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6790         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6791         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6792         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6793         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6794         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6795         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6796         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6797         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6798         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6799         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6800         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6801         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6802         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6803         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6804         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6805         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6806         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6807         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6808         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6809         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6810         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6811         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6812         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6813         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6814         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6815         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6816         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6817         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6818         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6819         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6820         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6821         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6822         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6823         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6824         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6825         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6826         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6827         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6828         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6829         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6830         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6831         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6832         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6833         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6834         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6835         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6836         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6837         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6838         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6839         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6840         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6841         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6842         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6843         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6844         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6845         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6846         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6847         * sysdeps/powerpc/sysdep.h: Likewise.
6848         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6849         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6850         * sysdeps/sh/dl-trampoline.S: Likewise.
6851         * sysdeps/sh/memset.S: Likewise.
6852         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6853         * sysdeps/sh/strlen.S: Likewise.
6854         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6855         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6856         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6857         * sysdeps/sparc/sparc32/rem.S: Likewise.
6858         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6859         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6860         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6861         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6862         * sysdeps/sparc/sparc32/urem.S: Likewise.
6863         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6864         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6865         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6866         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6867         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6868         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6869         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6870         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6871         * sysdeps/unix/bsd/times.c: Likewise.
6872         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6873         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6877         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6878         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6879         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6880         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6881         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6882         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6883         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6884         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6885         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6886         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6887         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6888         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6889         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6890         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6891         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6892         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6893         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6894         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6895         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6896         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6897         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6898         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6899         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6900         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6901         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6902         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6903         * sysdeps/x86_64/strcspn.S: Likewise.
6905 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6907         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6908         generated file.  Regenerate properly from gen-translit.pl.
6909         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6910         locale/C-translit.h.
6912 2013-06-05  Andreas Schwab  <schwab@suse.de>
6914         [BZ #15100]
6915         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6916         week as 6 instead of -1.
6917         * time/tst-strptime.c (day_tests): Add test case.
6919 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6921         * sysdeps/generic/math_private.h
6922         (libc_feholdexcept_setround_53bit): Replace with
6923         libc_feholdsetround_53bit.
6924         (libc_feupdateenv_53bit): Replace with
6925         libc_feresetround_53bit.
6926         (SET_RESTORE_ROUND_53BIT): Adjust.
6928 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6930         * string/test-strchrnul.c: Add copyright header.
6932         * posix/tst-getaddrinfo4.c: Increase test timeout.
6934 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
6936         [BZ #15536]
6937         * math/libm-test.inc (MAX_EXP): Remove
6938         (MIN_EXP): Define.
6939         (ulp): Use MIN_EXP - MANT_DIG.
6940         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6942 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
6944         * po/be.po: Revert last change.
6945         * po/zh_CN.po: Likewise.
6946         * po/header.pot: Likewise.
6948 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
6950         * Makefile ($(common-objpfx)linkobj/libc.so): Define
6951         link-libc-deps to empty as target-specific variable.
6952         * Makerules (link-libc-args): New variable.
6953         (libc-for-link): Likewise.
6954         (link-libc-deps): Likewise.
6955         (lib%.so): Depend on $(link-libc-deps).  Link with
6956         $(link-libc-args).
6957         (build-module): Link with $(link-libc-args).
6958         (build-module-asneeded): Likewise.
6959         (build-module-helper-objlist): Filter out $(link-libc-deps) from
6960         list of objects.
6961         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6962         target-specific variable.
6963         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6964         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6965         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6966         libc.
6967         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6968         libc and ld.so.
6969         ($(objpfx)libpcprofile.so): Likewise.
6970         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6971         libc_nonshared.a.
6972         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6973         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6974         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6975         $(link-libc-deps).
6976         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6977         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6978         * login/Makefile ($(objpfx)libutil.so): Likewise.
6979         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6980         * math/Makefile ($(objpfx)libm.so): Likewise.
6981         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6982         $(objpfx)libnsl.so): Define libc-for-link as target-specific
6983         variable instead of depending directly on libc.
6984         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6985         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6986         $(link-libc-deps).
6987         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6988         libc.
6989         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6990         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6991         ($(objpfx)libanl.so): Likewise.
6992         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6993         ld.so.
6994         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6995         $(link-libc-deps).
6996         * sysdeps/i386/fpu/Makefile: Remove file.
6997         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6998         ($(objpfx)libm.so): Remove dependency on ld.so.
7000 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7002         [BZ # 15553]
7003         * nis/yp_xdr.c (XDRMAXNAME): Define.
7004         (XDRMAXRECORD): Define.
7005         (xdr_domainname): Use XDRMAXNAME.
7006         (xdr_mapname): Likewise.
7007         (xdr_peername): Likewise.
7008         (xdr_keydat): Use XDRMAXRECORD.
7009         (xdr_valdat): Likewise.
7011 2013-05-30  Jeff Law  <law@redhat.com>
7013         [BZ #14256]
7014         * manual/errno.texi (ESTALE): Update to account for more than
7015         just NFS file systems.
7016         * sysdeps/gnu/errlist.c: Regenerated.
7018 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7020         [BZ #15465]
7021         * elf/Makefile (tests): Add tst-null-argv.
7022         (modules-names):  Add tst-null-argv-lib.
7023         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7024         (tst-null-argv-ENV): Set environment for tst-null-argv.
7025         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7026         (RTLD_PROGNAME): New macro.
7027         * elf/tst-null-argv.c: New test case.
7028         * elf/tst-null-argv-lib.c: Library for test case.
7029         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7030         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7031         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7032         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7033         * elf/dl-init.c (call_init): Likewise.
7034         (_dl_init): Likewise.
7035         * elf/dl-load.c (print_search_path): Likewise.
7036         (_dl_map_object): Likewise.
7037         * elf/dl-lookup.c (do_lookup_x): Likewise.
7038         (add_dependency): Likewise.
7039         (_dl_lookup_symbol_x): Likewise.
7040         (_dl_debug_bindings): Likewise.
7041         * elf/dl-open.c (_dl_show_scope): Likewise.
7042         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7043         * elf/dl-version.c (match_symbol): Likewise.
7044         (_dl_check_map_versions): Likewise.
7045         * elf/rtld.c (dl_main): Likewise.
7046         (print_unresolved): Use RTLD_PROGNAME.
7047         (print_missing_version): Likewise.
7048         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7049         (elf_machine_rela): Likewise.
7050         * sysdeps/powerpc/powerpc32/dl-machine.c
7051         (__process_machine_rela): Likewise.
7052         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7053         Likewise.
7054         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7055         Likewise.
7056         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7057         Likewise.
7058         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7059         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7060         Likewise.
7061         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7062         Likewise.
7063         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7065 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7067         * po/be.po: Add descriptive title.
7068         * po/zh_CN.po: Likewise.
7069         * po/header.pot: Likewise.
7071 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7073         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7074         error message.
7075         (enlarge_archive): Likewise.
7077 2013-05-28  Ben North  <ben@redfrontdoor.org>
7079         * manual/arith.texi (frexp): It is the magnitude of the return
7080         value which lies in [0.5, 1), not the return value itself.
7082 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7086 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7088         * stdio-common/bug26.c (main): Correct fscanf template.
7090         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7091         declare _dl_skip_args.
7093         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7094         Don't declare.
7096         * manual/platform.texi: Add missing @end deftypefun.
7098 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7100         [BZ #15529]
7101         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7102         bit of mantissa of 2^16382.
7103         * math/libm-test.inc (hypot_test_data): Add more tests.
7105         * math/libm-test.inc: Add drem and pow10 to list of tested
7106         functions.
7107         (pow10_test): New function.
7108         (drem_test): Likewise.
7109         (drem_test_tonearest): Likewise.
7110         (drem_test_towardzero): Likewise.
7111         (drem_test_downward): Likewise.
7112         (drem_test_upward): Likewise.
7113         (main): Call the new functions.
7115         * math/libm-test.inc (finite_test_data): Remove.
7116         (finite_test): Run tests from isfinite_test_data.
7117         (gamma_test_data): Remove.
7118         (gamma_test): Run tests from lgamma_test_data.
7119         * sysdeps/i386/fpu/libm-test-ulps: Update.
7120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7122 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7124         * manual/platform.texi: Add PowerPC PPR function set documentation.
7125         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7126         implementation.
7128 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7130         * math/libm-test.inc (MAX_EXP): Define.
7131         (ULPDIFF): Define.
7132         (ulp): New function.
7133         (check_float_internal): Use ULPDIFF.
7134         (cpow_test): Disable failing test.
7135         (check_ulp): Test ulp() implemetnation.
7136         (main): Call check_ulp before starting tests.
7138 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7140         * math/gen-libm-test.pl (generate_testfile): Do not handle
7141         START_DATA and END_DATA.
7142         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7143         END_DATA.
7144         (acos_tonearest_test_data): Likewise.
7145         (acos_towardzero_test_data): Likewise.
7146         (acos_downward_test_data): Likewise.
7147         (acos_upward_test_data): Likewise.
7148         (acosh_test_data): Likewise.
7149         (asin_test_data): Likewise.
7150         (asin_tonearest_test_data): Likewise.
7151         (asin_towardzero_test_data): Likewise.
7152         (asin_downward_test_data): Likewise.
7153         (asin_upward_test_data): Likewise.
7154         (asinh_test_data): Likewise.
7155         (atan_test_data): Likewise.
7156         (atanh_test_data): Likewise.
7157         (atan2_test_data): Likewise.
7158         (cabs_test_data): Likewise.
7159         (cacos_test_data): Likewise.
7160         (cacosh_test_data): Likewise.
7161         (carg_test_data): Likewise.
7162         (casin_test_data): Likewise.
7163         (casinh_test_data): Likewise.
7164         (catan_test_data): Likewise.
7165         (catanh_test_data): Likewise.
7166         (cbrt_test_data): Likewise.
7167         (ccos_test_data): Likewise.
7168         (ccosh_test_data): Likewise.
7169         (ceil_test_data): Likewise.
7170         (cexp_test_data): Likewise.
7171         (cimag_test_data): Likewise.
7172         (clog_test_data): Likewise.
7173         (clog10_test_data): Likewise.
7174         (conj_test_data): Likewise.
7175         (copysign_test_data): Likewise.
7176         (cos_test_data): Likewise.
7177         (cos_tonearest_test_data): Likewise.
7178         (cos_towardzero_test_data): Likewise.
7179         (cos_downward_test_data): Likewise.
7180         (cos_upward_test_data): Likewise.
7181         (cosh_test_data): Likewise.
7182         (cosh_tonearest_test_data): Likewise.
7183         (cosh_towardzero_test_data): Likewise.
7184         (cosh_downward_test_data): Likewise.
7185         (cosh_upward_test_data): Likewise.
7186         (cpow_test_data): Likewise.
7187         (cproj_test_data): Likewise.
7188         (creal_test_data): Likewise.
7189         (csin_test_data): Likewise.
7190         (csinh_test_data): Likewise.
7191         (csqrt_test_data): Likewise.
7192         (ctan_test_data): Likewise.
7193         (ctan_tonearest_test_data): Likewise.
7194         (ctan_towardzero_test_data): Likewise.
7195         (ctan_downward_test_data): Likewise.
7196         (ctan_upward_test_data): Likewise.
7197         (ctanh_test_data): Likewise.
7198         (ctanh_tonearest_test_data): Likewise.
7199         (ctanh_towardzero_test_data): Likewise.
7200         (ctanh_downward_test_data): Likewise.
7201         (ctanh_upward_test_data): Likewise.
7202         (erf_test_data): Likewise.
7203         (erfc_test_data): Likewise.
7204         (exp_test_data): Likewise.
7205         (exp_tonearest_test_data): Likewise.
7206         (exp_towardzero_test_data): Likewise.
7207         (exp_downward_test_data): Likewise.
7208         (exp_upward_test_data): Likewise.
7209         (exp10_test_data): Likewise.
7210         (exp2_test_data): Likewise.
7211         (expm1_test_data): Likewise.
7212         (fabs_test_data): Likewise.
7213         (fdim_test_data): Likewise.
7214         (finite_test_data): Likewise.
7215         (floor_test_data): Likewise.
7216         (fma_test_data): Likewise.
7217         (fma_towardzero_test_data): Likewise.
7218         (fma_downward_test_data): Likewise.
7219         (fma_upward_test_data): Likewise.
7220         (fmax_test_data): Likewise.
7221         (fmin_test_data): Likewise.
7222         (fmod_test_data): Likewise.
7223         (fpclassify_test_data): Likewise.
7224         (frexp_test_data): Likewise.
7225         (gamma_test_data): Likewise.
7226         (hypot_test_data): Likewise.
7227         (ilogb_test_data): Likewise.
7228         (isfinite_test_data): Likewise.
7229         (isgreater_test_data): Likewise.
7230         (isgreaterequal_test_data): Likewise.
7231         (isinf_test_data): Likewise.
7232         (isless_test_data): Likewise.
7233         (islessequal_test_data): Likewise.
7234         (islessgreater_test_data): Likewise.
7235         (isnan_test_data): Likewise.
7236         (isnormal_test_data): Likewise.
7237         (issignaling_test_data): Likewise.
7238         (isunordered_test_data): Likewise.
7239         (j0_test_data): Likewise.
7240         (j1_test_data): Likewise.
7241         (jn_test_data): Likewise.
7242         (ldexp_test_data): Likewise.
7243         (lgamma_test_data): Likewise.
7244         (lrint_test_data): Likewise.
7245         (lrint_tonearest_test_data): Likewise.
7246         (lrint_towardzero_test_data): Likewise.
7247         (lrint_downward_test_data): Likewise.
7248         (lrint_upward_test_data): Likewise.
7249         (llrint_test_data): Likewise.
7250         (llrint_tonearest_test_data): Likewise.
7251         (llrint_towardzero_test_data): Likewise.
7252         (llrint_downward_test_data): Likewise.
7253         (llrint_upward_test_data): Likewise.
7254         (log_test_data): Likewise.
7255         (log10_test_data): Likewise.
7256         (log1p_test_data): Likewise.
7257         (log2_test_data): Likewise.
7258         (logb_test_data): Likewise.
7259         (logb_downward_test_data): Likewise.
7260         (lround_test_data): Likewise.
7261         (llround_test_data): Likewise.
7262         (modf_test_data): Likewise.
7263         (nearbyint_test_data): Likewise.
7264         (nextafter_test_data): Likewise.
7265         (nexttoward_test_data): Likewise.
7266         (pow_test_data): Likewise.
7267         (pow_tonearest_test_data): Likewise.
7268         (pow_towardzero_test_data): Likewise.
7269         (pow_downward_test_data): Likewise.
7270         (pow_upward_test_data): Likewise.
7271         (remainder_test_data): Likewise.
7272         (remainder_tonearest_test_data): Likewise.
7273         (remainder_towardzero_test_data): Likewise.
7274         (remainder_downward_test_data): Likewise.
7275         (remainder_upward_test_data): Likewise.
7276         (remquo_test_data): Likewise.
7277         (rint_test_data): Likewise.
7278         (rint_tonearest_test_data): Likewise.
7279         (rint_towardzero_test_data): Likewise.
7280         (rint_downward_test_data): Likewise.
7281         (rint_upward_test_data): Likewise.
7282         (round_test_data): Likewise.
7283         (scalb_test_data): Likewise.
7284         (scalbn_test_data): Likewise.
7285         (scalbln_test_data): Likewise.
7286         (signbit_test_data): Likewise.
7287         (sin_test_data): Likewise.
7288         (sin_tonearest_test_data): Likewise.
7289         (sin_towardzero_test_data): Likewise.
7290         (sin_downward_test_data): Likewise.
7291         (sin_upward_test_data): Likewise.
7292         (sincos_test_data): Likewise.
7293         (sinh_test_data): Likewise.
7294         (sinh_tonearest_test_data): Likewise.
7295         (sinh_towardzero_test_data): Likewise.
7296         (sinh_downward_test_data): Likewise.
7297         (sinh_upward_test_data): Likewise.
7298         (sqrt_test_data): Likewise.
7299         (tan_test_data): Likewise.
7300         (tan_tonearest_test_data): Likewise.
7301         (tan_towardzero_test_data): Likewise.
7302         (tan_downward_test_data): Likewise.
7303         (tan_upward_test_data): Likewise.
7304         (tanh_test_data): Likewise.
7305         (tgamma_test_data): Likewise.
7306         (trunc_test_data): Likewise.
7307         (y0_test_data): Likewise.
7308         (y1_test_data): Likewise.
7309         (yn_test_data): Likewise.
7310         (significand_test_data): Likewise.
7312         * math/gen-libm-test.pl (@functions): Remove variable.
7313         (generate_testfile): Don't handle START and END lines.
7314         * math/libm-test.inc (START): New macro.
7315         (END): Likewise.
7316         (END_COMPLEX): Likewise.
7317         (acos_test): Use END macro without arguments.
7318         (acos_test_tonearest): Likewise.
7319         (acos_test_towardzero): Likewise.
7320         (acos_test_downward): Likewise.
7321         (acos_test_upward): Likewise.
7322         (acosh_test): Likewise.
7323         (asin_test): Likewise.
7324         (asin_test_tonearest): Likewise.
7325         (asin_test_towardzero): Likewise.
7326         (asin_test_downward): Likewise.
7327         (asin_test_upward): Likewise.
7328         (asinh_test): Likewise.
7329         (atan_test): Likewise.
7330         (atanh_test): Likewise.
7331         (atan2_test): Likewise.
7332         (cabs_test): Likewise.
7333         (cacos_test): Use END_COMPLEX macro without arguments.
7334         (cacosh_test): Likewise.
7335         (carg_test): Use END macro without arguments.
7336         (casin_test): Use END_COMPLEX macro without arguments.
7337         (casinh_test): Likewise.
7338         (catan_test): Likewise.
7339         (catanh_test): Likewise.
7340         (cbrt_test): Use END macro without arguments.
7341         (ccos_test): Use END_COMPLEX macro without arguments.
7342         (ccosh_test): Likewise.
7343         (ceil_test): Use END macro without arguments.
7344         (cexp_test): Use END_COMPLEX macro without arguments.
7345         (cimag_test): Use END macro without arguments.
7346         (clog_test): Use END_COMPLEX macro without arguments.
7347         (clog10_test): Likewise.
7348         (conj_test): Likewise.
7349         (copysign_test): Use END macro without arguments.
7350         (cos_test): Likewise.
7351         (cos_test_tonearest): Likewise.
7352         (cos_test_towardzero): Likewise.
7353         (cos_test_downward): Likewise.
7354         (cos_test_upward): Likewise.
7355         (cosh_test): Likewise.
7356         (cosh_test_tonearest): Likewise.
7357         (cosh_test_towardzero): Likewise.
7358         (cosh_test_downward): Likewise.
7359         (cosh_test_upward): Likewise.
7360         (cpow_test): Use END_COMPLEX macro without arguments.
7361         (cproj_test): Likewise.
7362         (creal_test): Use END macro without arguments.
7363         (csin_test): Use END_COMPLEX macro without arguments.
7364         (csinh_test): Likewise.
7365         (csqrt_test): Likewise.
7366         (ctan_test): Likewise.
7367         (ctan_test_tonearest): Likewise.
7368         (ctan_test_towardzero): Likewise.
7369         (ctan_test_downward): Likewise.
7370         (ctan_test_upward): Likewise.
7371         (ctanh_test): Likewise.
7372         (ctanh_test_tonearest): Likewise.
7373         (ctanh_test_towardzero): Likewise.
7374         (ctanh_test_downward): Likewise.
7375         (ctanh_test_upward): Likewise.
7376         (erf_test): Use END macro without arguments.
7377         (erfc_test): Likewise.
7378         (exp_test): Likewise.
7379         (exp_test_tonearest): Likewise.
7380         (exp_test_towardzero): Likewise.
7381         (exp_test_downward): Likewise.
7382         (exp_test_upward): Likewise.
7383         (exp10_test): Likewise.
7384         (exp2_test): Likewise.
7385         (expm1_test): Likewise.
7386         (fabs_test): Likewise.
7387         (fdim_test): Likewise.
7388         (finite_test): Likewise.
7389         (floor_test): Likewise.
7390         (fma_test): Likewise.
7391         (fma_test_towardzero): Likewise.
7392         (fma_test_downward): Likewise.
7393         (fma_test_upward): Likewise.
7394         (fmax_test): Likewise.
7395         (fmin_test): Likewise.
7396         (fmod_test): Likewise.
7397         (fpclassify_test): Likewise.
7398         (frexp_test): Likewise.
7399         (gamma_test): Likewise.
7400         (hypot_test): Likewise.
7401         (ilogb_test): Likewise.
7402         (isfinite_test): Likewise.
7403         (isgreater_test): Likewise.
7404         (isgreaterequal_test): Likewise.
7405         (isinf_test): Likewise.
7406         (isless_test): Likewise.
7407         (islessequal_test): Likewise.
7408         (islessgreater_test): Likewise.
7409         (isnan_test): Likewise.
7410         (isnormal_test): Likewise.
7411         (issignaling_test): Likewise.
7412         (isunordered_test): Likewise.
7413         (j0_test): Likewise.
7414         (j1_test): Likewise.
7415         (jn_test): Likewise.
7416         (ldexp_test): Likewise.
7417         (lgamma_test): Likewise.
7418         (lrint_test): Likewise.
7419         (lrint_test_tonearest): Likewise.
7420         (lrint_test_towardzero): Likewise.
7421         (lrint_test_downward): Likewise.
7422         (lrint_test_upward): Likewise.
7423         (llrint_test): Likewise.
7424         (llrint_test_tonearest): Likewise.
7425         (llrint_test_towardzero): Likewise.
7426         (llrint_test_downward): Likewise.
7427         (llrint_test_upward): Likewise.
7428         (log_test): Likewise.
7429         (log10_test): Likewise.
7430         (log1p_test): Likewise.
7431         (log2_test): Likewise.
7432         (logb_test): Likewise.
7433         (logb_test_downward): Likewise.
7434         (lround_test): Likewise.
7435         (llround_test): Likewise.
7436         (modf_test): Likewise.
7437         (nearbyint_test): Likewise.
7438         (nextafter_test): Likewise.
7439         (nexttoward_test): Likewise.
7440         (pow_test): Likewise.
7441         (pow_test_tonearest): Likewise.
7442         (pow_test_towardzero): Likewise.
7443         (pow_test_downward): Likewise.
7444         (pow_test_upward): Likewise.
7445         (remainder_test): Likewise.
7446         (remainder_test_tonearest): Likewise.
7447         (remainder_test_towardzero): Likewise.
7448         (remainder_test_downward): Likewise.
7449         (remainder_test_upward): Likewise.
7450         (remquo_test): Likewise.
7451         (rint_test): Likewise.
7452         (rint_test_tonearest): Likewise.
7453         (rint_test_towardzero): Likewise.
7454         (rint_test_downward): Likewise.
7455         (rint_test_upward): Likewise.
7456         (round_test): Likewise.
7457         (scalb_test): Likewise.
7458         (scalbn_test): Likewise.
7459         (scalbln_test): Likewise.
7460         (signbit_test): Likewise.
7461         (sin_test): Likewise.
7462         (sin_test_tonearest): Likewise.
7463         (sin_test_towardzero): Likewise.
7464         (sin_test_downward): Likewise.
7465         (sin_test_upward): Likewise.
7466         (sincos_test): Likewise.
7467         (sinh_test): Likewise.
7468         (sinh_test_tonearest): Likewise.
7469         (sinh_test_towardzero): Likewise.
7470         (sinh_test_downward): Likewise.
7471         (sinh_test_upward): Likewise.
7472         (sqrt_test): Likewise.
7473         (tan_test): Likewise.
7474         (tan_test_tonearest): Likewise.
7475         (tan_test_towardzero): Likewise.
7476         (tan_test_downward): Likewise.
7477         (tan_test_upward): Likewise.
7478         (tanh_test): Likewise.
7479         (tgamma_test): Likewise.
7480         (trunc_test): Likewise.
7481         (y0_test): Likewise.
7482         (y1_test): Likewise.
7483         (yn_test): Likewise.
7484         (significand_test): Likewise.
7486 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7488         [BZ #15381]
7489         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7491 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7493         [BZ #14894]
7494         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7495         __ppc_mdoio and __ppc_mdoom.
7496         * manual/platform.texi: Document new functions __ppc_yield,
7497         __ppc_mdoio and __ppc_mdoom.
7499 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7501         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7502         (main): Mention "tls" pseudo-hwcap is legacy.
7503         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7505 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7507         * math/gen-libm-test.pl (parse_args): Output only string of
7508         arguments as text for test name, not full call or descriptions of
7509         tests for extra outputs.
7510         (generate_testfile): Do not pass function name to parse_args.
7511         Generate this_func variable from START.
7512         * math/libm-test.inc (struct test_f_f_data): Rename test_name
7513         field to arg_str.
7514         (struct test_ff_f_data): Likewise.
7515         (test_ff_f_data_nexttoward): Likewise.
7516         (struct test_fi_f_data): Likewise.
7517         (struct test_fl_f_data): Likewise.
7518         (struct test_if_f_data): Likewise.
7519         (struct test_fff_f_data): Likewise.
7520         (struct test_c_f_data): Likewise.
7521         (struct test_f_f1_data): Likewise.  Remove field extra_name.
7522         (struct test_fF_f1_data): Likewise.
7523         (struct test_ffI_f1_data): Likewise.
7524         (struct test_c_c_data): Rename test_name field to arg_str.
7525         (struct test_cc_c_data): Likewise.
7526         (struct test_f_i_data): Likewise.
7527         (struct test_ff_i_data): Likewise.
7528         (struct test_f_l_data): Likewise.
7529         (struct test_f_L_data): Likewise.
7530         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
7531         and extra2_name.
7532         (COMMON_TEST_SETUP): New macro.
7533         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7534         (COMMON_TEST_CLEANUP): Likewise.
7535         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7536         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
7537         macros.
7538         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7539         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
7540         macros.
7541         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7542         (RUN_TEST_fff_f): Take argument string.  Call new setup and
7543         cleanup macros.
7544         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7545         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
7546         macros.
7547         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7548         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
7549         macros.
7550         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7551         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
7552         cleanup macros.
7553         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7554         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
7555         cleanup macros.
7556         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7557         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
7558         cleanup macros.
7559         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7560         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
7561         macros.
7562         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7563         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
7564         macros.
7565         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7566         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
7567         macros.
7568         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7569         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
7570         cleanup macros.
7571         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7572         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
7573         cleanup macros.
7574         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7575         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
7576         macros.
7577         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7578         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
7579         cleanup macros.
7580         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7581         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
7582         macros.
7583         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7584         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
7585         macros.
7586         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7587         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
7588         cleanup macros.
7589         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7591 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7593         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7594         to _sifields.sigfault.
7595         (si_addr_lsb): Define new macro.
7596         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7597         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7598         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7600 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
7602         [BZ #15441]
7603         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7604         returns -1.
7605         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7606         null return -1.
7607         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7608         loading the domain.
7610 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7612         * math/gen-libm-test.pl (parse_args): Do not include expected
7613         result in test name.
7614         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7615         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7616         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7617         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7618         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7621 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7623         * benchtests/Makefile: Sort function entries.
7625         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7626         tanh, asinh, acosh, atanh.
7627         * benchtests/acos-inputs: New file.
7628         * benchtests/acosh-inputs: New file.
7629         * benchtests/asin-inputs: New file.
7630         * benchtests/asinh-inputs: New file.
7631         * benchtests/atanh-inputs: New file.
7632         * benchtests/cosh-inputs: New file.
7633         * benchtests/log-inputs: New file.
7634         * benchtests/sinh-inputs: New file.
7635         * benchtests/tanh-inputs: New file.
7637 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
7639         [BZ #15339]
7640         * posix/tst-getaddrinfo4.c: New test.
7641         * posix/Makefile (tests): Add it.
7643 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7645         [BZ #15339]
7646         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7647         when no services were used.
7648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7649         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7651 2013-05-21  Andreas Schwab  <schwab@suse.de>
7653         [BZ #15014]
7654         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7655         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7656         successful.
7657         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7658         redundant variable declarations and reallocation of buffer when
7659         parsing as IPv6 address.  Always set NSS status when called from
7660         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
7661         buffer too small.  Correct computation of needed size.
7662         * nss/Makefile (tests): Add test-digits-dots.
7663         * nss/test-digits-dots.c: New test.
7665 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7667         * benchtests/Makefile: Remove instructions for adding
7668         benchmark tests.
7669         * benchtests/README: New file to explain how to execute and
7670         enhance the benchmark tests.
7672 2013-05-21  Andreas Schwab  <schwab@suse.de>
7674         [BZ #15493]
7675         * setjmp/Makefile (tests): Add tst-sigsetjmp.
7676         * setjmp/tst-sigsetjmp.c: New test.
7678 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7680         * sysdeps/x86_64/memset.S (memset): New implementation.
7681         (__bzero): Likewise.
7682         (__memset_tail): New function.
7684 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7686         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7687         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7688         __memcpy_sse2_unaligned ifunc selection.
7689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7690         Add memcpy-sse2-unaligned.S.
7691         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7692         Add: __memcpy_sse2_unaligned.
7694 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
7696         [BZ #15490]
7697         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7698         math_force_eval before restoring floating-point envrionment.
7699         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7700         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7701         Likewise.
7702         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7703         <math_private.h>.
7704         (__nearbyintl): Use math_force_eval before restoring
7705         floating-point environment.
7706         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7708         * math/gen-libm-test.pl (special_functions): Remove.
7709         (parse_args): Don't handle TEST_extra.  Handle functions with no
7710         return value.
7711         * math/libm-test.inc (struct test_sincos_data): Replace with
7712         struct test_fFF_11_data.
7713         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7714         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7715         (sincos_test_data): Change element type to struct
7716         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
7717         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7718         RUN_TEST_LOOP_sincos.
7719         * math/README.libm-test: Don't mention special handling of
7720         individual functions.
7721         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7722         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7723         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7724         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7725         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7728         * math/gen-libm-test.pl (get_variable): Remove function.
7729         (parse_args): Don't show pointer parameters to call in test
7730         names.  Use "extra output N" in test names for extra outputs
7731         rather than naming variables.
7733 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7735         [BZ #15488]
7736         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7737         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7738         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7739         double tests.
7740         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7741         disable.
7742         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7743         check_long_double.
7745         * math/gen-libm-test.pl (@tests): Remove variable.
7746         ($count): Likewise.
7747         (new_test): Remove function.
7748         (show_exceptions): New function.
7749         (special_functions): Use show_exceptions instead of new_test.
7750         (parse_args): Likewise.
7751         (generate_testfile): Pass only function name in generated call to
7752         print_max_error or print_complex_max_error.
7753         (get_ulps): Do not handle complex tests specially.
7754         (output_test): Rename to ...
7755         (get_all_ulps_for_test): ... this.  Return a string rather than
7756         printing to a file.  Require ulps to be present.
7757         (output_ulps): Generate arrays rather than #defines.
7758         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7759         (struct ulp_data): New type.
7760         (BUILD_COMPLEX_ULP): Remove macro.
7761         (compare_ulp_data): New function.
7762         (find_ulps): Likewise.
7763         (find_test_ulps): Likewise.
7764         (find_function_ulps): Likewise.
7765         (find_complex_function_ulps): Likewise.
7766         (print_max_error): Determine allowed ulps using
7767         find_function_ulps.
7768         (print_complex_max_error): Determine allowed ulps using
7769         find_complex_function_ulps.
7770         (check_float_internal): Determine max ulps using find_test_ulps.
7771         (check_float): Do not take max_ulp parameter.  Update call to
7772         check_float_internal.
7773         (check_complex): Likewise.
7774         (check_int): Do not take max_ulp parameter.
7775         (check_long): Likewise.
7776         (check_bool): Likewise.
7777         (check_longlong): Likewise.
7778         (struct test_f_f_data): Remove max_ulp field.
7779         (struct test_ff_f_data): Likewise.
7780         (struct test_ff_f_data_nexttoward): Likewise.
7781         (struct test_fi_f_data): Likewise.
7782         (struct test_fl_f_data): Likewise.
7783         (struct test_if_f_data): Likewise.
7784         (struct test_fff_f_data): Likewise.
7785         (struct test_c_f_data): Likewise.
7786         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7787         (struct test_fF_f1_data): Likewise.
7788         (struct test_ffI_f1_data): Likewise.
7789         (struct test_c_c_data): Remove max_ulp field.
7790         (struct test_cc_c_data): Likewise.
7791         (struct test_f_i_data): Likewise.
7792         (struct test_ff_i_data): Likewise.
7793         (struct test_f_l_data): Likewise.
7794         (struct test_f_L_data): Likewise.
7795         (struct test_sincos_data): Likewise.
7796         (RUN_TEST_f_f): Do not handle ulps.
7797         (RUN_TEST_LOOP_f_f): Likewise.
7798         (RUN_TEST_2_f): Likewise.
7799         (RUN_TEST_LOOP_2_f): Likewise.
7800         (RUN_TEST_fff_f): Likewise.
7801         (RUN_TEST_LOOP_fff_f): Likewise.
7802         (RUN_TEST_c_f): Likewise.
7803         (RUN_TEST_LOOP_c_f): Likewise.
7804         (RUN_TEST_f_f1): Likewise.
7805         (RUN_TEST_LOOP_f_f1): Likewise.
7806         (RUN_TEST_fF_f1): Likewise.
7807         (RUN_TEST_LOOP_fF_f1): Likewise.
7808         (RUN_TEST_fI_f1): Likewise.
7809         (RUN_TEST_LOOP_fI_f1): Likewise.
7810         (RUN_TEST_ffI_f1): Likewise.
7811         (RUN_TEST_LOOP_ffI_f1): Likewise.
7812         (RUN_TEST_c_c): Likewise.
7813         (RUN_TEST_LOOP_c_c): Likewise.
7814         (RUN_TEST_cc_c): Likewise.
7815         (RUN_TEST_LOOP_cc_c): Likewise.
7816         (RUN_TEST_f_i): Likewise.
7817         (RUN_TEST_LOOP_f_i): Likewise.
7818         (RUN_TEST_f_i_tg): Likewise.
7819         (RUN_TEST_LOOP_f_i_tg): Likewise.
7820         (RUN_TEST_ff_i_tg): Likewise.
7821         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7822         (RUN_TEST_f_b): Likewise.
7823         (RUN_TEST_LOOP_f_b): Likewise.
7824         (RUN_TEST_f_b_tg): Likewise.
7825         (RUN_TEST_LOOP_f_b_tg): Likewise.
7826         (RUN_TEST_f_l): Likewise.
7827         (RUN_TEST_LOOP_f_l): Likewise.
7828         (RUN_TEST_f_L): Likewise.
7829         (RUN_TEST_LOOP_f_L): Likewise.
7830         (RUN_TEST_sincos): Likewise.
7831         (RUN_TEST_LOOP_sincos): Likewise.
7833 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7835         [BZ #15480]
7836         [BZ #15485]
7837         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7838         main case of finite arguments, set rounding mode to FE_TONEAREST
7839         and discard exceptions.
7840         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7841         exceptions.
7842         (remainder_tonearest_test_data): New variable.
7843         (remainder_test_tonearest): New function.
7844         (remainder_towardzero_test_data): New variable.
7845         (remainder_test_towardzero): New function.
7846         (remainder_downward_test_data): New variable.
7847         (remainder_test_downward): New function.
7848         (remainder_upward_test_data): New variable.
7849         (remainder_test_upward): New function.
7850         (main): Call the new test functions.
7852         * math/libm-test.inc (struct test_f_f1_data): Remove field
7853         extra_init.
7854         (struct test_fF_f1_data): Likewise.
7855         (struct test_ffI_f1_data): Likewise.
7856         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7857         based on value of EXTRA_EXPECTED.
7858         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7859         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7860         EXTRA_VAR based on value of EXTRA_EXPECTED.
7861         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7862         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7863         EXTRA_VAR based on value of EXTRA_EXPECTED.
7864         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7865         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7866         EXTRA_VAR based on value of EXTRA_EXPECTED.
7867         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7868         * math/gen-libm-test.pl (parse_args): Don't output initializers
7869         for extra output values.
7871         * math/libm-test.inc (check_int): Expect result to be exactly
7872         equal to expected value and do not handle ulps.
7873         (check_long): Likewise.
7874         (check_longlong): Likewise.
7876         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7877         exceptions.
7878         (cimag_test_data): Likewise.
7879         (conj_test_data): Likewise.
7880         (copysign_test_data): Likewise.
7881         (cproj_test_data): Likewise.
7882         (creal_test_data): Likewise.
7883         (fabs_test_data): Likewise.
7884         (fdim_test_data): Likewise.
7885         (finite_test_data): Likewise.
7886         (floor_test_data): Likewise.
7887         (fmax_test_data): Likewise.
7888         (fmin_test_data): Likewise.
7889         (fmod_test_data): Likewise.
7890         (fpclassify_test_data): Likewise.
7891         (frexp_test_data): Likewise.
7892         (ilogb_test_data): Likewise.
7893         (isfinite_test_data): Likewise.
7894         (isgreater_test_data): Likewise.
7895         (isgreaterequal_test_data): Likewise.
7896         (isinf_test_data): Likewise.
7897         (isless_test_data): Likewise.
7898         (islessequal_test_data): Likewise.
7899         (islessgreater_test_data): Likewise.
7900         (isnan_test_data): Likewise.
7901         (isnormal_test_data): Likewise.
7902         (issignaling_test_data): Likewise.
7903         (isunordered_test_data): Likewise.
7904         (ldexp_test_data): Likewise.
7905         (lrint_test_data): Likewise.
7906         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7907         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7908         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7909         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7910         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7911         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7912         test input.
7913         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7914         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7915         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7916         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7917         that test input.
7918         (lrint_downward_test_data): Test for "inexact" exceptions.
7919         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7920         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7921         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7922         test input.
7923         (lrint_upward_test_data): Test for "inexact" exceptions.
7924         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7925         test input.
7926         (llrint_test_data): Test for "inexact" exceptions.
7927         (llrint_test_data) [TEST_FLOAT]: Disable one test.
7928         (llrint_tonearest_test_data): Test for "inexact" exceptions.
7929         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7930         (llrint_towardzero_test_data): Test for "inexact" exceptions.
7931         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7932         (llrint_downward_test_data): Test for "inexact" exceptions.
7933         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7934         (llrint_upward_test_data): Test for "inexact" exceptions.
7935         (logb_test_data): Likewise.
7936         (logb_downward_test_data): Likewise.
7937         (nextafter_test_data): Likewise.
7938         (nexttoward_test_data): Likewise.
7939         (remainder_test_data): Likewise.
7940         (remquo_test_data): Likewise.
7941         (scalbn_test_data): Likewise.
7942         (scalbln_test_data): Likewise.
7943         (signbit_test_data): Likewise.
7944         (sqrt_test_data): Likewise.
7945         (significand_test_data): Likewise.
7947 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7949         [BZ #15424]
7950         * benchtests/bench-modf.c (struct args): Mark arg0 as
7951         volatile.
7952         * scripts/bench.pl: Mark members of struct args as volatile.
7954 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7956         [BZ # 15497]
7957         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7958         negative infinity on POWER6 or lower.
7959         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7961 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7963         [BZ #15442]
7964         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7965         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7966         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7967         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7968         (_FP_SETQNAN): New macro.
7969         (_FP_SETQNAN_SEMIRAW): Likewise.
7970         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7971         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7972         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7973         (FP_EXTEND): Use _FP_FRAC_SNANP.
7974         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7975         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7976         into account.
7977         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7978         New macro.
7979         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7980         Likewise.
7982 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7984         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7985         with DIVIDE_BY_ZERO_EXCEPTION.
7986         (gamma_test_data): Likewise.
7987         (lgamma_test_data): Likewise.
7988         (log_test_data): Likewise.
7989         (log10_test_data): Likewise.
7990         (log2_test_data): Likewise.
7991         (tgamma_test_data): Likewise.
7993         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7994         (acos_test_tonearest): Likewise.
7995         (acos_test_towardzero): Likewise.
7996         (acos_test_downward): Likewise.
7997         (acos_test_upward): Likewise.
7998         (acosh_test): Likewise.
7999         (asin_test): Likewise.
8000         (asin_test_tonearest): Likewise.
8001         (asin_test_towardzero): Likewise.
8002         (asin_test_downward): Likewise.
8003         (asin_test_upward): Likewise.
8004         (asinh_test): Likewise.
8005         (atan_test): Likewise.
8006         (atanh_test): Likewise.
8007         (atan2_test): Likewise.
8008         (cabs_test): Likewise.
8009         (cacos_test): Likewise.
8010         (cacosh_test): Likewise.
8011         (casin_test): Likewise.
8012         (casinh_test): Likewise.
8013         (catan_test): Likewise.
8014         (catanh_test): Likewise.
8015         (cbrt_test): Likewise.
8016         (ccos_test): Likewise.
8017         (ccosh_test): Likewise.
8018         (cexp_test): Likewise.
8019         (clog_test): Likewise.
8020         (clog10_test): Likewise.
8021         (cos_test): Likewise.
8022         (cos_test_tonearest): Likewise.
8023         (cos_test_towardzero): Likewise.
8024         (cos_test_downward): Likewise.
8025         (cos_test_upward): Likewise.
8026         (cosh_test): Likewise.
8027         (cosh_test_tonearest): Likewise.
8028         (cosh_test_towardzero): Likewise.
8029         (cosh_test_downward): Likewise.
8030         (cosh_test_upward): Likewise.
8031         (cpow_test): Likewise.
8032         (csin_test): Likewise.
8033         (csinh_test): Likewise.
8034         (csqrt_test): Likewise.
8035         (ctan_test): Likewise.
8036         (ctan_test_tonearest): Likewise.
8037         (ctan_test_towardzero): Likewise.
8038         (ctan_test_downward): Likewise.
8039         (ctan_test_upward): Likewise.
8040         (ctanh_test): Likewise.
8041         (ctanh_test_tonearest): Likewise.
8042         (ctanh_test_towardzero): Likewise.
8043         (ctanh_test_downward): Likewise.
8044         (ctanh_test_upward): Likewise.
8045         (erf_test): Likewise.
8046         (erfc_test): Likewise.
8047         (exp_test): Likewise.
8048         (exp_test_tonearest): Likewise.
8049         (exp_test_towardzero): Likewise.
8050         (exp_test_downward): Likewise.
8051         (exp_test_upward): Likewise.
8052         (exp10_test): Likewise.
8053         (exp2_test): Likewise.
8054         (expm1_test): Likewise.
8055         (fmod_test): Likewise.
8056         (gamma_test): Likewise.
8057         (hypot_test): Likewise.
8058         (j0_test): Likewise.
8059         (j1_test): Likewise.
8060         (jn_test): Likewise.
8061         (lgamma_test): Likewise.
8062         (log_test): Likewise.
8063         (log10_test): Likewise.
8064         (log1p_test): Likewise.
8065         (log2_test): Likewise.
8066         (logb_test_downward): Likewise.
8067         (pow_test): Likewise.
8068         (pow_test_tonearest): Likewise.
8069         (pow_test_towardzero): Likewise.
8070         (pow_test_downward): Likewise.
8071         (pow_test_upward): Likewise.
8072         (remainder_test): Likewise.
8073         (remquo_test): Likewise.
8074         (sin_test): Likewise.
8075         (sin_test_tonearest): Likewise.
8076         (sin_test_towardzero): Likewise.
8077         (sin_test_downward): Likewise.
8078         (sin_test_upward): Likewise.
8079         (sincos_test): Likewise.
8080         (sinh_test): Likewise.
8081         (sinh_test_tonearest): Likewise.
8082         (sinh_test_towardzero): Likewise.
8083         (sinh_test_downward): Likewise.
8084         (sinh_test_upward): Likewise.
8085         (sqrt_test): Likewise.
8086         (tan_test): Likewise.
8087         (tan_test_tonearest): Likewise.
8088         (tan_test_towardzero): Likewise.
8089         (tan_test_downward): Likewise.
8090         (tan_test_upward): Likewise.
8091         (tanh_test): Likewise.
8092         (tgamma_test): Likewise.
8093         (y0_test): Likewise.
8094         (y1_test): Likewise.
8095         (yn_test): Likewise.
8097         * math/gen-libm-test.pl (adjust_arg): Remove function.
8098         (special_function): Remove argument $in_func.  Only handle
8099         generating output for tables of tests, not inside functions.
8100         (parse_args): Likewise.
8101         (generate_testfile): Remove variable $in_func.  Update call to
8102         parse_args.
8103         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8104         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8105         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8106         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8107         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8108         (MAX_VALUE_INIT): Rename macro to max_value.
8109         (MIN_VALUE_INIT): Rename macro to min_value.
8110         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8111         (plus_zero): Remove variable.
8112         (minus_zero): Likewise.
8113         (plus_infty): Likewise.
8114         (minus_infty): Likewise.
8115         (qnan_value): Likewise.
8116         (max_value): Likewise.
8117         (min_value): Likewise.
8118         (min_subnorm_value): Likewise.
8120 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8122         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8123         uint64_t or uint32_t usage.
8124         * crypt/sha256-block.c: Likewise.
8125         * crypt/sha256-crypt.c: Likewise.
8126         * crypt/sha256.c: Likewise.
8127         * crypt/sha512-block.c: Likewise.
8128         * crypt/sha512-crypt.c: Likewise.
8129         * crypt/sha512.c: Likewise.
8130         * debug/backtrace-tst.c: Likewise.
8131         * debug/pcprofiledump.c: Likewise.
8132         * elf/cache.c: Likewise.
8133         * elf/dl-cache.c: Likewise.
8134         * elf/dl-misc.c: Likewise.
8135         * elf/dl-profile.c: Likewise.
8136         * elf/dl-support.c: Likewise.
8137         * elf/ldconfig.c: Likewise.
8138         * elf/sprof.c: Likewise.
8139         * iconv/dummy-repertoire.c: Likewise.
8140         * iconv/iconv_charmap.c: Likewise.
8141         * iconv/skeleton.c: Likewise.
8142         * iconvdata/8bit-generic.c: Likewise.
8143         * iconvdata/cp737.h: Likewise.
8144         * iconvdata/cp775.h: Likewise.
8145         * iconvdata/ibm1008.h: Likewise.
8146         * iconvdata/ibm1025.h: Likewise.
8147         * iconvdata/ibm1046.h: Likewise.
8148         * iconvdata/ibm1097.h: Likewise.
8149         * iconvdata/ibm1112.h: Likewise.
8150         * iconvdata/ibm1122.h: Likewise.
8151         * iconvdata/ibm1123.h: Likewise.
8152         * iconvdata/ibm1124.h: Likewise.
8153         * iconvdata/ibm1129.h: Likewise.
8154         * iconvdata/ibm1130.h: Likewise.
8155         * iconvdata/ibm1132.h: Likewise.
8156         * iconvdata/ibm1133.h: Likewise.
8157         * iconvdata/ibm1137.h: Likewise.
8158         * iconvdata/ibm1140.h: Likewise.
8159         * iconvdata/ibm1141.h: Likewise.
8160         * iconvdata/ibm1142.h: Likewise.
8161         * iconvdata/ibm1143.h: Likewise.
8162         * iconvdata/ibm1144.h: Likewise.
8163         * iconvdata/ibm1145.h: Likewise.
8164         * iconvdata/ibm1146.h: Likewise.
8165         * iconvdata/ibm1147.h: Likewise.
8166         * iconvdata/ibm1148.h: Likewise.
8167         * iconvdata/ibm1149.h: Likewise.
8168         * iconvdata/ibm1153.h: Likewise.
8169         * iconvdata/ibm1154.h: Likewise.
8170         * iconvdata/ibm1155.h: Likewise.
8171         * iconvdata/ibm1156.h: Likewise.
8172         * iconvdata/ibm1157.h: Likewise.
8173         * iconvdata/ibm1158.h: Likewise.
8174         * iconvdata/ibm1160.h: Likewise.
8175         * iconvdata/ibm1161.h: Likewise.
8176         * iconvdata/ibm1162.h: Likewise.
8177         * iconvdata/ibm1163.h: Likewise.
8178         * iconvdata/ibm1164.h: Likewise.
8179         * iconvdata/ibm1166.h: Likewise.
8180         * iconvdata/ibm1167.h: Likewise.
8181         * iconvdata/ibm12712.h: Likewise.
8182         * iconvdata/ibm1390.h: Likewise.
8183         * iconvdata/ibm1399.h: Likewise.
8184         * iconvdata/ibm16804.h: Likewise.
8185         * iconvdata/ibm4517.h: Likewise.
8186         * iconvdata/ibm4899.h: Likewise.
8187         * iconvdata/ibm4909.h: Likewise.
8188         * iconvdata/ibm4971.h: Likewise.
8189         * iconvdata/ibm5347.h: Likewise.
8190         * iconvdata/ibm803.h: Likewise.
8191         * iconvdata/ibm856.h: Likewise.
8192         * iconvdata/ibm901.h: Likewise.
8193         * iconvdata/ibm902.h: Likewise.
8194         * iconvdata/ibm9030.h: Likewise.
8195         * iconvdata/ibm9066.h: Likewise.
8196         * iconvdata/ibm921.h: Likewise.
8197         * iconvdata/ibm922.h: Likewise.
8198         * iconvdata/ibm9448.h: Likewise.
8199         * iconvdata/isiri-3342.h: Likewise.
8200         * iconvdata/jis0201.h: Likewise.
8201         * include/link.h: Likewise.
8202         * include/netdb.h: Likewise.
8203         * inet/check_native.c: Likewise.
8204         * inet/check_pf.c: Likewise.
8205         * inet/getipv4sourcefilter.c: Likewise.
8206         * inet/getnameinfo.c: Likewise.
8207         * inet/getsourcefilter.c: Likewise.
8208         * inet/htonl.c: Likewise.
8209         * inet/setipv4sourcefilter.c: Likewise.
8210         * inet/setsourcefilter.c: Likewise.
8211         * inet/test-inet6_opt.c: Likewise.
8212         * inet/tst-network.c: Likewise.
8213         * locale/C-collate.c: Likewise.
8214         * locale/C-ctype.c: Likewise.
8215         * locale/C-time.c: Likewise.
8216         * locale/C-translit.h: Likewise.
8217         * locale/loadarchive.c: Likewise.
8218         * locale/programs/3level.h: Likewise.
8219         * locale/programs/charmap.c: Likewise.
8220         * locale/programs/charmap.h: Likewise.
8221         * locale/programs/ld-address.c: Likewise.
8222         * locale/programs/ld-collate.c: Likewise.
8223         * locale/programs/ld-ctype.c: Likewise.
8224         * locale/programs/ld-identification.c: Likewise.
8225         * locale/programs/ld-measurement.c: Likewise.
8226         * locale/programs/ld-messages.c: Likewise.
8227         * locale/programs/ld-monetary.c: Likewise.
8228         * locale/programs/ld-name.c: Likewise.
8229         * locale/programs/ld-numeric.c: Likewise.
8230         * locale/programs/ld-paper.c: Likewise.
8231         * locale/programs/ld-telephone.c: Likewise.
8232         * locale/programs/ld-time.c: Likewise.
8233         * locale/programs/linereader.c: Likewise.
8234         * locale/programs/locale.c: Likewise.
8235         * locale/programs/locarchive.c: Likewise.
8236         * locale/programs/locfile.h: Likewise.
8237         * locale/programs/repertoire.c: Likewise.
8238         * locale/programs/simple-hash.c: Likewise.
8239         * locale/programs/simple-hash.h: Likewise.
8240         * malloc/memusage.c: Likewise.
8241         * malloc/memusagestat.c: Likewise.
8242         * nis/nis_defaults.c: Likewise.
8243         * nis/nis_hash.c: Likewise.
8244         * nis/nis_print.c: Likewise.
8245         * nis/nis_xdr.c: Likewise.
8246         * nscd/connections.c: Likewise.
8247         * nscd/hstcache.c: Likewise.
8248         * nscd/nscd_gethst_r.c: Likewise.
8249         * nscd/nscd_getserv_r.c: Likewise.
8250         * nscd/nscd_helper.c: Likewise.
8251         * nscd/servicescache.c: Likewise.
8252         * nss/makedb.c: Likewise.
8253         * nss/nss_db/db-XXX.c: Likewise.
8254         * nss/nss_db/db-initgroups.c: Likewise.
8255         * nss/nss_db/db-netgrp.c: Likewise.
8256         * nss/nss_files/files-network.c: Likewise.
8257         * nss/nss_files/files-parse.c: Likewise.
8258         * posix/bug-regex5.c: Likewise.
8259         * posix/fnmatch_loop.c: Likewise.
8260         * posix/regcomp.c: Likewise.
8261         * posix/regexec.c: Likewise.
8262         * posix/tst-rfc3484-2.c: Likewise.
8263         * posix/tst-rfc3484-3.c: Likewise.
8264         * posix/tst-rfc3484.c: Likewise.
8265         * resolv/nss_dns/dns-canon.c: Likewise.
8266         * resolv/nss_dns/dns-network.c: Likewise.
8267         * resolv/res_init.c: Likewise.
8268         * resolv/res_mkquery.c: Likewise.
8269         * resolv/tst-aton.c: Likewise.
8270         * stdlib/cxa_atexit.c: Likewise.
8271         * stdlib/cxa_finalize.c: Likewise.
8272         * stdlib/gen-fpioconst.c: Likewise.
8273         * stdlib/strtol_l.c: Likewise.
8274         * string/tst-endian.c: Likewise.
8275         * sunrpc/auth_des.c: Likewise.
8276         * sunrpc/clnt_udp.c: Likewise.
8277         * sunrpc/rtime.c: Likewise.
8278         * sunrpc/svcauth_des.c: Likewise.
8279         * sunrpc/xdr.c: Likewise.
8280         * sunrpc/xdr_intXX_t.c: Likewise.
8281         * sunrpc/xdr_rec.c: Likewise.
8282         * sysdeps/generic/ldconfig.h: Likewise.
8283         * sysdeps/generic/ldsodefs.h: Likewise.
8284         * sysdeps/generic/memusage.h: Likewise.
8285         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8286         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8287         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8288         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8289         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8290         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8291         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8292         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8293         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8294         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8295         * sysdeps/posix/getaddrinfo.c: Likewise.
8296         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8297         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8298         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8299         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8300         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8301         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8302         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8303         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8304         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8305         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8306         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8307         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8308         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8309         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8310         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8311         * sysdeps/x86_64/dl-tls.h: Likewise.
8312         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8313         * time/alt_digit.c: Likewise.
8314         * time/era.c: Likewise.
8315         * wcsmbs/tst-c16c32-1.c: Likewise.
8317 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8319         * math/libm-test.inc (struct test_sincos_data): New type.
8320         (RUN_TEST_LOOP_sincos): New macro.
8321         (sincos_test_data): New variable.
8322         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8324 2013-05-16  Richard Henderson  <rth@redhat.com>
8326         * math/atest-exp2.c (LIMB64): New macro.
8327         (CONSTSZ): New macro.
8328         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8329         (hexdig): Move ...
8330         (print_mpn_fp): ... to function scope.
8331         (read_mpn_hex): Remove.
8332         (get_log2): Remove.
8333         (exp2_mpn): Use mp_log2.
8334         (main): Use mp_exp1.
8336 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8338         * math/libm-test.inc: Remove comment about not testing "inexact"
8339         exceptions.
8340         (INEXACT_EXCEPTION): New macro.
8341         (NO_INEXACT_EXCEPTION): Likewise.
8342         (INVALID_EXCEPTION_OK): Update value.
8343         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8344         (OVERFLOW_EXCEPTION_OK): Likewise.
8345         (UNDERFLOW_EXCEPTION_OK): Likewise.
8346         (IGNORE_ZERO_INF_SIGN): Likewise.
8347         (ERRNO_UNCHANGED): Likewise.
8348         (ERRNO_EDOM): Likewise.
8349         (ERRNO_ERANGE): Likewise.
8350         (test_exceptions): Handle testing "inexact" exceptions.
8351         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8352         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8353         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8354         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8355         INEXACT_EXCEPTION.
8356         (rint_towardzero_test_data): Likewise.
8357         (rint_downward_test_data): Likewise.
8358         (rint_upward_test_data): Likewise.
8360         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8361         with OVERFLOW_EXCEPTION.
8362         (exp10_test_data): Likewise.
8363         (exp2_test_data): Likewise.
8364         (expm1_test_data): Likewise.
8365         (lgamma_test_data): Likewise.
8366         (pow_test_data): Likewise.
8367         (tgamma_test_data): Likewise.
8368         (yn_test_data): Remove duplicate test of overflow.
8370         * math/libm-test.inc (struct test_cc_c_data): New type.
8371         (RUN_TEST_LOOP_cc_c): New macro.
8372         (cpow_test_data): New variable.
8373         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8375         * math/libm-test.inc (struct test_f_L_data): New type.
8376         (RUN_TEST_LOOP_f_L): New macro.
8377         (llrint_test_data): New variable.
8378         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8379         (llrint_tonearest_test_data): New variable.
8380         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8381         (llrint_towardzero_test_data): New variable.
8382         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8383         (llrint_downward_test_data): New variable.
8384         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8385         (llrint_upward_test_data): New variable.
8386         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8387         (llround_test_data): New variable.
8388         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8390 2013-05-13  Peter Collingbourne  <pcc@google.com>
8392         * math/atest-exp2.c (get_log2): Remove const attribute.
8394 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8396         * math/libm-test.inc (struct test_f_l_data): New type.
8397         (RUN_TEST_LOOP_f_l): New macro.
8398         (lrint_test_data): New variable.
8399         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8400         (lrint_tonearest_test_data): New variable.
8401         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8402         (lrint_towardzero_test_data): New variable.
8403         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8404         (lrint_downward_test_data): New variable.
8405         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8406         (lrint_upward_test_data): New variable.
8407         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8408         (lround_test_data): New variable.
8409         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8411 2013-05-15  Peter Collingbourne  <pcc@google.com>
8413         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8414         (EXTRACT_WORDS64) Use where appropriate.
8415         (INSERT_WORDS64) Likewise.
8417         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8418         constraints with x constraints.
8419         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8421         * malloc/obstack.c (_obstack_compat): Add initializer.
8423 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8425         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8426         si_trapno and add si_addr_lsb to _sifields.sigfault.
8427         (si_trapno): Remove macro.
8428         (si_addr_lsb): Define new macro.
8429         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8431 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8433         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8434         instead of TEST_f_l.
8435         (llrint_test_tonearest): Likewise.
8436         (llrint_test_towardzero): Likewise.
8437         (llrint_test_downward): Likewise.
8438         (llrint_test_upward): Likewise.
8439         (llround_test): Likewise.
8441         * math/libm-test.inc (struct test_f_i_data): Add comment.
8442         (RUN_TEST_LOOP_f_b): New macro.
8443         (RUN_TEST_LOOP_f_b_tg): Likewise.
8444         (finite_test_data): New variable.
8445         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8446         (isfinite_test_data): New variable.
8447         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8448         (isinf_test_data): New variable.
8449         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8450         (isnan_test_data): New variable.
8451         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8452         (isnormal_test_data): New variable.
8453         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8454         (issignaling_test_data): New variable.
8455         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8456         (signbit_test_data): New variable.
8457         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8459         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8460         with INVALID_EXCEPTION.
8461         (acosh_test_data): Likewise.
8462         (asin_test_data): Likewise.
8463         (atanh_test_data): Likewise.
8464         (fmod_test_data): Likewise.
8465         (log_test_data): Likewise.
8466         (log10_test_data): Likewise.
8467         (log2_test_data): Likewise.
8468         (pow_test_data): Likewise.
8469         (sqrt_test_data): Likewise.
8470         (y0_test_data): Likewise.
8471         (y1_test_data): Likewise.
8472         (yn_test_data): Likewise.
8474         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8475         function contents.
8477         * math/libm-test.inc (struct test_ff_i_data): New type.
8478         (RUN_TEST_LOOP_ff_i_tg): New macro.
8479         (isgreater_test_data): New variable.
8480         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8481         (isgreaterequal_test_data): New variable.
8482         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8483         (isless_test_data): New variable.
8484         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8485         (islessequal_test_data): New variable.
8486         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8487         (islessgreater_test_data): New variable.
8488         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8489         (isunordered_test_data): New variable.
8490         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8492 2013-05-14  David S. Miller  <davem@davemloft.net>
8494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8496 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8498         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8500         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8501         extra_test to int.
8502         (struct test_f_i_data): Change type of max_ulp to int.
8504         * math/libm-test.inc (test_ffI_f1_data): New type.
8505         (RUN_TEST_LOOP_ffI_f1): New macro.
8506         (remquo_test_data): New variable.
8507         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8509         * setjmp/tst-setjmp-fp.c: New file.
8510         * setjmp/Makefile (tests): Add tst-setjmp-fp.
8511         (link-libm): New variable.
8512         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8514         * math/libm-test.inc (struct test_f_i_data): New type.
8515         (RUN_TEST_LOOP_f_i): New macro.
8516         (RUN_TEST_LOOP_f_i_tg): Likewise.
8517         (fpclassify_test_data): New variable.
8518         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8519         (ilogb_test_data): New variable.
8520         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8522         * math/libm-test.inc (scalbln_test): Correct function name in END
8523         call.
8525         * math/libm-test.inc (struct test_f_f1_data): Add comment.
8526         (RUN_TEST_LOOP_fI_f1): New macro.
8527         (frexp_test_data): New variable.
8528         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8530         * math/libm-test.inc (struct test_fF_f1_data): New type.
8531         (RUN_TEST_LOOP_fF_f1): New macro.
8532         (modf_test_data): New variable.
8533         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8535         * math/libm-test.inc (struct test_f_f1_data): New type.
8536         (RUN_TEST_LOOP_f_f1): New macro.
8537         (gamma_test_data): New variable.
8538         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8539         (lgamma_test_data): New variable.
8540         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8542 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
8544         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8545         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8546         (main): Comment "tls" pseudo-hwcap.
8548 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
8550         * math/libm-test.inc (struct test_fl_f_data): New type.
8551         (RUN_TEST_LOOP_fl_f): New variable.
8552         (scalbln_test_data): New variable.
8553         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8555         * math/libm-test.inc (struct test_fi_f_data): New type.
8556         (RUN_TEST_LOOP_fi_f): New macro.
8557         (ldexp_test_data): New variable.
8558         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8559         (scalbn_test_data): New variable.
8560         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8562         * math/libm-test.inc (struct test_c_f_data): New type.
8563         (RUN_TEST_LOOP_c_f): New macro.
8564         (cabs_test_data): New variable.
8565         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8566         (carg_test_data): New variable.
8567         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8568         (cimag_test_data): New variable.
8569         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8570         (creal_test_data): New variable.
8571         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8573         * math/libm-test.inc (struct test_if_f_data): New type.
8574         (RUN_TEST_LOOP_if_f): New macro.
8575         (jn_test_data): New variable.
8576         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8577         (yn_test_data): New variable.
8578         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8580         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8582 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8584         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8585         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8587 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8589         * benchtests/Makefile (CPPFLAGS-nonlib): Add
8590         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8591         (bench-deps): Add bench-timing.h.
8592         * benchtests-bench-skeleton.c: Include bench-timing.h.
8593         (main): Use TIMING_* macros instead of clock_gettime.
8594         * benchtests/bench-timing.h: New file.
8596         [BZ #14582]
8597         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8598         Renamed from _LIB_VERSION.
8599         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8601 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
8603         * math/libm-test.inc (struct test_fff_f_data): New type.
8604         (RUN_TEST_LOOP_fff_f): New macro.
8605         (fma_test_data): New variable.
8606         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8607         (fma_towardzero_test_data): New variable.
8608         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8609         (fma_downward_test_data): New variable.
8610         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8611         (fma_upward_test_data): New variable.
8612         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8614         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8615         (struct test_c_c_data): New type.
8616         (RUN_TEST_LOOP_c_c): New macro.
8617         (cacos_test_data): New variable.
8618         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8619         (cacosh_test_data): New variable.
8620         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8621         (casin_test_data): New variable.
8622         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8623         (casinh_test_data): New variable.
8624         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8625         (catan_test_data): New variable.
8626         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8627         (catanh_test_data): New variable.
8628         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8629         (ccos_test_data): New variable.
8630         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8631         (ccosh_test_data): New variable.
8632         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8633         (cexp_test_data): New variable.
8634         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8635         (clog_test_data): New variable.
8636         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8637         (clog10_test_data): New variable.
8638         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8639         (conj_test_data): New variable.
8640         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8641         (cproj_test_data): New variable.
8642         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8643         (csin_test_data): New variable.
8644         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8645         (csinh_test_data): New variable.
8646         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8647         (csqrt_test_data): New variable.
8648         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8649         (ctan_test_data): New variable.
8650         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8651         (ctan_tonearest_test_data): New variable.
8652         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8653         (ctan_towardzero_test_data): New variable.
8654         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8655         (ctan_downward_test_data): New variable.
8656         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8657         (ctan_upward_test_data): New variable.
8658         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8659         (ctanh_test_data): New variable.
8660         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8661         (ctanh_tonearest_test_data): New variable.
8662         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8663         (ctanh_towardzero_test_data): New variable.
8664         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8665         (ctanh_downward_test_data): New variable.
8666         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8667         (ctanh_upward_test_data): New variable.
8668         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8669         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8670         of BUILD_COMPLEX.
8672         * math/libm-test.inc (struct test_ff_f_data): New type.
8673         (struct test_ff_f_data_nexttoward): Likewise.
8674         (RUN_TEST_LOOP_2_f): New macro.
8675         (RUN_TEST_LOOP_ff_f): Likewise.
8676         (atan2_test_data): New variable.
8677         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8678         (copysign_test_data): New variable.
8679         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8680         (fdim_test_data): New variable.
8681         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8682         (fmax_test_data): New variable.
8683         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8684         (fmin_test_data): New variable.
8685         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8686         (fmod_test_data): New variable.
8687         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8688         (hypot_test_data): New variable.
8689         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8690         (nextafter_test_data): New variable.
8691         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8692         (nexttoward_test_data): New variable.
8693         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8694         (pow_test_data): New variable.
8695         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8696         (pow_tonearest_test_data): New variable.
8697         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8698         (pow_towardzero_test_data): New variable.
8699         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8700         (pow_downward_test_data): New variable.
8701         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8702         (pow_upward_test_data): New variable.
8703         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8704         (remainder_test_data): New variable.
8705         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8706         (scalb_test_data): New variable.
8707         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8708         * sysdeps/i386/fpu/libm-test-ulps: Update.
8710 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
8712         * math/libm-test.inc (fma_test): Use max_value instead of local
8713         variable fltmax.
8714         (nextafter_test): Likewise.
8716         * math/libm-test.inc (acos_towardzero_test_data): New variable.
8717         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8718         (acos_downward_test_data): New variable.
8719         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8720         (acos_upward_test_data): New variable.
8721         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8722         (acosh_test_data): New variable.
8723         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8724         (asin_test_data): New variable.
8725         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8726         (asin_tonearest_test_data): New variable.
8727         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8728         (asin_towardzero_test_data): New variable.
8729         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8730         (asin_downward_test_data): New variable.
8731         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8732         (asin_upward_test_data): New variable.
8733         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8734         (asinh_test_data): New variable.
8735         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8736         (atan_test_data): New variable.
8737         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8738         (atanh_test_data): New variable.
8739         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8740         (cbrt_test_data): New variable.
8741         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8742         (ceil_test_data): New variable.
8743         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8744         (cos_test_data): New variable.
8745         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8746         (cos_tonearest_test_data): New variable.
8747         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8748         (cos_towardzero_test_data): New variable.
8749         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8750         (cos_downward_test_data): New variable.
8751         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8752         (cos_upward_test_data): New variable.
8753         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8754         (cosh_test_data): New variable.
8755         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8756         (cosh_tonearest_test_data): New variable.
8757         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8758         (cosh_towardzero_test_data): New variable.
8759         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8760         (cosh_downward_test_data): New variable.
8761         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8762         (cosh_upward_test_data): New variable.
8763         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8764         (erf_test_data): New variable.
8765         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8766         (erfc_test_data): New variable.
8767         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8768         (exp_test_data): New variable.
8769         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8770         (exp_tonearest_test_data): New variable.
8771         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8772         (exp_towardzero_test_data): New variable.
8773         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8774         (exp_downward_test_data): New variable.
8775         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8776         (exp_upward_test_data): New variable.
8777         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8778         (exp10_test_data): New variable.
8779         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8780         (exp2_test_data): New variable.
8781         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8782         (expm1_test_data): New variable.
8783         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8784         (fabs_test_data): New variable.
8785         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8786         (floor_test_data): New variable.
8787         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8788         (j0_test_data): New variable.
8789         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8790         (j1_test_data): New variable.
8791         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8792         (log_test_data): New variable.
8793         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8794         (log10_test_data): New variable.
8795         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8796         (log1p_test_data): New variable.
8797         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8798         (log2_test_data): New variable.
8799         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8800         (logb_test_data): New variable.
8801         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8802         (logb_downward_test_data): New variable.
8803         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8804         (nearbyint_test_data): New variable.
8805         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8806         (rint_test_data): New variable.
8807         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8808         (rint_tonearest_test_data): New variable.
8809         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8810         (rint_towardzero_test_data): New variable.
8811         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8812         (rint_downward_test_data): New variable.
8813         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8814         (rint_upward_test_data): New variable.
8815         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8816         (round_test_data): New variable.
8817         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8818         (sin_test_data): New variable.
8819         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8820         (sin_tonearest_test_data): New variable.
8821         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8822         (sin_towardzero_test_data): New variable.
8823         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8824         (sin_downward_test_data): New variable.
8825         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8826         (sin_upward_test_data): New variable.
8827         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8828         (sinh_test_data): New variable.
8829         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8830         (sinh_tonearest_test_data): New variable.
8831         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8832         (sinh_towardzero_test_data): New variable.
8833         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8834         (sinh_downward_test_data): New variable.
8835         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8836         (sinh_upward_test_data): New variable.
8837         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8838         (sqrt_test_data): New variable.
8839         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8840         (tan_test_data): New variable.
8841         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8842         (tan_tonearest_test_data): New variable.
8843         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8844         (tan_towardzero_test_data): New variable.
8845         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8846         (tan_downward_test_data): New variable.
8847         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8848         (tan_upward_test_data): New variable.
8849         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8850         (tanh_test_data): New variable.
8851         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8852         (tgamma_test_data): New variable.
8853         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8854         (trunc_test_data): New variable.
8855         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8856         (y0_test_data): New variable.
8857         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8858         (y1_test_data): New variable.
8859         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8860         (significand_test_data): New variable.
8861         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8863 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8865         [BZ #12387]
8866         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8868 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8870         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8872 2013-05-10  Andreas Jaeger  <aj@suse.de>
8874         [BZ #15448]
8875         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8876         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8878 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8880         * math/gen-libm-test.pl (adjust_arg): New function.
8881         (special_functions): Handle generating output in both functions
8882         and arrays.
8883         (parse_args): Likewise.
8884         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8885         $in_func argument to parse_args.
8886         * math/libm-test.inc (struct test_f_f_data): New type.
8887         (IF_ROUND_INIT_): New macro.
8888         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8889         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8890         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8891         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8892         (ROUND_RESTORE_): Likewise.
8893         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8894         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8895         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8896         (ROUND_RESTORE_FE_UPWARD): Likewise.
8897         (RUN_TEST_LOOP_f_f): New macro.
8898         (acos_test_data): New variable.
8899         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8900         (acos_tonearest_test_data): New variable.
8901         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8903 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8905         * benchtests/bench-skeleton.c (startup): Fix coding style.
8907 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8909         [BZ #6809]
8910         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8911         negative infinity argument.
8912         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8913         negative infinity argument.
8914         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8915         negative infinity argument.
8916         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8917         domain errors.
8919 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8921         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8922         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8923         * iconv/iconv_prog.c (main): Likewise.
8924         * locale/programs/charmap-dir.c (charmap_readdir)
8925         (fopen_uncompressed): Likewise.
8926         * locale/programs/locfile.c (siblings_uncached)
8927         (write_locale_data): Use lstat64 instead of lstat.
8928         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8929         stat.
8931 2013-05-10  Andreas Jaeger  <aj@suse.de>
8933         [BZ #15395]
8934         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8935         localization.
8936         Include <locale.h>.
8938 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
8940         * elf/dl-close.c (_dl_close_worker): Add comments.
8942 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
8944         [BZ #15359]
8945         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8946         high part of pi/2.
8947         (__ieee754_rem_pio2l): Update comments.
8949         [BZ #15429]
8950         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8951         high part of pi/2.
8952         (__ieee754_rem_pio2l): Update comments.
8954         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8955         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8957         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8958         M_PI_4l.
8960         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8961         (M_PI_34_LOG10El): Likewise.
8962         (M_PI2_LOG10El): Likewise.
8963         (M_PI4_LOG10El): Likewise.
8964         (M_PI_LOG10El): Likewise.
8966 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8970 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
8972         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8973         (MINUS_ZERO_INIT): Likewise.
8974         (PLUS_INFTY_INIT): Likewise.
8975         (MINUS_INFTY_INIT): Likewise.
8976         (QNAN_VALUE_INIT): Likewise.
8977         (MAX_VALUE_INIT): Likewise.
8978         (MIN_VALUE_INIT): Likewise.
8979         (MIN_SUBNORM_VALUE_INIT): Likewise.
8980         (plus_zero): Initialize with PLUS_ZERO_INIT.
8981         (minus_zero): Initialize with MINUS_ZERO_INIT.
8982         (plus_infty): Initialize with PLUS_INFTY_INIT.
8983         (minus_infty): Initialize with MINUS_INFTY_INIT.
8984         (qnan_value): Initialize with QNAN_VALUE_INIT.
8985         (max_value): Initialize with MAX_VALUE_INIT.
8986         (min_value): Initialize with MIN_VALUE_INIT.
8987         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8989         * math/libm-test.inc (RUN_TEST_if_f): New macro.
8990         (jn_test): Use TEST_if_f instead of TEST_ff_f.
8991         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8992         (yn_test): Use TEST_if_f instead of TEST_ff_f.
8994         * math/libm-test.inc (RUN_TEST_f_f): New macro.
8995         (RUN_TEST_2_f): Likewise.
8996         (RUN_TEST_ff_f): Likewise.
8997         (RUN_TEST_fi_f): Likewise.
8998         (RUN_TEST_fl_f): Likewise.
8999         (RUN_TEST_fff_f): Likewise.
9000         (RUN_TEST_c_f): Likewise.
9001         (RUN_TEST_f_f1): Likewise.
9002         (RUN_TEST_fF_f1): Likewise.
9003         (RUN_TEST_fI_f1): Likewise.
9004         (RUN_TEST_ffI_f1): Likewise.
9005         (RUN_TEST_c_c): Likewise.
9006         (RUN_TEST_cc_c): Likewise.
9007         (RUN_TEST_f_i): Likewise.
9008         (RUN_TEST_f_i_tg): Likewise.
9009         (RUN_TEST_ff_i_tg): Likewise.
9010         (RUN_TEST_f_b): Likewise.
9011         (RUN_TEST_f_b_tg): Likewise.
9012         (RUN_TEST_f_l): Likewise.
9013         (RUN_TEST_f_L): Likewise.
9014         (RUN_TEST_sincos): Likewise.
9015         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9016         whether to show exceptions.  Do not include ");\n" in return
9017         value.
9018         (special_functions): Output call to RUN_TEST_sincos instead of
9019         check_float calls.  Update calls to new_test.
9020         (parse_args): Output call to single RUN_TEST_* macro instead of
9021         check_* calls and other assignments.  Update calls to new_test.
9023         [BZ #2546]
9024         [BZ #2560]
9025         [BZ #5159]
9026         [BZ #15426]
9027         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9028         input to result for tgamma overflow.
9029         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9030         (gamma_coeff): New variable.
9031         (NCOEFF): New macro.
9032         (gamma_positive): New function.
9033         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9034         underflow here.  Use gamma_positive instead of exp (lgamma) for
9035         other arguments.
9036         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9037         (gamma_coeff): New variable.
9038         (NCOEFF): New macro.
9039         (gammaf_positive): New function.
9040         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9041         underflow here.  Use gamma_positive instead of exp (lgamma) for
9042         other arguments.
9043         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9044         (gamma_coeff): New variable.
9045         (NCOEFF): New macro.
9046         (gammal_positive): New function.
9047         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9048         underflow here.  Use gamma_positive instead of exp (lgamma) for
9049         other arguments.
9050         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9051         (gamma_coeff): New variable.
9052         (NCOEFF): New macro.
9053         (gammal_positive): New function.
9054         (__ieee754_gammal_r): Handle positive infinity, overflow and
9055         underflow here.  Handle NaN the same as positive infinity.  Remove
9056         check x < 0xffffffff for negative integers.  Use gamma_positive
9057         instead of exp (lgamma) for other arguments.
9058         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9059         (gamma_coeff): New variable.
9060         (NCOEFF): New macro.
9061         (gammal_positive): New function.
9062         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9063         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9064         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9065         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9066         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9067         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9068         * sysdeps/generic/math_private.h (__gamma_productf): New
9069         prototype.
9070         (__gamma_product): Likewise.
9071         (__gamma_productl): Likewise.
9072         * math/Makefile (libm-calls): Add gamma_product.
9073         * math/libm-test.inc (tgamma_test): Add more tests.
9074         * sysdeps/i386/fpu/libm-test-ulps: Update.
9075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9077 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9079         * benchtests/bench-skeleton.c (main): Preheat CPU.
9081 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9083         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9085 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9087         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9088         and _dl_skip_args_internal.
9090 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9092         * manual/message.texi (Message Translation): Talk about users.
9093         Message to key mapping impacts design.
9095 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9097         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9099         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9101         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9102         * sysdeps/wordsize-64/glob64.c: ... here.
9104         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9105         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9106         New macros.
9108         * debug/getlogin_r_chk.c: Moved to ...
9109         * login/getlogin_r_chk.c: ... here.
9110         * debug/Makefile (routines): Move getlogin_r_chk to ...
9111         * login/Makefile (routines): ... here.
9112         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9113         * login/Versions (libc: GLIBC_2.4): ... here.
9115         * io/poll.c (__poll): Renamed from poll.
9116         Add libc_hidden_def.
9117         (poll): Define as weak alias.
9119         * debug/ptsname_r_chk.c: Moved to ...
9120         * login/ptsname_r_chk.c: ... here.
9121         * debug/Makefile (routines): Move ptsname_r_chk to ...
9122         * login/Makefile (routines): ... here.
9123         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9124         * login/Versions (libc: GLIBC_2.4): ... here.
9126         * posix/getlogin.c: Moved to ...
9127         * login/getlogin.c: ... here.
9128         * posix/getlogin_r.c: Moved to ...
9129         * login/getlogin_r.c: ... here.
9130         * posix/getlogin_r.c: Moved to ...
9131         * login/getlogin_r.c: ... here.
9132         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9133         * login/Makefile (routines): ... here.
9134         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9135         * login/Versions (libc: GLIBC_2.0): ... here.
9137         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9138         (setrlimit): Define as weak alias.
9140         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9141         Call __ names for open, ftruncate, and close.
9142         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9143         (truncate): Define as weak alias.
9145 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9147         * math/gen-libm-test.pl (parse_args): Initialize x before each
9148         test of frexp, modf and remquo.
9150         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9151         test signgam value.
9153 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9155         [BZ #15418]
9156         [BZ #15419]
9157         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9158         internal tests.
9159         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9161 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9163         * elf/dl-writev.h: New file.
9164         * elf/dl-misc.c: Include it.
9165         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9166         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9168 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9170         * math/libm-test.inc (noXFails): Remove variable.
9171         (noXPasses): Likewise.
9172         (BUILD_COMPLEX_INT): Remove macro.
9173         (print_screen): Remove xfail argument.
9174         (print_screen_max_error): Likewise.
9175         (update_stats): Likewise.
9176         (print_max_error): Likewise.  Update calls to other affected
9177         functions.
9178         (print_complex_max_error): Likewise.
9179         (test_single_exception): Update calls to print_screen.
9180         (test_single_errno): Likewise.
9181         (check_float_internal): Remove xfail argument.  Update calls to
9182         other affected functions.
9183         (check_float): Likewise.
9184         (check_complex): Likewise.
9185         (check_int): Likewise.
9186         (check_long): Likewise.
9187         (check_bool): Likewise.
9188         (check_longlong): Likewise.
9189         (main): Don't print noXFails and noXPasses.
9190         * math/gen-libm-test.pl (top level): Don't mention expected
9191         failure handling in comment.
9192         (new_test): Don't handle expected failures.
9193         (parse_args): Don't mention expected failure handling in comment.
9194         (generate_testfile): Don't handle expected failures.
9195         (parse_ulps): Likewise.
9196         (print_ulps_file): Likewise.
9197         (get_failure): Remove function.
9198         (output_test): Don't handle expected failures.
9199         * make/README.libm-test: Don't mention expected failure handling.
9201         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9202         (minus_zero): Likewise.
9203         (plus_infty): Likewise.
9204         (minus_infty): Likewise.
9205         (qnan_value): Likewise.
9206         (max_value): Likewise.
9207         (min_value): Likewise.
9208         (min_subnorm_value): Likewise.
9209         (initialize): Do not initialize those variables dynamically.
9211 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9213         * io/open.c (__open_2): Moved to ...
9214         * io/open_2.c: ... this new file.
9215         * io/open64.c (__open64_2): Moved to ...
9216         * io/open64_2.c: ... this new file.
9217         * io/openat.c (__openat_2): Moved to ...
9218         * io/openat_2.c: ... this new file.
9219         * io/openat64.c (__openat64_2): Moved to ...
9220         * io/openat64_2.c: ... this new file.
9221         * io/Makefile (routines): Add them.
9222         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9223         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9224         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9225         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9226         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9227         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9228         (__openat64): Add hidden_ver.
9229         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9230         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9232         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9233         Separately conditionalize setting of GLRO(dl_sysinfo) so
9234         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9235         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9237 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9239         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9240         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9241         definition.
9242         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9243         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9244         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9245         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9246         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9248 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9250         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9251         test signgam value.
9253         * math/libm-test.inc (hypot_test): Do not use
9254         IGNORE_ZERO_INF_SIGN.
9256 2013-05-03  Andreas Jaeger  <aj@suse.de>
9258         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9259         Linux 3.9.
9260         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9261         (PF_MAX): Adjust for VSOCK change.
9263 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9267 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9269         [BZ #15264]
9270         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9271         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9272         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9274 2013-05-02  David S. Miller  <davem@davemloft.net>
9276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9278 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9280         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9282 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9284         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9286 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9288         [BZ #14952]
9289         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9290         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9291         Use __attribute__ ((__gnu_inline__)).
9292         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9293         Don't use __attribute__ ((__gnu_inline__)).
9295 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9297         [BZ #15423]
9298         * math/s_catan.c (__catan): Handle small real or imaginary part of
9299         input specially to avoid spurious underflow.
9300         * math/s_catanf.c (__catanf): Likewise.
9301         * math/s_catanh.c (__catanh): Likewise.
9302         * math/s_catanhf.c (__catanhf): Likewise.
9303         * math/s_catanhl.c (__catanhl): Likewise.
9304         * math/s_catanl.c (__catanl): Likewise.
9305         * math/libm-test.inc (catan_test): Add more tests.
9306         (catanh_test): Likewise.
9307         * sysdeps/i386/fpu/libm-test-ulps: Update.
9308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9310 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9314 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9316         [BZ #15416]
9317         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9318         accurately for denominator in atan2.
9319         * math/s_catanf.c (__catanf): Likewise.
9320         * math/s_catanh.c (__catanh): Likewise.
9321         * math/s_catanhf.c (__catanhf): Likewise.
9322         * math/s_catanhl.c (__catanhl): Likewise.
9323         * math/s_catanl.c (__catanl): Likewise.
9324         * math/libm-test.inc (catan_test): Add more tests.
9325         (catanh_test): Likewise.
9326         * sysdeps/i386/fpu/libm-test-ulps: Update.
9327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9329 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9331         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9333         * benchtests/Makefile (bench): Remove slow benchmarks.
9334         * benchtests/atan-inputs: Add slow benchmark inputs.
9335         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9336         (BENCH_FUNC): Accept variant offset.
9337         (VARIANT): Define.
9338         * benchtests/bench-skeleton.c (main): Run benchmark for each
9339         variant.
9340         * benchtests/cos-inputs: Add slow benchmark inputs.
9341         * benchtests/exp-inputs: Likewise.
9342         * benchtests/pow-inputs: Likewise.
9343         * benchtests/sin-inputs: Likewise.
9344         * benchtests/slowatan-inputs: Remove.
9345         * benchtests/slowatan.c: Remove.
9346         * benchtests/slowcos-inputs: Remove.
9347         * benchtests/slowcos.c: Remove.
9348         * benchtests/slowexp-inputs: Remove.
9349         * benchtests/slowexp.c: Remove.
9350         * benchtests/slowpow-inputs: Remove.
9351         * benchtests/slowpow.c: Remove.
9352         * benchtests/slowsin-inputs: Remove.
9353         * benchtests/slowsin.c: Remove.
9354         * benchtests/slowtan-inputs: Remove.
9355         * benchtests/slowtan.c: Remove.
9356         * benchtests/tan-inputs: Add slow benchmark inputs.
9357         * scripts/bench.pl: Parse comments and directives.
9359         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9360         in CPPFLAGS.
9361         ($(objpfx)bench-%.c): Remove *-ITER.
9362         * benchtests/bench-modf.c: Remove definition of ITER.
9363         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9364         (main): Loop for DURATION seconds instead of fixed number of
9365         iterations.
9366         * scripts/bench.pl: Don't expect iterations in parameters.
9368 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9370         * io/fchdir.c (__fchdir): Renamed from fchdir.
9371         (fchdir): Define as weak alias.
9373 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9375         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9376         (ERRNO_EDOM): Likewise.
9377         (ERRNO_ERANGE): Likewise.
9378         (noErrnoTests): New variable.
9379         (init_max_error): Set errno to 0.
9380         (test_single_errno): New function.
9381         (test_errno): Likewise.
9382         (check_float_internal): Call test_errno.  Set errno to 0.
9383         (check_complex): Refer to errno tests in comment.
9384         (check_int): Call test_errno.  Set errno to 0.
9385         (check_long): Likewise.
9386         (check_bool): Likewise.
9387         (check_longlong): Likewise.
9388         (cos_test): Use ERRNO_* flags for errno tests instead of
9389         check_int.
9390         (expm1_test): Likewise.
9391         (fmod_test): Likewise.
9392         (ilogb_test): Likewise.
9393         (lgamma_test): Likewise.
9394         (pow_test): Likewise.
9395         (remainder_test): Likewise.
9396         (sin_test): Likewise.
9397         (tan_test): Likewise.
9398         (yn_test): Likewise.
9399         (initialize): Set errno to 0.
9400         (main): Print number of errno tests.
9401         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9403 2013-04-29  Andreas Jaeger  <aj@suse.de>
9405         [BZ #15084]
9406         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9407         and RES_USEVC.
9409         [BZ #15085]
9410         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9411         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9412         unimplemented.
9414         [BZ #15380]
9415         * stdlib/random.c (__initstate): Return NULL if
9416         __initstate fails.
9418         [BZ #15086]
9419         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9420         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9421         RES_SNGLKUPREOP.
9423 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9427 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9429         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9430         of individual tests.
9431         (casin_test): Likewise.
9432         (casinh_test): Likewise.
9434 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9436         [BZ #15409]
9437         * math/s_catan.c (__catan): Handle arguments with large real or
9438         imaginary part separately without squaring.
9439         * math/s_catanf.c (__catanf): Likewise.
9440         * math/s_catanh.c (__catanh): Likewise.
9441         * math/s_catanhf.c (__catanhf): Likewise.
9442         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9443         and redefine.
9444         (__catanhl): Handle arguments with large real or imaginary part
9445         separately without squaring.
9446         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9447         and redefine.
9448         (__catanl): Handle arguments with large real or imaginary part
9449         separately without squaring.
9450         * math/libm-test.inc (catan_test): Add more tests.
9451         (catanh_test): Likewise.
9452         * sysdeps/i386/fpu/libm-test-ulps: Update.
9453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9455 2013-04-27  Andreas Jaeger  <aj@suse.de>
9457         [BZ #15007]
9458         * stdlib/stdlib.h: Update guards for qecvt.
9459         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9460         <stdlib.h>.
9462 2013-04-27  Allan McRae  <allan@archlinux.org>
9464         * sysdeps/i386/fpu/libm-test-ulps: Update.
9466 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9468         [BZ #15406]
9469         * math/s_catan.c: Include <float.h>.
9470         (__catan): Ensure underflow exception occurs for underflowed
9471         result.
9472         * math/s_catanf.c: Include <float.h>.
9473         (__catanf): Ensure underflow exception occurs for underflowed
9474         result.
9475         * math/s_catanh.c: Include <float.h>.
9476         (__catanh): Ensure underflow exception occurs for underflowed
9477         result.
9478         * math/s_catanhf.c: Include <float.h>.
9479         (__catanhf): Ensure underflow exception occurs for underflowed
9480         result.
9481         * math/s_catanhl.c: Include <float.h>.
9482         (__catanhl): Ensure underflow exception occurs for underflowed
9483         result.
9484         * math/s_catanl.c: Include <float.h>.
9485         (__catanl): Ensure underflow exception occurs for underflowed
9486         result.
9487         * math/libm-test.inc (catan_test): Add more tests.
9488         (catanh_test): Likewise.
9490         [BZ #15405]
9491         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9492         underflowed result.
9493         * math/s_ccoshf.c (__ccoshf): Likewise.
9494         * math/s_ccoshl.c (__ccoshl): Likewise.
9495         * math/s_csin.c (__csin): Likewise.
9496         * math/s_csinf.c (__csinf): Likewise.
9497         * math/s_csinh.c (__csinh): Likewise.
9498         * math/s_csinhf.c (__csinhf): Likewise.
9499         * math/s_csinhl.c (__csinhl): Likewise.
9500         * math/s_csinl.c (__csinl): Likewise.
9501         * math/libm-test.inc (ccos_test): Add more tests.
9502         (ccosh_test): Likewise.
9503         (csin_test): Likewise.
9504         (csinh_test): Likewise.
9506 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9508         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9509         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9510         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9511         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9512         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9513         powerpc/power5+/fpu folders.
9514         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9517 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9521 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
9523         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9524         additions to variable.
9525         [$(config-machine) = x86_64] (modules-names): Likewise.
9526         ($(objpfx)tst-audit3): Remove dependency.
9527         ($(objpfx)tst-audit3.out): Likewise.
9528         ($(objpfx)tst-audit4): Likewise.
9529         ($(objpfx)tst-audit4.out): Likewise.
9530         ($(objpfx)tst-audit5): Likewise.
9531         ($(objpfx)tst-audit5.out): Likewise.
9532         ($(objpfx)tst-audit6): Likewise.
9533         ($(objpfx)tst-audit6.out): Likewise.
9534         ($(objpfx)tst-audit7): Likewise.
9535         ($(objpfx)tst-audit7.out): Likewise.
9536         (tst-audit3-ENV): Remove variable.
9537         (tst-audit4-ENV): Likewise.
9538         (tst-audit5-ENV): Likewise.
9539         (tst-audit6-ENV): Likewise.
9540         (tst-audit7-ENV): Likewise.
9541         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9542         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9543         addition to variable.
9544         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9545         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9546         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9547         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9548         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9549         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9550         tst-audit3, tst-audit4 and tst-audit5.
9551         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9552         tst-audit6 and tst-audit7.
9553         [$(subdir) = elf] (modules-names): Add audit modules for those
9554         tests.
9555         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9556         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9557         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9558         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9559         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9560         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9561         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9562         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9563         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9564         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9565         [$(subdir) = elf] (tst-audit3-ENV): New variable.
9566         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9567         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9568         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9569         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9570         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9571         Likewise.
9572         [$(subdir) = elf && $(config-cflags-avx) = yes]
9573         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9574         [$(subdir) = elf && $(config-cflags-avx) = yes]
9575         (CFLAGS-tst-auditmod4a.c): Likewise.
9576         [$(subdir) = elf && $(config-cflags-avx) = yes]
9577         (CFLAGS-tst-auditmod4b.c): Likewise.
9578         [$(subdir) = elf && $(config-cflags-avx) = yes]
9579         (CFLAGS-tst-auditmod6b.c): Likewise.
9580         [$(subdir) = elf && $(config-cflags-avx) = yes]
9581         (CFLAGS-tst-auditmod6c.c): Likewise.
9582         [$(subdir) = elf && $(config-cflags-avx) = yes]
9583         (CFLAGS-tst-auditmod7b.c): Likewise.
9584         * elf/tst-audit3.c: Move to ...
9585         * sysdeps/x86_64/tst-audit3.c: ... here.
9586         * elf/tst-audit4.c: Move to ...
9587         * sysdeps/x86_64/tst-audit4.c: ... here.
9588         * elf/tst-audit5.c: Move to ...
9589         * sysdeps/x86_64/tst-audit5.c: ... here.
9590         * elf/tst-audit6.c: Move to ...
9591         * sysdeps/x86_64/tst-audit6.c: ... here.
9592         * elf/tst-audit7.c: Move to ...
9593         * sysdeps/x86_64/tst-audit7.c: ... here.
9594         * elf/tst-auditmod3a.c: Move to ...
9595         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9596         * elf/tst-auditmod3b.c: Move to ...
9597         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9598         * elf/tst-auditmod4a.c: Move to ...
9599         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9600         * elf/tst-auditmod4b.c: Move to ...
9601         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9602         * elf/tst-auditmod5a.c: Move to ...
9603         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9604         * elf/tst-auditmod5b.c: Move to ...
9605         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9606         * elf/tst-auditmod6a.c: Move to ...
9607         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9608         * elf/tst-auditmod6b.c: Move to ...
9609         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9610         * elf/tst-auditmod6c.c: Move to ...
9611         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9612         * elf/tst-auditmod7a.c: Move to ...
9613         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9614         * elf/tst-auditmod7b.c: Move to ...
9615         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9617 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
9619         [BZ #15366]
9620         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9621         define unconditionally.
9622         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9623         define unconditionally.
9624         (INT8_C, INT16_C, etc.): Likewise.
9626 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
9628         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9629         __ehdr_start with hidden visibility.
9631         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9633 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
9635         * math/libm-test.inc (cos_test): Use accurate hex constants.
9636         (sincost_test): Likewise.
9638 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
9640         * math/libm-test.inc (catan_test): Add more tests.
9641         (catanh_test): Likewise.
9643         * math/s_catanf.c (__catanf): Use suffixed floating-point
9644         constants.
9645         * math/s_catanhf.c (__catanhf): Likewise.
9646         * math/s_catanhl.c (__catanhl): Likewise.
9647         * math/s_catanl.c (__catanl): Likewise.
9649         [BZ #15394]
9650         * math/s_catan.c (__catan): Calculate imaginary part of result
9651         with log1p not log unless computing log of number close to 0.
9652         * math/s_catanf.c (__catanf): Likewise.
9653         * math/s_catanl.c (__catanl): Likewise.
9654         * math/s_catanh.c (__catanh): Calculate real part of result with
9655         log1p not log unless computing log of number close to 0.
9656         * math/s_catanhf.c (__catanhf): Likewise.
9657         * math/s_catanhl.c (__catanhl): Likewise.
9658         * math/libm-test.inc (catan_test): Add more tests.
9659         (catanh_test): Likewise.
9660         * sysdeps/i386/fpu/libm-test-ulps: Update.
9661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9663 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9665         * benchtests/Makefile: Mention files in which fast and slow
9666         paths of math functions are implemented.
9668 2013-04-23  Roland McGrath  <roland@hack.frob.com>
9670         * sysdeps/posix/timespec_get.c: New file.
9672 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9674         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9675         POWER.
9676         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9677         for POWER.
9678         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9679         powerpc/power5/fpu folders.
9680         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9681         * benchtests/Makefile: Add modf testcase.
9682         * benchtests/bench-modf.c: New file: Benchmark test for mo
9684 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9686         [BZ #14888]
9687         * time/Makefile (tests): Add tst-strptime-whitespace.
9688         * time/strptime_l.c (get_number): Use ISSPACE.
9689         (__strptime_internal): Likewise.
9690         * time/tst-strptime-whitespace.c: New test case.
9692 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
9694         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9695         member.
9696         (_nss_files_init): Set it here.
9698 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
9700         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9701         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9702         unsigned.
9704 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
9706         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9708 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9710         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9711         size just once.
9713 2013-04-21  David S. Miller  <davem@davemloft.net>
9715         * po/ru.po: Update Russion translation from translation project.
9717 2013-04-17  Adam Conrad  <adconrad@0c3.net>
9719         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9720         and setfsgid.
9722 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9724         * configure.in: Remove i386 configure warning. Remove i386 case.
9725         * configure: Regenerate.
9726         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9727         Add example to error message.
9728         * sysdeps/i386/configure: Regenerate.
9730 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9732         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9733         slowtan.
9734         * benchtests/cos-inputs: New file.
9735         * benchtests/slowcos-inputs: New file.
9736         * benchtests/slowcos.c: New file.
9737         * benchtests/slowtan-inputs: New file.
9738         * benchtests/slowtan.c: New file.
9739         * benchtests/tan-inputs: New file.
9741 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9743         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9744         considered kosher.
9746 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9748         * benchtests/Makefile: Include cppflags-iterator.mk to add
9749         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9751         * Makefile.in (bench-clean): New target.
9752         * benchtests/Makefile (bench-clean): Likewise.
9754 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9756         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9758 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9760         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9762 2013-04-15  Andreas Schwab  <schwab@suse.de>
9764         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9765         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9766         * nscd/pwdcache.c (cache_addpw): Likewise.
9767         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9768         more than recsize.
9770 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9772         * benchtests/Makefile (bench): Write all output to
9773         bench-out.tmp together.
9775 2013-04-15  Andreas Schwab  <schwab@suse.de>
9777         * nscd/nscd.c (main): Don't fork again after closing files.
9779 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9781         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9783         * benchtests/Rules (bench-deps): Collect dependencies into a
9784         single variable.  Add Makefile to dependencies.
9785         ($(objpfx)bench-%.c): Depend on bench-deps.
9787 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9788             Xavier Roche  <roche+kml2@exalead.com>
9790         [BZ #15361]
9791         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9792         just that it's a file descriptor.
9793         * manual/llio.texi (Synchronizing AIO Operations): Update description
9794         for EBADF error from aio_fsync.
9796 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9798         * Rules (bench): Move target definition...
9799         * benchtests/Makefile: ... here.
9801 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9803         * math/libm-test.inc (cos_test): Fix PI/2 test.
9804         (sincos_test): Likewise.
9805         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9806         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9808 2013-04-11  Andreas Schwab  <schwab@suse.de>
9810         [BZ #13988]
9811         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9812         accept exponent character only when digits were seen.
9813         * stdio-common/Makefile (tests): Add bug26.
9814         * stdio-common/bug26.c: New file.
9816         [BZ #14293]
9817         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9818         non-freeable.
9820 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9822         * Makeconfig (rtld-prefix): Define built linker prefix.
9823         * Rules (run-bench): Use it.
9824         * math/Makefile (run-regen-ulps): Likewise.
9826         * Rules (bench): Remove eval.
9828 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9829             Roland McGrath  <roland@hack.frob.com>
9830             Ondrej Bilka  <neleai@seznam.cz>
9832         [BZ #15346]
9833         * time/getdate.c: Include ctype.h and alloca.h.
9834         (__getdate_r): Trim leading and trailing spaces of input.
9835         * time/tst-getdate.c (tests): Add tests with leading and
9836         trailing spaces.
9838 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9840         [BZ #14280]
9841         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9842         when computing value.
9844 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9846         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9847         Use testrun.sh to run libm tests.
9849         [BZ #15309]
9850         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9852 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9854         [BZ #15264]
9855         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9857 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9859         * Makefile.in (regen-ulps): New target.
9860         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9861         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9862         [ifneq (no,$(PERL)] (regen-ulps): New target.
9863         [ifeq (no,$(PERL)] (regen-ulps): New target.
9864         * math/libm-test.inc (ulps_file_name): Define.
9865         (output_dir): New variable.
9866         (options): Add "output-dir" option.
9867         (parse_opt): Handle 'o' case.
9868         (main): If output_dir is non-NULL use it as a prefix
9869         otherwise use "".
9870         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9872 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9874         [BZ #10060, #10062]
9875         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9876         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9877         fail configure if __sync_val_compare_and_swap is not inlined.
9878         * sysdeps/i386/configure: Regenerate.
9879         * configure.in: Build for i686 when configured for i386.
9880         * configure: Regenerate.
9881         * README: Remove i386 reference.
9883 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9885         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9886         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9888 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9890         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9891         (lmsnanval): New variables.
9892         (F): Add conversion tests.
9893         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9894         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9896         * stdio-common/tstdiomisc.c (F): Properly collect individual
9897         tests' results.
9899         [BZ #14686, #15336]
9900         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9901         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9902         Instead, use input NaN values or generate a qNaN by arithmetic
9903         operation.  Also fix bugs to comply with the standard.
9904         * math/libm-test.inc (remainder_test): Add more tests.
9906         [BZ #15335, #15342]
9907         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9908         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9909         input NaN values or generate a qNaN by arithmetic operation.
9911         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9912         unreachable code.
9914         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9915         definitions.
9917 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9919         [BZ #14478]
9920         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9921         underflowed result.
9922         * math/s_cexpf.c (__cexpf): Likewise.
9923         * math/s_cexpl.c (__cexpl): Likewise.
9924         * math/libm-test.inc (cexp_test): Add more tests.
9926 2013-04-03  Andreas Schwab  <schwab@suse.de>
9928         [BZ #15330]
9929         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9930         order arrays from heap if bigger than alloca cutoff.
9932 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
9934         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9935         (SNAN_TESTS_double): Refer to GCC PR56831.
9936         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9937         GCC PR56828.
9939 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9941         * Rules (bench): Move bench.out after the run is complete.
9943         * Rules (bench): Echo currently running benchmark.
9945         * benchtests/Makefile (bench): Add atan and slowatan.
9946         * benchtests/atan-inputs: New file.
9947         * benchtests/slowatan-inputs: New file.
9948         * benchtests/slowatan.c: New file.
9950         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9951         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9952         its value.
9954         [BZ #15305]
9955         * sysdeps/unix/sysv/linux/kernel-features.h
9956         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9957         __ASSUME_XFS_RESTRICTED_CHOWN.
9958         * sysdeps/unix/sysv/linux/pathconf.c
9959         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9960         Save and restore errno.
9962 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
9964         [BZ #15327]
9965         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9966         arguments using __kernel_casinh.
9967         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9968         arguments using __kernel_casinhf.
9969         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9970         arguments using __kernel_casinhl.
9971         * math/libm-test.inc (cacosh_test): Add more tests.
9972         * sysdeps/i386/fpu/libm-test-ulps: Update.
9973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9975 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9977         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9978         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9980         * bench/Makefile (bench): Add sin and slowsin.
9981         * benchtests/sin-inputs: New file.
9982         * benchtests/slowsin-inputs: New file.
9983         * benchtests/slowsin.c: New file.
9985         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9986         (bench): Add slowexp and slowpow.
9987         (exp-ITER): Increase iterations.
9988         (pow-ITER): Likewise.
9989         * benchtests/exp-inputs: Change input.
9990         * benchtests/pow-inputs: Likewise.
9991         * benchtests/slowexp-inputs: New file.
9992         * benchtests/slowexp.c: New file.
9993         * benchtests/slowpow-inputs: New file.
9994         * benchtests/slowpow.c: New file.
9996 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9998         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9999         instructions.
10000         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10001         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10002         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10003         * benchtests/Makefile: Add rint benchtest.
10004         * benchtests/rint-inputs: Input for rint benchtest.
10006 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10008         * Versions.def (libm): Add GLIBC_2.18.
10009         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10010         hidden libm prototypes.
10011         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10012         * math/Makefile (libm-calls): Add s_issignaling.
10013         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10014         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10015         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10016         declaration.
10017         * math/math.h [__USE_GNU] (issignaling): New macro.
10018         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10019         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10020         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10021         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10022         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10023         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10024         * manual/arith.texi (issignaling): New section.
10025         * manual/libm-err-tab.pl (@all_functions): Update comment.
10026         * math/gen-libm-test.pl (parse_args): Apply special handling for
10027         issignaling.
10028         * math/libm-test.inc (print_float, issignaling_test): New
10029         functions.
10030         (check_float_internal): Add issignaling checks.
10031         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10032         default definition.
10033         * sysdeps/powerpc/math-tests.h: New file.
10034         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10035         tests.
10036         * math/test-snan.c (TEST_FUNC): Likewise.
10038 2013-03-30  David S. Miller  <davem@davemloft.net>
10040         * po/de.po: Update from translation team.
10042 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10044         [BZ #10357]
10045         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10046         imaginary part less than 1.0 and real part less than 0.5
10047         specially.
10048         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10049         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10050         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10051         (cacos_test): Add more tests.
10052         (casin_test): Likewise.
10053         (casinh_test): Likewise.
10054         * sysdeps/i386/fpu/libm-test-ulps: Update.
10055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10057 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10059         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10060         ONE with its value.
10062         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10063         (__pow_mp): Replace ONE and MONE with their values.
10064         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10065         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10066         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10067         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10068         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10069         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10071         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10073         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10074         (__pow_mp): Replace ZERO and MZERO with their values.
10075         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10076         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10077         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10078         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10079         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10080         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10081         (__sqr): Likewise.
10083         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10085         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10087 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10089         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10090         Declare with __attribute__ ((weak)).
10091         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10092         Call __call_tls_dtors only if it's not NULL.
10094 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10096         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10097         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10098         magic __ehdr_start linker symbol if it's defined.
10099         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10100         them up here if it was already done.
10102         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10103         (_dl_aux_init): Use const in cast when setting it.
10104         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10105         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10106         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10108         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10109         Declare them here.
10110         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10111         * csu/libc-tls.c: Nor here.
10112         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10114         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10115         (__libc_message): Never call vsyslog.
10117 2013-03-28  Alan Modra  <amodra@gmail.com>
10119         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10120         Define as empty.
10121         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10122         Likewise.
10124 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10126         [BZ #15214]
10127         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10128         underflow.
10129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10131 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10133         [BZ #15304]
10134         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10135         Don't add gid passed as argument.
10137         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10139 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10141         [BZ #15307]
10142         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10143         imaginary part between 1.0 and 1.5 and real part less than 0.5
10144         specially.
10145         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10146         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10147         * math/libm-test.inc (cacos_test): Add more tests.
10148         (casin_test): Likewise.
10149         (casinh_test): Likewise.
10150         * sysdeps/i386/fpu/libm-test-ulps: Update.
10151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10153 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10155         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10156         constants.
10157         (norm): Likewise.
10158         (denorm): Likewise.
10159         (__dbl_mp): Likewise.
10160         (add_magnitudes): Likewise.
10161         (sub_magnitudes): Likewise.
10162         (__add): Likewise.
10163         (__sub): Likewise.
10164         (__mul): Likewise.
10165         (__sqr): Likewise.
10166         (__inv): Likewise.
10167         (__dvd): Likewise.
10169         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10170         commented code.
10171         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10172         (__dubcos): Likewise.
10173         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10174         (__ieee754_acos): Likewise.
10175         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10176         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10177         (__exp1): Likewise.
10178         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10179         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10180         (log1): Likewise.
10181         (my_log2): Likewise.
10182         (checkint): Likewise.
10183         * sysdeps/ieee754/dbl-64/e_remainder.c
10184         (__ieee754_remainder): Likewise.
10185         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10186         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10187         (bsloww): Likewise.
10188         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10190         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10191         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10192         MANTISSA_STORE_T to store computations on mantissa.  Use
10193         macros for rounding and division.
10194         (denorm): Likewise.
10195         (__dbl_mp): Likewise.
10196         (add_magnitudes): Likewise.
10197         (sub_magnitudes): Likewise.
10198         (__mul): Likewise.
10199         (__sqr): Likewise.
10200         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10201         powers of two in terms of TWOPOW macro.
10202         (mp_no): Make type of mantissa as MANTISSA_T.
10203         [!RADIXI]: Define RADIXI.
10204         [!TWO52]: Define TWO52.
10205         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10207 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10209         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10210         llroundl symbol when building for PPC32.
10212 2013-03-24  Mark H Weaver  <mhw@netris.org>
10214         * manual/arith.texi (Normalization Functions): Fix prototypes for
10215         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10217 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10219         [BZ #13889]
10220         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10221         high value to check if expl overflow.
10222         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10223         to check for underflow and overflow.
10224         * math/libm-test.inc: Add exp test.
10226 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10228         [BZ #11120]
10229         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10230         with NOT_IN_libc.
10232 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10234         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10235         symbol.
10237 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10239         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10240         wrap blocks consisting of several statements.
10242         * sysdeps/generic/math-tests.h: New file.
10243         * sysdeps/i386/fpu/math-tests.h: Likewise.
10244         * math/test-snan.c: Include it.
10245         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10247 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10249         [BZ #15285]
10250         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10251         (__ieee754_j0l): Do not improve calculations using cos of twice
10252         input for inputs above LDBL_MAX / 2.0L.
10253         (__ieee754_y0l): Likewise.
10254         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10255         (__ieee754_j1l): Do not improve calculations using cos of twice
10256         input for inputs above LDBL_MAX / 2.0L.
10257         (__ieee754_y1l): Likewise.
10258         * math/libm-test.inc (j0_test): Add another test.
10259         (j1_test): Likewise.
10260         (y0_test): Likewise.
10261         (y1_test): Likewise.
10262         * sysdeps/i386/fpu/libm-test-ulps: Update.
10264 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10266         * Rules ($(objpfx)bench-%.c): Include code from a C source
10267         file.
10269 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10271         [BZ #15287]
10272         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10273         imaginary part 1.0 and real part less than 0.5 specially.
10274         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10275         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10276         * math/libm-test.inc (cacos_test): Add more tests.
10277         (casin_test): Likewise.
10278         (casinh_test): Likewise.
10279         * sysdeps/i386/fpu/libm-test-ulps: Update.
10280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10282 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10284         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10285         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10287 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10289         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10290         * config.make.in (config-cflags-sse4): Remove variable.
10291         (config-cflags-avx): Likewise.
10292         (config-cflags-sse2avx): Likewise.
10293         (config-cflags-novzeroupper): Likewise.
10294         (config-asflags-i686): Likewise.
10295         (have-mfma4): Likewise.
10296         (have-as-vis3): Likewise.
10297         (MIG): Likewise.
10298         * configure.in (MIG): Do not AC_SUBST.
10299         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10300         (libc_cv_cc_sse4): Do not AC_SUBST.
10301         (libc_cv_cc_avx): Likewise.
10302         (libc_cv_cc_sse2avx): Likewise.
10303         (libc_cv_cc_novzeroupper): Likewise.
10304         (libc_cv_cc_fma4): Likewise.
10305         (libc_cv_as_i686): Likewise.
10306         (libc_cv_sparc_as_vis3): Likewise.
10307         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10308         LIBC_CONFIG_VAR.
10309         (config-asflags-i686): Likewise.
10310         (config-cflags-avx): Likewise.
10311         (config-cflags-sse2avx): Likewise.
10312         (have-mfma4): Likewise.
10313         (config-cflags-novzeroupper): Likewise.
10314         * sysdeps/mach/configure.in (MIG): Likewise.
10315         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10316         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10317         LIBC_CONFIG_VAR.
10318         (config-cflags-avx): Likewise.
10319         (config-cflags-sse2avx): Likewise.
10320         (have-mfma4): Likewise.
10321         (config-cflags-novzeroupper): Likewise.
10322         * configure: Regenerated.
10323         * sysdeps/i386/configure: Likewise.
10324         * sysdeps/mach/configure: Likewise.
10325         * sysdeps/sparc/configure: Likewise.
10326         * sysdeps/x86_64/configure: Likewise.
10328 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10330         [BZ #14812]
10331         * locale/programs/localedef.c (options): Put N_ translation marker
10332         on argument names, not just descriptions.
10334 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10336         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10338 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10340         [BZ #14176]
10341         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10343 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10345         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10346         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10347         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10348         [!BEFORE_ABORT] (before_abort): New function.
10349         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10350         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10351         (writev_for_fatal): New function.
10352         (WRITEV_FOR_FATAL): New macro; call that.
10353         (backtrace_and_maps): New function.
10354         (BEFORE_ABORT): New macro; call that.
10355         (struct str_list): Type removed.
10356         (__libc_message, __libc_fatal): Functions removed.
10357         Include <sysdeps/posix/libc_fatal.c> instead.
10359 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10361         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10362         constants.
10363         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10364         double constants.
10366 2013-03-19  Andreas Schwab  <schwab@suse.de>
10368         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10369         * sysdeps/gnu/configure: Regenerate.
10371         * configure.in: Substitute libc_cv_rtlddir.
10372         * configure: Regenerate.
10373         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10374         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10375         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10376         * elf/Makefile (install-others, CFLAGS-interp.c)
10377         (ldso_install, common-ldd-rewrite): Likewise.
10378         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10379         $(inst_slibdir)/$(rtld-installed-name).
10380         * scripts/rellns-sh: Add -p option.
10381         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10382         for source.
10384 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10386         * manual/nptl.texi: Renamed to ...
10387         * manual/threads.texi: ... this.
10388         * manual/Makefile (chapters): Update.
10390 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10392         [BZ #14812]
10393         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10394         on argument names, not just descriptions.
10395         * malloc/memusagestat.c (options): Likewise.
10396         * nss/getent.c (options): Likewise.
10398 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10400         [BZ #14812]
10401         * iconv/iconv_prog.c (options): Put N_ translation marker
10402         on argument names, not just descriptions.
10403         * iconv/iconvconfig.c (options): Likewise.
10405 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10407         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10408         implementation which is faster on all x86_64 architectures.
10409         Tested on AMD, Intel Nehalem, SNB, IVB.
10410         * sysdeps/x86_64/strnlen.S: Likewise.
10412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10413         Remove all multiarch strlen and strnlen versions.
10414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10415         Remove strlen and strnlen related parts.
10417         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10418         Inline strlen part.
10419         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10421         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10422         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10423         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10424         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10425         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10426         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10428 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10430         * manual/memory.texi (Malloc Tunable Parameters):
10431         Sort parameters alphabetically. Add comments for missing entries.
10433 2013-03-17  David S. Miller  <davem@davemloft.net>
10435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10437 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10439         [BZ #15283]
10440         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10441         for arguments at most half maximum finite value.
10442         * math/libm-test.inc (j0_test): Add more tests.
10443         (j1_test): Likewise.
10444         (y0_test): Likewise.
10445         (y1_test): Likewise.
10446         * sysdeps/i386/fpu/libm-test-ulps: Update.
10447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10449         [BZ #14155]
10450         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10451         1 / x and functions P and Q for arguments above 0x1p256L.
10452         (__ieee754_y0l): Likewise.
10453         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10454         (__ieee754_y1l): Likewise.
10455         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10456         (j1_test): Likewise.
10457         (y0_test): Likewise.
10458         (y1_test): Likewise.
10460 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10462         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10463         variable.
10465 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10467         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10468         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10469         zero since it's initialized to EXEC_PAGESIZE.
10471         * sysdeps/unix/sysv/linux/ldsodefs.h
10472         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10473         * sysdeps/generic/ldsodefs.h: ... here.
10475 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10477         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10479         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10480         math/test-snan.c.
10481         * math/test-snan.c: Renamed from
10482         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10483         * math/Makefile (tests): Add test-snan.
10484         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10485         test-powerpc-snan.
10487         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10488         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10489         functions.
10490         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10491         __builtin_nan family of functions.
10492         * math/libm-test.inc (initialize): Initialize qnan_value with
10493         __builtin_nan family of functions.
10494         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10495         Remove variables.
10496         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10497         Remove functions.
10498         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10499         storage class.  Initialize qNaN_var and sNaN_var with
10500         __builtin_nan and __builtin_nans families of functions,
10501         respectively.
10503         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10504         (sqrt_test): Remove duplicate test with qNaN input.
10505         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10506         (round_test, signbit_test, significand_test): Note missing +/-Inf
10507         as well as qNaN tests.
10509         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10510         qNaN_var.  Fix a few strings, too.
10511         * math/libm-test.inc (nan_value): Rename to qnan_value.
10512         * math/gen-libm-test.pl (%beautify): Adjust to that.
10513         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10514         * math/test-misc.c (main): Likewise.
10515         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10516         to __qnan_bytes, and __qnan_union, respectively.
10517         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10518         Likewise.
10519         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10520         and lqnanval, respectively.
10521         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10522         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10523         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10524         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10526         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10527         * math/test-misc.c (main) [__x86_64__]: Enable test for long
10528         doubles.
10530         * math/test-misc.c (main): Fix copy'n'pastos.
10531         * misc/tst-efgcvt.c (special): Likewise.
10533         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10534         Remove declarations.
10536 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10538         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10539         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10540         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10541         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10543 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10545         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10546         macro to return vdso values correctly in IFUNC implementations.
10547         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10548         Optimization by using IFUNC.
10550 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10551             Richard Henderson  <rth@redhat.com>
10552             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10554         * Makefile.in (bench): New target.
10555         * NEWS: Mention the benchmark framework.
10556         * Rules (bench): Likewise.
10557         (binaries-bench): Generate binaries for functions to
10558         benchmark.
10559         * benchtests/Makefile: New makefile for benchmark tests.
10560         * benchtests/bench-skeleton.c: New skeleton file for benchmark
10561         programs.
10562         * benchtests/exp-inputs: New input file for EXP function.
10563         * benchtests/pow-inputs: New input file for POW function.
10564         * scripts/bench.pl: New script to generate source files for
10565         benchmark programs.
10567 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10569         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10570         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10571         computations on mantissa.  Use macros for rounding and
10572         division.
10573         (denorm): Likewise.
10574         (__dbl_mp): Likewise.
10575         (add_magnitudes): Likewise.
10576         (sub_magnitudes): Likewise.
10577         (__mul): Likewise.
10578         (__sqr): Likewise.
10579         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10580         powers of two in terms of TWOPOW macro.
10581         (mp_no): Make type of mantissa as MANTISSA_T.
10582         [!RADIXI]: Define RADIXI.
10583         [!TWO52]: Define TWO52.
10584         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10586         * manual/nptl.texi (cindex): Modify threads to pthreads.
10588 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
10590         * sysdeps/x86_64/preconfigure: Regenerated.
10592 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
10594         [BZ #14155]
10595         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10596         0x1p28 and above.
10597         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10598         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10599         0x1p28 and above.
10600         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10601         * math/libm-test.inc (j0_test): Do not allow one spurious
10602         underflow exception.
10603         (y1_test): Likewise.
10605 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10607         * manual/Makefile (chapters): Add nptl.
10608         * manual/debug.texi (Debugging Support): Add link to Threads
10609         chapter.
10610         * manual/nptl.texi: New file.
10612         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10614 2013-03-14  Petr Baudis  <pasky@ucw.cz>
10616         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10617         for non-NULL pointer before the memory validity test. Pointed
10618         out by Holger Brunck <holger.brunck@keymile.com>.
10620 2013-03-13  Andreas Schwab  <schwab@suse.de>
10622         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10623         instead of .os.
10625 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
10627         * timezone/zic.c: Update from tzcode 2013b.
10629 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
10631         * manual/install.texi (Configuring and compiling):
10632         Mention i686 and i586.
10633         * INSTALL: Regenerate.
10635 2013-03-12  Roland McGrath  <roland@hack.frob.com>
10637         * sysdeps/init_array/elf-init.c: New file.
10638         * csu/elf-init.c
10639         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10640         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10642         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10643         __gmon_start__ as global, but as static with a .preinit_array pointer.
10644         * sysdeps/init_array/gmon-start.c: New file.  Use that.
10645         * sysdeps/init_array/crti.S: New file, empty except for comments.
10646         * sysdeps/init_array/crtn.S: Likewise.
10648 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
10650         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10651         definining bcopy.
10652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10653         Remove Prefer_SSE_for_memop.
10654         * sysdeps/x86_64/multiarch/init-arch.h: Remove
10655         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10656         HAS_PREFER_SSE_FOR_MEMOP.
10657         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10658         memset-x86-64.
10659         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10660         Remove bzero, memset ifunc support.
10661         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10662         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10663         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10664         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10666 2013-03-11  Andreas Schwab  <schwab@suse.de>
10668         [BZ #15234]
10669         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10670         by SHLIB_COMPAT.
10671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10672         (GLIBC_2.16): Remove pthread_atfork.
10674 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10676         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10677         (ptestcases.h): Likewise.
10679 2013-03-08  Roland McGrath  <roland@hack.frob.com>
10681         * Makeconfig ($(common-objpfx)config.status): Depend on
10682         sysdeps/*/preconfigure{,.in} too.
10684 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
10686         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10687         (__free_hook): Use void * instead of __malloc_ptr_t.
10688         (__malloc_hook): Likewise.
10689         (__realloc_hook): Likewise.
10690         (__memalign_hook): Likewise.
10691         (__after_morecore_hook): Likewise.
10692         * malloc/arena.c (save_malloc_hook): Likewise.
10693         (save_free_hook): Likewise.
10694         * malloc/hooks.c (malloc_hook_ini): Likewise.
10695         (realloc_hook_ini): Likewise.
10696         (memalign_hook_ini): Likewise.
10697         * malloc/malloc.c (malloc_hook_ini): Likewise.
10698         (realloc_hook_ini): Likewise.
10699         (memalign_hook_ini): Likewise.
10700         (__free_hook): Likewise.
10701         (__malloc_hook): Likewise.
10702         (__realloc_hook): Likewise.
10703         (__memalign_hook): Likewise.
10704         (__libc_malloc): Likewise.
10705         (__libc_free): Likewise.
10706         (__libc_realloc): Likewise.
10707         (__libc_memalign): Likewise.
10708         (__libc_valloc): Likewise.
10709         (__libc_pvalloc): Likewise.
10710         (__libc_calloc): Likewise.
10711         (__posix_memalign): Likewise.
10712         * malloc/morecore.c (__sbrk): Likewise.
10713         (__default_morecore): Likewise.
10715         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10717         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10718         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10719         __malloc_ptrdiff_t.
10721         * malloc/malloc.h (__malloc_size_t): Remove macro.
10722         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10723         __malloc_size_t.
10724         (old_memalign_hook): Likewise.
10725         (old_realloc_hook): Likewise.
10726         (struct hdr): Likewise.
10727         (flood): Likewise.
10728         (mallochook): Likewise.
10729         (memalignhook): Likewise.
10730         (reallochook): Likewise.
10731         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10732         (tr_old_realloc_hook): Likewise.
10733         (tr_old_memalign_hook): Likewise.
10734         (tr_mallochook): Likewise.
10735         (tr_reallochook): Likewise.
10736         (tr_memalignhook): Likewise.
10738 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10740         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10741         default_ldbl_pack and using as default implementation.
10742         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10743         implementation.
10744         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10745         redundant definition.
10746         (ldbl_insert_mantissa): Likewise.
10747         (ldbl_canonicalize): Likewise.
10748         (ldbl_nearbyint): Likewise.
10749         (ldbl_pack): Rename to ldbl_pack_ppc.
10750         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10751         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10752         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10754 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10757         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10758         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10759         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10760         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10761         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10762         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10763         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10765 2013-03-07  Andreas Jaeger  <aj@suse.de>
10767         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10768         bits/mman-linux.h.
10770 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10772         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10773         Include mpa.h and declare __MPEXP.
10774         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10775         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10776         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10777         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10778         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10779         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10780         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10782         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10783         (__slowpow): Use long double EXPL and LOGL functions to
10784         compute POW.
10785         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10786         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10787         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10788         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10789         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10790         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10793         intermediate variable to calculate exponent.
10794         (__sqr): Likewise.
10795         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10796         Likewise.
10797         (__sqr): Likewise.
10799         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10800         [!NO__SQR]: Define __sqr.
10801         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10802         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10803         sysdeps/ieee754/dbl-64/mpa.c.
10804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10806         [BZ #12723]
10807         * posix/Makefile (tests): Add tst-pathconf.
10808         * posix/tst-pathconf.c: New test case.
10809         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10810         _PC_PIPE_BUF.
10811         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10813 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10815         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10817 2013-03-06  Andreas Jaeger  <aj@suse.de>
10819         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10820         definition via __MAP_ANONYMOUS.
10822         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10823         it's not part of Linux headers.
10825         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10826         (MAP_HUGE_MASK): Define.
10828         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10829         Define.
10830         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10831         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10832         Define.
10833         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10834         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10835         Define.
10836         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10837         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10838         Define.
10839         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10841         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10842         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10843         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10844         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10845         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10846         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10848         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10849         Handle f2fs.
10851         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10852         Handle f2fs and efivarfs.
10854         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10855         f2fs.
10857         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10858         (EFIVARFS_MAGIC): Add.
10859         (F2FS_LINK_MAX): Add.
10861 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10863         * stdio-common/vfprintf.c: Replace __builtin_expect with
10864         __glibc_unlikely.
10866 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10868         [BZ #13550]
10869         * sysdeps/generic/bp-sym.h: Remove file.
10870         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10871         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10872         <bp-sym.h> and <bp-asm.h>.
10873         (__longjmp): Don't use BP_SYM.
10874         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10875         and <bp-asm.h>.
10876         (memcpy): Don't use BP_SYM.
10877         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10878         <bp-sym.h> and <bp-asm.h>.
10879         (memcpy): Don't use BP_SYM.
10880         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10881         <bp-asm.h>.
10882         (memcpy): Don't use BP_SYM.
10883         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10884         <bp-asm.h>.
10885         (memset): Don't use BP_SYM.
10886         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10887         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10888         (__bzero): Don't use BP_SYM.
10889         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10890         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10891         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10892         <bp-sym.h> and <bp-asm.h>.
10893         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10894         pointers.
10895         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10896         <bp-sym.h> and <bp-asm.h>.
10897         (memcpy): Don't use BP_SYM.
10898         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10899         <bp-sym.h> and <bp-asm.h>.
10900         (memset): Don't use BP_SYM.
10901         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10902         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10903         (__bzero): Don't use BP_SYM.
10904         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10905         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10906         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10907         <bp-sym.h> and <bp-asm.h>.
10908         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10909         pointers.
10910         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10911         <bp-sym.h> and <bp-asm.h>.
10912         (memcpy): Don't use BP_SYM.
10913         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10914         <bp-sym.h> and <bp-asm.h>.
10915         (memset): Don't use BP_SYM.
10916         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10917         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10918         (__bzero): Don't use BP_SYM.
10919         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10920         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10921         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10922         <bp-sym.h> and <bp-asm.h>.
10923         (__memchr): Don't use BP_SYM.
10924         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10925         <bp-sym.h> and <bp-asm.h>.
10926         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10927         pointers.
10928         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10929         <bp-sym.h> and <bp-asm.h>.
10930         (memcpy): Don't use BP_SYM.
10931         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10932         <bp-sym.h> and <bp-asm.h>.
10933         (__mempcpy): Don't use BP_SYM.
10934         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10935         <bp-sym.h> and <bp-asm.h>.
10936         (__memrchr): Don't use BP_SYM.
10937         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10938         <bp-sym.h> and <bp-asm.h>.
10939         (memset): Don't use BP_SYM.
10940         (__bzero): Likewise.
10941         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10942         <bp-sym.h> and <bp-asm.h>.
10943         (__rawmemchr): Don't use BP_SYM.
10944         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10945         <bp-sym.h> and <bp-asm.h>.
10946         (__STRCMP): Don't use BP_SYM.
10947         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10948         <bp-sym.h> and <bp-asm.h>.
10949         (strchr): Don't use BP_SYM.
10950         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10951         <bp-sym.h> and <bp-asm.h>.
10952         (__strchrnul): Don't use BP_SYM.
10953         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10954         <bp-sym.h> and <bp-asm.h>.
10955         (strlen): Don't use BP_SYM.
10956         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10957         <bp-sym.h> and <bp-asm.h>.
10958         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10959         pointers.
10960         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10961         <bp-sym.h> and <bp-asm.h>.
10962         (__strnlen): Don't use BP_SYM.
10963         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10964         <bp-sym.h> and <bp-asm.h>.
10965         (__GI__setjmp): Don't use BP_SYM.
10966         (_setjmp): Likewise.
10967         (__sigsetjmp): Likewise.
10968         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10969         (L(start_addresses)): Don't use BP_SYM.
10970         (_start): Likewise.
10971         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10972         <bp-asm.h>.
10973         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10974         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10975         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10976         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10977         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10978         <bp-asm.h>.
10979         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10980         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
10981         about bounded pointers.
10982         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10983         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10984         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10985         <bp-asm.h>.
10986         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10987         about bounded pointers.  Remove GKM FIXME comments.
10988         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10989         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10990         <bp-asm.h>.
10991         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10992         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
10993         Remove GKM FIXME comments.
10994         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10995         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10996         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10997         <bp-asm.h>.
10998         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10999         about bounded pointers.  Remove GKM FIXME comment.
11000         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11001         and <bp-asm.h>.
11002         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11003         pointers.
11004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11005         <bp-sym.h> and <bp-asm.h>.
11006         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11008         <bp-sym.h> and <bp-asm.h>.
11009         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11010         comment.
11012 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11014         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11015         call free(NULL).
11017 2013-03-05  David S. Miller  <davem@davemloft.net>
11019         * po/es.po: Update from translation team.
11021 2013-03-05  Andreas Jaeger  <aj@suse.de>
11023         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11024         <bits/mman-linux.h>.
11025         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11026         is fine.
11027         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11028         <bits/mman-linux.h> to end of file.
11029         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11030         is fine.
11031         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11032         <bits/mman-linux.h> to end of file.
11033         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11034         is fine.
11035         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11036         <bits/mman-linux.h> to end of file.
11038         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11039         (MCL_CURRENT, MCL_FUTURE): Define here.
11041 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11043         [BZ #15232]
11044         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11045         attribute_hidden.
11046         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11048 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11050         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11051         fourth parameter needed for rt_sigprocmask syscall.
11052         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11053         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11054         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11055         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11056         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11057         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11059 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11061         [BZ #13550]
11062         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11063         comment about bounded pointers.
11064         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11065         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11067 2013-03-04  Andreas Jaeger  <aj@suse.de>
11069         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11070         common definitions.
11072         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11073         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11074         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11075         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11076         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11077         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11079 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11081         [BZ #15055]
11082         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11083         __ieee754_sqrl instead of __sqrl.
11085 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11087         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11088         * sysdeps/powerpc/fpu_control.h: ... here.
11089         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11090         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11091         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11092         * sysdeps/powerpc/bits/mathinline.h: ... here.
11094 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11096         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11097         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11098         to just [NEED_DL_SYSINFO_DSO].
11099         * elf/dl-support.c: Likewise.
11100         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11101         * elf/rtld.c (dl_main): Likewise.
11102         * elf/setup-vdso.h (setup_vdso): Likewise.
11103         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11104         * sysdeps/unix/sysv/linux/dl-sysdep.c
11105         (_dl_discover_osversion): Likewise.
11107 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11109         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11110         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11112 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11114         * NEWS: Mention libm performance improvements and non-x86 PI
11115         futex support.
11117         * csu/libc-start.c (__pthread_initialize_minimal): Change
11118         function arguments.
11119         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11121 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11123         [BZ #13550]
11124         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11125         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11126         <bp-sym.h> and <bp-asm.h>.
11127         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11128         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11129         and <bp-asm.h>.
11130         (memcpy): Don't use BP_SYM.
11131         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11132         <bp-asm.h>.
11133         (__mpn_add_n): Don't use BP_SYM.
11134         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11135         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11136         and <bp-asm.h>.
11137         (__mpn_addmul_1): Don't use BP_SYM.
11138         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11139         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11140         <bp-sym.h>.
11141         (_setjmp): Don't use BP_SYM.
11142         (__novmx_setjmp): Likewise.
11143         (__GI__setjmp): Likewise.
11144         (__vmx_setjmp): Likewise.
11145         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11146         <bp-sym.h>.
11147         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11148         (__bzero): Don't use BP_SYM.
11149         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11150         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11151         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11152         <bp-sym.h> and <bp-asm.h>.
11153         (memcpy): Don't use BP_SYM.
11154         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11155         <bp-sym.h> and <bp-asm.h>.
11156         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11157         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11158         <bp-sym.h> and <bp-asm.h>.
11159         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11160         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11161         <bp-asm.h>.
11162         (__mpn_lshift): Don't use BP_SYM.
11163         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11164         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11165         <bp-asm.h>.
11166         (memset): Don't use BP_SYM.
11167         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11168         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11169         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11170         <bp-asm.h>.
11171         (__mpn_mul_1): Don't use BP_SYM.
11172         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11173         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11174         <bp-sym.h> and <bp-asm.h>.
11175         (memcmp): Don't use BP_SYM.
11176         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11177         <bp-sym.h> and <bp-asm.h>.
11178         (memcpy): Don't use BP_SYM.
11179         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11180         <bp-sym.h> and <bp-asm.h>.
11181         (memset): Don't use BP_SYM.
11182         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11183         <bp-sym.h> and <bp-asm.h>.
11184         (strncmp): Don't use BP_SYM.
11185         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11186         <bp-sym.h> and <bp-asm.h>.
11187         (memcpy): Don't use BP_SYM.
11188         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11189         <bp-sym.h> and <bp-asm.h>.
11190         (memset): Don't use BP_SYM.
11191         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11192         <bp-sym.h> and <bp-asm.h>.
11193         (__memchr): Don't use BP_SYM.
11194         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11195         <bp-sym.h> and <bp-asm.h>.
11196         (memcmp): Don't use BP_SYM.
11197         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11198         <bp-sym.h> and <bp-asm.h>.
11199         (memcpy): Don't use BP_SYM.
11200         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11201         <bp-sym.h> and <bp-asm.h>.
11202         (__mempcpy): Don't use BP_SYM.
11203         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11204         <bp-sym.h> and <bp-asm.h>.
11205         (__memrchr): Don't use BP_SYM.
11206         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11207         <bp-sym.h> and <bp-asm.h>.
11208         (memset): Don't use BP_SYM.
11209         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11210         <bp-sym.h> and <bp-asm.h>.
11211         (__rawmemchr): Don't use BP_SYM.
11212         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11213         <bp-sym.h> and <bp-asm.h>.
11214         (__STRCMP): Don't use BP_SYM.
11215         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11216         <bp-sym.h> and <bp-asm.h>.
11217         (strchr): Don't use BP_SYM.
11218         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11219         <bp-sym.h> and <bp-asm.h>.
11220         (__strchrnul): Don't use BP_SYM.
11221         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11222         <bp-sym.h> and <bp-asm.h>.
11223         (strlen): Don't use BP_SYM.
11224         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11225         <bp-sym.h> and <bp-asm.h>.
11226         (strncmp): Don't use BP_SYM.
11227         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11228         <bp-sym.h> and <bp-asm.h>.
11229         (__strnlen): Don't use BP_SYM.
11230         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11231         <bp-asm.h>.
11232         (__mpn_rshift): Don't use BP_SYM.
11233         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11234         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11235         <bp-sym.h> and <bp-asm.h>.
11236         (__sigsetjmp): Don't use BP_SYM.
11237         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11238         (L(start_addresses)): Don't use BP_SYM.
11239         (_start): Likewise.
11240         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11241         <bp-asm.h>.
11242         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11243         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11244         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11245         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11246         <bp-asm.h>.
11247         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11248         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11249         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11250         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11251         <bp-asm.h>.
11252         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11253         comments.
11254         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11255         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11256         <bp-asm.h>.
11257         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11258         FIXME comments.
11259         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11260         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11261         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11262         <bp-asm.h>.
11263         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11264         comment.
11265         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11266         and <bp-asm.h>.
11267         (strncmp): Don't use BP_SYM,
11268         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11269         <bp-asm.h>.
11270         (__mpn_sub_n): Don't use BP_SYM.
11271         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11272         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11273         and <bp-asm.h>.
11274         (__mpn_submul_1): Don't use BP_SYM.
11275         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11277         <bp-sym.h> and <bp-asm.h>.
11278         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11280         <bp-sym.h> and <bp-asm.h>.
11281         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11282         comment.
11284 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11287         Use ZK to minimize writes to Z.
11288         (sub_magnitudes): Simplify code a bit.
11289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11290         Use ZK to minimize writes to Z.
11291         (sub_magnitudes): Simplify code a bit.
11293 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11295         * csu/gmon-start.c: Add special exception to license text.
11297 2013-02-27  Richard Henderson  <rth@redhat.com>
11299         * scripts/config.guess: Update from config.git.
11300         * scripts/config.sub: Likewise.
11302 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11304         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11306         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11308         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11310         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11312         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11314 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11316         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11317         [$(build-shared = yes].
11319 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11321         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11322         (__mul): Reduce iterations for calculating mantissa.
11324         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11325         MPTWO.
11326         (__mpranred): Likewise.
11328         [BZ #15160]
11329         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11330         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11332 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11334         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11335         Define __attribute__.
11337 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11339         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11340         unused.
11341         * posix/regex_internal.h (__attribute): Remove.
11342         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11343         (re_string_context_at): Likewise.
11344         (bitset_not): Use __attribute__ and mark function as possibly
11345         unused.
11346         (bitset_merge): Likewise.
11347         (bitset_mask): Likewise.
11348         (re_string_char_size_at): Likewise.
11349         (re_string_wchar_at): Likewise.
11350         (re_string_elem_size_at): Likewise.
11352 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11354         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11355         code.
11356         (cc32): Likewise.
11358         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11359         (__acr): Likewise.
11360         (__cpy): Likewise.
11361         (norm): Likewise.
11362         (denorm): Likewise.
11363         (__dbl_mp): Likewise.
11364         (add_magnitudes): Likewise.
11365         (sub_magnitudes): Likewise.
11366         (__mul): Likewise.
11367         (__inv): Likewise.
11369         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11370         style.
11372         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11373         style.
11375         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11376         code.
11378         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11379         up changes with default code.
11380         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11381         Likewise.
11383 2013-02-24  Allan McRae  <allan@archlinux.org>
11385         * manual/socket.texi (The Internet Namespace): Order menu items
11386         to match that in the file.
11388         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11389         node listing of the info page menu.
11391 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11393         [BZ #13550]
11394         * sysdeps/i386/bp-asm.h: Remove file.
11395         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11396         (PARMS): Do not use macros from bp-asm.h.
11397         (S1): Likewise.
11398         (S2): Likewise.
11399         (SIZE): Likewise.
11400         (__mpn_add_n): Do not use BP_SYM
11401         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11402         "bp-asm.h".
11403         (PARMS): Do not use macros from bp-asm.h.
11404         (S1): Likewise.
11405         (SIZE): Likewise.
11406         (__mpn_addmul_1): Do not use BP_SYM
11407         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11408         "bp-asm.h".
11409         (PARMS): Do not use macros from bp-asm.h.
11410         (SIGMSK): Likewise.
11411         (_setjmp): Likewise.  Do not use BP_SYM.
11412         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11413         "bp-asm.h".
11414         (PARMS): Do not use macros from bp-asm.h.
11415         (SIGMSK): Likewise.
11416         (setjmp): Likewise.  Do not use BP_SYM.
11417         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11418         "bp-asm.h".
11419         (PARMS): Do not use macros from bp-asm.h.
11420         (__frexp): Do not use BP_SYM.
11421         (frexp): Likewise.
11422         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11423         "bp-asm.h".
11424         (PARMS): Do not use macros from bp-asm.h.
11425         (__frexpf): Do not use BP_SYM.
11426         (frexpf): Likewise.
11427         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11428         "bp-asm.h".
11429         (PARMS): Do not use macros from bp-asm.h.
11430         (__frexpl): Do not use BP_SYM.
11431         (frexpl): Likewise.
11432         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11433         "bp-asm.h".
11434         (PARMS): Do not use macros from bp-asm.h.
11435         (__remquo): Do not use BP_SYM.
11436         (remquo): Likewise.
11437         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11438         "bp-asm.h".
11439         (PARMS): Do not use macros from bp-asm.h.
11440         (__remquof): Do not use BP_SYM.
11441         (remquof): Likewise.
11442         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11443         "bp-asm.h".
11444         (PARMS): Do not use macros from bp-asm.h.
11445         (__remquol): Do not use BP_SYM.
11446         (remquol): Likewise.
11447         * sysdeps/i386/i486/strcat.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         (SRC): Likewise.
11452         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11453         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11454         "bp-asm.h".
11455         (PARMS): Do not use macros from bp-asm.h.
11456         (strlen): Do not use BP_SYM.
11457         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11458         "bp-asm.h".
11459         (PARMS): Do not use macros from bp-asm.h.
11460         (S1): Likewise.
11461         (S2): Likewise.
11462         (SIZE): Likewise.
11463         (__mpn_add_n): Do not use BP_SYM.
11464         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11465         "bp-asm.h".
11466         (PARMS): Do not use macros from bp-asm.h.
11467         (S1): Likewise.
11468         (SIZE): Likewise.
11469         (__mpn_addmul_1): Do not use BP_SYM.
11470         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11471         weak_alias.
11472         (bzero): Likewise.
11473         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11474         "bp-asm.h".
11475         (PARMS): Do not use macros from bp-asm.h.
11476         (S): Likewise.
11477         (SIZE): Likewise.
11478         (__mpn_lshift): Do not use BP_SYM.
11479         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11480         "bp-asm.h".
11481         (PARMS): Do not use macros from bp-asm.h.
11482         (DEST): Likewise.
11483         (SRC): Likewise.
11484         (LEN): Likewise.
11485         (memcpy): Likewise.  Do not use BP_SYM.
11486         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11487         libc_hidden_def and weak_alias.
11488         (mempcpy): Do not use BP_SYM in weak_alias.
11489         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11490         "bp-asm.h".
11491         (PARMS): Do not use macros from bp-asm.h.
11492         (DEST): Likewise.
11493         (LEN): Likewise.
11494         [!BZERO_P] (CHR): Likewise.
11495         (memset): Likewise.  Do not use BP_SYM.
11496         * sysdeps/i386/i586/mul_1.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         (SIZE): Likewise.
11501         (__mpn_mul_1): Do not use BP_SYM.
11502         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11503         "bp-asm.h".
11504         (PARMS): Do not use macros from bp-asm.h.
11505         (S): Likewise.
11506         (SIZE): Likewise.
11507         (__mpn_rshift): Do not use BP_SYM.
11508         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11509         "bp-asm.h".
11510         (PARMS): Do not use macros from bp-asm.h.
11511         (STR): Likewise.
11512         (CHR): Likewise.
11513         (strchr): Likewise.  Do not use BP_SYM.
11514         (index): Do not use BP_SYM in weak_alias.
11515         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11516         "bp-asm.h".
11517         (PARMS): Do not use macros from bp-asm.h.
11518         (DEST): Likewise.
11519         (SRC): Likewise.
11520         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
11521         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11522         "bp-asm.h".
11523         (PARMS): Do not use macros from bp-asm.h.
11524         (strlen): Do not use BP_SYM.
11525         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11526         "bp-asm.h".
11527         (PARMS): Do not use macros from bp-asm.h.
11528         (S1): Likewise.
11529         (S2): Likewise.
11530         (SIZE): Likewise.
11531         (__mpn_sub_n): Do not use BP_SYM.
11532         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11533         "bp-asm.h".
11534         (PARMS): Do not use macros from bp-asm.h.
11535         (S1): Likewise.
11536         (SIZE): Likewise.
11537         (__mpn_submul_1): Do not use BP_SYM.
11538         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11539         "bp-asm.h".
11540         (PARMS): Do not use macros from bp-asm.h.
11541         (S1): Likewise.
11542         (S2): Likewise.
11543         (SIZE): Likewise.
11544         (__mpn_add_n): Do not use BP_SYM.
11545         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11546         weak_alias.
11547         (bzero): Likewise.
11548         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11549         "bp-asm.h".
11550         (PARMS): Do not use macros from bp-asm.h.
11551         (BLK2): Likewise.
11552         (LEN): Likewise.
11553         (memcmp): Do not use BP_SYM.
11554         (bcmp): Do not use BP_SYM in weak_alias.
11555         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11556         "bp-asm.h".
11557         (PARMS): Do not use macros from bp-asm.h.
11558         (DEST): Likewise.
11559         (SRC): Likewise.
11560         (LEN): Likewise.
11561         (memcpy): Likewise.  Do not use BP_SYM.
11562         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11563         "bp-asm.h".
11564         (PARMS): Do not use macros from bp-asm.h.
11565         (DEST): Likewise.
11566         (SRC): Likewise.
11567         (LEN): Likewise.
11568         (memmove): Likewise.  Do not use BP_SYM.
11569         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11570         "bp-asm.h".
11571         (PARMS): Do not use macros from bp-asm.h.
11572         (DEST): Likewise.
11573         (SRC): Likewise.
11574         (LEN): Likewise.
11575         (__mempcpy): Likewise.  Do not use BP_SYM.
11576         (mempcpy): Do not use BP_SYM in weak_alias.
11577         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11578         "bp-asm.h".
11579         (PARMS): Do not use macros from bp-asm.h.
11580         (DEST): Likewise.
11581         (LEN): Likewise.
11582         [!BZERO_P] (CHR): Likewise.
11583         (memset): Likewise.  Do not use BP_SYM.
11584         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11585         "bp-asm.h".
11586         (PARMS): Do not use macros from bp-asm.h.
11587         (STR2): Likewise.
11588         (strcmp): Do not use BP_SYM.
11589         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11590         "bp-asm.h".
11591         (PARMS): Do not use macros from bp-asm.h.
11592         (STR): Likewise.
11593         (DELIM): Likewise.
11594         [USE_AS_STRTOK_R] (SAVE): Likewise.
11595         (FUNCTION): Likewise.  Do not use BP_SYM.
11596         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11597         aliases.
11598         (strtok_r): Likewise.
11599         (__GI___strtok_r): Likewise.
11600         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11601         (PARMS): Do not use macros from bp-asm.h.
11602         (S): Likewise.
11603         (SIZE): Likewise.
11604         (__mpn_lshift): Do not use BP_SYM.
11605         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11606         (PARMS): Do not use macros from bp-asm.h.
11607         (STR): Likewise.
11608         (CHR): Likewise.
11609         (__memchr): Do not use BP_SYM.
11610         (memchr): Do not use BP_SYM in weak_alias.
11611         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11612         (PARMS): Do not use macros from bp-asm.h.
11613         (BLK2): Likewise.
11614         (LEN): Likewise.
11615         (memcmp): Do not use BP_SYM.
11616         (bcmp): Do not use BP_SYM in weak_alias.
11617         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11618         (PARMS): Do not use macros from bp-asm.h.
11619         (S1): Likewise.
11620         (SIZE): Likewise.
11621         (__mpn_mul_1): Do not use BP_SYM.
11622         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11623         "bp-asm.h".
11624         (PARMS): Do not use macros from bp-asm.h.
11625         (STR): Likewise.
11626         (CHR): Likewise.
11627         (__rawmemchr): Do not use BP_SYM.
11628         (rawmemchr): Do not use BP_SYM in weak_alias.
11629         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11630         (PARMS): Do not use macros from bp-asm.h.
11631         (S): Likewise.
11632         (SIZE): Likewise.
11633         (__mpn_rshift): Do not use BP_SYM.
11634         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11635         (PARMS): Do not use macros from bp-asm.h.
11636         (SIGMSK): Likewise.
11637         (__sigsetjmp): Likewise.  Do not use BP_SYM.
11638         * sysdeps/i386/start.S: Do not include "bp-sym.h".
11639         (_start): Do not use BP_SYM.
11640         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11641         (PARMS): Do not use macros from bp-asm.h.
11642         (DEST): Likewise.
11643         (SRC): Likewise.
11644         (__stpcpy): Likewise.  Do not use BP_SYM.
11645         (stpcpy): Do not use BP_SYM in weak_alias.
11646         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11647         "bp-asm.h".
11648         (PARMS): Do not use macros from bp-asm.h.
11649         (DEST): Likewise.
11650         (SRC): Likewise.
11651         (LEN): Likewise.
11652         (__stpncpy): Likewise.  Do not use BP_SYM.
11653         (stpncpy): Do not use BP_SYM in weak_alias.
11654         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11655         (PARMS): Do not use macros from bp-asm.h.
11656         (STR): Likewise.
11657         (CHR): Likewise.
11658         (strchr): Likewise.  Do not use BP_SYM.
11659         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11660         "bp-asm.h".
11661         (PARMS): Do not use macros from bp-asm.h.
11662         (STR): Likewise.
11663         (CHR): Likewise.
11664         (__strchrnul): Likewise.  Do not use BP_SYM.
11665         (strchrnul): Do not use BP_SYM in weak_alias.
11666         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11667         "bp-asm.h".
11668         (PARMS): Do not use macros from bp-asm.h.
11669         (STOP): Likewise.
11670         (strcspn): Do not use BP_SYM.
11671         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11672         "bp-asm.h".
11673         (PARMS): Do not use macros from bp-asm.h.
11674         (STR): Likewise.
11675         (STOP): Likewise.
11676         (strpbrk): Likewise.  Do not use BP_SYM.
11677         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11678         "bp-asm.h".
11679         (PARMS): Do not use macros from bp-asm.h.
11680         (STR): Likewise.
11681         (CHR): Likewise.
11682         (strrchr): Likewise.  Do not use BP_SYM.
11683         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11684         (PARMS): Do not use macros from bp-asm.h.
11685         (SKIP): Likewise.
11686         (strspn): Do not use BP_SYM.
11687         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11688         (PARMS): Do not use macros from bp-asm.h.
11689         (STR): Likewise.
11690         (DELIM): Likewise.
11691         (SAVE): Likewise.
11692         (FUNCTION): Likewise.  Do not use BP_SYM.
11693         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11694         aliases.
11695         (strtok_r): Likewise.
11696         (__GI___strtok_r): Likewise.
11697         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11698         (PARMS): Do not use macros from bp-asm.h.
11699         (S1): Likewise.
11700         (S2): Likewise.
11701         (SIZE): Likewise.
11702         (__mpn_sub_n): Do not use BP_SYM.
11703         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11704         "bp-asm.h".
11705         (PARMS): Do not use macros from bp-asm.h.
11706         (S1): Likewise.
11707         (SIZE): Likewise.
11708         (__mpn_submul_1): Do not use BP_SYM.
11709         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11710         <bp-sym.h>.
11711         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11712         and <bp-asm.h>.
11713         (PARMS): Do not use macros from bp-asm.h.
11714         (FLAGS): Likewise.
11715         (PTID): Likewise.
11716         (TLS): Likewise.
11717         (CTID): Likewise.
11718         (__clone): Do not use BP_SYM.
11719         (clone): Do not use BP_SYM in weak_alias.
11720         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11721         and <bp-asm.h>.
11722         (PARMS): Do not use macros from bp-asm.h.
11723         (LEN): Likewise.
11724         (__mmap64): Do not use BP_SYM.
11725         (mmap64): Do not use BP_SYM in weak_alias.
11726         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11727         <bp-sym.h> and <bp-asm.h>.
11728         (PARMS): Do not use macros from bp-asm.h.
11729         (__posix_fadvise64_l64): Do not use BP_SYM.
11730         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11731         (PARMS): Do not use macros from bp-asm.h.
11732         (NSOPS): Likewise.
11733         (semtimedop): Do not use BP_SYM.
11734         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11735         and <bp-asm.h>.
11737 2013-02-21  Allan McRae  <allan@archlinux.org>
11739         * manual/message.texi (Charset conversion in gettext):
11740         Move @end statement to beginning of line.
11742 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11745         static.
11746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11747         Likewise.
11749         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11750         (denorm): Likewise.
11751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11754 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11756         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11757         tail-call to the resolved function if pltexit isn't needed.
11759 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11762         or Y being zero as being unlikely.
11763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11764         Likewise.
11766 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11768         * manual/nss.texi (System Databases and Name Service Switch):
11769         Remove frobnicate @pxref.
11771 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11773         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11774         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11776 2013-02-20  Petr Machata  <pmachata@redhat.com>
11778         * elf/elf.h (R_ARM_TARGET1): New macro.
11779         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11780         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11781         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11782         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11783         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11784         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11785         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11786         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11787         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11788         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11789         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11790         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11791         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11792         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11793         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11794         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11795         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11796         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11797         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11798         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11799         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11800         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11801         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11802         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11803         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11804         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11805         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11806         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11807         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11808         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11809         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11810         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11811         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11812         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11813         (R_ARM_THM_GOT_BREL12): Likewise.
11814         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11815         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11816         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11817         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11818         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11819         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11820         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11821         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11822         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11824 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11826         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11827         __attribute_used__ to __attribute__ ((unused)).
11829 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11831         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11832         powerpc mpa.c.
11833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11834         comment formatting.
11835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11837 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11839         [BZ #13550]
11840         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11841         Remove macro.
11842         (ENTER): Remove both macro definitions.
11843         (LEAVE): Likewise.
11844         (CHECK_BOUNDS_LOW): Likewise.
11845         (CHECK_BOUNDS_HIGH): Likewise.
11846         (CHECK_BOUNDS_BOTH): Likewise.
11847         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11848         (RETURN_BOUNDED_POINTER): Likewise.
11849         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11850         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11851         (POP_ERRNO_LOCATION_RETURN): Likewise.
11852         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11853         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11854         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11855         macros.
11856         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11857         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11858         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11859         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11860         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11861         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11862         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11863         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11864         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11865         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11866         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11867         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11868         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11869         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11870         removed macros.
11871         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11872         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11873         macros.
11874         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11875         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11876         * sysdeps/i386/i586/memset.S (memset): Likewise.
11877         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11878         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11879         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11880         macros.
11881         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11882         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11883         Change uses of L(2) to L(out).
11884         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11885         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11886         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11887         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11888         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11889         removed macros.
11890         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11891         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11892         macros.
11893         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11894         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11895         (RETURN): Do not use macro LEAVE.
11896         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11897         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11898         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11899         * sysdeps/i386/i686/memset.S (memset): Likewise.
11900         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11901         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11902         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11903         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11904         Likewise.
11905         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11906         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11907         L(1_2) and L(1_3) into L(1).
11908         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11909         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11910         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11911         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11912         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11913         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11914         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11915         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11916         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11917         macros.
11918         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11919         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11920         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11921         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11922         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11923         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11924         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11925         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11926         * sysdeps/i386/strcspn.S (strcspn): Likewise.
11927         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11928         * sysdeps/i386/strrchr.S (strrchr): Likewise.
11929         * sysdeps/i386/strspn.S (strspn): Likewise.
11930         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11931         conditional code.
11932         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11933         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11934         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11935         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
11936         L(1_3) into L(1_1).
11937         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11938         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11939         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11940         macros.
11941         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11943 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
11945         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11946         macro.
11948 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11950         * math/atest-exp.c (exp_mpn): Remove ROUND.
11951         * math/atest-exp2.c (exp_mpn): Likewise.
11952         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11954         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11955         * stdlib/tst-tls-atexit-lib.c: Likewise.
11956         * stdlib/tst-tls-atexit.c: Likewise.
11958 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11960         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11961         and __attribute_alloc_size__.
11963 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11965         * include/programs/xmalloc.h: Change __attribute_alloc_size to
11966         __attribute_alloc_size__.
11967         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11968         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11970 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11972         * include/programs/xmalloc.h: New file.
11973         * catgets/gencat.c: Include it.
11974         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11975         * elf/pldd.c: Likewise.
11976         * iconv/iconv_charmap.c: Likewise.
11977         * iconv/iconvconfig.c: Likewise.
11978         * iconv/strtab.c: Likewise.
11979         * locale/programs/locale.c: Likewise.
11980         * locale/programs/localedef.h: Likewise.
11981         * locale/programs/simple-hash.c: Likewise.
11982         * nscd/nscd.h: Likewise.
11983         * nss/makedb.c: Likewise.
11984         * sysdeps/generic/ldconfig.h: Likewise.
11986 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11988         * Versions.def: Add GLIBC_2.18.
11989         * include/link.h (struct link_map): New member l_tls_dtor_count.
11990         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11991         (__call_tls_dtors): Likewise.
11992         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11993         __cxa_thread_atexit_impl.
11994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11995         Likewise.
11996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11997         Likewise.
11998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11999         Likewise.
12000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12001         Likewise.
12002         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12004         Likewise.
12005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12006         Likewise.
12007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12009         Likewise.
12010         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12011         (tests): Add test case tst-tls-atexit.
12012         (modules-names): Add shared library for tst-tls-atexit.
12013         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12014         (GLIBC_PRIVATE): Add __call_tls_dtors.
12015         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12016         for libstdc++.
12017         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12018         * stdlib/tst-tls-atexit.c: New test case.
12019         * stdlib/tst-tls-atexit-lib.c: New test case.
12021         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12023         * elf/Versions (ld): Add _dl_find_dso_for_object.
12024         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12025         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12026         (dl_open_worker): Use _dl_find_dso_for_object.
12027         * elf/dl-sym.c (do_sym): Likewise.
12028         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12030 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12032         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12033         Syntactic changes only.
12034         (_dl_runtime_profile): Do a tail-call to the resolved function.
12036 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12038         [BZ #13550]
12039         * sysdeps/x86_64/bp-asm.h: Remove file.
12040         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12041         <bp-sym.h> and <bp-asm.h>.
12042         (__clone): Do not use BP_SYM.
12043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12044         <bp-sym.h> and <bp-asm.h>.
12045         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12046         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12047         "bp-asm.h".
12048         (_setjmp): Do not use BP_SYM.
12049         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12050         "bp-asm.h".
12051         (setjmp): Do not use BP_SYM.
12052         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12053         libc_hidden_def.
12054         (mempcpy): Do not use BP_SYM in weak_alias.
12055         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12056         "bp-asm.h".
12057         (strchr): Do not use BP_SYM.
12058         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12059         "bp-asm.h".
12060         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12061         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12062         (_start): Do not use BP_SYM.
12063         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12064         "bp-asm.h".
12065         (strcat): Do not use BP_SYM.
12066         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12067         "bp-asm.h".
12068         (STRCMP): Do not use BP_SYM.
12069         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12070         "bp-asm.h".
12071         (STRCPY): Do not use BP_SYM.
12072         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12073         "bp-asm.h".
12074         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12075         "bp-asm.h".
12076         (FUNCTION): Do not use BP_SYM.
12077         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12078         weak_alias.
12079         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12081 2013-02-17  Andreas Jaeger  <aj@suse.de>
12083         * time/Versions: Sort entries.
12084         * string/Versions: Likewise.
12085         * resolv/Versions: Likewise.
12086         * posix/Versions: Likewise.
12087         * iconv/Versions: Likewise.
12088         * elf/Versions: Likewise.
12089         * wcsmbs/Versions: Likewise.
12091 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12093         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12094         loop termination condition.
12096         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12097         variable to calculate EZ.
12098         (__sqr): Likewise.
12100         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12101         the lower precision input.
12103 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12105         [BZ #13550]
12106         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12107         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12108         (run-via-rtld-prefix): Do not handle %-bp tests.
12109         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12110         (all-object-suffixes): Remove .ob.
12111         (bppfx): Remove variable.
12112         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12113         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12114         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12115         [$(build-bounded) = yes] (libtype.ob): Likewise.
12116         * Makerules (elide-routines.ob): Remove variable.
12117         (do-tests-clean): Do not handle *-bp.out.
12118         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12119         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12120         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12121         (tests): Do not include $(tests-bp.out).
12122         (xtests): Do not include $(xtests-bp.out).
12123         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12124         [$(build-bounded) = yes] ($(addprefix
12125         $(objpfx),$(binaries-bounded))): Remove rule.
12126         ($(objpfx)%-bp.out): Remove rule.
12127         * config.make.in (build-bounded): Remove variable.
12128         * crypt/Makefile [$(build-bounded) = yes]
12129         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12130         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12131         append to variable.
12132         [$(build-bounded) = yes] (install-lib): Likewise.
12133         [$(build-bounded) = yes] (generated): Likewise.
12134         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12135         Remove rule.
12136         * intl/Makefile [$(build-bounded) = yes]
12137         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12138         * math/Makefile [$(build-bounded) = yes]
12139         ($(tests:%=$(objpfx)%-bp): Likewise.
12140         * misc/Makefile [$(build-bounded) = yes]
12141         ($(objpfx)tst-tsearch-bp): Likewise.
12142         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12143         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12144         Remove dependency.
12145         * string/Makefile (o-objects.ob): Remove variable.
12146         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12147         (CFLAGS-.ob): Remove variable.
12148         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12149         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12150         both definitions of variable.
12151         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12152         (ASFLAGS-.ob): Remove variable.
12154 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12156         [BZ #13550]
12157         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12158         Remove __BOUNDED_POINTERS__ from condition.
12159         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12160         * string/bits/string2.h [!__NO_STRING_INLINES &&
12161         !__BOUNDED_POINTERS__]: Likewise.
12162         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12163         Likewise.
12164         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12165         Remove conditional code.
12166         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12167         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12168         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12169         condition.
12171         [BZ #13550]
12172         * csu/libc-start.c: Do not include <bp-sym.h>.
12173         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12174         * elf/dl-open.c: Do not include <bp-sym.h>.
12175         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12176         * math/fegetenv.c: Do not include <bp-sym.h>.
12177         (fegetenv): Do not use BP_SYM in versioned symbols.
12178         * nptl/sysdeps/pthread/bits/libc-lockP.h
12179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12180         <bp-sym.h>.
12181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12182         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12184         (__pthread_mutex_destroy): Likewise.
12185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12186         (__pthread_mutex_lock): Likewise.
12187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12188         (__pthread_mutex_trylock): Likewise.
12189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12190         (__pthread_mutex_unlock): Likewise.
12191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12192         (__pthread_mutexattr_init): Likewise.
12193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12194         (__pthread_mutexattr_destroy): Likewise.
12195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12196         (__pthread_mutexattr_settype): Likewise.
12197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12198         (__pthread_rwlock_init): Likewise.
12199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12200         (__pthread_rwlock_destroy): Likewise.
12201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12202         (__pthread_rwlock_rdlock): Likewise.
12203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12204         (__pthread_rwlock_tryrdlock): Likewise.
12205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12206         (__pthread_rwlock_wrlock): Likewise.
12207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12208         (__pthread_rwlock_trywrlock): Likewise.
12209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12210         (__pthread_rwlock_unlock): Likewise.
12211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12212         (__pthread_key_create): Likewise.
12213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12214         (__pthread_setspecific): Likewise.
12215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12216         (__pthread_getspecific): Likewise.
12217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12218         Likewise.
12219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12220         (_pthread_cleanup_push_defer): Likewise.
12221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12222         (_pthread_cleanup_pop_restore): Likewise.
12223         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12224         (pthread_setcancelstate): Likewise.
12225         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12226         <bp-sym.h>.
12227         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12228         (memchr): Do not use BP_SYM in weak_alias.
12229         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12230         (fegetenv): Do not use BP_SYM in versioned symbols.
12231         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12232         (fesetenv): Do not use BP_SYM in versioned symbols.
12233         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12234         (feupdateenv): Do not use BP_SYM in versioned symbols.
12235         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12236         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12237         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12238         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12239         (open64): Do not use BP_SYM in weak_alias.
12240         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12241         (fegetenv): Do not use BP_SYM in versioned symbols.
12242         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12243         (fesetenv): Do not use BP_SYM in versioned symbols.
12244         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12245         (feupdateenv): Do not use BP_SYM in versioned symbols.
12246         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12247         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12248         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12249         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12250         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12251         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12252         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12253         <bp-sym.h>.
12254         (__libc_start_main): Do not use BP_SYM.
12256 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12259         redundant return line.
12260         (norm): Likewise.
12261         (denorm): Likewise.
12262         (dbl_mp): Likewise.
12263         (sub_magnitudes): Likewise.
12264         (__add): Likewise.
12265         (__sub): Likewise.
12266         (__mul): Likewise.
12267         (__inv): Likewise.
12268         (__dvd): Likewise.
12269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12270         (norm): Likewise.
12271         (denorm): Likewise.
12272         (dbl_mp): Likewise.
12273         (sub_magnitudes): Likewise.
12274         (__add): Likewise.
12275         (__sub): Likewise.
12276         (__mul): Likewise.
12277         (__inv): Likewise.
12278         (__dvd): Likewise.
12280         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12281         instead of __mul.
12282         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12283         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12284         (cc32): Likewise.
12286         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12287         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12288         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12289         of __mul for squares.
12290         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12291         function
12292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12293         Likewise.
12294         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12295         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12297 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12299         [BZ #13550]
12300         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12301         code.
12302         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12303         prototype or function definition.  Rename ubp_* variables and
12304         parameters.  Remove argv definitions conditional on
12305         [__BOUNDED_POINTERS__].
12306         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12307         * elf/dl-runtime.c (_dl_fixup): Likewise.
12308         * include/set-hooks.h (RUN_HOOK): Likewise.
12309         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12310         definition.
12311         * string/strcpy.c (strcpy): Do not use __unbounded.
12312         * sysdeps/generic/frame.h (struct layout): Likewise.
12313         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12314         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12315         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12316         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12317         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12318         (__backtrace): Likewise.
12319         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12320         use __ptrvalue.
12321         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12322         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12323         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12324         Likewise.
12325         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12326         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12327         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12328         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12329         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12330         Do not use __unbounded.
12331         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12332         Rename __unboundedrlimits parameter to rlimits in prototype.
12333         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12334         Do not use __unbounded.
12335         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12336         not use __ptrvalue.
12337         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12338         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12339         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12340         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12341         __ptrvalue or __unbounded.
12342         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12343         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12344         use __unbounded.
12345         (__new_msgctl): Do not use __ptrvalue.
12346         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12347         __unbounded.
12348         (__libc_msgrcv): Do not use __ptrvalue.
12349         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12350         startup_info): Do not use __unbounded.
12351         (__libc_start_main): Likewise.  Rename ubp_* variables and
12352         parameters.  Remove argv definitions conditional on
12353         [__BOUNDED_POINTERS__].
12354         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12355         __ptrvalue.
12356         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12357         use __unbounded.
12358         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12359         or __ptrvalue.
12360         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12361         use __unbounded.
12362         (__new_shmctl): Do not use __ptrvalue.
12363         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12364         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12365         Likewise.
12366         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12367         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12368         (__libc_sigaction): Likewise.
12369         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12370         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12371         Likewise.
12372         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12374 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12376         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12378         * string/mempcpy.c: Implement by calling memcpy.
12380 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12382         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12384         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12385         evaluation.
12387         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12388         values in the mantissa.
12390         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12391         minimize writes to Z.
12392         (sub_magnitudes): Simplify code a bit.
12394 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12396         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12397         from the message.  The linker prefixes all warnings with that already.
12399 2013-02-12  Andreas Schwab  <schwab@suse.de>
12401         [BZ #15078]
12402         * posix/regexec.c (extend_buffers): Add parameter min_len.
12403         (check_matching): Pass minimum needed length.
12404         (clean_state_log_if_needed): Likewise.
12405         (get_subexp): Likewise.
12406         * posix/Makefile (tests): Add bug-regex34.
12407         (bug-regex34-ENV): Define.
12408         * posix/bug-regex34.c: New file.
12410         [BZ #11561]
12411         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12412         elements compare against the byte sequence of it, not its name.
12413         * posix/Makefile (tests): Add bug-regex35.
12414         (bug-regex35-ENV): Define.
12415         * posix/bug-regex35.c: New file.
12417 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12419         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12420         comment.
12421         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12422         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12423         (CHECK_EOL): Add undef.
12425 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12427         * bits/stdlib-bsearch.h: New file.
12428         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12429         * stdlib/stdlib.h: Likewise.
12431 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12433         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12434         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12435         declaration.
12436         * manual/search.texi (Array Search Function): Add missing const in
12437         lfind prototype.
12438         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12439         declaration to use rlim_t.
12440         (Basic Scheduling Functions): Remove erroneous const from
12441         sched_getparam prototype.  Remove erroneous * from
12442         sched_get_priority_max and sched_get_priority_min prototypes.
12443         (Resource Usage): Fix summary @comment on vtimes to refer to
12444         sys/vtimes.h rather than vtimes.h.
12445         Add missing *s in vtimes prototype.
12446         (Limits on Resources): Fix ulimit prototype to return long int.
12447         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12448         prototypes to use long int rather than double.
12449         (BSD Random): Fix initstate and setstate to use char *, not void *.
12450         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12451         prototype to make second argument 'struct aiocb64 *const[]'.
12452         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12453         (Status of AIO Operations): Remove erroneous const in aio_return and
12454         aio_return64 prototypes.
12455         (Synchronizing I/O): Fix sync prototype to return void.
12456         * manual/startup.texi (Suboptions): Remove an erroneous const in
12457         getsubopt prototype.
12458         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12459         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12460         use size_t rather than int.
12461         (Scanning All Users): Likewise for getpwent_r.
12462         (Setting Groups): Add missing const to setgroups prototype.
12463         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12464         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12465         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12466         'const void *' rather than 'const char *'.
12467         (Host Address Functions): Likewise for inet_ntop.
12468         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12469         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12470         ssize_t for return value.
12471         (Sending Data): Likewise for send, sendto, sendmsg.
12472         (Socket Option Functions): Add a missing const in setsockopt prototype.
12473         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12474         use wchar_t for the argument.
12475         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12476         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12477         take no arguments.
12478         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12479         double/float/long double for second argument.
12480         Fix return types of significand, significandf, significandl.
12481         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12482         argument in fchmod prototype.
12483         (File Owner): Use uid_t and gid_t in fchown prototype.
12484         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12485         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12486         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12487         use 'const struct dirent **' as argument types to CMP function pointer
12488         argument.
12489         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12490         (File Times): Fix summary magic @comment for struct utimbuf and utime
12491         to refer to utime.h, not time.h.
12492         * manual/string.texi (Argz Functions): Add missing const in
12493         argz_extract and argz_next prototypes.
12494         (Finding Tokens in a String): Likewise for basename.
12495         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12496         (Copying and Concatenation): Fix typo in wmemmove prototype.
12497         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12498         (Signal Stack): Remove erroneous const in sigstack prototype.
12499         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12500         prototype.
12501         (Simple Calendar Time): Likewise for stime.
12502         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12503         prototype.
12504         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12505         say sys/sysctl.h instead.
12506         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12507         and vsyslog prototypes.
12509 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12511         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12512         Remove.
12514 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12516         * misc/sys/mman.h: Fix typo in mremap comment.
12518 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12520         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12521         the '\0' terminator.
12523 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12525         [BZ #13550]
12526         * debug/segfault.c: Don't include <bp-checks.h>.
12527         * sysdeps/generic/bp-checks.h: Remove file.
12528         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12529         (__GETDENTS): Don't use CHECK_N.
12530         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12531         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12532         (__getgroups): Don't use CHECK_N.
12533         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12534         (setgroups): Don't use CHECK_N.
12535         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12536         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12537         (__libc_msgrcv): Don't use CHECK_N.
12538         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12539         (__libc_msgsnd): Don't use CHECK_N.
12540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12541         <bp-checks.h>.
12542         (__libc_pread): Don't use CHECK_N.
12543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12544         include <bp-checks.h>.
12545         (__libc_pread64): Don't use CHECK_N.
12546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12547         include <bp-checks.h>.
12548         (__libc_pwrite): Don't use CHECK_N.
12549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12550         include <bp-checks.h>.
12551         (__libc_pwrite64): Don't use CHECK_N.
12552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12553         <bp-checks.h>.
12554         (__libc_pread): Don't use CHECK_N.
12555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12556         include <bp-checks.h>.
12557         (__libc_pread64): Don't use CHECK_N.
12558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12559         include <bp-checks.h>.
12560         (__libc_pwrite): Don't use CHECK_N.
12561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12562         include <bp-checks.h>.
12563         (__libc_pwrite64): Don't use CHECK_N.
12564         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12565         (do_pread): Don't use CHECK_N.
12566         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12567         (do_pread64): Don't use CHECK_N.
12568         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12569         (do_pwrite): Don't use CHECK_N.
12570         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12571         (do_pwrite64): Don't use CHECK_N.
12572         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12573         (__libc_readv): Don't use CHECK_N.
12574         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12575         (semop): Don't use CHECK_N.
12576         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12577         <bp-checks.h>.
12578         (semtimedop): Don't use CHECK_N.
12579         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12580         (__libc_pread): Don't use CHECK_N.
12581         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12582         <bp-checks.h>.
12583         (__libc_pread64): Don't use CHECK_N.
12584         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12585         <bp-checks.h>.
12586         (__libc_pwrite): Don't use CHECK_N.
12587         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12588         <bp-checks.h>.
12589         (__libc_pwrite64): Don't use CHECK_N.
12590         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12591         <bp-checks.h>.
12592         (__libc_msgrcv): Don't use CHECK_N.
12593         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12594         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
12595         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12596         (__libc_writev): Don't use CHECK_N.
12598 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12600         * string/strcpy.c: Removed unused variable.
12602         * Makeconfig (+sysdep-includes): Define with := rather than =.
12603         Use an existing include/ subdir of each sysdeps dir before it.
12605 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12607         * nscd/connection.c (register_traced_file): Comment function.
12608         [HAVE_INOTIFY] (union __inev): Define.
12609         [HAVE_INOTIFY] (inotify_check_files): New function.
12610         [HAVE_INOTIFY] (clear_db_cache): Likewise.
12611         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12612         clear_db_cache.
12613         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12615 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12617         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12618         loaded if not already and that a failure is permanent.
12620 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12622         [BZ #15006]
12623         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12624         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12626 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12628         [BZ #13550]
12629         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12630         (CHECK_1_NULL_OK): Likewise.
12631         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12632         (__fxstat): Do not use CHECK_1.
12633         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12634         <bp-checks.h>.
12635         (___fxstat64): Do not use CHECK_1.
12636         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12637         <bp-checks.h>.
12638         (__fxstatat): Do not use CHECK_1.
12639         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12640         <bp-checks.h>.
12641         (__fxstatat64): Do not use CHECK_1.
12642         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12643         <bp-checks.h>.
12644         (__fxstat): Do not use CHECK_1.
12645         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12646         <bp-checks.h>.
12647         (__fxstatat): Do not use CHECK_1.
12648         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12649         <bp-checks.h>.
12650         (__getresgid): Do not use CHECK_1.
12651         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12652         <bp-checks.h>.
12653         (__getresuid): Do not use CHECK_1.
12654         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12655         <bp-checks.h>.
12656         (__lxstat): Do not use CHECK_1.
12657         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12658         <bp-checks.h>.
12659         (__old_msgctl): Do not use CHECK_1.
12660         (__new_msgctl): Likewise.
12661         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12662         <bp-checks.h>.
12663         (__new_setrlimit): Do not use CHECK_1.
12664         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12665         <bp-checks.h>.
12666         (__old_shmctl): Do not use CHECK_1.
12667         (__new_shmctl): Likewise.
12668         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12669         <bp-checks.h>.
12670         (__xstat): Do not use CHECK_1.
12671         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12672         (__lxstat): Do not use CHECK_1.
12673         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12674         <bp-checks.h>.
12675         (___lxstat64): Do not use CHECK_1.
12676         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12677         (__old_msgctl): Do not use CHECK_1.
12678         (__new_msgctl): Likewise.
12679         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12680         <bp-checks.h>.
12681         (__gettimeofday): Do not use CHECK_1.
12682         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12683         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12684         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12685         <bp-checks.h>.
12686         (__gettimeofday): Do not use CHECK_1.
12687         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12688         (__old_shmctl): Do not use CHECK_1_NULL_OK.
12689         (__new_shmctl): Do not use CHECK_1.
12690         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12691         <bp-checks.h>.
12692         (do_sigtimedwait): Do not use CHECK_1.
12693         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12694         <bp-checks.h>.
12695         (do_sigwaitinfo): Do not use CHECK_1.
12696         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12697         <bp-checks.h>.
12698         (msgctl): Do not use CHECK_1.
12699         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12700         <bp-checks.h>.
12701         (shmctl): Do not use CHECK_1.
12702         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12703         (ustat): Do not use CHECK_1.
12704         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12705         <bp-checks.h>.
12706         (__fxstat): Do not use CHECK_1.
12707         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12708         <bp-checks.h>.
12709         (__fxstatat): Do not use CHECK_1.
12710         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12711         <bp-checks.h>.
12712         (__lxstat): Do not use CHECK_1.
12713         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12714         <bp-checks.h>.
12715         (__xstat): Do not use CHECK_1.
12716         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12717         (__xstat): Do not use CHECK_1.
12718         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12719         (___xstat64): Do not use CHECK_1.
12721         [BZ #13550]
12722         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12723         definitions.
12724         (CHECK_BOUNDS_HIGH): Likewise.
12725         * string/strcpy.c: Do not include <bp-checks.h>.
12726         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12728 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12730         * nscd/nscd-client.h (__nscd_drop_map_ref):
12731         Add __attribute__ ((unused)).
12732         * nis/nss-nisplus.h (niserr2nss): Likewise.
12734         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12735         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12737         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12738         Remove inline keyword.
12739         * include/rounding-mode.h (round_away): Likewise.
12740         * libio/wfileops.c (adjust_wide_data): Likewise.
12741         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12742         (__m128i_strloadu_tolower): Likewise.
12743         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12744         (__m128i_strloadu_tolower): Likewise.
12745         * time/mktime.c (ydhms_diff): Likewise.
12746         * locale/elem-hash.h (elem_hash): Likewise.
12747         * locale/setlocale.c (setdata): Likewise.
12748         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12749         (re_string_wchar_at): Likewise.
12750         (bitset_not, bitset_merge, bitset_mask): Likewise.
12751         [!(__GNUC__ > 3)] (inline): Remove macro.
12752         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12753         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12754         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12755         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12756         * string/memcmp.c (memcmp_bytes): Likewise.
12757         * locale/programs/locarchive.c (compute_hashval): Likewise.
12758         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12759         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12760         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12761         * nss/getent.c (print_rpc, print_protocols): Likewise.
12762         (print_passwd, print_group, print_aliases): Likewise.
12763         * nis/nss-nisplus.h (niserr2nss): Likewise.
12764         * nscd/connections.c (restart_p): Likewise.
12765         Change return type to bool.
12767 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12769         * Makeconfig (all-Depend-files): Add existing
12770         $(sorted-subdirs:=/Depend) files.
12771         (all-subdirs): Remove nss.
12772         * sysdeps/unix/inet/Subdirs: Add it here instead.
12773         * hesiod/Depend: New file.
12775         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12776         instead of calling alloca.
12778         * io/lseek.c (__lseek): Rename to __libc_lseek.
12779         Define __lseek as an alias.
12781         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12783 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12785         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12786         else clause and remove check for non-standard endianness.
12788 2013-02-04  David S. Miller  <davem@davemloft.net>
12790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12792 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12794         [BZ #13550]
12795         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12796         (__ubp_memchr): Remove prototype.
12797         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12798         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12799         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12800         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12801         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12802         Remove alias.
12803         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12804         (__ubp_memchr): Likewise.
12805         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12806         (__ubp_memchr): Likewise.
12807         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12808         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12809         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12810         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12811         CHECK_STRING.
12812         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12813         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12814         (__getcwd): Do not use CHECK_STRING.
12815         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12816         <bp-checks.h>.
12817         (__real_chown): Do not use CHECK_STRING.
12818         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12819         <bp-checks.h>.
12820         (fchownat): Do not use CHECK_STRING.
12821         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12822         CHECK_STRING.
12823         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12824         <bp-checks.h>.
12825         (__lchown): Do not use CHECK_STRING.
12826         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12827         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12828         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12829         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12831         include <bp-checks.h>.
12832         (truncate64): Do not use CHECK_STRING.
12833         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12834         <bp-checks.h>.
12835         (__real_chown): Do not use CHECK_STRING.
12836         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12837         <bp-checks.h>.
12838         (__lchown): Do not use CHECK_STRING.
12839         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12840         <bp-checks.h>.
12841         (__chown): Do not use CHECK_STRING.
12842         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12843         <bp-checks.h>.
12844         (truncate64): Do not use CHECK_STRING.
12845         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12846         Likewise.
12847         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12848         (__xmknod): Do not use CHECK_STRING.
12849         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12850         <bp-checks.h>.
12851         (__xmknodat): Do not use CHECK_STRING.
12852         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12853         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12855 2013-02-04  Andreas Schwab  <schwab@suse.de>
12857         [BZ #14142]
12858         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12859         * include/netdb.h: Likewise for h_errno.
12860         * elf/tst-stackguard1.c: Include <tls.h>.
12862 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12864         * elf/link.h (struct link_map): Extend the l_addr comment.
12865         * include/link.h (struct link_map): Likewise.
12867 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12869         [BZ #13550]
12870         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12871         (BOUNDED_1): Remove macro.
12872         * debug/backtrace.c: Don't include <bp-checks.h>.
12873         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12874         (__backtrace): Likewise.
12875         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12876         <bp-checks.h>.
12877         (__backtrace): Don't use BOUNDED_1.
12878         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12879         <bp-checks.h>.
12880         (__backtrace): Don't use BOUNDED_1.
12881         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12882         (__backtrace): Don't use BOUNDED_1.
12883         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12884         (shmat): Don't use BOUNDED_N.
12886 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12888         [BZ #13550]
12889         * sysdeps/generic/bp-start.h: Remove file.
12890         * csu/libc-start.c: Don't include <bp-start.h>.
12891         (LIBC_START_MAIN): Set up __environ directly instead of using
12892         INIT_ARGV_and_ENVIRON.
12893         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12894         <bp-start.h>.
12896         [BZ #13550]
12897         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12898         definitions.
12899         (CHECK_FCNTL): Likewise.
12900         (CHECK_N_PAGES): Likewise.
12902         [BZ #13550]
12903         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12904         definitions.
12905         (CHECK_SIGSET_NULL_OK): Likewise.
12906         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12907         <bp-checks.h>.
12908         (sigpending): Don't use CHECK_SIGSET.
12909         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12910         <bp-checks.h>.
12911         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12912         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12913         <bp-checks.h>.
12914         (do_sigsuspend): Don't use CHECK_SIGSET.
12915         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12916         use CHECK_SIGSET.
12917         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12918         (do_sigwait): Don't use CHECK_SIGSET.
12919         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12920         use CHECK_SIGSET.
12921         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12922         include <bp-checks.h>.
12923         (sigpending): Don't use CHECK_SIGSET.
12924         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12925         include <bp-checks.h>.
12926         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12927         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12928         <bp-checks.h>.
12929         (sigpending): Don't use CHECK_SIGSET.
12930         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12931         <bp-checks.h>.
12932         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12934         [BZ #13550]
12935         * sysdeps/generic/bp-semctl.h: Remove file.
12936         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12937         <bp-checks.h> and <bp-semctl.h>.
12938         (__old_semctl): Don't use CHECK_SEMCTL.
12939         (__new_semctl): Likewise.
12940         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12941         and <bp-semctl.h>.
12942         (__old_semctl): Don't use CHECK_SEMCTL.
12943         (__new_semctl): Likewise.
12944         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12945         <bp-checks.h> and <bp-semctl.h>.
12946         (__old_semctl): Don't use CHECK_SEMCTL.
12947         (__new_semctl): Likewise.
12948         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12949         <bp-checks.h> and <bp-semctl.h>.
12950         (semctl): Don't use CHECK_SEMCTL.
12952         [BZ #13550]
12953         * Makerules (elide-bp-thunks): Remove variable.
12954         (elide-routines.oS): Don't use $(elide-bp-thunks).
12955         (elide-routines.os): Likewise.
12956         (elide-routines.o): Likewise.
12957         (elide-routines.op): Likewise.
12958         (elide-routines.og): Likewise.
12959         (objects): Don't use $(bp-thunks).
12960         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12961         include.
12962         (common-generated): Do not add s-proto-bp.d.
12963         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12964         (int): Likewise.
12965         (typ): Likewise.
12966         Do not generate makefile rules for bounded-pointer thunks.
12967         * sysdeps/generic/bp-thunks.h: Remove file.
12968         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12969         * sysdeps/unix/s-proto-bp.S: Likewise.
12971         [BZ #15062]
12972         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12973         parts of result separately when argument is not close to line from
12974         -i to i and one part of argument is small.
12975         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12976         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12977         * math/libm-test.inc (cacos_test): Add more tests.
12978         (casin_test): Likewise.
12979         (casinh_test): Likewise.
12980         * sysdeps/i386/fpu/libm-test-ulps: Update.
12981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12983 2013-01-31  David S. Miller  <davem@davemloft.net>
12985         * po/de.po: Update from translation team.
12987 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
12989         * time/tzfile.c: Include stdint.h for SIZE_MAX.
12991 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
12993         * configure.in (_AC_PROG_CC_C89): New definition.
12994         * configure: Regenerate.
12996         * configure.in (AC_PROG_CPP): New definition.
12997         * configure: Regenerate.
12999 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13001         * debug/tst-backtrace.h: New file.
13002         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13003         (ret): Remove variable.
13004         (x): Likewise.
13005         (FAIL): Remove macro.
13006         (NO_INLINE): Likewise.
13007         (fn1): Use match function instead of strstr.
13008         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13009         (ret): Remove variable.
13010         (x): Likewise.
13011         (FAIL): Remove macro.
13012         (NO_INLINE): Likewise.
13013         (fn): Use match function instead of strstr.
13014         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13015         (ret): Remove variable.
13016         (x): Likewise.
13017         (FAIL): Remove macro.
13018         (NO_INLINE): Likewise.
13019         (handle_signal): Use match function instead of strstr.
13020         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13021         (ret): Remove variable.
13022         (x): Likewise.
13023         (FAIL): Remove macro.
13024         (NO_INLINE): Likewise.
13025         (handle_signal): Use match function instead of strstr.
13027 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13029         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13031 2013-01-23  David S. Miller  <davem@davemloft.net>
13033         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13034         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13035         argument of CAS if possible.
13036         * sysdeps/sparc/sparc64/bits/atomic.h
13037         (__arch_compare_and_exchange_val_32_acq): Likewise.
13038         (__arch_compare_and_exchange_val_64_acq): Likewise.
13040 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13042         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13043         * sysdeps/posix/ulimit.c: ... this.
13044         Include <limits.h>.
13045         * sysdeps/unix/bsd/ulimit.c: Remove file.
13047 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13049         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13050         (LDFLAGS-tst-array5): Likewise.
13052 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13054         [BZ #15036]
13055         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13056         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13057         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13058         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13060 2013-01-21  David S. Miller  <davem@davemloft.net>
13062         * sysdeps/sparc/backtrace.c: New file.
13063         * sysdeps/sparc/sparc32/backtrace.h: New file.
13064         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13065         * sysdeps/sparc/sparc64/backtrace.h: New file.
13066         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13067         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13068         -funwind-tables.
13070 2013-01-21  Andreas Schwab  <schwab@suse.de>
13072         [BZ #15020]
13073         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13074         closed its stdout.
13076 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13079         "mpa2.h".
13080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13082 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13083             Mark Mitchell  <mark@codesourcery.com>
13084             Tom de Vries  <tom@codesourcery.com>
13085             Paul Pluzhnikov  <ppluzhnikov@google.com>
13087         * debug/tst-backtrace2.c: New file.
13088         * debug/tst-backtrace3.c: Likewise.
13089         * debug/tst-backtrace4.c: Likewise.
13090         * debug/tst-backtrace5.c: Likewise.
13091         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13092         (CFLAGS-tst-backtrace3.c): Likewise.
13093         (CFLAGS-tst-backtrace4.c): Likewise.
13094         (CFLAGS-tst-backtrace5.c): Likewise.
13095         (LDFLAGS-tst-backtrace2): Likewise.
13096         (LDFLAGS-tst-backtrace3): Likewise.
13097         (LDFLAGS-tst-backtrace4): Likewise.
13098         (LDFLAGS-tst-backtrace5): Likewise.
13099         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13100         tst-backtrace4 and tst-backtrace5.
13102 2013-01-18  Anton Blanchard  <anton@samba.org>
13103             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13105         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13106         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13107         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13108         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13110         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13111         "+r" and remove output regs list as redundant.  Add explicit inline
13112         asm to specify register of return val to work around compiler codegen
13113         bug.  Remove (int) cast on return value.  Add return type parameter to
13114         use in macro so that this macro does not truncate return value for
13115         64-bit values.
13116         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13117         pass to INTERNAL_VSYSCALL_NCS.
13118         (INLINE_VSYSCALL): Add 'long int' as return type to
13119         INTERNAL_VSYSCALL_NCS macro invocation.
13120         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13121         INTERNAL_VSYSCALL_NCS macro invocation.
13122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13124 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13126         [BZ #14496]
13127         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13128         Fix application of SIMD FP exception mask.
13130         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13131         mp_no from a power of two.
13132         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13133         __mpexp_twomm1.  Use __pow_mp.
13135         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13136         multiplication.
13138 2013-01-17  David S. Miller  <davem@davemloft.net>
13140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13142 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13144         [BZ #15023]
13145         * include/complex.h: Condition contents on [!_COMPLEX_H].
13146         (__kernel_casinhf): New prototype.
13147         (__kernel_casinh): Likewise.
13148         (__kernel_casinhl): Likewise.
13149         * math/Makefile (libm_calls): Add k_casinh.
13150         * math/k_casinh.c: New file.
13151         * math/k_casinhf.c: Likewise.
13152         * math/k_casinhl.c: Likewise.
13153         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13154         finite nonzero arguments.
13155         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13156         finite nonzero arguments.
13157         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13158         finite nonzero arguments.
13159         * math/s_casinh.c: Do not include <float.h>.
13160         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13161         * math/s_casinhf.c: Do not include <float.h>.
13162         (__casinhf): Move code for finite nonzero arguments to
13163         k_casinhf.c.
13164         * math/s_casinhl.c: Do not include <float.h>.
13165         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13166         redefine.
13167         (__casinhl): Move code for finite nonzero arguments to
13168         k_casinhl.c.
13169         * math/libm-test.inc (cacos_test): Add more tests.
13170         * sysdeps/i386/fpu/libm-test-ulps: Update.
13171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13173 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13175         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13176         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13177         [!HAVE_MREMAP]: Remove [defined linux] case.
13178         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13180 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13182         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13184 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13186         * elf/elf.h (R_386_SIZE32): New relocation.
13187         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13188         R_386_SIZE32.
13189         (elf_machine_rela): Likewise.
13190         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13191         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13193 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13195         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13196         (FP_FAST_FMA): Do not define.
13197         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13198         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13199         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13200         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13201         !_SOFT_FLOAT]: Likewise.
13202         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13203         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13204         value.
13205         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13206         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13207         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13208         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13209         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13210         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13211         file.
13213 2013-01-16  Andreas Schwab  <schwab@suse.de>
13215         [BZ #14327]
13216         * include/stdlib.h (__mktemp): Add declaration.
13217         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13218         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13220 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13222         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13223         definitions.
13224         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13225         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13226         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13227         definitions here.
13228         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13229         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13230         definitions.
13231         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13232         and ONE.
13233         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13234         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13235         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13236         definitions.
13237         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13238         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13239         definitions.
13240         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13242         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13244 2013-01-15  David S. Miller  <davem@davemloft.net>
13246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13247         trunc{,f} to libm-sysdep_routes.
13248         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13250         file.
13251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13253         file.
13254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13255         file.
13256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13258         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13259         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13260         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13261         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13262         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13263         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13266         nearbyint{,f} to libm-sysdep_routes.
13267         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13269         New file.
13270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13271         file.
13272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13273         New file.
13274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13275         file.
13276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13278         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13279         file.
13280         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13281         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13282         file.
13283         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13284         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13285         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13287         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13288         libc_feholdexcept and libc_fesetenv.
13290 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13292         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13294 2013-01-14  David S. Miller  <davem@davemloft.net>
13296         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13297         (SPARC_ASM_VIS2_IFUNC): Likewise.
13298         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13300         use of 'siam' instruction.
13301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13302         Likewise.
13303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13304         Likewise.
13305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13306         Likewise.
13307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13312         file.
13313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13314         file.
13315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13316         file.
13317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13318         file.
13319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13324         new VIS2 routines.
13325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13328         Likewise.
13329         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13331         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13334         routines to libm-sysdep_routines.
13335         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13338         fdim/fdimf to libm-sysdep_routines.
13339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13340         file.
13341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13343         file.
13344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13347         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13348         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13349         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13350         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13352 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13354         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13355         to optimize copies.
13357         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13358         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13361         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13362         local variable MPTWO.
13363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13364         Likewise.
13366 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13368         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13369         GLOB_NOESCAPE.
13371 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13373         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13375 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13377         * manual/pattern.texi (glob_t): Document gl_flags.
13378         (glob64_t): Likewise.
13380 2013-01-11  David S. Miller  <davem@davemloft.net>
13382         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13383         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13384         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13385         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13386         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13387         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13388         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13389         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13390         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13391         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13392         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13393         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13394         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13396         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13397         sparc V9 rather than using V8 code.
13398         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13399         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13401         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13402         Move to...
13403         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13404         Here.
13406 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13408         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13409         not in the main loop.
13410         * configure: Regenerated.
13412 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13414         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13415         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13416         to just #else.
13417         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13418         [!__GLIBC_HAVE_LONG_LONG] case.
13419         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13420         condition to just #else.
13421         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13422         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13423         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13424         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13425         unconditional.
13426         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13427         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13428         #elif condition to just #else.
13429         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13430         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13431         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13432         #elif condition to just #else.
13434 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13436         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13437         (EF_MIPS_ARCH_64): Fix value.
13438         (EF_MIPS_ARCH_32R2): New.
13439         (EF_MIPS_ARCH_64R2): New.
13441 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13443         * Makeconfig (+link-pie-before-libc): New.
13444         (+link-pie-after-libc): Likewise.
13445         (+link-pie-tests): Likewise.
13446         (+link-pie): Rewritten.
13447         (link-before-libc): Remove $(config-LDFLAGS).
13448         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13449         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13450         (config-LDFLAGS): Renamed to ...
13451         (rtld-LDFLAGS): This.
13452         (rtld-tests-LDFLAGS): New macro.
13453         (link-libc-rpath-link): Likewise.
13454         (link-libc-tests-rpath-link): Likewise.
13455         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13456         (link-libc): Prepand $(link-libc-rpath-link).
13457         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13458         (test-program-prefix): New macro.
13459         (test-via-rtld-prefix): Likewise.
13460         (test-program-cmd): Likewise.
13461         (host-test-program-cmd): Likewise.
13462         * Makefile ($(common-objpfx)testrun.sh): Replace
13463         $(run-program-prefix) with $(test-program-prefix).
13464         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13465         $(rtld-LDFLAGS).
13466         ($(common-objpfx)shlib.lds): Likewise.
13467         (build-module-helper): Likewise.
13468         ($(common-objpfx)format.lds): Likewise.
13469         * Rules (binaries-pie-tests): New.
13470         (binaries-pie-notests): Likewise.
13471         (binaries-pie): Rewritten.
13472         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13473         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13474         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13475         (make-test-out): Replace $(host-built-program-cmd) with
13476         $(host-test-program-cmd).
13477         * config.make.in (build-hardcoded-path-in-tests): New variable.
13478         * configure.in (--enable-hardcoded-path-in-tests): New configure
13479         option.
13480         (hardcoded_path_in_tests): New AC_SUBST.
13481         * configure: Regenerated.
13482         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13483         $(built-program-cmd) with $(test-program-cmd).
13484         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13485         (test_program_cmd): This.
13486         * elf/Makefile ($(objpfx)order.out): Run test with
13487         $(test-program-prefix).
13488         ($(objpfx)order2.out): Likewise.
13489         ($(objpfx)tst-initorder.out): Likewise.
13490         ($(objpfx)tst-initorder2.out): Likewise.
13491         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13492         $(test-program-cmd).
13493         ($(objpfx)tst-array1-static.out): Likewise.
13494         ($(objpfx)tst-array2.out): Likewise.
13495         ($(objpfx)tst-array3.out): Likewise.
13496         ($(objpfx)tst-array4.out): Likewise.
13497         ($(objpfx)tst-array5.out): Likewise.
13498         ($(objpfx)tst-array5-static.out): Likewise.
13499         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13500         $(test-program-cmd).
13501         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13502         $(run-program-prefix) with $(test-program-prefix).
13503         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13504         (test_program_prefix): This.
13505         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13506         $(run-program-prefix) with $(test-program-prefix).
13507         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13508         (test_program_prefix): This.
13509         * iconvdata/tst-tables.sh: Likewise.
13510         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13511         $(run-program-prefix) with $(test-program-prefix).
13512         ($(objpfx)tst-translit.out): Likewise.
13513         ($(objpfx)tst-gettext2.out): Likewise.
13514         ($(objpfx)tst-gettext4.out): Likewise.
13515         ($(objpfx)tst-gettext6.out): Likewise.
13516         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13517         (test_program_prefix): This.
13518         * intl/tst-gettext2.sh: Likewise.
13519         * intl/tst-gettext4.sh  Likewise.
13520         * intl/tst-gettext6.sh: Likewise.
13521         * intl/tst-translit.sh: Likewise.
13522         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13523         with $(test-program-cmd).
13524         * libio/Makefile ($(objpfx)test-freopen.out): Replace
13525         $(run-program-prefix) with $(test-program-prefix).
13526         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13527         (test_program_prefix): This.
13528         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13529         $(run-program-prefix) with $(test-program-prefix).
13530         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13531         (test_program_prefix): This.
13532         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13533         * posix/Makefile ($(objpfx)globtest.out): Replace
13534         $(run-via-rtld-prefix) and $(test-wrapper) with
13535         $(test-program-prefix) and $(test-via-rtld-prefix).
13536         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13537         $(test-program-prefix).
13538         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13539         $(host-test-program-cmd).
13540         (tst-spawn-ARGS): Likewise.
13541         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13542         $(test-program-prefix).
13543         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13544         (test_via_rtld_prefix): This.
13545         (test_wrapper): Renamed to ...
13546         (test_program_prefix): This.
13547         (run_program_prefix): Replaced by test_program_prefix.
13548         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13549         (test_program_prefix): This.
13550         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13551         with $(host-test-program-cmd).
13552         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13553         $(run-program-prefix) with $(test-program-prefix).
13554         ($(objpfx)tst-printf.out): Likewise.
13555         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13556         $(test-program-cmd).
13557         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13558         (test_program_prefix): This.
13559         * stdio-common/tst-unbputc.sh: Likewise.
13560         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13561         $(run-program-prefix) with $(test-program-prefix).
13562         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13563         (test_program_prefix): This.
13564         * string/Makefile ($(objpfx)tst-svc.out):  Replace
13565         $(built-program-cmd) with $(test-program-cmd).
13567 2013-01-11  Andreas Jaeger  <aj@suse.de>
13569         [BZ #15003]
13570         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13571         value. Sync with Linux 3.7.
13573 2013-01-10  David S. Miller  <davem@davemloft.net>
13575         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13576         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13577         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13579 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13581         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13582         never set.
13583         * configure: Regenerated.
13585 2013-01-10  David S. Miller  <davem@davemloft.net>
13587         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13588         sparc V9 rather than using V8 code.
13589         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13590         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13592 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13594         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13595         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13596         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13597         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13598         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13599         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13600         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13601         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13602         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13603         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13604         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13605         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13606         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13607         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13608         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13609         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13610         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13611         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13612         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13613         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13614         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13615         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13616         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13617         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13618         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13619         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13620         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13622 2013-01-10  David S. Miller  <davem@davemloft.net>
13624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13626 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13628         * posix/Makefile (tests-static): New variable.
13629         (tests): Add $(tests-static).
13630         (tst-exec-static-ARGS): New variable.
13631         (tst-spawn-static-ARGS): Likewise.
13632         * posix/tst-exec-static.c: New file.
13633         * posix/tst-spawn-static.c: Likewise.
13634         * posix/tst-exec.c: Support run directly.
13635         * posix/tst-spawn.c: Likewise.
13637 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
13639         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13640         long.
13641         * math/bits/mathcalls.h (llrint): Likewise.
13642         (llround): Likewise.
13643         * stdlib/stdlib.h (struct drand48_data): Likewise.
13644         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13645         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13646         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13647         Likewise.
13648         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13649         Likewise.
13650         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13651         (elf_greg_t): Likewise.
13652         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13653         (__jmp_buf): Likewise.
13654         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13655         definitions.
13656         (llrint): Likewise, for all definitions.
13657         (llrintl): Likewise.
13659         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13660         Remove [__GNUC__] condition.
13661         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13662         condition to just [__USE_ISOC99].
13663         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13665 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13667         [BZ #14200]
13668         * sysdeps/unix/sysv/linux/x86/bits/environments.h
13669         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13670         defined.
13671         (_POSIX_V6_ILP32_OFF32): Likewise.
13672         (_XBS5_ILP32_OFF32): Likewise.
13673         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13674         (__ILP32_OFFBIG_LDFLAGS): Likewise.
13676 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13678         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13680         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13681         doubles __mpexp_twomm1.  Adjust usage.
13682         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13683         Remove.
13685 2013-01-10  Andreas Schwab  <schwab@suse.de>
13687         [BZ #14964]
13688         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13689         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13691 2013-01-09  David S. Miller  <davem@davemloft.net>
13693         [BZ #15003]
13694         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13695         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13696         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13697         TCP_FASTOPEN): Define.
13698         (tcp_repair_opt): New structure.
13699         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13700         enum values.
13701         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13702         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13703         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13704         (tcp_cookie_transactions): New structure.
13706 2013-01-09  Anton Blanchard  <anton@samba.org>
13708         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13709         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13710         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13711         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13713 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
13715         * include/features.h (__USE_ANSI): Remove.
13717 2013-01-09  Roland McGrath  <roland@hack.frob.com>
13719         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13721         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13723 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13725         * sysdeps/s390/fpu/libm-test-ulps: Update.
13727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13729         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13730         (__acr): Likewise.
13731         (__cpy): Likewise.
13732         (norm): Likewise.
13733         (denorm): Likewise.
13734         (__mp_dbl): Likewise.
13735         (__dbl_mp): Likewise.
13736         (add_magnitudes): Likewise.
13737         (sub_magnitudes): Likewise.
13738         (__add): Likewise.
13739         (__sub): Likewise.
13740         (__mul): Likewise.
13741         (__inv): Likewise.
13742         (__dvd): Likewise.
13743         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13744         (__acr): Likewise.
13745         (__cpy): Likewise.
13746         (norm): Likewise.
13747         (denorm): Likewise.
13748         (__mp_dbl): Likewise.
13749         (__dbl_mp): Likewise.
13750         (add_magnitudes): Likewise.
13751         (sub_magnitudes): Likewise.
13752         (__add): Likewise.
13753         (__sub): Likewise.
13754         (__mul): Likewise.
13755         (__inv): Likewise.
13756         (__dvd): Likewise.
13757         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13758         (__acr): Likewise.
13759         (__cpy): Likewise.
13760         (norm): Likewise.
13761         (denorm): Likewise.
13762         (__mp_dbl): Likewise.
13763         (__dbl_mp): Likewise.
13764         (add_magnitudes): Likewise.
13765         (sub_magnitudes): Likewise.
13766         (__add): Likewise.
13767         (__sub): Likewise.
13768         (__mul): Likewise.
13769         (__inv): Likewise.
13770         (__dvd): Likewise.
13772 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13774         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13775         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13776         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13777         2 && __USE_EXTERN_INLINES]: Likewise.
13779 2013-01-08  Andreas Jaeger  <aj@suse.de>
13781         [BZ# 14985]
13782         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13783         Remove.
13784         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13785         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13787 2013-01-07  Anton Blanchard  <anton@samba.org>
13789         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13790         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13791         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13792         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13793         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13794         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13795         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13796         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13798         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13799         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13800         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13801         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13802         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13803         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13804         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13805         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13806         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13807         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13808         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13809         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13810         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13811         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13812         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13813         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13814         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13815         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13816         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13817         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13818         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13819         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13820         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13821         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13822         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13823         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13824         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13825         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13826         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13827         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13828         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13829         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13830         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13831         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13833 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13835         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13836         (__MALLOC_PMT): Likewise.
13837         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13838         [__GNUC__], only on [_LIBC].
13839         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13840         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13841         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13842         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13843         forward declaration.
13844         (realloc_hook_ini): Likewise.
13845         (memalign_hook_ini): Likewise.
13846         (__libc_memalign): Do not use __MALLOC_PMT in variable
13847         declaration.
13848         (__libc_valloc): Likewise.
13849         (__libc_pvalloc): Likewise.
13850         (__libc_calloc): Likewise.
13851         (__posix_memalign): Likewise.
13853         [BZ #14996]
13854         * math/s_casinh.c: Include <float.h>.
13855         (__casinh): Do not do computation with squaring and square root
13856         for large arguments.
13857         * math/s_casinhf.c: Include <float.h>.
13858         (__casinhf): Do not do computation with squaring and square root
13859         for large arguments.
13860         * math/s_casinhl.c: Include <float.h>.
13861         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13862         (__casinhl): Do not do computation with squaring and square root
13863         for large arguments.
13864         * math/libm-test.inc (casin_test): Add more tests.
13865         (casinh_test): Likewise.
13866         * sysdeps/i386/fpu/libm-test-ulps: Update.
13867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13869 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13871         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13872         (__x86_64_raw_data_cache_size): Likewise.
13873         (__x86_64_data_cache_size_half): Likewise.
13874         (__x86_64_raw_data_cache_size_half): Likewise.
13875         (__x86_64_shared_cache_size): Likewise.
13876         (__x86_64_raw_shared_cache_size): Likewise.
13877         (__x86_64_shared_cache_size_half): Likewise.
13878         (__x86_64_raw_shared_cache_size_half): Likewise.
13879         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13880         to ...
13881         (__x86_data_cache_size): This.
13882         (__x86_64_raw_data_cache_size): Renamed to ...
13883         (__x86_raw_data_cache_size): This.
13884         (__x86_64_data_cache_size_half): Renamed to ...
13885         (__x86_data_cache_size_half): This.
13886         (__x86_64_raw_data_cache_size_half): Renamed to ...
13887         (__x86_raw_data_cache_size_half): This.
13888         (__x86_64_shared_cache_size): Renamed to ...
13889         (__x86_shared_cache_size): This.
13890         (__x86_64_raw_shared_cache_size): Renamed to ...
13891         (__x86_raw_shared_cache_size): This.
13892         (__x86_64_shared_cache_size_half): Renamed to ...
13893         (__x86_shared_cache_size_half): This.
13894         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13895         (__x86_raw_shared_cache_size_half): This.
13896         * sysdeps/x86_64/memcpy.S: Updated.
13897         * sysdeps/x86_64/memset.S: Likewise.
13898         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13899         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13900         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13902 2013-01-04  David S. Miller  <davem@davemloft.net>
13904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13906 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13908         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13909         1 to avoid redefinition warning.
13910         (__USE_GNU): Don't define.
13911         (init_signaling_nan): Protoize.
13913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13915 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13917         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13919         (__cpymn): Likewise.
13920         (norm): Remove commented code.
13921         (denorm): Likewise.
13922         (__mp_dbl): Likewise.
13923         (__inv): Likewise.
13924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13925         (__cpymn): Likewise.
13926         (norm): Remove commented code.
13927         (denorm): Likewise.
13928         (__mp_dbl): Likewise.
13929         (__inv): Likewise.
13931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13932         mp_no value for 1.0 and 2.0.
13933         (norm): Use RADIXI instead of radixi.d.
13934         (denorm): Likewise.
13935         (__mul): Use 0.0 instead of zero.d.
13936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13937         mp_no value for 1.0 and 2.0.
13938         (norm): Use RADIXI instead of radixi.d.
13939         (denorm): Likewise.
13940         (__mul): Use 0.0 instead of zero.d.
13942 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
13944         [BZ #14994]
13945         * math/s_casinh.c (__casinh): Reduce finite argument to first
13946         quadrant then set signs of results at the end.
13947         * math/s_casinhf.c (__casinhf): Likewise.
13948         * math/s_casinhl.c (__casinhl): Likewise.
13949         * math/libm-test.inc (casin_test): Add more tests.
13950         (casinh_test): Likewise.
13951         * sysdeps/i386/fpu/libm-test-ulps: Update.
13952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13954 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13956         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13958         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13960         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13961         declarations.
13962         (denorm): Likewise.
13963         (__mp_dbl): Likewise.
13964         (__inv): Likewise.
13966         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13967         and adjust the header comment.
13969         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13970         variable name from declaration.
13972 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
13974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13975         Initialize COMMON_CPUID_INDEX_7 element.
13976         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13977         (CPUID_RTM): Likewise.
13978         (HAS_RTM): Likewise.
13979         (COMMON_CPUID_INDEX_7): New enum.
13981 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
13983         [BZ #14981]
13984         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13985         size is zero, record memory as freed.
13987 2013-01-03  Andreas Jaeger  <aj@suse.de>
13989         * po/ia.po: Add new Interlingua translation.
13991 2012-01-03  Allan McRae  <allan@archlinux.org>
13993         * locale/programs/localedef.c: Fix description of '--posix' flag.
13995 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
13997         * NEWS: Update dates in second copyright notice.
13998         * README: Update copyright dates in example.
13999         * manual/libc.texinfo: Update copyright dates.
14000         * scripts/test-installation.pl: Update copyright date in --version
14001         output.
14003         * hurd/ctty-input.c: Fix copyright notice formatting.
14004         * hurd/ctty-output.c: Likewise.
14005         * hurd/dtable.c: Likewise.
14006         * hurd/hurd-raise.c: Likewise.
14007         * hurd/hurdprio.c: Likewise.
14008         * hurd/msgportdemux.c: Likewise.
14009         * misc/sys/file.h: Likewise.
14010         * misc/sys/ioctl.h: Likewise.
14011         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14012         * sysdeps/mach/hurd/chdir.c: Likewise.
14013         * sysdeps/mach/hurd/fchdir.c: Likewise.
14014         * sysdeps/mach/hurd/rename.c: Likewise.
14015         * sysdeps/mach/hurd/rmdir.c: Likewise.
14016         * sysdeps/mach/hurd/seekdir.c: Likewise.
14017         * sysdeps/mach/hurd/setsid.c: Likewise.
14018         * sysdeps/posix/wait3.c: Likewise.
14020         * All files with FSF copyright notices: Update copyright dates
14021         using scripts/update-copyrights.
14022         * intl/plural.c: Regenerated.
14023         * locale/programs/charmap-kw.h: Likewise.
14024         * locale/programs/locfile-kw.h: Likewise.
14026 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14028         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14029         four values.
14031         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14032         calculation loop and add branch prediction.
14034         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14035         check access beyond bounds of m1np.
14037         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14038         MPTWO.
14039         (__inv): Remove local variable MPTWO to use the global
14040         constant.
14041         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14042         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14043         variable MPTWO.
14044         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14045         MP3HALFS static const.
14047 2013-01-01  David S. Miller  <davem@davemloft.net>
14049         * po/ca.po: Update from translation team.
14051 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14053         * scripts/update-copyrights: New file.
14054         * Makeconfig: Reformat copyright notice.
14055         * ctype/ctype.h: Likewise.
14056         * debug/swprintf_chk.c: Likewise.
14057         * elf/dl-cache.c: Likewise.
14058         * elf/dl-debug.c: Likewise.
14059         * elf/dl-object.c: Likewise.
14060         * grp/initgroups.c: Likewise.
14061         * hurd/Makefile: Likewise.
14062         * hurd/hurd/signal.h: Likewise.
14063         * hurd/hurdfault.c: Likewise.
14064         * hurd/hurdioctl.c: Likewise.
14065         * hurd/hurdlookup.c: Likewise.
14066         * hurd/intr-msg.c: Likewise.
14067         * iconv/gconv_open.c: Likewise.
14068         * libio/swprintf.c: Likewise.
14069         * locale/lc-ctype.c: Likewise.
14070         * locale/nl_langinfo.c: Likewise.
14071         * mach/Machrules: Likewise.
14072         * mach/Makefile: Likewise.
14073         * malloc/obstack.h: Likewise.
14074         * manual/Makefile: Likewise.
14075         * manual/tsort.awk: Likewise.
14076         * misc/bits/stab.def: Likewise.
14077         * nis/nis_print_group_entry.c: Likewise.
14078         * nis/nis_table.c: Likewise.
14079         * nis/nss_compat/compat-pwd.c: Likewise.
14080         * nis/nss_compat/compat-spwd.c: Likewise.
14081         * po/Makefile: Likewise.
14082         * posix/fnmatch.c: Likewise.
14083         * posix/regex.h: Likewise.
14084         * resolv/Makefile: Likewise.
14085         * resolv/nss_dns/dns-network.c: Likewise.
14086         * resolv/res_hconf.c: Likewise.
14087         * scripts/gen-sorted.awk: Likewise.
14088         * soft-fp/soft-fp.h: Likewise.
14089         * stdio-common/printf.h: Likewise.
14090         * stdlib/monetary.h: Likewise.
14091         * stdlib/random.c: Likewise.
14092         * stdlib/random_r.c: Likewise.
14093         * sysdeps/generic/Makefile: Likewise.
14094         * sysdeps/gnu/Makefile: Likewise.
14095         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14096         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14097         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14098         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14099         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14100         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14101         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14102         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14103         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14104         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14105         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14106         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14107         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14108         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14109         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14110         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14111         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14112         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14113         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14114         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14115         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14116         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14117         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14118         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14119         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14120         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14121         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14122         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14123         * sysdeps/mach/hurd/errnos.awk: Likewise.
14124         * sysdeps/mach/hurd/fork.c: Likewise.
14125         * sysdeps/mach/hurd/getcwd.c: Likewise.
14126         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14127         * sysdeps/mach/hurd/mmap.c: Likewise.
14128         * sysdeps/mach/hurd/utimes.c: Likewise.
14129         * sysdeps/mach/hurd/xmknod.c: Likewise.
14130         * sysdeps/posix/profil.c: Likewise.
14131         * sysdeps/posix/readdir_r.c: Likewise.
14132         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14133         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14134         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14135         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14137         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14138         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14139         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14141         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14142         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14143         * sysdeps/pthread/lio_listio.c: Likewise.
14144         * sysdeps/sparc/dl-procinfo.h: Likewise.
14145         * sysdeps/unix/i386/sysdep.S: Likewise.
14146         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14147         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14148         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14149         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14151         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14152         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14153         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14154         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14155         * sysdeps/wordsize-32/divdi3.c: Likewise.
14156         * time/sys/time.h: Likewise.
14157         * wcsmbs/Makefile: Likewise.
14159 2013-01-01  David S. Miller  <davem@davemloft.net>
14161         * po/fr.po: Update from translation team.
14163         * catgets/gencat.c: Update copyright year.
14164         * csu/version.c: Likewise.
14165         * debug/catchsegv.sh: Likewise.
14166         * debug/pcprofiledump.c: Likewise.
14167         * debug/xtrace.sh: Likewise.
14168         * elf/ldconfig.c: Likewise.
14169         * elf/ldd.bash.in: Likewise.
14170         * elf/pldd.c: Likewise.
14171         * elf/sotruss.ksh: Likewise.
14172         * elf/sprof.c: Likewise.
14173         * iconv/iconv_prog.c: Likewise.
14174         * iconv/iconvconfig.c: Likewise.
14175         * locale/programs/locale.c: Likewise.
14176         * locale/programs/localedef.c: Likewise.
14177         * login/programs/pt_chown.c: Likewise.
14178         * malloc/memusage.sh: Likewise.
14179         * malloc/memusagestat.c: Likewise.
14180         * malloc/mtrace.pl: Likewise.
14181         * nscd/nscd.c: Likewise.
14182         * nss/getent.c: Likewise.
14183         * nss/makedb.c: Likewise.
14184         * posix/getconf.c: Likewise.
14186 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14188         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14189         numbers.
14191 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14193         * math/bits/mathcalls.h (modf): Use __nonnull.
14195 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14197         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14198         (split): Use macro CN instead of the bare value.
14199         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14200         could be used.
14201         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14202         instead of the bare value.
14203         (power1): Likewise.
14205 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14207         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14208         __ATAN_TWOM.
14209         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14211         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14212         their values.
14213         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14214         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14215         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14216         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14218 2012-12-28  Andreas Jaeger  <aj@suse.de>
14220         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14221         values are from Linux 3.7.
14223         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14224         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14226 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14228         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14229         TRUE case.
14231         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14232         (norm): Likewise.
14233         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14234         variables with preprocessor constants.
14235         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14236         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14237         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14239 2012-12-27  Bruno Haible  <bruno@clisp.org>
14241         [BZ #14317]
14242         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14243         only if needed.
14245 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14247         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14248         and use variable directly.
14249         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14251         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14252         MPONE.
14253         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14254         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14255         variable MPONE.
14256         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14257         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14258         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14259         include directive.  Remove local variable MPONE.
14260         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14261         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14262         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14264 2012-12-25  David S. Miller  <davem@davemloft.net>
14266         * version.h (RELEASE): Set to "development".
14267         (VERSION): Set to "2.17.90".
14268         * NEWS: Add 2.18 section.
14270 2012-12-21  David S. Miller  <davem@davemloft.net>
14272         * po/hr.po: Update from translation team.
14274 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14276         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14278 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14280         * NEWS:  Mention new memcpy for MIPS.
14282 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14284         * manual/contrib.texi (Contributors): Spelling correction.
14286 2012-12-15  David S. Miller  <davem@davemloft.net>
14288         * po/ru.po: Update from translation team.
14290 2012-12-13  David S. Miller  <davem@davemloft.net>
14292         * NEWS: Mention IFUNC testsuite enhancements.
14294         * po/pl.po: Update from translation team.
14295         * po/bg.po: Likewise.
14297         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14298         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14300 2012-12-11  David S. Miller  <davem@davemloft.net>
14302         * po/sv.po: Update from translation team.
14304         * po/vi.po: Update from translation team.
14306         * po/cs.po: Update from translation team.
14308         * po/de.po: Update from translation team.
14309         * po/eo.po: Likewise.
14310         * po/nl.po: Likewise.
14312 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14314         [BZ #14246]
14315         * manual/argp.texi (Argp Helper Functions): Move node to follow
14316         Argp Parsing State.
14318         [BZ #14872]
14319         * manual/conf.texi (Limits on File System Capacity): Mention if
14320         terminating null is included in the max size.
14322 2012-12-10  Andreas Jaeger  <aj@suse.de>
14324         * po/cs.po: Update from translation team.
14326 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14328         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14329         void pointer and cast to uintptr_t.
14330         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14331         path.
14332         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14333         * sysdeps/s390/s390-64/memset.S: Likewise.
14335 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14337         [BZ #14833]
14338         * menual/message.texi (Message Translation): Fix typos.
14339         (Helper programs for gettext): Likewise.
14341 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14343         [BZ #14898]
14344         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14345         Change to -1.
14347 2012-12-07  David S. Miller  <davem@davemloft.net>
14349         * po/libc.pot: Update.
14351 2012-12-07  Richard Henderson  <rth@redhat.com>
14353         [BZ #10114]
14354         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14355         normal/normal case to before the switch.
14356         (_FP_DIV): Likewise.
14358 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14359             Mike Frysinger  <vapier@gentoo.org>
14361         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14362         check for __NR_fadvise64_64.
14364 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14366         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14367         0, not just to plain "0" as a statement.
14368         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14369         with cw.
14371 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14373         * NEWS: Use sourceware.org in Bugzilla URL.
14375 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14378         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14380         * stdio-common/tst-put-error.c (do_test): Add newline to the
14381         padded test to ensure flush.
14383 2012-12-05  Jeff Law  <law@redhat.com>
14385         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14387 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14389         * README: Don't refer to ports add-on as distributed separately.
14390         Mention AArch64 in list of systems supported in the ports add-on.
14392         * LICENSES: Add more non-FSF copyright and license notices.
14394         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14395         ((unused)).
14397         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14399         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14400         10000 as width of padded output.
14402 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14404         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14406         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14407         variable LX with __attribute__ ((unused)).
14408         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14409         Likewise.
14410         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14411         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14412         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14413         with __attribute__ ((unused)).
14415 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14417         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14419 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14421         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14422         (CFLAGS-nldbl-acos.c): New variable.
14423         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14424         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14425         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14426         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14427         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14428         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14429         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14430         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14431         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14432         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14433         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14434         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14435         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14436         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14437         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14438         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14439         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14440         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14441         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14442         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14443         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14444         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14445         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14446         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14447         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14448         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14449         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14450         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14451         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14452         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14453         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14454         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14455         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14456         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14457         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14458         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14459         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14460         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14461         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14462         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14463         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14464         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14465         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14466         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14467         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14468         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14469         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14470         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14471         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14472         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14473         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14474         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14475         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14476         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14477         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14478         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14479         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14480         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14481         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14482         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14483         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14484         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14485         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14486         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14487         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14488         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14489         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14490         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14491         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14492         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14493         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14494         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14495         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14496         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14497         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14498         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14499         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14500         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14501         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14502         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14503         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14504         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14505         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14506         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14507         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14508         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14509         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14510         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14511         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14512         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14513         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14514         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14515         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14516         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14517         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14518         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14519         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14522         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14524         [BZ #14914]
14525         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14526         whole low double instead of just low 47 bits when splitting values
14527         into two parts.
14529 2012-12-03  Allan McRae  <allan@archlinux.org>
14531         * manual/stdio.texi (Predefined Printf Handlers): Remove
14532         @hsep and @vsep usage.
14534 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
14536         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14537         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14539 2012-12-03  Jeff Law  <law@redhat.com>
14541         * time/sys/time.h (settimeofday): Do not mark TV argument
14542         as __nonnull.
14544 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
14546         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14547         when currently writing and seek to current position when not.
14548         * libio/Makefile (tests): Remove bug-fclose1.
14549         * libio/bug-fclose1.c: Delete.
14551 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
14553         * manual/arith.texi (feenableexcept): Fix typo.
14554         (fedisableexcept): Likewise.
14556 2012-11-30  Roland McGrath  <roland@hack.frob.com>
14558         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14559         second, differently-typed declaration, rather than a cast.
14561 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14563         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14564         * include/rpc/svc.h: ... here.
14566 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
14568         [BZ #13013]
14569         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14570         depending n and resplen2 to catch cases where answer
14571         equals answerp2.
14573 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
14575         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14576         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14578 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
14580         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14582 2012-11-29  Roland McGrath  <roland@hack.frob.com>
14584         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14586 2012-11-28  Jeff Law  <law@redhat.com>
14588         [BZ #13761]
14589         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14590         dataset_temporary.  Track alloca usage into alloca_used.
14591         If dataset is large allocate and release it via malloc/free.
14593 2012-06-04  Florian Weimer  <fweimer@redhat.com>
14595         [BZ #14197]
14596         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14598 2012-11-28  David S. Miller  <davem@davemloft.net>
14600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14602 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14604         [BZ #14803]
14605         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14606         of pi/2 rounded to nearest to 64 bits.
14607         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14608         nearest to 64 bits.
14609         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14610         bits.
14612 2012-11-28  Jeff Law <law@redhat.com>
14613             Martin Osvald <mosvald@redhat.com>
14615         [BZ #14889]
14616         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14617         * sunrpc/svc.c: Include time.h.
14618         (__svc_accept_failed): New function.
14619         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14620         any reason other than EINTR, call __svc_accept_failed.
14621         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14622         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14624 2012-11-28  Andreas Schwab  <schwab@suse.de>
14626         * scripts/abilist.awk: Also handle indirect functions in .opd
14627         section.
14629 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14631         [BZ #13881]
14632         * sysdeps/x86/fpu/powl_helper.c: New file.
14633         * sysdeps/x86/fpu/Makefile: Likewise.
14634         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14635         (p3): New object.
14636         (__ieee754_powl): Use __powl_helper for finite arguments except
14637         integer exponents below 8.
14638         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14639         (p3): New object.
14640         (__ieee754_powl): Use __powl_helper for finite arguments except
14641         integer exponents below 8.
14642         * math/libm-test.inc (pow_test): Add more tests and enable some
14643         previously disabled tests.
14644         * sysdeps/i386/fpu/libm-test-ulps: Update.
14645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14647 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14648             Carlos O'Donell  <carlos_odonell@mentor.com>
14650         * nss/makedb.c (is_prime): Assert that input is odd and greater
14651         than 4.  Note that fact in a comment too.
14652         (next_prime): Add 4 to input.
14654 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14656         [BZ #11741]
14657         * libio/Makefile (tests): Add test case tst-fwrite-error.
14658         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14659         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14660         * libio/tst-fwrite-error.c: New test case.
14662 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
14664         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14665         before casting to void *.
14666         * include/libc-internal.h (__pointer_type): New macro.
14667         (__integer_if_pointer_type_sub): Likewise.
14668         (__integer_if_pointer_type): Likewise.
14669         (cast_to_integer): Likewise.
14670         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14671         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14672         before casting to atomic64_t.
14673         (atomic_exchange_acq): Likewise.
14674         (__arch_exchange_and_add_body): Likewise.
14675         (__arch_add_body): Likewise.
14676         (atomic_add_negative): Likewise.
14677         (atomic_add_zero): Likewise.
14679 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
14681         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14682         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14683         (add_fdes): Likewise.
14684         (linear_search_fdes): Likewise.
14685         (binary_search_unencoded_fdes): Likewise.
14687 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
14689         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14691 2012-11-24  Adam Conrad  <adconrad@0c3.net>
14693         * configure.in: Autodetect C++ header directories.
14694         * configure: Regenerated.
14696 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
14698         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14700 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
14702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14704 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
14706         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14707         LDBL_MANT_DIG == 106]: Disable some tests.
14708         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14709         Likewise.
14710         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14711         Likewise.
14713         [BZ #14871]
14714         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14715         input for small inputs.  Return +/- pi/2 for large inputs.
14716         * math/libm-test.inc (atan_test): Add more tests.
14718         * sysdeps/generic/unwind-dw2-fde-glibc.c
14719         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14720         __attribute__ ((unused)).
14722         [BZ #14645]
14723         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14724         x * y if x and y are nonzero and z is zero.
14726         [BZ #14811]
14727         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14728         nonzero exponents with absolute value below 0x1p-117 to +/-
14729         0x1p-117.
14731         [BZ #14869]
14732         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14733         up arguments below 2**-450, not just those below 2**-500.
14734         * math/libm-test.inc (hypot_test): Add another test.
14736         [BZ #14868]
14737         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14738         Return a+b for ratio over 2**120, not 2**60.
14739         * math/libm-test.inc (hypot_test): Add another test.
14741         * math/libm-test.inc (clog_test): Use
14742         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14743         (clog10_test): Likewise.
14745         [BZ #6778]
14746         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14748 2012-11-22  Andreas Schwab  <schwab@suse.de>
14750         * sysdeps/i386/fpu/libm-test-ulps: Update.
14752 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14754         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14755         printf output with newline.
14757 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14759         [BZ #14865]
14760         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14761         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14762         -z nodlopen, -z initfirst and -z execstack support.
14763         * configure: Regenerated.
14765         * elf/elf.h (DF_1_NODIRECT): New macro.
14766         (DF_1_IGNMULDEF): Likewise.
14767         (DF_1_NOKSYMS): Likewise.
14768         (DF_1_NOHDR): Likewise.
14769         (DF_1_EDITED): Likewise.
14770         (DF_1_NORELOC): Likewise.
14771         (DF_1_SYMINTPOSE): Likewise.
14772         (DF_1_GLOBAUDIT): Likewise.
14773         (DF_1_SINGLETON): Likewise.
14774         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14775         DT_1_SUPPORTED_MASK bits.
14776         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14778 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14780         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14782 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14784         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14785         macro.
14787         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14788         (sendmmsg): Move declarations...
14789         * socket/sys/socket.h: ... here.
14790         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14791         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14792         include it from...
14793         * socket/recvmmsg.c: ... this new file.
14794         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14795         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14796         definition of __sendmmsg hidden.
14797         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14798         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14799         Move ENOSYS stub into and include it from...
14800         * socket/sendmmsg.c: ... this new file.
14801         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14802         (sysdep_routines): Move recvmmsg and sendmmsg...
14803         * socket/Makefile (routines): ... here.
14804         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14805         (GLIBC_PRIVATE): Add __sendmmsg.
14806         * include/sys/socket.h (__sendmmsg): Add declarations.
14807         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14808         sendmmsg.
14810 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14812         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14813         variable I1 with __attribute__ ((unused)).
14814         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14816 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14818         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14819         DUMMY variables with __attribute__ ((unused)).
14821         * bits/byteswap.h: Include <bits/types.h>.
14822         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14824 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14826         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14827         string_t.  Do not manually set errno.
14828         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14829         length with __strnlen.  Make sure to both set errno and return it on
14830         failure.
14832 2012-11-19  David S. Miller  <davem@davemloft.net>
14834         With help from Joseph Myers.
14835         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14836         very large arguments properly.
14837         * math/libm-test.inc (atan_test): New tests.
14838         (atan2_test): New tests.
14839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14842 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14844         [BZ #14856]
14845         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14846         Define to 3.
14848         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14849         [POSIX] (EADDRNOTAVAIL): Likewise.
14850         [POSIX] (EAFNOSUPPORT): Likewise.
14851         [POSIX] (EALREADY): Likewise.
14852         [POSIX] (ECONNABORTED): Likewise.
14853         [POSIX] (ECONNREFUSED): Likewise.
14854         [POSIX] (ECONNRESET): Likewise.
14855         [POSIX] (EDESTADDRREQ): Likewise.
14856         [POSIX] (EDQUOT): Likewise.
14857         [POSIX] (EHOSTUNREACH): Likewise.
14858         [POSIX] (EIDRM): Likewise.
14859         [POSIX] (EISCONN): Likewise.
14860         [POSIX] (ELOOP): Likewise.
14861         [POSIX] (EMULTIHOP): Likewise.
14862         [POSIX] (ENETDOWN): Likewise.
14863         [POSIX] (ENETUNREACH): Likewise.
14864         [POSIX] (ENOBUFS): Likewise.
14865         [POSIX] (ENODATA): Likewise.
14866         [POSIX] (ENOLINK): Likewise.
14867         [POSIX] (ENOMSG): Likewise.
14868         [POSIX] (ENOPROTOOPT): Likewise.
14869         [POSIX] (ENOSR): Likewise.
14870         [POSIX] (ENOSTR): Likewise.
14871         [POSIX] (ENOTCONN): Likewise.
14872         [POSIX] (ENOTSOCK): Likewise.
14873         [POSIX] (EOPNOTSUPP): Likewise.
14874         [POSIX] (EOVERFLOW): Likewise.
14875         [POSIX] (EPROTO): Likewise.
14876         [POSIX] (EPROTONOSUPPORT): Likewise.
14877         [POSIX] (EPROTOTYPE): Likewise.
14878         [POSIX] (ESTALE): Likewise.
14879         [POSIX] (ETIME): Likewise.
14880         [POSIX] (ETXTBSY): Likewise.
14881         [POSIX] (EWOULDBLOCK): Likewise.
14882         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14883         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14884         [POSIX] (SEEK_CUR): Likewise.
14885         [POSIX] (SEEK_END): Likewise.
14886         [POSIX || UNIX98] (mode_t): Do not require.
14887         [POSIX] (off_t): Likewise.
14888         [POSIX] (pid_t): Likewise.
14889         [POSIX] (sys/stat.h): Do not allow header.
14890         [POSIX] (unistd.h): Likewise.
14891         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14892         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14893         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14894         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14895         require.
14896         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14897         sigevent): Specify elements.
14898         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14899         entry.
14900         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14901         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14903         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14904         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14905         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14906         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14907         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14908         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14909         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14910         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14911         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14912         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14913         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14914         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14915         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14916         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14917         Likewise.
14918         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14919         Likewise.
14920         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14921         Likewise.
14922         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14923         Likewise.
14924         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14925         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14926         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14927         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14928         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14929         Specify lower bound on value.
14930         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14931         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14932         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14933         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14934         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14935         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14936         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14937         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14938         value.
14939         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14940         as optional.
14941         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14942         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14943         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14944         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14945         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14946         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14947         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14948         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14949         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14950         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14951         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14952         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14953         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14954         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14955         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14956         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14957         entry.
14958         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14959         optional.
14960         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14961         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14962         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14963         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14964         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14965         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14966         Likewise.
14967         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14968         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14969         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14970         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14971         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
14972         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14973         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14974         as optional.
14975         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14976         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14977         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14978         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14979         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14980         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14981         specify as optional.
14982         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14983         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14984         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14985         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14986         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14987         [XPG3] (NL_LANGMAX): Likewise.
14988         [POSIX || XPG3] (NL_MSGMAX): Likewise.
14989         [POSIX || XPG3] (NL_NMAX): Likewise.
14990         [POSIX || XPG3] (NL_SETMAX): Likewise.
14991         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14992         [XPG3] (NZERO): Likewise.
14993         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14994         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14995         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14996         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14997         (REG_ERANGE): Expect.
14998         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14999         optional-constant.
15000         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15001         Use (void) in prototype.
15002         [POSIX] (*_t): Allow.
15003         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15004         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15005         (WRDE_BADVAL): Expect.
15007         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15008         expect.
15009         [XPG3 || XPG4] (O_RSYNC): Likewise.
15010         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15011         Likewise.
15012         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15013         [XPG3 || XPG4] (sigqueue): Likewise.
15014         [XPG3 || XPG4] (sigtimedwait): Likewise.
15015         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15016         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15017         [XPG3 || XPG4] (vsnprintf): Likewise.
15018         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15019         Likewise.
15020         [XPG3 || XPG4] (blksize_t): Likewise.
15021         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15022         Likewise.
15023         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15024         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15025         [XPG3 || XPG4] (struct itimerspec): Likewise.
15026         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15027         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15028         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15029         [XPG3 || XPG4] (clockid_t): Likewise.
15030         [XPG3 || XPG4] (timer_t): Likewise.
15031         [XPG3 || XPG4] (clock_getres): Likewise.
15032         [XPG3 || XPG4] (clock_gettime): Likewise.
15033         [XPG3 || XPG4] (clock_settime): Likewise.
15034         [XPG3 || XPG4] (nanosleep): Likewise.
15035         [XPG3 || XPG4] (timer_create): Likewise.
15036         [XPG3 || XPG4] (timer_delete): Likewise.
15037         [XPG3 || XPG4] (timer_gettime): Likewise.
15038         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15039         [XPG3 || XPG4] (timer_settime): Likewise.
15040         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15041         [XPG3 || XPG4] (getlogin_r): Likewise.
15042         [XPG3 || XPG4] (pread): Likewise.
15043         [XPG3 || XPG4] (pthread_atfork): Likewise.
15044         [XPG3 || XPG4] (pwrite): Likewise.
15046         [BZ #14835]
15047         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15048         <bits/siginfo.h>.
15050 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15052         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15053         finalizing MALLSTREAM.
15055         * sysdeps/mach/hurd/syncfs.c: New file.
15057 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15059         [BZ #14719]
15060         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15061         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15062         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15063         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15064         (_nss_dns_gethostbyname4_r): Likewise.
15065         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15066         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15068 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15070         [BZ #13763]
15071         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15073 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15075         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15076         * elf/cache.c (print_entry): Print ",AArch64" for
15077         FLAG_AARCH64_LIB64
15079         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15080         * elf/cache.c (print_entry): Print ",hard-float" for
15081         FLAG_ARM_LIBHF.
15083 2012-11-18  David S. Miller  <davem@davemloft.net>
15085         With help from Joseph Myers.
15086         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15087         cutoff to 2**-13.
15088         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15089         cutoff to 2**-25.
15090         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15091         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15092         small.
15093         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15094         * math/libm-test.inc (y0_test): New tests.
15095         (y1_test): New tests.
15096         * sysdeps/i386/fpu/libm-test-ulps: Update.
15097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15100 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15102         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15103         64-bit targets.
15104         * configure: Regenerated.
15106 2012-11-17  David S. Miller  <davem@davemloft.net>
15108         [BZ #14811]
15109         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15110         nonzero exponents with absolute value below 0x1p-128 to +/-
15111         0x1p-128.
15113 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15115         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15117         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15119         * posix/getconf-speclist.c: New file.
15120         * posix/posix-envs.def: Likewise.
15121         * posix/confstr.c (START_ENV_GROUP): New macro.
15122         (END_ENV_GROUP): Likewise.
15123         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15124         (KNOWN_PRESENT_ENV_STRING): Likewise.
15125         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15126         (UNKNOWN_ENVIRONMENT): Likewise.
15127         (confstr): Include posix-envs.def instead of handling
15128         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15129         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15130         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15131         (END_ENV_GROUP): Likewise.
15132         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15133         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15134         (UNKNOWN_ENVIRONMENT): Likewise.
15135         (__sysconf): Include posix-envs.def instead of handling associated
15136         cases directly here.
15137         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15138         preprocessing getconf-speclist.c rather than running getconf or
15139         generating empty file.
15141 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15143         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15145 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15147         [BZ #14672]
15148         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15150 2012-11-16  David S. Miller  <davem@davemloft.net>
15152         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15153         smaller than LDBL_EPSILON/2.0L, just return xm1.
15155 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15157         * elf/tst-array1.c (init): Set constructor priority to 1000.
15158         (fini): Set destructor priority to 1000.
15159         * elf/tst-array2dep.c: Likewise.
15161 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15163         [BZ #11741]
15164         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15165         (_IO_new_file_xsputn): Also return EOF if none of the input
15166         data was written when overflow failed.
15167         * libio/iopadn.c (_IO_padn): Likewise.
15168         * libio/iowpadn.c (_IO_wpadn): Likewise.
15169         * stdio-common/tst-put-error.c: Add copyright notice.
15170         (do_test): Add case for printing padded string.
15171         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15172         _IO_padn returned error.
15173         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15174         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15175         return EOF.
15177 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15179         * libio/libioP.h: Add comment note that the references to C++
15180         bits are now obsolete.
15182 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15184         * math/libm-test.inc (check_complex): Use asprintf.
15186 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15188         * debug/pcprofiledump.c (print_version): Update copyright year.
15189         * malloc/memusagestat.c (print_version): Likewise.
15191 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15193         [BZ #14831]
15194         * elf/Makefile (tests): Add tst-audit8.
15195         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15196         ($(objpfx)tst-audit8.out): New target.
15197         (tst-audit8-ENV): New variable.
15198         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15199         audit if l_reloc_result is NULL.
15200         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15201         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15202         * elf/tst-audit8.c: New file.
15204 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15206         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15207         * misc/Makefile (CFLAGS-select.c): Define.
15208         * posix/Makefile (CFLAGS-pause.c): Define.
15210 2012-11-13  David S. Miller  <davem@davemloft.net>
15212         * crypt/Makefile: Move test targets after toplevel Rules
15213         inclusion.  Grab any necessary sysdep routines when linking.
15214         * crypt/md5.c (md5_process_block): Remove define, we will always
15215         name it __md5_process_block.
15216         (md5_finish_ctx): Update md5_process_block call.
15217         (md5_stream): Likewise.
15218         (md5_process_bytes): Likewise.
15219         (md5_process_block): Rename to __md5_process_block and move to ...
15220         * crypt/md5-block.c: ... here.
15221         * crypt/sha256.c (sha256_process_block): Move to ...
15222         * crypt/sha256-block.c: ... here.
15223         * crypt/sha512.c (sha512_process_block): Move to ...
15224         * crypt/sha512-block.c: ... here.
15225         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15226         path.
15227         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15228         * sysdeps/sparc/sparc64/multiarch/Makefile
15229         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15230         crypt subdir.
15231         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15232         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15233         multiarch changes.
15234         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15235         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15236         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15237         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15238         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15239         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15240         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15241         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15242         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15243         file.
15244         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15245         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15246         file.
15247         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15249 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15251         * timezone/tzselect.ksh: Update from tzcode git revision
15252         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15253         * timezone/zdump.c: Likewise.
15254         * timezone/zic.c: Likewise.
15255         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15256         in TZVERSION setting, not $(PKGVERSION).
15257         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15258         REPORT_BUGS_TO settings.
15260         [BZ #14838]
15261         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15262         macro.
15264 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15266         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15267         detection to immediately after _FP_ROUND().
15268         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15269         bits are 0.
15271 2012-11-11  David S. Miller  <davem@davemloft.net>
15273         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15274         inttypes.h
15275         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15276         __close rather than their public counterparts.
15278 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15280         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15281         file.
15282         [UNIX98] (sem_timedwait): Do not expect.
15283         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15284         [XPG4 || UNIX98] (sockatmark): Do not expect.
15285         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15286         (clock_getcpuclockid): Do not expect.
15287         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15288         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15289         Do not expect.
15290         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15291         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15292         [UNIX98] (vwscanf): Likewise.
15293         [UNIX98] (vswscanf): Likewise.
15295 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15297         * timezone/version.h: Remove file.
15298         * timezone/README: Do not refer to version.h.
15299         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15300         $(objpfx)version.h.
15301         ($(objpfx)zdump.o): Likewise.
15302         ($(objpfx)version.h): New target.
15304         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15305         2012i.
15306         * timezone/README: Don't mention modification to tzselect.ksh.
15307         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15308         work on unmodified tzselect.ksh.  Substitute version numbers in
15309         tzselect.ksh.
15311         * Makefile (format-me): Remove.
15312         (INSTALL): Adjust indentation.  Use commands directly instead of
15313         using $(format-me).
15315         * aclocal.m4 (ACX_PKGVERSION): New macro.
15316         (ACX_BUGURL): Likewise.
15317         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15318         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15319         (REPORT_BUGS_TO): Likewise.
15320         * configure: Regenerated.
15321         * config.h.in (PKGVERSION): New macro.
15322         (REPORT_BUGS_TO): Likewise.
15323         * config.make.in (PKGVERSION): New variable.
15324         (PKGVERSION_TEXI): Likewise.
15325         (REPORT_BUGS_TO): Likewise.
15326         (REPORT_BUGS_TEXI): Likewise.
15327         * Makefile (format-me): Use -I$(common-objpfx)manual.
15328         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15329         ($(common-objpfx)manual/%): New target.
15330         (manual/%): Remove target.
15331         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15332         (print_version): Use PKGVERSION.
15333         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15334         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15335         and REPORT_BUGS_TO.
15336         ($(objpfx)xtrace): Likewise.
15337         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15338         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15339         (print_version): Use PKGVERSION.
15340         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15341         (do_version): Use PKGVERSION.
15342         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15343         REPORT_BUGS_TO.
15344         (common-ldd-rewrite): Likewise.
15345         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15346         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15347         (print_version): Use PKGVERSION.
15348         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15349         * elf/pldd.c (argp_program_bug_address): Remove variable.
15350         (more_help): New function.
15351         (argp): Use more_help.
15352         (print_version): Use PKGVERSION.
15353         * elf/sln.c (main): Use PKGVERSION.
15354         (usage): Use REPORT_BUGS_TO.
15355         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15356         (top level): Use PKGVERSION.
15357         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15358         (print_version): Use PKGVERSION.
15359         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15360         (print_version): Use PKGVERSION.
15361         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15362         (print_version): Use PKGVERSION.
15363         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15364         (print_version): Use PKGVERSION.
15365         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15366         (print_version): Use PKGVERSION.
15367         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15368         (print_version): Use PKGVERSION.
15369         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15370         and BUGURL.
15371         ($(objpfx)memusage): Likewise.
15372         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15373         (do_version): Use PKGVERSION.
15374         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15375         (print_version): Use PKGVERSION.
15376         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15377         ($PKGVERSION): New variable.
15378         ($REPORT_BUGS_TO): Likewise.
15379         (usage): Use $REPORT_BUGS_TO.
15380         (top level): Use $PKGVERSION.
15381         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15382         ($(objpfx)pkgvers.texi): New rule.
15383         ($(objpfx)stamp-pkgvers): Likewise.
15384         * manual/install.texi: Include pkgvers.texi.
15385         (--with-pkgversion): Document new configure option.
15386         (--with-bugurl): Likewise.
15387         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15388         than necessarily for this particular distribution.  Use
15389         REPORT_BUGS_TO for where to report bugs.
15390         * INSTALL: Regenerated.
15391         * manual/libc.texinfo: Include pkgvers.texi.
15392         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15393         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15394         (print_version): Use PKGVERSION.
15395         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15396         (print_version): Use PKGVERSION.
15397         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15398         (print_version): Use PKGVERSION.
15399         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15400         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15401         macro.
15402         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15403         (print_version): Use PKGVERSION.
15404         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15405         (print_version): Use PKGVERSION.
15406         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15407         and PKGVERSION.
15409         * timezone/checktab.awk: Update from tzcode 2012i.
15410         * timezone/ialloc.c: Likewise.
15411         * timezone/private.h: Likewise.
15412         * timezone/scheck.c: Likewise.
15413         * timezone/tzfile.h: Likewise.
15414         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15415         (TZVERSION): Hardcode tzcode version number.
15416         * timezone/zdump.c: Update from tzcode 2012i.
15417         * timezone/zic.c: Likewise.
15418         * timezone/version.h: New file.
15419         * timezone/README: Describe version.h.  Update upstream location.
15421         [BZ #14824]
15422         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15423         (mktemp): Enable declaration.
15424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15425         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15427         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15428         Likewise.
15429         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15430         Likewise.
15431         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15432         Likewise.
15433         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15434         Likewise.
15435         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15436         Likewise.
15437         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15438         Likewise.
15440         [BZ #14821]
15441         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15442         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15443         for copies of such integer values.
15444         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15445         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15447 2012-11-09  Andreas Jaeger  <aj@suse.de>
15449         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15450         definitions and declarations that are provided by
15451         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15453 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15455         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15456         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15457         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15458         definition.
15460 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15462         * elf/elf.h: Update comment before AArch64 relocations.
15464 2012-11-07  David S. Miller  <davem@davemloft.net>
15466         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15467         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15468         (__start_context): Declare.
15469         (__makecontext_ret): Delete.
15470         (__makecontext): Hook up __start_context instead of
15471         __makecontext_ret.
15472         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15473         (sysdep_routines): Add __start_context when in stdlib.
15475 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15477         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15478         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15479         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15480         hardcoded "nm".
15481         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15482         (READELF): New variable.  Use it instead of hardcoded "readelf".
15484 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15486         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15487         * sysdeps/x86/Makefile: Here.
15488         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15489         * sysdeps/x86/tst-xmmymm.sh: This.
15491 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15493         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15494         expectations.
15495         [UNIX98] (pthread_barrier_t): Do not expect.
15496         [UNIX98] (pthread_barrierattr_t): Likewise.
15497         [UNIX98] (pthread_spinlock_t): Likewise.
15498         [UNIX98] (pthread_barrier_destroy): Likewise.
15499         [UNIX98] (pthread_barrier_init): Likewise.
15500         [UNIX98] (pthread_barrier_wait): Likewise.
15501         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15502         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15503         [UNIX98] (pthread_barrierattr_init): Likewise.
15504         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15505         [UNIX98] (pthread_getcpuclockid): Likewise.
15506         [UNIX98] (pthread_mutex_timedlock): Likewise.
15507         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15508         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15509         [UNIX98] (pthread_sigmask): Likewise.
15510         [UNIX98] (pthread_spin_destroy): Likewise.
15511         [UNIX98] (pthread_spin_init): Likewise.
15512         [UNIX98] (pthread_spin_lock): Likewise.
15513         [UNIX98] (pthread_spin_trylock): Likewise.
15514         [UNIX98] (pthread_spin_unlock): Likewise.
15515         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15516         Do not expect.
15517         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15518         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15519         [XPG3 || XPG4] (pthread_cond_t): Likewise.
15520         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15521         [XPG3 || XPG4] (pthread_key_t): Likewise.
15522         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15523         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15524         [XPG3 || XPG4] (pthread_once_t): Likewise.
15525         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15526         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15527         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15528         [XPG3 || XPG4] (pthread_t): Likewise.
15530         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15531         not expect.
15532         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15534         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15535         Change function return type to int.
15537         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15538         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15539         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15540         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15541         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15542         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15543         [!POSIX] (posix_madvise): Likewise.
15544         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15545         && !UNIX98].
15546         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15547         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15548         (mode_t): Likewise.
15549         (posix_mem_offset): Likewise.
15550         (posix_typed_mem_get_info): Likewise.
15551         (posix_typed_mem_open): Likewise.
15553         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15554         Change condition to [XOPEN2K8].
15556         * conform/conformtest.pl: Preprocess allow-header data with -x c
15557         instead of from stdin.
15558         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15559         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15560         [C99-based standards] (cerfc): Likewise.
15561         [C99-based standards] (cexp2): Likewise.
15562         [C99-based standards] (cexpm1): Likewise.
15563         [C99-based standards] (clog10): Likewise.
15564         [C99-based standards] (clog1p): Likewise.
15565         [C99-based standards] (clog2): Likewise.
15566         [C99-based standards] (clgamma): Likewise.
15567         [C99-based standards] (ctgamma): Likewise.
15568         [C99-based standards] (cerff): Likewise.
15569         [C99-based standards] (cerfcf): Likewise.
15570         [C99-based standards] (cexp2f): Likewise.
15571         [C99-based standards] (cexpm1f): Likewise.
15572         [C99-based standards] (clog10f): Likewise.
15573         [C99-based standards] (clog1pf): Likewise.
15574         [C99-based standards] (clog2f): Likewise.
15575         [C99-based standards] (clgammaf): Likewise.
15576         [C99-based standards] (ctgammaf): Likewise.
15577         [C99-based standards] (cerfl): Likewise.
15578         [C99-based standards] (cerfcl): Likewise.
15579         [C99-based standards] (cexp2l): Likewise.
15580         [C99-based standards] (cexpm1l): Likewise.
15581         [C99-based standards] (clog10l): Likewise.
15582         [C99-based standards] (clog1pl): Likewise.
15583         [C99-based standards] (clog2l): Likewise.
15584         [C99-based standards] (clgammal): Likewise.
15585         [C99-based standards] (ctgammal): Likewise.
15586         * conform/data/inttypes.h-data [C99-based standards]: Include
15587         stdint.h-data.  Remove all expectations for stdint.h contents.
15588         [C99-based standards] (PRI*): Do not allow.
15589         [C99-based standards] (SCN*): Likewise.
15590         [C99-based standards] (*_t): Likewise.
15591         [C99-based-standards] (PRId8): Expect macro.
15592         [C99-based-standards] (PRIi8): Likewise.
15593         [C99-based-standards] (PRIo8): Likewise.
15594         [C99-based-standards] (PRIu8): Likewise.
15595         [C99-based-standards] (PRIx8): Likewise.
15596         [C99-based-standards] (PRIX8): Likewise.
15597         [C99-based-standards] (SCNd8): Likewise.
15598         [C99-based-standards] (SCNi8): Likewise.
15599         [C99-based-standards] (SCNo8): Likewise.
15600         [C99-based-standards] (SCNu8): Likewise.
15601         [C99-based-standards] (SCNx8): Likewise.
15602         [C99-based-standards] (PRIdLEAST8): Likewise.
15603         [C99-based-standards] (PRIiLEAST8): Likewise.
15604         [C99-based-standards] (PRIoLEAST8): Likewise.
15605         [C99-based-standards] (PRIuLEAST8): Likewise.
15606         [C99-based-standards] (PRIxLEAST8): Likewise.
15607         [C99-based-standards] (PRIXLEAST8): Likewise.
15608         [C99-based-standards] (SCNdLEAST8): Likewise.
15609         [C99-based-standards] (SCNiLEAST8): Likewise.
15610         [C99-based-standards] (SCNoLEAST8): Likewise.
15611         [C99-based-standards] (SCNuLEAST8): Likewise.
15612         [C99-based-standards] (SCNxLEAST8): Likewise.
15613         [C99-based-standards] (PRIdFAST8): Likewise.
15614         [C99-based-standards] (PRIiFAST8): Likewise.
15615         [C99-based-standards] (PRIoFAST8): Likewise.
15616         [C99-based-standards] (PRIuFAST8): Likewise.
15617         [C99-based-standards] (PRIxFAST8): Likewise.
15618         [C99-based-standards] (PRIXFAST8): Likewise.
15619         [C99-based-standards] (SCNdFAST8): Likewise.
15620         [C99-based-standards] (SCNiFAST8): Likewise.
15621         [C99-based-standards] (SCNoFAST8): Likewise.
15622         [C99-based-standards] (SCNuFAST8): Likewise.
15623         [C99-based-standards] (SCNxFAST8): Likewise.
15624         [C99-based-standards] (PRId16): Likewise.
15625         [C99-based-standards] (PRIi16): Likewise.
15626         [C99-based-standards] (PRIo16): Likewise.
15627         [C99-based-standards] (PRIu16): Likewise.
15628         [C99-based-standards] (PRIx16): Likewise.
15629         [C99-based-standards] (PRIX16): Likewise.
15630         [C99-based-standards] (SCNd16): Likewise.
15631         [C99-based-standards] (SCNi16): Likewise.
15632         [C99-based-standards] (SCNo16): Likewise.
15633         [C99-based-standards] (SCNu16): Likewise.
15634         [C99-based-standards] (SCNx16): Likewise.
15635         [C99-based-standards] (PRIdLEAST16): Likewise.
15636         [C99-based-standards] (PRIiLEAST16): Likewise.
15637         [C99-based-standards] (PRIoLEAST16): Likewise.
15638         [C99-based-standards] (PRIuLEAST16): Likewise.
15639         [C99-based-standards] (PRIxLEAST16): Likewise.
15640         [C99-based-standards] (PRIXLEAST16): Likewise.
15641         [C99-based-standards] (SCNdLEAST16): Likewise.
15642         [C99-based-standards] (SCNiLEAST16): Likewise.
15643         [C99-based-standards] (SCNoLEAST16): Likewise.
15644         [C99-based-standards] (SCNuLEAST16): Likewise.
15645         [C99-based-standards] (SCNxLEAST16): Likewise.
15646         [C99-based-standards] (PRIdFAST16): Likewise.
15647         [C99-based-standards] (PRIiFAST16): Likewise.
15648         [C99-based-standards] (PRIoFAST16): Likewise.
15649         [C99-based-standards] (PRIuFAST16): Likewise.
15650         [C99-based-standards] (PRIxFAST16): Likewise.
15651         [C99-based-standards] (PRIXFAST16): Likewise.
15652         [C99-based-standards] (SCNdFAST16): Likewise.
15653         [C99-based-standards] (SCNiFAST16): Likewise.
15654         [C99-based-standards] (SCNoFAST16): Likewise.
15655         [C99-based-standards] (SCNuFAST16): Likewise.
15656         [C99-based-standards] (SCNxFAST16): Likewise.
15657         [C99-based-standards] (PRId32): Likewise.
15658         [C99-based-standards] (PRIi32): Likewise.
15659         [C99-based-standards] (PRIo32): Likewise.
15660         [C99-based-standards] (PRIu32): Likewise.
15661         [C99-based-standards] (PRIx32): Likewise.
15662         [C99-based-standards] (PRIX32): Likewise.
15663         [C99-based-standards] (SCNd32): Likewise.
15664         [C99-based-standards] (SCNi32): Likewise.
15665         [C99-based-standards] (SCNo32): Likewise.
15666         [C99-based-standards] (SCNu32): Likewise.
15667         [C99-based-standards] (SCNx32): Likewise.
15668         [C99-based-standards] (PRIdLEAST32): Likewise.
15669         [C99-based-standards] (PRIiLEAST32): Likewise.
15670         [C99-based-standards] (PRIoLEAST32): Likewise.
15671         [C99-based-standards] (PRIuLEAST32): Likewise.
15672         [C99-based-standards] (PRIxLEAST32): Likewise.
15673         [C99-based-standards] (PRIXLEAST32): Likewise.
15674         [C99-based-standards] (SCNdLEAST32): Likewise.
15675         [C99-based-standards] (SCNiLEAST32): Likewise.
15676         [C99-based-standards] (SCNoLEAST32): Likewise.
15677         [C99-based-standards] (SCNuLEAST32): Likewise.
15678         [C99-based-standards] (SCNxLEAST32): Likewise.
15679         [C99-based-standards] (PRIdFAST32): Likewise.
15680         [C99-based-standards] (PRIiFAST32): Likewise.
15681         [C99-based-standards] (PRIoFAST32): Likewise.
15682         [C99-based-standards] (PRIuFAST32): Likewise.
15683         [C99-based-standards] (PRIxFAST32): Likewise.
15684         [C99-based-standards] (PRIXFAST32): Likewise.
15685         [C99-based-standards] (SCNdFAST32): Likewise.
15686         [C99-based-standards] (SCNiFAST32): Likewise.
15687         [C99-based-standards] (SCNoFAST32): Likewise.
15688         [C99-based-standards] (SCNuFAST32): Likewise.
15689         [C99-based-standards] (SCNxFAST32): Likewise.
15690         [C99-based-standards] (PRId64): Likewise.
15691         [C99-based-standards] (PRIi64): Likewise.
15692         [C99-based-standards] (PRIo64): Likewise.
15693         [C99-based-standards] (PRIu64): Likewise.
15694         [C99-based-standards] (PRIx64): Likewise.
15695         [C99-based-standards] (PRIX64): Likewise.
15696         [C99-based-standards] (SCNd64): Likewise.
15697         [C99-based-standards] (SCNi64): Likewise.
15698         [C99-based-standards] (SCNo64): Likewise.
15699         [C99-based-standards] (SCNu64): Likewise.
15700         [C99-based-standards] (SCNx64): Likewise.
15701         [C99-based-standards] (PRIdLEAST64): Likewise.
15702         [C99-based-standards] (PRIiLEAST64): Likewise.
15703         [C99-based-standards] (PRIoLEAST64): Likewise.
15704         [C99-based-standards] (PRIuLEAST64): Likewise.
15705         [C99-based-standards] (PRIxLEAST64): Likewise.
15706         [C99-based-standards] (PRIXLEAST64): Likewise.
15707         [C99-based-standards] (SCNdLEAST64): Likewise.
15708         [C99-based-standards] (SCNiLEAST64): Likewise.
15709         [C99-based-standards] (SCNoLEAST64): Likewise.
15710         [C99-based-standards] (SCNuLEAST64): Likewise.
15711         [C99-based-standards] (SCNxLEAST64): Likewise.
15712         [C99-based-standards] (PRIdFAST64): Likewise.
15713         [C99-based-standards] (PRIiFAST64): Likewise.
15714         [C99-based-standards] (PRIoFAST64): Likewise.
15715         [C99-based-standards] (PRIuFAST64): Likewise.
15716         [C99-based-standards] (PRIxFAST64): Likewise.
15717         [C99-based-standards] (PRIXFAST64): Likewise.
15718         [C99-based-standards] (SCNdFAST64): Likewise.
15719         [C99-based-standards] (SCNiFAST64): Likewise.
15720         [C99-based-standards] (SCNoFAST64): Likewise.
15721         [C99-based-standards] (SCNuFAST64): Likewise.
15722         [C99-based-standards] (SCNxFAST64): Likewise.
15723         [C99-based-standards] (PRIdMAX): Likewise.
15724         [C99-based-standards] (PRIiMAX): Likewise.
15725         [C99-based-standards] (PRIoMAX): Likewise.
15726         [C99-based-standards] (PRIuMAX): Likewise.
15727         [C99-based-standards] (PRIxMAX): Likewise.
15728         [C99-based-standards] (PRIXMAX): Likewise.
15729         [C99-based-standards] (SCNdMAX): Likewise.
15730         [C99-based-standards] (SCNiMAX): Likewise.
15731         [C99-based-standards] (SCNoMAX): Likewise.
15732         [C99-based-standards] (SCNuMAX): Likewise.
15733         [C99-based-standards] (SCNxMAX): Likewise.
15734         [C99-based-standards] (PRIdPTR): Likewise.
15735         [C99-based-standards] (PRIiPTR): Likewise.
15736         [C99-based-standards] (PRIoPTR): Likewise.
15737         [C99-based-standards] (PRIuPTR): Likewise.
15738         [C99-based-standards] (PRIxPTR): Likewise.
15739         [C99-based-standards] (PRIXPTR): Likewise.
15740         [C99-based-standards] (SCNdPTR): Likewise.
15741         [C99-based-standards] (SCNiPTR): Likewise.
15742         [C99-based-standards] (SCNoPTR): Likewise.
15743         [C99-based-standards] (SCNuPTR): Likewise.
15744         [C99-based-standards] (SCNxPTR): Likewise.
15745         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15746         allow.
15747         * conform/data/stdint.h-data: Update comments to clarify
15748         requirements.
15749         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15750         type.
15751         [C99-based standards] (INT8_MAX): Likewise.
15752         [C99-based standards] (INT16_MIN): Likewise.
15753         [C99-based standards] (INT16_MAX): Likewise.
15754         [C99-based standards] (INT32_MIN): Likewise.
15755         [C99-based standards] (INT32_MAX): Likewise.
15756         [C99-based standards] (INT64_MIN): Likewise.
15757         [C99-based standards] (INT64_MAX): Likewise.
15758         [C99-based standards] (UINT8_MAX): Likewise.
15759         [C99-based standards] (UINT16_MAX): Likewise.
15760         [C99-based standards] (UINT32_MAX): Likewise.
15761         [C99-based standards] (UINT64_MAX): Likewise.
15762         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15763         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15764         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15765         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15766         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15767         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15768         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15769         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15770         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15771         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15772         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15773         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15774         [C99-based standards] (INT_FAST8_MIN): Likewise.
15775         [C99-based standards] (INT_FAST8_MAX): Likewise.
15776         [C99-based standards] (INT_FAST16_MIN): Likewise.
15777         [C99-based standards] (INT_FAST16_MAX): Likewise.
15778         [C99-based standards] (INT_FAST32_MIN): Likewise.
15779         [C99-based standards] (INT_FAST32_MAX): Likewise.
15780         [C99-based standards] (INT_FAST64_MIN): Likewise.
15781         [C99-based standards] (INT_FAST64_MAX): Likewise.
15782         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15783         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15784         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15785         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15786         [C99-based standards] (INTPTR_MIN): Likewise.
15787         [C99-based standards] (INTPTR_MAX): Likewise.
15788         [C99-based standards] (UINTPTR_MAX): Likewise.
15789         [C99-based standards] (INTMAX_MIN): Likewise.
15790         [C99-based standards] (INTMAX_MAX): Likewise.
15791         [C99-based standards] (UINTMAX_MAX): Likewise.
15792         [C99-based standards] (PTRDIFF_MIN): Likewise.
15793         [C99-based standards] (PTRDIFF_MAX): Likewise.
15794         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15795         [C99-based standards] (SIZE_MAX): Likewise.
15796         [C99-based standards] (WCHAR_MAX): Likewise.
15797         [C99-based standards] (WINT_MAX): Likewise.
15798         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15799         constraint on value.
15800         [C99-based standards] (WCHAR_MIN): Likewise.
15801         [C99-based standards] (WINT_MIN): Likewise.
15802         [C99-based standards] (*_t): Allow.
15803         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15804         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15805         Include math.h-data and complex.h-data.  Remove all expectations
15806         of math.h and complex.h contents.
15807         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15808         at end of line.
15809         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15810         (struct tm): Expect tag.
15811         [C99-based-standards] (wcstof): Expect function.
15812         [C99-based-standards] (wcstold): Likewise.
15813         [C99-based-standards] (wcstoll): Likewise.
15814         [C99-based-standards] (wcstoull): Likewise.
15815         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15816         macro-int-constant.  Specify type.
15817         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15818         constraint on value.
15819         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15820         Specify type.
15821         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15822         Specify value.
15823         [ISO C standards]: Do not allow headers.
15824         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15825         wcs[abcdefghijklmnopqrstuvwxyz]*.
15826         [ISO C standards] (*_t): Do not allow.
15827         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15828         Expect function.
15829         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15830         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15831         Specify type.
15832         [ISO C standards]: Do not allow headers.
15833         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15834         is[abcdefghijklmnopqrstuvwxyz]*.
15835         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15836         to[abcdefghijklmnopqrstuvwxyz]*.
15837         [ISO C standards] (*_t): Do not allow.
15838         * conform/data/stdalign.h-data: New file.
15839         * conform/data/stdbool.h-data: Likewise.
15840         * conform/data/stdnoreturn.h-data: Likewise.
15842 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15844         [BZ #14815]
15845         * manual/filesys.texi (Directory Entries): Typo fix.
15846         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15848 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15850         * elf/elf.h (EM_AARCH64): New macro.
15851         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15852         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15853         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15854         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15855         (R_AARCH64_TLSDESC): Likewise.
15856         (NT_ARM_TLS): Likewise.
15857         (NT_ARM_HW_BREAK): Likewise.
15858         (NT_ARM_HW_WATCH): Likewise.
15860 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15862         [BZ #14811]
15863         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15864         (__ieee754_powl): Saturate nonzero exponents with absolute value
15865         below 0x1p-79 to +/- 0x1p-79.
15866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15867         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15868         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15869         nonzero exponents with absolute value below 0x1p-32 to +/-
15870         0x1p-32.
15871         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15872         (__ieee754_powl): Saturate nonzero exponents with absolute value
15873         below 0x1p-79 to +/- 0x1p-79.
15874         * math/libm-test.inc (pow_test): Add more tests.
15876 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15878         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15879         _dl_s390_cap_flags with kernel. Increase string length.
15880         (_dl_s390_platforms): Add z196 and zEC12.
15882 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15884         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15885         Change XOPEN21K to XOPEN2K.
15887 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15889         * string/memmove.c: Use memcpy when possible.
15891 2012-11-06  Andreas Jaeger  <aj@suse.de>
15893         * po/eo.po: Update from translation team.
15895 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15897         [BZ #14793]
15898         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15899         exponent and small x and y exponents, scale x or y up.  Increase
15900         by 2 the exponent used in scaling up.
15901         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15903         * math/libm-test.inc (fma_test): Add more tests.
15904         (fma_test_towardzero): Likewise.
15905         (fma_test_downward): Likewise.
15906         (fma_test_upward): Likewise.
15908 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15910         [BZ #14805]
15911         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15912         fenv_t *.
15914         [BZ #14801]
15915         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15916         namespace for names of struct fields.
15917         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15918         fenv_t fields.
15919         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15920         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15922 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15924         [BZ #3665]
15925         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15927 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15929         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15930         PTR_DEMANGLE.
15932         [BZ #5246]
15933         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15934         PTR_DEMANGLE.
15936 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
15938         [BZ #14797]
15939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15940         definitely overflow as x * y not x * y + z.
15941         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15942         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15943         * math/libm-test.inc (fma_test): Add more tests.
15944         (fma_test_towardzero): Likewise.
15945         (fma_test_downward): Likewise.
15946         (fma_test_upward): Likewise.
15948 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15950         [BZ #157]
15952         * include/stub-tag.h: Remove file.
15953         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15954         '#include' of it.
15955         * manual/maint.texi (Porting): Don't reference it.
15956         * Makerules ($(objpfx)stubs): Likewise.
15957         * dirent/closedir.c: Don't include <stub-tag.h>.
15958         * dirent/dirfd.c: Likewise.
15959         * dirent/fdopendir.c: Likewise.
15960         * dirent/getdents.c: Likewise.
15961         * dirent/getdents64.c: Likewise.
15962         * dirent/opendir.c: Likewise.
15963         * dirent/readdir.c: Likewise.
15964         * dirent/readdir64.c: Likewise.
15965         * dirent/readdir64_r.c: Likewise.
15966         * dirent/readdir_r.c: Likewise.
15967         * dirent/rewinddir.c: Likewise.
15968         * dirent/seekdir.c: Likewise.
15969         * dirent/telldir.c: Likewise.
15970         * gmon/profil.c: Likewise.
15971         * grp/setgroups.c: Likewise.
15972         * inet/if_index.c: Likewise.
15973         * io/access.c: Likewise.
15974         * io/chdir.c: Likewise.
15975         * io/chmod.c: Likewise.
15976         * io/chown.c: Likewise.
15977         * io/close.c: Likewise.
15978         * io/dup.c: Likewise.
15979         * io/dup2.c: Likewise.
15980         * io/dup3.c: Likewise.
15981         * io/euidaccess.c: Likewise.
15982         * io/faccessat.c: Likewise.
15983         * io/fchdir.c: Likewise.
15984         * io/fchmod.c: Likewise.
15985         * io/fchmodat.c: Likewise.
15986         * io/fchown.c: Likewise.
15987         * io/fchownat.c: Likewise.
15988         * io/fcntl.c: Likewise.
15989         * io/flock.c: Likewise.
15990         * io/fstatfs.c: Likewise.
15991         * io/fstatfs64.c: Likewise.
15992         * io/fstatvfs.c: Likewise.
15993         * io/fstatvfs64.c: Likewise.
15994         * io/futimens.c: Likewise.
15995         * io/fxstat.c: Likewise.
15996         * io/fxstat64.c: Likewise.
15997         * io/fxstatat.c: Likewise.
15998         * io/fxstatat64.c: Likewise.
15999         * io/getcwd.c: Likewise.
16000         * io/isatty.c: Likewise.
16001         * io/lchmod.c: Likewise.
16002         * io/lchown.c: Likewise.
16003         * io/link.c: Likewise.
16004         * io/linkat.c: Likewise.
16005         * io/lseek.c: Likewise.
16006         * io/lseek64.c: Likewise.
16007         * io/lxstat64.c: Likewise.
16008         * io/mkdir.c: Likewise.
16009         * io/mkdirat.c: Likewise.
16010         * io/mkfifo.c: Likewise.
16011         * io/mkfifoat.c: Likewise.
16012         * io/open.c: Likewise.
16013         * io/open64.c: Likewise.
16014         * io/openat.c: Likewise.
16015         * io/openat64.c: Likewise.
16016         * io/pipe.c: Likewise.
16017         * io/pipe2.c: Likewise.
16018         * io/poll.c: Likewise.
16019         * io/posix_fadvise.c: Likewise.
16020         * io/posix_fadvise64.c: Likewise.
16021         * io/posix_fallocate.c: Likewise.
16022         * io/posix_fallocate64.c: Likewise.
16023         * io/read.c: Likewise.
16024         * io/readlink.c: Likewise.
16025         * io/readlinkat.c: Likewise.
16026         * io/rmdir.c: Likewise.
16027         * io/sendfile.c: Likewise.
16028         * io/sendfile64.c: Likewise.
16029         * io/statfs.c: Likewise.
16030         * io/statfs64.c: Likewise.
16031         * io/statvfs.c: Likewise.
16032         * io/statvfs64.c: Likewise.
16033         * io/symlink.c: Likewise.
16034         * io/symlinkat.c: Likewise.
16035         * io/ttyname.c: Likewise.
16036         * io/ttyname_r.c: Likewise.
16037         * io/umask.c: Likewise.
16038         * io/unlink.c: Likewise.
16039         * io/unlinkat.c: Likewise.
16040         * io/utime.c: Likewise.
16041         * io/utimensat.c: Likewise.
16042         * io/write.c: Likewise.
16043         * io/xmknod.c: Likewise.
16044         * io/xmknodat.c: Likewise.
16045         * io/xstat.c: Likewise.
16046         * io/xstat64.c: Likewise.
16047         * login/getpt.c: Likewise.
16048         * login/grantpt.c: Likewise.
16049         * login/unlockpt.c: Likewise.
16050         * math/e_acoshl.c: Likewise.
16051         * math/e_acosl.c: Likewise.
16052         * math/e_asinl.c: Likewise.
16053         * math/e_atan2l.c: Likewise.
16054         * math/e_atanhl.c: Likewise.
16055         * math/e_coshl.c: Likewise.
16056         * math/e_expl.c: Likewise.
16057         * math/e_fmodl.c: Likewise.
16058         * math/e_gammal_r.c: Likewise.
16059         * math/e_hypotl.c: Likewise.
16060         * math/e_j0l.c: Likewise.
16061         * math/e_j1l.c: Likewise.
16062         * math/e_jnl.c: Likewise.
16063         * math/e_lgammal_r.c: Likewise.
16064         * math/e_log10l.c: Likewise.
16065         * math/e_log2l.c: Likewise.
16066         * math/e_logl.c: Likewise.
16067         * math/e_powl.c: Likewise.
16068         * math/e_rem_pio2l.c: Likewise.
16069         * math/e_sinhl.c: Likewise.
16070         * math/e_sqrtl.c: Likewise.
16071         * math/fclrexcpt.c: Likewise.
16072         * math/fedisblxcpt.c: Likewise.
16073         * math/feenablxcpt.c: Likewise.
16074         * math/fegetenv.c: Likewise.
16075         * math/fegetexcept.c: Likewise.
16076         * math/fegetround.c: Likewise.
16077         * math/feholdexcpt.c: Likewise.
16078         * math/fesetenv.c: Likewise.
16079         * math/fesetround.c: Likewise.
16080         * math/feupdateenv.c: Likewise.
16081         * math/fgetexcptflg.c: Likewise.
16082         * math/fraiseexcpt.c: Likewise.
16083         * math/fsetexcptflg.c: Likewise.
16084         * math/ftestexcept.c: Likewise.
16085         * math/k_cosl.c: Likewise.
16086         * math/k_rem_pio2l.c: Likewise.
16087         * math/k_sinl.c: Likewise.
16088         * math/k_tanl.c: Likewise.
16089         * math/s_asinhl.c: Likewise.
16090         * math/s_atanl.c: Likewise.
16091         * math/s_cbrtl.c: Likewise.
16092         * math/s_erfl.c: Likewise.
16093         * math/s_expm1l.c: Likewise.
16094         * math/s_log1pl.c: Likewise.
16095         * math/s_tanhl.c: Likewise.
16096         * misc/acct.c: Likewise.
16097         * misc/brk.c: Likewise.
16098         * misc/chflags.c: Likewise.
16099         * misc/chroot.c: Likewise.
16100         * misc/fchflags.c: Likewise.
16101         * misc/fgetxattr.c: Likewise.
16102         * misc/flistxattr.c: Likewise.
16103         * misc/fremovexattr.c: Likewise.
16104         * misc/fsetxattr.c: Likewise.
16105         * misc/fsync.c: Likewise.
16106         * misc/ftruncate.c: Likewise.
16107         * misc/futimes.c: Likewise.
16108         * misc/futimesat.c: Likewise.
16109         * misc/getdomain.c: Likewise.
16110         * misc/getdtsz.c: Likewise.
16111         * misc/gethostid.c: Likewise.
16112         * misc/gethostname.c: Likewise.
16113         * misc/getloadavg.c: Likewise.
16114         * misc/getpagesize.c: Likewise.
16115         * misc/getsysstats.c: Likewise.
16116         * misc/getxattr.c: Likewise.
16117         * misc/gtty.c: Likewise.
16118         * misc/ioctl.c: Likewise.
16119         * misc/lgetxattr.c: Likewise.
16120         * misc/listxattr.c: Likewise.
16121         * misc/llistxattr.c: Likewise.
16122         * misc/lremovexattr.c: Likewise.
16123         * misc/lsetxattr.c: Likewise.
16124         * misc/lutimes.c: Likewise.
16125         * misc/madvise.c: Likewise.
16126         * misc/mincore.c: Likewise.
16127         * misc/mlock.c: Likewise.
16128         * misc/mlockall.c: Likewise.
16129         * misc/mmap.c: Likewise.
16130         * misc/mprotect.c: Likewise.
16131         * misc/msync.c: Likewise.
16132         * misc/munlock.c: Likewise.
16133         * misc/munlockall.c: Likewise.
16134         * misc/munmap.c: Likewise.
16135         * misc/preadv.c: Likewise.
16136         * misc/preadv64.c: Likewise.
16137         * misc/ptrace.c: Likewise.
16138         * misc/pwritev.c: Likewise.
16139         * misc/pwritev64.c: Likewise.
16140         * misc/readv.c: Likewise.
16141         * misc/reboot.c: Likewise.
16142         * misc/remap_file_pages.c: Likewise.
16143         * misc/removexattr.c: Likewise.
16144         * misc/revoke.c: Likewise.
16145         * misc/select.c: Likewise.
16146         * misc/setdomain.c: Likewise.
16147         * misc/setegid.c: Likewise.
16148         * misc/seteuid.c: Likewise.
16149         * misc/sethostid.c: Likewise.
16150         * misc/sethostname.c: Likewise.
16151         * misc/setregid.c: Likewise.
16152         * misc/setreuid.c: Likewise.
16153         * misc/setxattr.c: Likewise.
16154         * misc/sstk.c: Likewise.
16155         * misc/stty.c: Likewise.
16156         * misc/swapoff.c: Likewise.
16157         * misc/swapon.c: Likewise.
16158         * misc/sync.c: Likewise.
16159         * misc/syncfs.c: Likewise.
16160         * misc/syscall.c: Likewise.
16161         * misc/truncate.c: Likewise.
16162         * misc/ualarm.c: Likewise.
16163         * misc/usleep.c: Likewise.
16164         * misc/ustat.c: Likewise.
16165         * misc/utimes.c: Likewise.
16166         * misc/vhangup.c: Likewise.
16167         * misc/writev.c: Likewise.
16168         * posix/_exit.c: Likewise.
16169         * posix/alarm.c: Likewise.
16170         * posix/execve.c: Likewise.
16171         * posix/fexecve.c: Likewise.
16172         * posix/fork.c: Likewise.
16173         * posix/fpathconf.c: Likewise.
16174         * posix/getaddrinfo.c: Likewise.
16175         * posix/getegid.c: Likewise.
16176         * posix/geteuid.c: Likewise.
16177         * posix/getgid.c: Likewise.
16178         * posix/getgroups.c: Likewise.
16179         * posix/getlogin.c: Likewise.
16180         * posix/getlogin_r.c: Likewise.
16181         * posix/getpgid.c: Likewise.
16182         * posix/getpid.c: Likewise.
16183         * posix/getppid.c: Likewise.
16184         * posix/getresgid.c: Likewise.
16185         * posix/getresuid.c: Likewise.
16186         * posix/getsid.c: Likewise.
16187         * posix/getuid.c: Likewise.
16188         * posix/glob64.c: Likewise.
16189         * posix/nanosleep.c: Likewise.
16190         * posix/pathconf.c: Likewise.
16191         * posix/pause.c: Likewise.
16192         * posix/posix_madvise.c: Likewise.
16193         * posix/pread.c: Likewise.
16194         * posix/pread64.c: Likewise.
16195         * posix/pwrite.c: Likewise.
16196         * posix/pwrite64.c: Likewise.
16197         * posix/sched_getaffinity.c: Likewise.
16198         * posix/sched_getp.c: Likewise.
16199         * posix/sched_gets.c: Likewise.
16200         * posix/sched_primax.c: Likewise.
16201         * posix/sched_primin.c: Likewise.
16202         * posix/sched_rr_gi.c: Likewise.
16203         * posix/sched_setaffinity.c: Likewise.
16204         * posix/sched_setp.c: Likewise.
16205         * posix/sched_sets.c: Likewise.
16206         * posix/sched_yield.c: Likewise.
16207         * posix/setgid.c: Likewise.
16208         * posix/setlogin.c: Likewise.
16209         * posix/setpgid.c: Likewise.
16210         * posix/setresgid.c: Likewise.
16211         * posix/setresuid.c: Likewise.
16212         * posix/setsid.c: Likewise.
16213         * posix/setuid.c: Likewise.
16214         * posix/sleep.c: Likewise.
16215         * posix/spawni.c: Likewise.
16216         * posix/sysconf.c: Likewise.
16217         * posix/times.c: Likewise.
16218         * posix/wait.c: Likewise.
16219         * posix/wait3.c: Likewise.
16220         * posix/wait4.c: Likewise.
16221         * posix/waitpid.c: Likewise.
16222         * resolv/gai_sigqueue.c: Likewise.
16223         * resource/getpriority.c: Likewise.
16224         * resource/getrlimit.c: Likewise.
16225         * resource/getrusage.c: Likewise.
16226         * resource/nice.c: Likewise.
16227         * resource/setpriority.c: Likewise.
16228         * resource/setrlimit.c: Likewise.
16229         * resource/ulimit.c: Likewise.
16230         * rt/aio_cancel.c: Likewise.
16231         * rt/aio_fsync.c: Likewise.
16232         * rt/aio_read.c: Likewise.
16233         * rt/aio_sigqueue.c: Likewise.
16234         * rt/aio_suspend.c: Likewise.
16235         * rt/aio_write.c: Likewise.
16236         * rt/clock_getres.c: Likewise.
16237         * rt/clock_gettime.c: Likewise.
16238         * rt/clock_nanosleep.c: Likewise.
16239         * rt/clock_settime.c: Likewise.
16240         * rt/lio_listio.c: Likewise.
16241         * rt/mq_close.c: Likewise.
16242         * rt/mq_getattr.c: Likewise.
16243         * rt/mq_notify.c: Likewise.
16244         * rt/mq_open.c: Likewise.
16245         * rt/mq_receive.c: Likewise.
16246         * rt/mq_send.c: Likewise.
16247         * rt/mq_setattr.c: Likewise.
16248         * rt/mq_timedreceive.c: Likewise.
16249         * rt/mq_timedsend.c: Likewise.
16250         * rt/mq_unlink.c: Likewise.
16251         * rt/shm_open.c: Likewise.
16252         * rt/shm_unlink.c: Likewise.
16253         * rt/timer_create.c: Likewise.
16254         * rt/timer_delete.c: Likewise.
16255         * rt/timer_getoverr.c: Likewise.
16256         * rt/timer_gettime.c: Likewise.
16257         * rt/timer_settime.c: Likewise.
16258         * setjmp/__longjmp.c: Likewise.
16259         * setjmp/setjmp.c: Likewise.
16260         * signal/kill.c: Likewise.
16261         * signal/killpg.c: Likewise.
16262         * signal/raise.c: Likewise.
16263         * signal/sigaction.c: Likewise.
16264         * signal/sigaltstack.c: Likewise.
16265         * signal/sigblock.c: Likewise.
16266         * signal/sigignore.c: Likewise.
16267         * signal/sigintr.c: Likewise.
16268         * signal/signal.c: Likewise.
16269         * signal/sigpause.c: Likewise.
16270         * signal/sigpending.c: Likewise.
16271         * signal/sigqueue.c: Likewise.
16272         * signal/sigreturn.c: Likewise.
16273         * signal/sigset.c: Likewise.
16274         * signal/sigsetmask.c: Likewise.
16275         * signal/sigstack.c: Likewise.
16276         * signal/sigsuspend.c: Likewise.
16277         * signal/sigtimedwait.c: Likewise.
16278         * signal/sigvec.c: Likewise.
16279         * signal/sigwait.c: Likewise.
16280         * signal/sigwaitinfo.c: Likewise.
16281         * signal/sysv_signal.c: Likewise.
16282         * socket/accept.c: Likewise.
16283         * socket/accept4.c: Likewise.
16284         * socket/bind.c: Likewise.
16285         * socket/connect.c: Likewise.
16286         * socket/getpeername.c: Likewise.
16287         * socket/getsockname.c: Likewise.
16288         * socket/getsockopt.c: Likewise.
16289         * socket/isfdtype.c: Likewise.
16290         * socket/listen.c: Likewise.
16291         * socket/recv.c: Likewise.
16292         * socket/recvfrom.c: Likewise.
16293         * socket/recvmsg.c: Likewise.
16294         * socket/send.c: Likewise.
16295         * socket/sendmsg.c: Likewise.
16296         * socket/sendto.c: Likewise.
16297         * socket/setsockopt.c: Likewise.
16298         * socket/shutdown.c: Likewise.
16299         * socket/sockatmark.c: Likewise.
16300         * socket/socket.c: Likewise.
16301         * socket/socketpair.c: Likewise.
16302         * stdio-common/ctermid.c: Likewise.
16303         * stdio-common/cuserid.c: Likewise.
16304         * stdio-common/remove.c: Likewise.
16305         * stdio-common/rename.c: Likewise.
16306         * stdio-common/renameat.c: Likewise.
16307         * stdio-common/tempname.c: Likewise.
16308         * stdlib/getcontext.c: Likewise.
16309         * stdlib/makecontext.c: Likewise.
16310         * stdlib/setcontext.c: Likewise.
16311         * stdlib/swapcontext.c: Likewise.
16312         * stdlib/system.c: Likewise.
16313         * streams/fattach.c: Likewise.
16314         * streams/fdetach.c: Likewise.
16315         * streams/getmsg.c: Likewise.
16316         * streams/getpmsg.c: Likewise.
16317         * streams/putmsg.c: Likewise.
16318         * streams/putpmsg.c: Likewise.
16319         * sysdeps/unix/bsd/getpt.c: Likewise.
16320         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16321         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16322         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16324         Likewise.
16325         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16326         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16327         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16328         * sysvipc/msgctl.c: Likewise.
16329         * sysvipc/msgget.c: Likewise.
16330         * sysvipc/msgrcv.c: Likewise.
16331         * sysvipc/msgsnd.c: Likewise.
16332         * sysvipc/semctl.c: Likewise.
16333         * sysvipc/semget.c: Likewise.
16334         * sysvipc/semop.c: Likewise.
16335         * sysvipc/semtimedop.c: Likewise.
16336         * sysvipc/shmat.c: Likewise.
16337         * sysvipc/shmctl.c: Likewise.
16338         * sysvipc/shmdt.c: Likewise.
16339         * sysvipc/shmget.c: Likewise.
16340         * termios/tcdrain.c: Likewise.
16341         * termios/tcflow.c: Likewise.
16342         * termios/tcflush.c: Likewise.
16343         * termios/tcgetattr.c: Likewise.
16344         * termios/tcgetpgrp.c: Likewise.
16345         * termios/tcsendbrk.c: Likewise.
16346         * termios/tcsetattr.c: Likewise.
16347         * termios/tcsetpgrp.c: Likewise.
16348         * time/adjtime.c: Likewise.
16349         * time/clock.c: Likewise.
16350         * time/getitimer.c: Likewise.
16351         * time/gettimeofday.c: Likewise.
16352         * time/setitimer.c: Likewise.
16353         * time/settimeofday.c: Likewise.
16354         * time/stime.c: Likewise.
16355         * time/time.c: Likewise.
16357 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16359         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16360         /usr/old/bin.
16362         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16363         instead of spaces.
16364         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16366 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16368         [BZ #14796]
16369         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16370         FE_TONEAREST before applying Dekker multiplication and Knuth
16371         addition.  Clear inexact exceptions and check for exact zero
16372         results afterwards.
16373         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16374         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16375         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16376         * math/libm-test.inc (fma_test): Add more tests.
16377         (fma_test_towardzero): Likewise.
16378         (fma_test_downward): Likewise.
16379         (fma_test_upward): Likewise.
16380         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16381         function.
16382         (libc_fesetround): New macro.
16383         (libc_fesetroundf): Likewise.
16384         (libc_fesetroundl): Likewise.
16385         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16386         function.
16387         (libc_fesetround_387): Likewise.
16388         (libc_fesetroundf): New macro.
16389         (libc_fesetround): Likewise.
16390         (libc_fesetroundl): Likewise.
16391         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16392         function.
16393         (libc_fesetroundf): New macro.
16394         (libc_fesetround): Likewise.
16395         (libc_fesetroundl): Likewise.
16396         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16397         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16398         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16399         libm_hidden_ver.
16400         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16401         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16402         libm_hidden_def.
16403         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16404         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16405         libm_hidden_ver.
16406         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16407         libm_hidden_def.
16409         [BZ #3439]
16410         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16411         integer constant usable in #if and use that to give value to enum
16412         constant.
16413         (FE_DIVBYZERO): Likewise.
16414         (FE_UNDERFLOW): Likewise.
16415         (FE_OVERFLOW): Likewise.
16416         (FE_INVALID): Likewise.
16417         (FE_INVALID_SNAN): Likewise.
16418         (FE_INVALID_ISI): Likewise.
16419         (FE_INVALID_IDI): Likewise.
16420         (FE_INVALID_ZDZ): Likewise.
16421         (FE_INVALID_IMZ): Likewise.
16422         (FE_INVALID_COMPARE): Likewise.
16423         (FE_INVALID_SOFTWARE): Likewise.
16424         (FE_INVALID_SQRT): Likewise.
16425         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16426         (FE_TONEAREST): Likewise.
16427         (FE_TOWARDZERO): Likewise.
16428         (FE_UPWARD): Likewise.
16429         (FE_DOWNWARD): Likewise.
16430         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16431         (FE_DIVBYZERO): Likewise.
16432         (FE_OVERFLOW): Likewise.
16433         (FE_UNDERFLOW): Likewise.
16434         (FE_INEXACT): Likewise.
16435         (FE_TONEAREST): Likewise.
16436         (FE_DOWNWARD): Likewise.
16437         (FE_UPWARD): Likewise.
16438         (FE_TOWARDZERO): Likewise.
16439         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16440         (FE_UNDERFLOW): Likewise.
16441         (FE_OVERFLOW): Likewise.
16442         (FE_DIVBYZERO): Likewise.
16443         (FE_INVALID): Likewise.
16444         (FE_TONEAREST): Likewise.
16445         (FE_TOWARDZERO): Likewise.
16446         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16447         (FE_OVERFLOW): Likewise.
16448         (FE_UNDERFLOW): Likewise.
16449         (FE_DIVBYZERO): Likewise.
16450         (FE_INEXACT): Likewise.
16451         (FE_TONEAREST): Likewise.
16452         (FE_TOWARDZERO): Likewise.
16453         (FE_UPWARD): Likewise.
16454         (FE_DOWNWARD): Likewise.
16455         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16456         (FE_DIVBYZERO): Likewise.
16457         (FE_OVERFLOW): Likewise.
16458         (FE_UNDERFLOW): Likewise.
16459         (FE_INEXACT): Likewise.
16460         (FE_TONEAREST): Likewise.
16461         (FE_DOWNWARD): Likewise.
16462         (FE_UPWARD): Likewise.
16463         (FE_TOWARDZERO): Likewise.
16465 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16467         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16469 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16471         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16472         commands.  Quote $PWD.
16473         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16474         -x" by "export".
16475         (remove_newlines): Remove.
16477 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16479         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16480         * stdlib/stdlib.h (atof): Moved to ...
16481         * include/bits/stdlib-float.h: Here.  New file.
16482         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16483         * stdlib/bits/stdlib-float.h: New file.
16484         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16485         -mno-sse -mno-mmx.
16486         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16487         <xmmintrin.h>.
16489 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16491         * conform/conformtest.pl (@headers): Add fenv.h.
16492         * conform/data/fenv.h-data: New file.
16493         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16494         include of <math/fenv.h>.
16496         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16497         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16498         && !UNIX98].  Enables tests for XOPEN2K8.
16499         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16500         POSIX2008]: Likewise.
16502         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16503         (struct rusage): Do not expect type or its members.
16505         [BZ #3439]
16506         * math/math.h (FP_NAN): Define macro to integer constant usable in
16507         #if and use that to give value to enum constant.
16508         (FP_INFINITE): Likewise.
16509         (FP_ZERO): Likewise.
16510         (FP_SUBNORMAL): Likewise.
16511         (FP_NORMAL): Likewise.
16513 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
16515         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16516         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16517         arguments.
16519 2012-11-02  Roland McGrath  <roland@hack.frob.com>
16521         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16522         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16523         autoconf-time if not.
16524         * configure.in: Remove AC_PREREQ.
16526 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16528         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16529         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16530         of the internal implementation.
16532 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16534         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16535         except include of <misc/sys/syslog.h>.
16537 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16540         function returns with a NULL context exit with zero.
16542 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16544         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16546 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
16548         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16549         (run_program_cmd): This.
16550         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16551         (tst_langinfo): New variable.  Use it.
16553 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
16555         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16556         floating point opcodes.
16558 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16560         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16561         variable.
16563         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16565         * sysdeps/mach/hurd/powerpc: Remove directory.
16566         * sysdeps/mach/powerpc: Likewise.
16568 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16570         * scripts/check-local-headers.sh: Ignore c++ headers.
16572 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16574         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16575         __libc_cleanup_region_start argument.
16577 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
16579         [BZ #14784]
16580         [BZ #14785]
16581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16582         x * y using scaling, not as x * y + z.
16583         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16584         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16585         * math/libm-test.inc (fma_test): Add more tests.
16586         (fma_test_towardzero): Likewise.
16587         (fma_test_downward): Likewise.
16588         (fma_test_upward): Likewise.
16590 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16592         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16594 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16596         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16597         New variable.
16599 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
16601         * rt/tst-shm.c (worker): Correct checking for mmap failure.
16603 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16606         Fix sort order.
16607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16608         Likewise.
16610 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16613         Fix the order of the list for glibc 2.17.
16614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16615         Likewise.
16617 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16621 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16623         [BZ #14610]
16624         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16625         for low part of x being zero before using __atanl (y).
16626         * math/libm-test.inc (atan2_test): Add another test.
16628         * manual/install.texi (Configuring and compiling): Document
16629         general use of test-wrapper and test-wrapper-env.
16630         * INSTALL: Regenerated.
16632         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16633         (__fma): Do not extract and scale down low bits on after-rounding
16634         systems when result rounded to normal precision would have normal
16635         exponent.
16636         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16637         (__fmal): Do not extract and scale down low bits on after-rounding
16638         systems when result rounded to normal precision would have normal
16639         exponent.
16640         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16641         (__fmal): Do not extract and scale down low bits on after-rounding
16642         systems when result rounded to normal precision would have normal
16643         exponent.
16644         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16645         macro.
16646         (fma_test): Add more tests.
16647         (fma_test_towardzero): Likewise.
16648         (fma_test_downward): Likewise.
16649         (fma_test_upward): Likewise.
16651 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
16653         * sysdeps/i386/tininess.h: Renamed to ...
16654         * sysdeps/x86/tininess.h: This.
16655         * sysdeps/x86_64/tininess.h: Removed.
16657 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16659         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16660         input.  Use $(build-program-cmd).
16661         ($(objpfx)tst-array1-static.out): Likewise.
16662         ($(objpfx)tst-array2.out): Likewise.
16663         ($(objpfx)tst-array3.out): Likewise.
16664         ($(objpfx)tst-array4.out): Likewise.
16665         ($(objpfx)tst-array5.out): Likewise.
16666         ($(objpfx)tst-array5-static.out): Likewise.
16668 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
16670         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16671         if defined.
16673         * nss/nsswitch.h (nss_interface_function): Provide new
16674         macro for use with NSS functions.
16675         * grp/initgroups.c: Use new macro.
16676         * nss/getXXbyYY.c: Likewise.
16677         * nss/getXXbyYY_r.c: Likewise.
16678         * nss/getXXent.c: Likewise.
16679         * nss/getXXent_r.c: Likewise.
16680         * sysdeps/posix/getaddrinfo.c: Likewise.
16682 2012-10-30  Andreas Jaeger  <aj@suse.de>
16684         * po/ru.po: Update Russion translation from translation project.
16686 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16688         [BZ #14152]
16689         [BZ #14783]
16690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16691         result and shift together with sticky bit instead of replicating
16692         round-to-nearest rounding.
16693         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16694         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16695         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
16696         missing underflow exceptions.
16697         (fma_test_towardzero): Add more tests.
16698         (fma_test_downward): Likewise.
16699         (fma_test_upward): Likewise.
16701         [BZ #14047]
16702         * sysdeps/generic/tininess.h: New file.
16703         * sysdeps/i386/tininess.h: Likewise.
16704         * sysdeps/sh/tininess.h: Likewise.
16705         * sysdeps/x86_64/tininess.h: Likewise.
16706         * stdlib/tst-strtod-underflow.c: Likewise.
16707         * stdlib/tst-tininess.c: Likewise.
16708         * stdlib/strtod_l.c: Include <tininess.h>.
16709         (round_and_return): Do not set errno for exact underflow cases.
16710         Force an underflow exception when setting errno for underflow.
16711         Determine underflow based on rounding to normal precision if
16712         TININESS_AFTER_ROUNDING.
16713         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16714         ERANGE for exact underflow cases.
16715         * stdlib/Makefile (tests): Add tst-tininess and
16716         tst-strtod-underflow.
16717         ($(objpfx)tst-tininess): Use $(link-libm).
16718         ($(objpfx)tst-strtod-underflow): Likewise.
16720 2012-10-30  Andreas Jaeger  <aj@suse.de>
16722         [BZ#14767]
16723         * elf/Makefile (tests): Remove conditional for have-initfini-array
16724         since this is now always required and the variable does not exist
16725         anymore.
16726         (tests-static): Likewise.
16727         (modules-names): Likewise.
16729         * po/eo.po: Add Esperanto translation from translation project.
16731         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16732         merged with constructor/destructor.
16733         (init_array): Likewise.
16734         * elf/tst-array2dep.c (fini_array): Likewise.
16735         (init_array): Likewise.
16737 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16739         * manual/message.texi: Delete @cartouche tags.
16741 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16743         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16744         EOPNOTSUPP.
16745         * sysdeps/mach/hurd/fsync.c: Likewise.
16747         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16748         [_POSIX_REALTIME_SIGNALS]: Change condition to
16749         [_POSIX_REALTIME_SIGNALS > 0].
16751 2012-10-27  Andreas Jaeger  <aj@suse.de>
16753         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16754         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16755         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16756         [__WORDSIZE != 64]: Likewise.
16758 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16760         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16761         *  iconvdata/tst-tables.sh: Likewise.
16763 2012-10-25  David S. Miller  <davem@davemloft.net>
16765         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16766         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16767         of strtoull.
16769         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16770         ifunc-impl-list.c
16771         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16772         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16773         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16774         file.
16776 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16778         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16779         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16780         __getdirentries.
16782 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16783             Jim Blandy  <jimb@codesourcery.com>
16785         * scripts/cross-test-ssh.sh: New file.
16786         * manual/install.texi (Configuring and compiling): Document use of
16787         cross-test-ssh.sh.
16788         * INSTALL: Regenerated.
16790 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16792         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16793         EOPNOTSUPP.
16795 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16797         * Makeconfig (run-program-prefix): Fix comment.
16799 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16800             Jim Blandy  <jimb@codesourcery.com>
16802         * Makeconfig (test-wrapper): New variable,
16803         (test-wrapper-env): Likewise.
16804         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16805         (run-built-tests): Define to yes.
16806         (run-program-prefix): Use $(test-wrapper).
16807         (built-program-cmd): Likewise.
16808         * Rules (make-test-out): Use $(test-wrapper-env) and
16809         $(host-built-program-cmd).
16810         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16811         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16812         tst-pathopt.sh.
16813         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16814         $(test-wrapper-env) to tst-rtld-load-self.sh.
16815         ($(objpfx)order2.out): Use $(test-wrapper).
16816         ($(objpfx)tst-initorder.out): Likewise.
16817         ($(objpfx)tst-initorder2.out): Likewise.
16818         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16819         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16820         (test_wrapper_env): New variable.  Use it to run ld.so.
16821         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16822         Use it to run ld.so.
16823         (test_wrapper_env): Likewise.
16824         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16825         $(test-wrapper) to run-iconv-test.sh.
16826         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16827         (ICONV): Use $test_wrapper.
16828         * posix/Makefile ($(objpfx)globtest.out): Pass
16829         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16830         globtest.sh, not $(run-program-prefix).
16831         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16832         (test_wrapper): Likewise.
16833         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16834         set together with run_via_rtld_prefix.
16835         (run_program_prefix): Define in terms of test_wrapper and
16836         run_via_rtld_prefix.
16838 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16840         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16841         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16842         Targets removed.
16844         [BZ #14743]
16845         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16846         Declare __clock_getres, __clock_gettime, __clock_settime,
16847         __clock_nanosleep, and __clock_getcpuclockid.
16848         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16849         Remove librt_hidden_def (clock_gettime).
16850         * sysdeps/unix/clock_gettime.c: Likewise.
16851         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16852         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16853         * rt/clock_getres.c: Define __clock_getres as an alias.
16854         * sysdeps/posix/clock_getres.c: Likewise.
16855         * rt/clock_settime.c: Define __clock_settime as an alias.
16856         * sysdeps/unix/clock_settime.c: Likewise.
16857         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16858         * sysdeps/unix/clock_nanosleep.c: Likewise.
16859         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16860         * rt/clock-compat.c: New file.
16861         * rt/Makefile (librt-routines): Add clock-compat and move
16862         $(clock-routines) to ...
16863         (routines): ... here, new variable.
16864         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16865         Don't add get_clockfreq here.
16866         * rt/Versions (libc: GLIBC_2.17): New version set.
16867         Add clock_* symbols here.
16868         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16869         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16870         (GLIBC_2.17): Add clock_* symbols.
16871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16873         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16875         Likewise.
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16877         Likewise.
16878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16882         * NEWS: Mention the move.
16884         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16885         Use __open, __read, __close rather than their public counterparts.
16886         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16887         (__get_clockfreq_via_cpuinfo): Likewise.
16888         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16889         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16891         * config.h.in (HAVE_IFUNC): New #undef.
16892         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16893         was successful.
16894         * configure: Regenerated.
16896 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16898         * configure.in: Move READELF check to start of file.
16899         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16900         libc_cv_asm_gnu_indirect_function in the process.
16901         * configure: Regenerated.
16903 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16905         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16906         send the output to /dev/null.
16907         (libc_cv_cc_with_libunwind): Likewise.
16908         (libc_cv_as_noexecstack): Likewise.
16909         * configure: Regenerate.
16911 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16913         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16915         * posix/globtest.sh (TMPDIR): Do not set.
16916         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16917         (testout): Likewise.
16919 2012-10-24  Andreas Jaeger  <aj@suse.de>
16921         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16922         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16923         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16924         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16925         posix_fadvise64, posix_fallocate64.
16927         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16928         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16929         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16930         Likewise.
16931         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16932         Likewise.
16933         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16935         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16936         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16937         <bits/fcntl-linux.h>.
16938         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16940         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16941         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16942         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16943         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16944         [__WORDSIZE != 64]: Likewise.
16946 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16948         * Makeconfig (run-built-tests): New variable.
16949         * Rules [$(cross-compiling) = yes]: Change condition to
16950         [$(run-built-tests) = no].
16951         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16952         to [$(run-built-tests) = yes].
16953         * elf/Makefile [$(cross-compiling) = no]: Likewise
16954         * grp/Makefile [$(cross-compiling) = no]: Likewise.
16955         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16956         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16957         * intl/Makefile [$(cross-compiling) = no]: Likewise.
16958         * io/Makefile [$(cross-compiling) = no]: Likewise.
16959         * libio/Makefile [$(cross-compiling) = no]: Likewise.
16960         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16961         * misc/Makefile [$(cross-compiling) = no]: Likewise.
16962         * posix/Makefile [$(cross-compiling) = no]: Likewise.
16963         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16964         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16965         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16966         * string/Makefile [$(cross-compiling) = no]: Likewise.
16968         * posix/Makefile ($(objpfx)globtest.out): Pass
16969         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16970         $(rtld-installed-name).
16971         * posix/globtest.sh (elf_objpfx): Remove variable.
16972         (rtld_installed_name): Likewise.
16973         (library_path): Likewise.
16974         (run_program_prefix): New variable.  Use for running globtest
16975         binary.
16977 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
16978             Joseph Myers  <joseph@codesourcery.com>
16980         * Makeconfig (host-built-program-cmd): New variable.
16981         * elf/Makefile (tst-stackguard1-ARGS): Use
16982         $(host-built-program-cmd).
16983         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16984         (tst-spawn-ARGS): Likewise.
16985         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16987 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16988             Jim Blandy  <jimb@codesourcery.com>
16990         * Makeconfig (run-via-rtld-prefix): New variable.
16991         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16992         (built-program-cmd): Likewise.
16994 2012-10-22  Andreas Jaeger  <aj@suse.de>
16996         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16997         __O_RSYNC if it exists, otherwise to O_SYNC.
16999 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17000             Joseph Myers  <joseph@codesourcery.com>
17002         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17003         /dev/null.
17004         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17005         from /dev/null
17006         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17007         /dev/null.
17009 2012-10-22  Andreas Jaeger  <aj@suse.de>
17011         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17012         Define always.
17013         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17015         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17016         bits/fcntl-linux.h.
17018         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17019         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17022         to __O_LARGEFILE.
17023         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17024         to __O_LARGEFILE.
17026 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17027             Joseph Myers  <joseph@codesourcery.com>
17029         * config.make.in (NM): New variable.
17031 2012-10-21  Andreas Jaeger  <aj@suse.de>
17033         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17034         definitions and declarations that are provided by
17035         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17037 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17039         [BZ #14683]
17040         * elf/Makefile (tests-static): Add tst-leaks1-static.
17041         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17042         ($(objpfx)tst-leaks1-static): New rule.
17043         ($(objpfx)tst-leaks1-static-mem): Likewise.
17044         (tst-leaks1-static-ENV): New macro.
17045         * elf/dl-open.c (dl_open_worker): Check the main application
17046         only if SHARED is defined.
17047         * elf/tst-leaks1-static.c: New file.
17049 2012-10-20  Andreas Jaeger  <aj@suse.de>
17051         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17052         generic values for Linux.
17053         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17054         and declarations that are provided by <bits/fcntl-linux.h> and
17055         include <bits/fcntl-linux.h>.
17056         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17057         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17059 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17061         * io/fcntl.h: Move include of <bits/types.h> to the top and
17062         include it unconditionally.
17064 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17066         * wcsmbs/Makefile (tests-ifunc): New variable.
17067         (tests): Add $(tests-ifunc).
17068         * wcsmbs/test-wcschr-ifunc.c: New file.
17069         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17070         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17071         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17072         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17073         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17075         * string/Makefile (tests-ifunc): New variable.
17076         (tests): Add $(tests-ifunc).
17077         * string/test-memccpy.c (TEST_NAME): New macro.
17078         * string/test-memchr.c (TEST_NAME): Likewise.
17079         * string/test-memcmp.c (TEST_NAME): Likewise.
17080         * string/test-memcpy.c (TEST_NAME): Likewise.
17081         * string/test-memmem.c (TEST_NAME): Likewise.
17082         * string/test-memmove.c (TEST_NAME): Likewise.
17083         * string/test-memset.c (TEST_NAME): Likewise.
17084         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17085         * string/test-stpcpy.c (TEST_NAME): Likewise.
17086         * string/test-stpncpy.c (TEST_NAME): Likewise.
17087         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17088         * string/test-strcasestr.c (TEST_NAME): Likewise.
17089         * string/test-strcat.c (TEST_NAME): Likewise.
17090         * string/test-strchr.c (TEST_NAME): Likewise.
17091         * string/test-strcmp.c(TEST_NAME): Likewise.
17092         * string/test-strcpy.c (TEST_NAME): Likewise.
17093         * string/test-strcspn.c (TEST_NAME): Likewise.
17094         * string/test-strlen.c (TEST_NAME): Likewise.
17095         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17096         * string/test-strncmp.c (TEST_NAME): Likewise.
17097         * string/test-strncpy.c (TEST_NAME): Likewise.
17098         * string/test-strnlen.c (TEST_NAME): Likewise.
17099         * string/test-strpbrk.c (TEST_NAME): Likewise.
17100         * string/test-strrchr.c (TEST_NAME): Likewise.
17101         * string/test-strspn.c (TEST_NAME): Likewise.
17102         * string/test-strstr.c (TEST_NAME): Likewise.
17103         * string/test-bcopy-ifunc.c: New file.
17104         * string/test-bzero-ifunc.c: Likewise.
17105         * string/test-memccpy-ifunc.c: Likewise.
17106         * string/test-memchr-ifunc.c: Likewise.
17107         * string/test-memcmp-ifunc.c: Likewise.
17108         * string/test-memcpy-ifunc.c: Likewise.
17109         * string/test-memmem-ifunc.c: Likewise.
17110         * string/test-memmove-ifunc.c: Likewise.
17111         * string/test-mempcpy-ifunc.c: Likewise.
17112         * string/test-memset-ifunc.c: Likewise.
17113         * string/test-rawmemchr-ifunc.c: Likewise.
17114         * string/test-stpcpy-ifunc.c: Likewise.
17115         * string/test-stpncpy-ifunc.c: Likewise.
17116         * string/test-strcasecmp-ifunc.c: Likewise.
17117         * string/test-strcasestr-ifunc.c: Likewise.
17118         * string/test-strcat-ifunc.c: Likewise.
17119         * string/test-strchr-ifunc.c: Likewise.
17120         * string/test-strchrnul-ifunc.c: Likewise.
17121         * string/test-strcmp-ifunc.c: Likewise.
17122         * string/test-strcpy-ifunc.c: Likewise.
17123         * string/test-strcspn-ifunc.c: Likewise.
17124         * string/test-strlen-ifunc.c: Likewise.
17125         * string/test-strncasecmp-ifunc.c: Likewise.
17126         * string/test-strncat-ifunc.c: Likewise.
17127         * string/test-strncmp-ifunc.c: Likewise.
17128         * string/test-strncpy-ifunc.c: Likewise.
17129         * string/test-strnlen-ifunc.c: Likewise.
17130         * string/test-strpbrk-ifunc.c: Likewise.
17131         * string/test-strrchr-ifunc.c: Likewise.
17132         * string/test-strspn-ifunc.c: Likewise.
17133         * string/test-strstr-ifunc.c: Likewise.
17135         * debug/Makefile (tests-ifunc): New variable.
17136         (tests): Add $(tests-ifunc).
17137         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17138         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17139         * debug/test-stpcpy_chk-ifunc.c: New file.
17140         * debug/test-strcpy_chk-ifunc.c: Likewise.
17142 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17144         [BZ #13601]
17145         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17146         header is not read in.
17148 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17150         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17151         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17152         directly.  Pass built executable to script as
17153         $(built-program-cmd).
17154         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17155         $testprogram without using LD_LIBRARY_PATH and $ldso.
17157         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17158         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17159         $(rtld-installed-name).
17160         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17161         (rtld_installed_name): Likewise.
17162         (library_path): Likewise.
17163         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17164         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17165         $(run-program-prefix) to tst-tables.sh.
17166         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17167         it to run tst-table-from and tst-table-to.
17168         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17169         Pass it to tst-table.sh.
17170         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17171         $(run-program-prefix) to tst-gettext.sh.
17172         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17173         tst-translit.sh.
17174         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17175         tst-gettext2.sh.
17176         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17177         to run tst-gettext.
17178         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17179         to run tst-gettext2.
17180         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17181         to run tst-translit.
17182         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17183         $(run-program-prefix) to tst-mtrace.sh.
17184         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17185         to run tst-mtrace.
17186         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17187         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17188         $(rtld-installed-name).
17189         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17190         (rtld_installed_name): Likewise.
17191         (run_program_prefix): New variable.  Use it to run wordexp-test.
17193         * Makeconfig (ARCH): Remove all definitions.
17194         (machine): Likewise.
17195         [ARCH]: Remove conditional code.
17196         [!objdir]: Give error.
17197         [!objdir] (objpfx): Remove.
17198         [!objdir] (common-objpfx): Likewise.
17199         [!objdir] (common-objdir): Likewise.
17200         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17201         AC_CONFIG_FILES call.
17202         * configure: Regenerated.
17204         [BZ #13888]
17205         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17206         or TMPDIR.
17207         (testout): Likewise.
17209         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17210         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17211         $(rtld-installed-name).
17212         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17213         (rtld_installed_name): Likwise.
17214         (runit): Remove function.
17215         (run_getconf): New variable,  Use it for running getconf binary.
17217 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17219         [BZ #14716]
17220         * string/test-memmem.c (check_result): New function.
17221         (do_one_test): Use it.
17222         (check1): New function.
17223         (test_main): Use it.
17225 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17227         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17229 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17231         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17232         (_G_LSEEK64): Likewise.
17233         (_G_MMAP64): Likewise.
17234         (_G_FSTAT64): Likewise.
17235         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17236         (_G_LSEEK64): Likewise.
17237         (_G_MMAP64): Likewise.
17238         (_G_FSTAT64): Likewise.
17239         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17240         unconditional.  Call __mmap64 directly.
17241         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17242         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17243         __lseek64 directly.
17244         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17245         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17246         __mmap64 directly.
17247         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17248         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17249         __lseek64 directly.
17250         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17251         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17252         __lseek64 directly.
17253         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17254         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17255         __lseek64 directly.
17256         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17257         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17258         __fxstat64 directly.
17259         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17260         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17261         unconditional.
17262         (freopen64) [!_G_OPEN64]: Remove conditional code.
17263         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17264         unconditional.
17265         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17266         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17267         unconditional.
17268         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17269         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17270         unconditional.
17271         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17272         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17273         unconditional.
17274         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17275         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17276         unconditional.
17277         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17278         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17279         unconditional.
17280         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17281         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17282         unconditional.
17283         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17285 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17287         [BZ #12140]
17288         * manual/memory.texi (Malloc Tunable Parameters): Add note
17289         about free list pointers overwriting some perturb bytes.
17290         Wording suggested by Roland McGrath.
17292 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17294         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17295         (lgamma_test): Likewise.
17296         (tgamma_test): Likewise.
17298 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17300         [BZ #14700]
17301         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17302         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17304 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17306         * NEWS: Mention BZ #14716.
17307         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17308         when removing AVAILABLE1_USES_J macro.
17310 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17312         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17313         (__bswap_64): __uint64_t for unsigned 64-bit int.
17315 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17317         * include/string.h (memmem): Declare libc hidden alias.
17318         * string/memmem.c (memmem): Define libc hidden alias.
17319         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17320         __read, __close instead of open, read, close.
17322 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17325         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17326         global and hidden.
17327         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17328         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17329         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17330         Likewise.
17331         (__rawmemchr_sse2): Likewise.
17332         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17333         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17334         (__strchr_sse2): Likewise.
17335         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17336         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17337         (__strcasecmp_sse2): Likewise.
17338         (__strncasecmp_sse2): Likewise.
17339         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17340         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17341         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17342         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17343         (__strrchr_sse2): Likewise.
17344         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17345         ifunc-impl-list.c.
17346         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17347         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17348         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17349         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17350         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17351         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17352         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17353         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17354         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17355         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17356         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17357         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17358         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17359         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17360         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17361         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17362         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17363         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17364         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17365         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17366         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17367         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17368         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17369         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17370         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17371         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17372         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17373         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17374         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17375         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17377         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17378         global and hidden.
17379         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17380         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17381         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17382         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17383         Likewise.
17384         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17385         Likewise.
17386         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17387         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17388         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17389         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17390         ifunc-impl-list.c.
17391         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17392         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17393         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17394         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17395         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17396         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17397         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17398         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17399         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17400         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17401         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17402         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17403         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17404         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17405         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17406         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17407         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17408         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17409         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17410         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17411         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17412         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17413         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17414         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17415         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17416         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17417         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17418         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17419         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17420         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17421         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17422         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17423         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17424         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17425         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17426         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17427         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17428         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17429         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17430         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17431         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17433         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17434         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17435         * include/ifunc-impl-list.h: New file.
17436         * misc/ifunc-impl-list.c: Likewise.
17437         * misc/Makefile (routines): Add ifunc-impl-list.
17438         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17439         * string/test-string.h: Include <ifunc-impl-list.h>.
17440         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17441         impl_array): New variables.
17442         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17443         are defined.
17444         (test_init): Call __libc_ifunc_impl_list to initialize
17445         func_list if TEST_IFUNC and TEST_NAME are defined.
17447         * string/Makefile (strop-tests): Add bcopy and bzero.
17448         * string/test-bcopy.c: New file.
17449         * string/test-bzero.c: Likewise.
17450         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17451         defined.
17452         * string/test-memset.c: Support bzero test if TEST_BZERO is
17453         defined.
17454         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17455         __libc_memmove.
17456         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17457         __libc_memset.
17458         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17459         of memset.
17461 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17463         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17464         * configure: Regenerated.
17466         * Makeconfig (+link-static-before-libc): Don't include
17467         $(link-static-libc).
17469         * libio/libio.h (_IO_pos_t): Remove.
17471 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17473         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17474         McGrath.
17476 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17478         * crypt/crypt-entry.c: Include fips-private.h.
17479         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17480         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17481         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17482         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17484 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17486         * crypt/crypt-private.h: Include stdbool.h.
17487         (_ufc_setup_salt_r): Return bool.
17488         * crypt/crypt-entry.c: Include errno.h.
17489         (__crypt_r): Return NULL with EINVAL for bad salt.
17490         * crypt/crypt_util.c (bad_for_salt): New.
17491         (_ufc_setup_salt_r): Check that salt is long enough and within
17492         the specified alphabet.
17493         * crypt/badsalttest.c: New file.
17494         * crypt/Makefile (tests): Add it.
17495         ($(objpfx)badsalttest): New.
17497 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17499         * NEWS: Add entry for BZ #14602.
17501 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17503         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17504         type-generic.
17505         * math/libm-test.inc: Update comment listing what functions and
17506         macros are tested.
17507         (isgreater_test): New function.
17508         (isgreaterequal_test): Likewise.
17509         (isless_test): Likewise.
17510         (islessequal_test): Likewise.
17511         (islessgreater_test): Likewise.
17512         (isunordered_test): Likewise.
17513         (main): Call the new functions.
17515 2012-10-09  Roland McGrath  <roland@hack.frob.com>
17517         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17518         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17519         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17520         * sysdeps/i386/configure: Regenerated.
17521         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17522         * sysdeps/mach/configure: Regenerated.
17523         * sysdeps/mach/hurd/configure: Regenerated.
17524         * sysdeps/powerpc/configure: Regenerated.
17525         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17526         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17527         * sysdeps/s390/s390-32/configure: Regenerated.
17528         * sysdeps/s390/s390-64/configure: Regenerated.
17529         * sysdeps/sh/configure: Regenerated.
17530         * sysdeps/sparc/configure: Regenerated.
17531         * sysdeps/unix/sysv/linux/configure: Regenerated.
17532         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17533         * sysdeps/x86_64/configure: Regenerated.
17535         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17536         defined.  Don't check if MAP is NULL.
17538 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17540         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17541         (_G_stat64): Likewise.
17542         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17543         (_G_stat64): Likewise.
17544         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17545         instead of struct _G_stat64.
17546         * libio/fileops.c (mmap_remap_check): Likewise.
17547         (decide_maybe_mmap): Likewise.
17548         (_IO_new_file_seekoff): Likewise.
17549         (_IO_file_stat): Likewise.
17550         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17551         _G_off64_t.
17552         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17553         instead of struct _G_stat64.
17554         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17556 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
17558         [BZ #14602]
17559         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17560         Replace with ...
17561         (CHECK_EOL): New macro.
17562         (two_way_short_needle): Check beginning of haystack for EOL.  Use
17563         CHECK_EOL.
17564         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17565         Replace with CHECK_EOL.
17566         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17567         Replace with CHECK_EOL.
17569 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
17571         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17572         type-generic.
17573         * math/libm-test.inc: Update comment listing what functions and
17574         macros are tested.
17575         (finite_test): New function.
17576         (isinf_test): Likewise.
17577         (isnan_test): Likewise.
17578         (fpclassify_test): Test subnormal input.
17579         (isfinite_test): Likewise.
17580         (isnormal_test): Likewise.
17581         (main): Call the new functions.
17583 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
17585         [BZ #14660]
17586         * Makerules (%.dynsym): Force C locale when running
17587         $(OBJDUMP) --dynamic-syms.
17589 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
17591         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17592         <stdint.h>.
17594 2012-10-06  David S. Miller  <davem@davemloft.net>
17596         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17597         upper 32-bits of the length value in %o2 since we use branch-on-register
17598         tests which consider the entire 64-bit register.
17600 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
17602         * string/test-strstr.c (check2): Add a test for page boundary.
17604 2012-10-05  David S. Miller  <davem@davemloft.net>
17606         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17607         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17608         file.
17609         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17610         sysdep_routines.
17611         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17612         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17613         and bzero when HWCAP_SPARC_CRYPTO is present.
17615 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
17617         [BZ #14602]
17618         * string/test-strstr.c (check2): New function.
17619         (test_main): Call check2.
17621         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17622         and bug-strchr1.
17623         * string/bug-strcasestr1.c (do_test): Moved to ...
17624         * string/test-strcasestr.c (check1): Here.  New function.
17625         (do_one_test): Break out result checking code into ...
17626         (check_result): This.  New function.
17627         (do_one_test): Call check_result.
17628         (test_main): Call check1.
17629         * string/bug-strchr1.c (do_test): Moved to ...
17630         * string/test-strchr.c (check1): Here.  New function.
17631         (do_one_test): Break out result checking code into ...
17632         (check_result): This.  New function.
17633         (do_one_test): Call check_result.
17634         (test_main): Call check1.
17635         * string/bug-strstr1.c (main): Moved to ...
17636         * string/test-strstr.c (check1): Here.  New function.
17637         (do_one_test): Break out result checking code into ...
17638         (check_result): This.  New function.
17639         (do_one_test): Call check_result.
17640         (test_main): Call check1.
17641         * string/bug-strcasestr1.c: Removed.
17642         * string/bug-strchr1.c: Likewise.
17643         * string/bug-strstr1.c: Likewise.
17645         * elf/Makefile (dl-routines): Add hwcaps.
17646         * elf/dl-support.c (_dl_important_hwcaps): Removed.
17647         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17648         (_dl_important_hwcaps): Moved to ...
17649         * elf/dl-hwcaps.c: Here.  New file.
17650         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17652         [BZ #14557]
17653         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17654         if IS_IN_rtld isn't defined.
17656         * elf/dl-support.c (_dl_sysinfo_map): New.
17657         Include "get-dynamic-info.h" and "setup-vdso.h".
17658         (_dl_non_dynamic_init): Call setup_vdso.
17659         * elf/dynamic-link.h: Don't include <assert.h>.
17660         (elf_get_dynamic_info): Moved to ...
17661         * elf/get-dynamic-info.h: Here.  New file.
17662         * elf/dynamic-link.h: Include "get-dynamic-info.h".
17663         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17664         * elf/setup-vdso.h: Here.  New file.
17665         * elf/rtld.c: Include "setup-vdso.h".
17666         (dl_main): Call setup_vdso.
17668 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
17670         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17671         creal in comment listing functions tested.  List finite, isinf,
17672         isnan, isless, islessequal, isgreater, isgreaterequal,
17673         islessgreater, isunordered, lgamma_r and pow10 as functions and
17674         macros not tested.  Mention which functions not tested are aliases
17675         for other functions.  Fix typo.  Note that signs of NaNs are not
17676         tested.
17678         * scripts/config.guess: Update from config.git.
17679         * scripts/config.sub: Likewise.
17681 2012-10-04  Roland McGrath  <roland@hack.frob.com>
17683         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17684         * misc/madvise.c (madvise): Renamed to __madvise.
17685         Make madvise a weak alias.
17686         * include/sys/mman.h: Declare __madvise.
17687         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17688         * sysdeps/unix/syscalls.list
17689         (madvise): Make __madvise the strong name, and madvise a weak alias.
17690         * sysdeps/unix/sysv/linux/syscalls.list
17691         (madvise, mmap): Remove redundant entries.
17692         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17693         * malloc/malloc.c (mtrim): Likewise.
17694         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17696 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17698         * sysdeps/mach/hurd/dl-cache.c: File removed.
17699         * config.h.in (USE_LDCONFIG): New #undef.
17700         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17701         * configure: Regenerated.
17702         * elf/Makefile (dl-routines): Add dl-cache only under
17703         [$(use-ldconfig) = yes].
17704         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17705         cache on [USE_LDCONFIG].
17706         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17707         [USE_LDCONFIG].
17708         * elf/rtld.c (dl_main): Likewise.
17710 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
17712         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17713         _SC_LEVEL4_CACHE_LINESIZE.
17715 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17717         * sysdeps/unix/bsd/confstr.h: File removed.
17719 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
17721         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17722         sys/sdt-config.h.
17724 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17726         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17727         Make 'mapoff' field ElfW(Off) rather than off_t.
17729 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17731         * nscd/Makefile: Remove nscd-cflags and all its users.
17732         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17733         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17735         [BZ #10631]
17736         * malloc.c (malloc_printerr): Clarify error message.
17738 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17740         [BZ #14648]
17741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17742         Set bit_FMA_Usable if FMA is supported.
17743         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17744         macro.
17745         (bit_FMA4_Usable): Updated.
17746         (index_FMA_Usable): New macro.
17747         (CPUID_FMA): Likewise
17748         (HAS_FMA): Defined with bit_FMA_Usable.
17750 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17752         * bits/types.h (__swblk_t): Type removed.
17753         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17754         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17755         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17756         (__SWBLK_T_TYPE): Likewise.
17757         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17758         (__SWBLK_T_TYPE): Likewise.
17759         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17760         (__SWBLK_T_TYPE): Likewise.
17761         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17762         (__SWBLK_T_TYPE): Likewise.
17764 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17765             Honza Horak <hhorak@redhat.com>
17767         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17768         (xdr_mapname): Use YPMAXMAP as maxsize.
17769         (xdr_peername): Use YPMAXPEER as maxsize.
17770         (xdr_keydat): Use YPAXRECORD as maxsize.
17771         (xdr_valdat): Use YPMAXRECORD as maxsize.
17773 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17775         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17777         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17778         * csu/init-first.c: ... here.
17779         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17780         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17781         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17782         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17783         * sysdeps/i386/init-first.c: File removed.
17784         * sysdeps/sh/init-first.c: File removed.
17786 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17788         [BZ #14645]
17789         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17790         if x * y might underflow to zero and z is zero.
17791         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17792         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17793         * math/libm-test.inc (min_subnorm_value): New variable.
17794         (fma_test): Add more tests.
17795         (fma_test_towardzero): Likewise.
17796         (fma_test_downward): Likewise
17797         (fma_test_upward): Likewise.
17798         (initialize): Set min_subnorm_value.
17800 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17802         [BZ #14638]
17803         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17804         0 + 0.
17805         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17806         mode for addition resulting in exact zero.
17807         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17808         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17809         exact 0 + 0.
17810         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17811         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17812         * math/libm-test.inc (fma_test): Add more tests.
17813         (fma_test_towardzero): New function.
17814         (fma_test_downward): Likewise.
17815         (fma_test_upward): Likewise.
17816         (main): Call the new functions.
17818 2012-09-28  David S. Miller  <davem@davemloft.net>
17820         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17822 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17824         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17825         instead of SIGALRM.
17827         * sysdeps/gnu/_G_config.h: Moved to ...
17828         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17829         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17830         * sysdeps/generic/_G_config.h: ... here.
17832         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17834         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17836         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17837         Conditionalize target on [libnss_test1.so-version].
17839         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17841         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17842         (elfobjdir): Move out of conditionals.
17844         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17845         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17846         (__nss_lookup_function): Conditionalize label remove_from_tree on
17847         [!DO_STATIC_NSS || SHARED], matching its only use.
17849 2012-09-28  David S. Miller  <davem@davemloft.net>
17851         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17852         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17853         file.
17854         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17855         sysdep_routines.
17856         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17857         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17858         when HWCAP_SPARC_CRYPTO is present.
17860 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17862         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17864 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17866         [BZ #6530]
17867         * stdio-common/vfprintf.c (process_string_arg): Revert
17868         2000-07-22 change.
17870 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17872         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17873         for testcase.
17874         * stdio-common/tst-sprintf.c: Include <locale.h>
17875         (main): Test sprintf's handling of incomplete multibyte
17876         characters.
17878 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17880         * elf/dl-runtime.c (VERSYMIDX): Removed.
17881         * elf/dl-version.c (VERSYMIDX): Likewise.
17882         * elf/do-rel.h (VERSYMIDX): Likewise.
17883         (VALIDX): Likewise.
17884         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17885         * elf/rtld.c (VALIDX): Likewise.
17886         (ADDRIDX): Likewise.
17887         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17888         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17889         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17890         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17891         (VALIDX): Likewise.
17892         (ADDRIDX): Likewise.
17894 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17896         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17898 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17900         [BZ #11438]
17901         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17902         to global scope.
17903         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17904         addresses are in the same scope as 192.0.2/24.
17905         * posix/gai.conf: Document new scope table defaults.
17907 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17909         [BZ #5298]
17910         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17911         for ftell.  Compute offsets from write pointers instead.
17912         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17914 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17916         [BZ #14543]
17917         * libio/Makefile (tests): New test case tst-fseek.
17918         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17919         combination works in wide mode.
17920         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17921         state when the external buffer state changes.
17923 2012-09-27  David S. Miller  <davem@davemloft.net>
17925         [BZ #14376]
17926         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17927         pass reloc->r_addend in as the 'high' argument to
17928         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17932 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17934         * rt/tst-aio2.c: Include <pthread.h>.
17935         * rt/tst-aio3.c: Likewise.
17937 2012-09-27  Steve Ellcey  <sellcey@mips.com>
17939         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17941 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
17943         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17944         contents on [SHARED].
17946 2012-09-26  Marek Polacek  <polacek@redhat.com>
17948         [BZ #14530]
17949         [BZ #13741]
17950         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17951         for C++ and GCC <4.3 as well as for non GCC compilers.
17953 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17957 2012-09-25  Roland McGrath  <roland@hack.frob.com>
17959         * Makefile.in (all, install): Declare with .PHONY.
17960         Reported by Michael Hope <michael.hope@linaro.org>.
17962 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17964         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17965         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17966         system header.
17967         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17968         Likewise.
17969         (sydep_routines): Add the new and the internal functions.
17970         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17971         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17973         (GLIBC_2.17): Add the new function.
17974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17975         (GLIBC_2.17): Likewise.
17976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17977         (GLIBC_2.17): Likewise.
17978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17979         (GLIBC_2.17): Likewise.
17980         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17982 2012-09-25  Alan Modra  <amodra@gmail.com>
17984         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17985         Add release barrier before setting once_control to say
17986         initialisation is done.  Add hints on lwarx.  Use macro in
17987         place of isync.
17988         (clear_once_control): Add release barrier.
17990 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17992         [BZ #13629]
17993         * math/s_clog.c (__clog): Handle more values close to |z| = 1
17994         specially.
17995         * math/s_clog10.c (__clog10): Likewise.
17996         * math/s_clog10f.c (__clog10f): Likewise.
17997         * math/s_clog10l.c (__clog10l): Likewise.
17998         * math/s_clogf.c (__clogf): Likewise.
17999         * math/s_clogl.c (__clogl): Likewise.
18000         * math/Makefile (libm-calls): Add x2y2m1.
18001         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18002         (__x2y2m1): Likewise.
18003         (__x2y2m1l): Likewise.
18004         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18005         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18006         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18007         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18008         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18009         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18010         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18011         * sysdeps/i386/fpu/libm-test-ulps: Update.
18012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18014         [BZ #14621]
18015         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18016         int as type of variable DEPTH.
18017         (glob): Use size_t instead of int as type of variables NEWCOUNT
18018         and OLD_PATHC.
18020 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18022         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18023         Add s_sincosf-sse2.
18024         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18025         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18026         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18027         macros for using routine as __sincosf_ia32.
18028         Use macro for function declaration and weak_alias.
18029         * sysdeps/i386/fpu/libm-test-ulps: Update.
18031         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18034         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18035         subnormal argument.
18036         * math/s_cexpf.c (__cexpf): Likewise.
18037         * math/s_csinf.c (__csinf): Likewise.
18038         * math/s_csinhf.c (__csinhf): Likewise.
18039         * math/s_ctanf.c (__ctanf): Likewise.
18040         * math/s_ctanhf.c (__ctanhf): Likewise.
18041         * math/s_ccosh.c (__ccoshf): Likewise.
18042         * math/s_cexp.c (__cexpl): Likewise.
18043         * math/s_csin.c (__csin): Likewise.
18044         * math/s_csinh.c (__csinh): Likewise.
18045         * math/s_ctan.c (__ctan): Likewise.
18046         * math/s_ctanh.c (ctanh): Likewise.
18047         * math/s_ccoshl.c (__ccoshl): Likewise.
18048         * math/s_cexpl.c (__cexpl): Likewise.
18049         * math/s_csinl.c (__csinl): Likewise.
18050         * math/s_csinhl.c (__csinhl): Likewise.
18051         * math/s_ctanl.c (__ctanl): Likewise.
18052         * math/s_ctanhl.c (__ctanhl): Likewise.
18054 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18056         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18057         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18058         (_IO_off_t): Define to __off_t, not _G_off_t.
18059         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18060         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18061         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18062         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18063         type of __dummy and __dummy2 fields.
18064         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18065         (_G_ssize_t): Likewise.
18066         (_G_off_t): Likewise.
18067         (_G_pid_t): Likewise.
18068         (_G_uid_t): Likewise.
18069         (_G_wchar_t): Likewise.
18070         (_G_wint_t): Likewise.
18071         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18072         (_G_ssize_t): Likewise.
18073         (_G_off_t): Likewise.
18074         (_G_pid_t): Likewise.
18075         (_G_uid_t): Likewise.
18076         (_G_wchar_t): Likewise.
18077         (_G_wint_t): Likewise.
18078         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18079         (_G_ssize_t): Likewise.
18080         (_G_off_t): Likewise.
18081         (_G_pid_t): Likewise.
18082         (_G_uid_t): Likewise.
18083         (_G_wchar_t): Likewise.
18084         (_G_wint_t): Likewise.
18086 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18088         * malloc/arena.c: Include malloc-sysdep.h.
18089         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18090         is sufficient to shrink the heap or an unmap is needed.
18091         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18092         new function check_may_shrink_heap.
18093         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18094         new function check_may_shrink_heap.
18096 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18098         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18099         comments.
18101 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18103         * catgets/test-gencat.sh: Add "set -e".
18104         * elf/tst-pathopt.sh: Likewise.
18105         * grp/tst_fgetgrent.sh: Likewise.
18106         * iconvdata/run-iconv-test.sh: Likewise.
18107         * intl/tst-gettext.sh: Likewise.
18108         * intl/tst-gettext2.sh: Likewise.
18109         * intl/tst-gettext4.sh: Likewise.
18110         * intl/tst-gettext6.sh: Likewise.
18111         * intl/tst-translit.sh: Likewise.
18112         * io/ftwtest-sh: Likewise.
18113         * libio/test-freopen.sh: Likewise.
18114         * malloc/tst-mtrace.sh: Likewise.
18115         * posix/globtest.sh: Likewise.
18116         * posix/tst-getconf.sh: Likewise.
18117         * posix/wordexp-tst.sh: Likewise.
18118         * stdio-common/tst-printf.sh: Likewise.
18119         * stdio-common/tst-unbputc.sh: Likewise.
18120         * stdlib/tst-fmtmsg.sh: Likewise.
18121         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18122         * catgets/Makefile: Do not specify -e option when running
18123         testsuite shell scripts.
18124         * elf/Makefile: Likewise.
18125         * grp/Makefile: Likewise.
18126         * iconvdata/Makefile: Likewise.
18127         * intl/Makefile: Likewise.
18128         * io/Makefile: Likewise.
18129         * libio/Makefile: Likewise.
18130         * malloc/Makefile: Likewise.
18131         * posix/Makefile: Likewise.
18132         * stdio-common/Makefile: Likewise.
18133         * stdlib/Makefile: Likewise.
18134         * sysdeps/x86_64/Makefile: Likewise.
18136         * io/ftwtest-sh: Add copyright header.
18137         * posix/globtest.sh: Likewise.
18138         * posix/tst-getconf.sh: Likewise.
18139         * posix/wordexp-tst.sh: Likewise.
18140         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18142 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18144         [BZ #13679]
18145         * Makeconfig (+link): Defined as $(+link-static) if
18146         $(build-shared) isn't yes.
18147         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18148         isn't yes.
18149         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18151         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18153         [BZ #14562]
18154         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18155         new chunk size with MALLOC_ALIGN_MASK.
18157 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18159         [BZ #5044]
18160         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18161         <rounding-mode.h>.
18162         (__printf_fphex): Determine rounding using get_rounding_mode and
18163         round_away.
18164         * stdio-common/tst-printf-round.c (struct hex_test): New
18165         structure.
18166         (hex_tests): New variable.
18167         (test_hex_in_one_mode): New function.
18168         (do_test): Also run tests for hex float output.
18170 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18172         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18173         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18174         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18175         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18176         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18177         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18178         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18179         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18181 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18183         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18184         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18185         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18186         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18188 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18190         [BZ #14579]
18191         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18192         mode only.
18193         * elf/tst-rtld-load-self.sh: New test.
18194         * elf/Makefile: Run it.
18196 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18198         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18199         (tst-writev-ENV): Remove.
18200         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18202 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18204         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18206 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18208         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18209         unconditional.
18210         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18211         Likewise.
18212         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18213         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18214         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18215         Likewise.
18217 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18219         [BZ #14587]
18220         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18221         * config.make.in (have-cpp-asm-debuginfo): Removed.
18222         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18223         * configure: Regenerated.
18225 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18227         [BZ #5044]
18228         * stdio-common/printf_fp.c: Include <stdbool.h> and
18229         <rounding-mode.h>.
18230         (___printf_fp): Determine rounding using get_rounding_mode and
18231         round_away.
18232         * stdio-common/tst-printf-round.c: New file.
18233         * stdio-common/Makefile (tests): Add tst-printf-round.
18234         (link-libm): New variable.
18235         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18237 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18239         [BZ #14576]
18240         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18241         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18242         Likewise.
18243         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18244         Likewise.
18246 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18248         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18249         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18250         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18251         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18253 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18255         [BZ #14518]
18256         * include/rounding-mode.h: New file.
18257         * sysdeps/generic/get-rounding-mode.h: Likewise.
18258         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18259         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18260         (MAX_VALUE): New macro.
18261         (MIN_VALUE): Likewise.
18262         (overflow_value): New function.
18263         (underflow_value): Likewise.
18264         (round_and_return): Use overflow_value and underflow_value to
18265         determine return values in overflow and underflow cases.  Use
18266         round_away to determine rounding depending on rounding mode.
18267         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18268         determine return values in overflow and underflow cases.
18269         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18270         (struct test_results): New structure.
18271         (struct test): Use struct test_results to store expected results
18272         for all rounding modes.
18273         (TEST): Include expected results for all rounding modes.
18274         (test_in_one_mode): New function.
18275         (do_test): Use test_in_one_mode to compute and check results.
18276         Check results for all rounding modes.
18277         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18278         $(link-libm).
18280 2012-12-09  Allan McRae  <allan@archlinux.org>
18282         * sysdeps/i386/fpu/libm-test-ulps: Update
18284 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18286         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18287         (_G_int32_t): Likewise.
18288         (_G_uint16_t): Likewise.
18289         (_G_uint32_t): Likewise.
18290         (_G_HAVE_BOOL): Likewise.
18291         (_G_HAVE_ATEXIT): Likewise.
18292         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18293         (_G_HAVE_IO_FILE_OPEN): Likewise.
18294         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18295         (_G_int32_t): Likewise.
18296         (_G_uint16_t): Likewise.
18297         (_G_uint32_t): Likewise.
18298         (_G_HAVE_BOOL): Likewise.
18299         (_G_HAVE_ATEXIT): Likewise.
18300         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18301         (_G_HAVE_IO_FILE_OPEN): Likewise.
18302         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18303         (_G_int32_t): Likewise.
18304         (_G_uint16_t): Likewise.
18305         (_G_uint32_t): Likewise.
18306         (_G_HAVE_BOOL): Likewise.
18307         (_G_HAVE_ATEXIT): Likewise.
18308         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18309         (_G_HAVE_IO_FILE_OPEN): Likewise.
18311 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18313         * csu/libc-tls.c: Update copyright years.
18315 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18317         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18318         [!_G_USING_THUNKS]: Remove conditional code.
18319         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18320         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18322         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18323         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18324         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18325         (_G_VTABLE_LABEL_PREFIX): Likewise.
18326         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18327         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18328         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18329         (_G_VTABLE_LABEL_PREFIX): Likewise.
18330         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18331         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18332         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18333         (_G_VTABLE_LABEL_PREFIX): Likewise.
18334         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18336 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18338         * libio/Makefile: Include ../Makeconfig before tests.
18339         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18340         only if $(build-shared) is yes.
18342         * iconv/gconv_db.c: Update copyright years.
18344 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18346         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18347         unwind info if defined PIC. Fix special cases description.
18348         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18350         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18351         DP_HI_MASK entry.
18352         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18354 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18356         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18358         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18359         is NULL.
18361         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18362         (LDLIBS-tst-chk4): This.
18363         (LDFLAGS-tst-chk5): Renamed to ...
18364         (LDLIBS-tst-chk5): This.
18365         (LDFLAGS-tst-chk6): Renamed to ...
18366         (LDLIBS-tst-chk6): This.
18367         (LDFLAGS-tst-lfschk4): Renamed to ...
18368         (LDLIBS-tst-lfschk4): This.
18369         (LDFLAGS-tst-lfschk5): Renamed to ...
18370         (LDLIBS-tst-lfschk5): This.
18371         (LDFLAGS-tst-lfschk6): Renamed to ...
18372         (LDLIBS-tst-lfschk6): This.
18374         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18375         on $(common-objpfx)soversions.mk.
18377 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18379         [BZ #10014]
18380         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18381         example host name.
18383 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18385         * malloc/arena.c (arena_get_retry): New function that gets
18386         another arena for the caller to try its request on.
18387         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18388         current arena cannot fulfill the request.
18389         (__libc_memalign): Likewise.
18390         (__libc_memalign): Likewise.
18391         (__libc_pvalloc): Likewise.
18392         (__libc_calloc): Likewise.
18394 2012-09-05  John Tobey  <john.tobey@gmail.com>
18396         [BZ #13542]
18397         * manual/arith.texi (Operations on Complex): Fix description
18398         of carg branch cut.
18400 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18402         [BZ #10014]
18403         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18404         host name.
18406         [BZ #10038]
18407         * manual/memory.texi (Memory): Make order of menu items match
18408         order of sections.
18410 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18412         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18413         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18414         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18416 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18418         * csu/libc-tls.c (static_dtv): Renamed to ...
18419         (_dl_static_dtv): This.  Make it global.
18420         (_dl_initial_dtv): Removed.
18421         (__libc_setup_tls): Updated.
18422         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18423         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18424         DL_INITIAL_DTV.
18426 2012-09-06  Petr Machata  <pmachata@redhat.com>
18428         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18429         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18430         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18431         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18433 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18435         [BZ #14545]
18436         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18437         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18438         freeing dtv[-1].
18440 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18442         [BZ #14544]
18443         * Makeconfig (link-static-before-libc): Replace $(+prector)
18444         with $(+prectorT).
18445         (link-static-after-libc): Replace $(+postctor) with
18446         $(+postctorT).
18447         (link-bounded): Replace $(+prector)/$(+postctor) with
18448         $(+prectorT)/$(+postctorT).
18449         (+prectorT): New macro.
18450         (+postctorT): Likewise.
18452 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18454         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18455         (round_str): Handle values above the maximum for IBM long double
18456         as inexact.
18457         * stdlib/tst-strtod-round.c (tests): Regenerated.
18459 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18461         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18462         assembler flag.
18463         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18464         zarch_nohighgprs around the zarch optimized routines.
18465         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18466         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18467         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18468         for zarch.
18470 2012-09-05  David S. Miller  <davem@davemloft.net>
18472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18474         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18475         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18476         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18477         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18478         entries.
18480 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18482         * malloc/arena.c: Fold copyright years.
18483         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18485 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18487         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18489 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18491         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18493 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18495         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18496         change internal state upon failure.
18498 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18500         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18501         * malloc/memusage.c (mmap): Likewise.
18502         (mmap64, mremap): Likewise.  Adjust name in comment.
18504 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18506         * libio/fileops.c: Fix typos in comments.
18507         * libio/oldfileops.c: Likewise.
18508         * libio/wfileops.c: Likewise.
18510 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18512         [BZ #1349]
18513         * malloc/Makefile (tests): Add tst-malloc-usable test case.
18514         (tst-malloc-usable-ENV): Set environment for test case.
18515         * malloc/hooks.c (malloc_check_get_size): New function to get
18516         requested size.
18517         * malloc/malloc.c (musable): Use malloc_check_get_size.
18518         * malloc/tst-malloc-usable.c: New test case.
18520 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18522         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18524 2012-09-05  Allan McRae  <allan@archlinux.org>
18526         [BZ #13966]
18527         * configure.in (CXX_SYSINCLUDES): Use compiler output to
18528         determine header location.
18529         * configure: Regenerated.
18531 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18533         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18534         float format.
18535         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18536         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18537         format.
18538         (test): Regenerate.
18540 2012-09-04  David S. Miller  <davem@davemloft.net>
18542         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18543         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18544         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18546 2012-09-04  Florian Weimer  <fweimer@redhat.com>
18548         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18549         failures.
18551         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18553 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
18555         [BZ #9914]
18556         * libio/iogetdelim.c: Include <limits.h>.
18557         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18558         + len + 1 would overflow.
18560 2012-09-03  Andreas Jaeger  <aj@suse.de>
18562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18563         * sysdeps/i386/fpu/libm-test-ulps: Update.
18565 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18567         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18568         Add s_sinf-sse2, s_conf-sse2.
18570         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18571         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18572         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18573         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18575         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18576         for using routine as __sinf_ia32.
18577         Use macro for function declaration and weak_alias.
18578         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18579         for using routine as __cosf_ia32.
18580         Use macro for function declaration and weak_alias.
18582         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18583         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18585         * sysdeps/x86_64/fpu/s_sinf.S: New file.
18586         * sysdeps/x86_64/fpu/s_cosf.S: New file.
18587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18589         * math/libm-test.inc (cos_test): Add more test cases.
18590         (sin_test): Likewise.
18591         (sincos_test): Likewise.
18593 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18595         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18596         (IFUNC_RESOLVE): Make pointers to the specialized implementations
18597         hidden.
18598         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18600 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
18602         [BZ #14538]
18603         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18604         first element of the GOT.
18605         (elf_machine_load_address): Return the difference between
18606         the runtime address of _DYNAMIC and elf_machine_dynamic ().
18608 2012-09-01  Allan McRae  <allan@archlinux.org>
18610         [BZ #13412]
18611         * configure.in (AWK): Require gawk version 3.0 or later.
18612         * configure: Regenerated.
18614 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
18616         * sysdeps/unix/sysv/linux/kernel-features.h
18617         (__ASSUME_POSIX_CPU_TIMERS): Remove.
18618         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18619         [__NR_clock_getres]: Make code unconditional.
18620         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18621         (clock_getcpuclockid): Remove code left unreachable by removal of
18622         conditionals.
18623         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18624         code unconditional.
18625         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18626         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18627         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18628         Make code unconditional.
18629         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18630         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18631         * sysdeps/unix/sysv/linux/clock_settime.c
18632         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18633         conditional code.
18634         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18635         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18637 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
18639         [BZ #14476]
18640         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18641         scripts/test-installation.pl.
18643         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18644         and $ld_so_version if it is set.
18646 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18648         [BZ #14516]
18649         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18650         failure if reading from procfs failed.
18651         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18653 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18655         * sysdeps/unix/sysv/linux/kernel-features.h
18656         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18657         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18658         Remove conditional code.
18659         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18660         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18661         Remove conditional code.
18662         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18663         * sysdeps/unix/sysv/linux/i386/fxstat.c
18664         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18665         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18666         * sysdeps/unix/sysv/linux/i386/fxstatat.c
18667         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18668         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18669         * sysdeps/unix/sysv/linux/i386/lxstat.c
18670         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18671         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18672         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18673         Remove conditional code.
18674         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18675         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18676         Remove conditional code.
18677         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18678         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18679         <kernel-features.h>.
18680         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18681         Remove.
18682         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18683         Remove conditional code.
18684         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18685         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18686         Remove conditional.
18688 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
18690         [BZ #5400]
18691         * NEWS: Add fixed bug number.
18693 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18695         [BZ #14519]
18696         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18697         underflowing exponent in case of negative sign.
18698         * stdlib/tst-strtod-round-data: Add more tests.
18699         * stdlib/tst-strtod-round.c (tests): Regenerated.
18701         [BZ #3479]
18702         * stdlib/strtod_l.c (NDIG): Remove.
18703         (HEXNDIG): Likewise.
18704         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18705         smallest representable value.
18706         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18707         lie within an exact representation of 1/2 ulp of the result.
18708         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18709         unconditionally.
18710         (TENS_P9_IDX): Define unconditionally.
18711         (TENS_P9_SIZE): Likewise.
18712         (TENS_P10_IDX): Likewise.
18713         (TENS_P10_SIZE): Likewise.
18714         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18715         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18716         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18717         entries for 10^2^13 and 10^2^14.
18718         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18719         (TENS_P13_IDX): Define.
18720         (TENS_P13_SIZE): Likewise.
18721         (TENS_P14_IDX): Likewise.
18722         (TENS_P14_SIZE): Likewise.
18723         (_fpioconst_pow10): Change array size to
18724         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18725         unconditional.
18726         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18727         1024]: Add entries for 10^2^13 and 10^2^14.
18728         [LAST_POW10 > _LAST_POW10]: Remove #error.
18729         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18730         (_fpioconst_pow10): Change array size to
18731         FPIOCONST_POW10_ARRAY_SIZE.
18732         * stdlib/gen-fpioconst.c: New file.
18733         * stdlib/gen-tst-strtod-round.c: Likewise.
18734         * stdlib/tst-strtod-round-data: Likewise.
18735         * stdlib/tst-strtod-round.c: Likewise.
18736         * stdlib/Makefile (tests): Add tst-strtod-round.
18738         [BZ #14459]
18739         * stdlib/strtod_l.c: Include <stdint.h>.
18740         (NDEBUG): Do not define.
18741         (round_and_return): Change EXPONENT parameter to type intmax_t.
18742         Rearrange calculations to avoid internal overflow possibilities.
18743         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18744         Rearrange calculations to avoid internal overflow possibilities.
18745         Assert that number fits inside MPNSIZE limbs.
18746         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18747         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18748         calculations and add assertions to avoid internal overflow
18749         possibilities.  Add casts to avoid signed/unsigned operations.
18750         * stdlib/tst-strtod-overflow.c: New file.
18751         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18753 2012-08-25  Marek Polacek  <polacek@redhat.com>
18755         * time/time.h: Fix some typos in comments.
18757 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18759         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18760         * posix/tst-rfc3484-2.c: Likewise.
18761         * posix/tst-rfc3484-3.c: Likewise.
18763 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18765         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18766         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18768 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18770         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18771         #include of fxstatat64.c.
18773 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18775         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18776         * shadow/getspent_r.c: Likewise.
18777         * shadow/getspnam.c: Likewise.
18778         * shadow/getspnam_r.c: Likewise.
18779         * gshadow/getsgent.c: Likewise.
18780         * gshadow/getsgent_r.c: Likewise.
18781         * gshadow/getsgnam.c: Likewise.
18782         * gshadow/getsgnam_r.c: Likewise.
18783         * inet/getnetbyad.c: Likewise.
18784         * inet/getnetbyad_r.c: Likewise.
18785         * inet/getnetbynm.c: Likewise.
18786         * inet/getnetbynm_r.c: Likewise.
18787         * inet/getnetent.c: Likewise.
18788         * inet/getnetent_r.c: Likewise.
18789         * inet/getproto.c: Likewise.
18790         * inet/getproto_r.c: Likewise.
18791         * inet/getprtent.c: Likewise.
18792         * inet/getprtent_r.c: Likewise.
18793         * inet/getprtname.c: Likewise.
18794         * inet/getprtname_r.c: Likewise.
18795         * inet/getrpcbyname.c: Likewise.
18796         * inet/getrpcbyname_r.c: Likewise.
18797         * inet/getrpcbynumber.c: Likewise.
18798         * inet/getrpcbynumber_r.c: Likewise.
18799         * inet/getrpcent.c: Likewise.
18800         * inet/getrpcent_r.c: Likewise.
18801         * inet/getaliasent.c: Likewise.
18802         * inet/getaliasent_r.c: Likewise.
18803         * inet/getaliasname.c: Likewise.
18804         * inet/getaliasname_r.c: Likewise.
18805         * nscd/getgrgid_r.c: Likewise.
18806         * nscd/getgrnam_r.c: Likewise.
18807         * nscd/gethstbyad_r.c: Likewise.
18808         * nscd/gethstbynm3_r.c: Likewise.
18809         * nscd/getpwnam_r.c: Likewise.
18810         * nscd/getpwuid_r.c: Likewise.
18811         * nscd/getsrvbynm_r.c: Likewise.
18812         * nscd/getsrvbypt_r.c: Likewise.
18813         * nscd/gai.c: Likewise.
18815         * configure.in (build_nscd): New substituted variable, set
18816         by --disable-build-nscd and defaults to $use_nscd.
18817         * configure: Regenerated.
18818         * config.make.in (build-nscd): New substituted variable.
18819         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18820         Change conditional to require [$(build-nscd) = yes] as well.
18821         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18823         [BZ# 13696]
18824         * configure.in (use_nscd): New substituted variable, set by
18825         --disable-nscd.  If enabled, define USE_NSCD.
18826         * configure: Regenerated.
18827         * config.h.in: Add USE_NSCD.
18828         * config.make.in (use-nscd): New substituted variable.
18829         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18830         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18831         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18832         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18833         (CFLAGS-getgrnam_r.c): Likewise.
18834         (CFLAGS-initgroups.c): Likewise.
18835         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18836         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18837         Variables removed.
18838         * inet/getnetgrent_r.c
18839         (nscd_setnetgrent): New function, broken out of ...
18840         (setnetgrent): ... here.  Call it.
18841         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18842         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18843         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18844         * nscd/Makefile (routines, aux): Move definitions after include of
18845         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18846         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18847         Conditionalize on [USE_NSCD].
18848         (is_nscd, nscd_init_cb): Likewise.
18849         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18850         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18851         * nss/nss_db/db-init.c: Likewise.
18852         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18853         [USE_NSCD].
18854         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18855         (make_request): Use it.
18856         (cache_valid_p): New function.
18857         (__check_pf): Use it.
18858         * NEWS: Add item for --disable-nscd.
18860 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18862         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18863         to support sed >= 4.2.1-20-ga9bf076.
18864         * configure: Regenerated.
18866 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18868         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18869         Conditionalize whole body on [IREL].
18871 2012-08-22  Jeff Law <law@redhat.com>
18873         [BZ #14505]
18874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18875         if the family is PF_UNSPEC.
18877 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18879         * Makerules (lib-version): Rename from V.
18880         (install-lib-nosubdir): Change V to lib-version.
18882 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18884         [BZ #14252]
18885         * powerpc32/power6/wcschr.c: New file.
18886         * powerpc32/power6/wcscpy.c: New file.
18887         * powerpc32/power6/wcsrchr.c: New file.
18888         * powerpc64/power6/wcschr.c: New file.
18889         * powerpc64/power6/wcscpy.c: New file.
18890         * powerpc64/power6/wcsrchr.c: New file.
18892 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18894         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18895         (two_way_short_needle): Use it.
18896         * string/strstr.c (AVAILABLE1_USES_J): Define.
18897         * string/strcasestr.c: Likewise.
18899         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18900         array references.
18901         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18903         [BZ #11607]
18904         * NEWS: Add an entry.
18905         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18906         define their defaults.
18907         (two_way_short_needle): Detect end-of-string on-the-fly.
18908         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18909         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18910         * string/bug-strcasestr1.c: New test.
18911         * string/Makefile: Run it.
18913 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18915         [BZ #11607]
18916         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18917         the first character.
18919 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18921         * csu/elf-init.c (__libc_csu_irel): Function removed.
18922         * csu/libc-start.c (apply_irel): New function.
18923         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18925 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
18927         * sysdeps/unix/sysv/linux/kernel-features.h
18928         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18929         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18930         <kernel-features.h>.
18931         [__NR_fadvise64_64]: Make code unconditional.
18932         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18933         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18934         !__NR_fadvise64_64)]: Likewise.
18935         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18936         !__NR_fadvise64_64))]: Likewise.
18937         [__NR_fadvise64]: Make code unconditional.
18938         [!__NR_fadvise64]: Remove conditional code.
18939         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18940         <kernel-features.h>.
18941         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18942         unconditional.
18943         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18944         conditional code.
18945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18946         not include <kernel-features.h>.
18947         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18948         unconditional.
18949         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18950         conditional code.
18951         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18952         include <kernel-features.h>.
18953         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18954         unconditional.
18955         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18956         conditional code.
18958 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18960         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18961         slight instruction rearrangements per scrollpipe analysis.
18962         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18964 2012-08-20  Roland McGrath  <roland@hack.frob.com>
18966         * manual/syslog.texi (syslog; vsyslog, closelog):
18967         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18968         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18970         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18971         DSOCAPS to match condition on defining it.
18973 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
18975         * sysdeps/unix/sysv/linux/kernel-features.h
18976         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18978         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18979         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18981         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18982         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18984         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18985         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18987         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18988         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18990         * sysdeps/unix/sysv/linux/kernel-features.h
18991         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18992         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18993         unconditional.
18994         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18995         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18996         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18997         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18998         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18999         Make code unconditional.
19000         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19001         (__mmap64) [!__NR_mmap2]: Likewise.
19002         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19003         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19004         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19005         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19006         [__NR_mmap2]: Make code unconditional.
19007         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19008         (__mmap64) [!__NR_mmap2]: Likewise.
19010 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19012         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19014 2012-08-18  Andreas Jaeger  <aj@suse.de>
19016         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19018 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19020         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19021         * include/unistd.h (__have_sock_cloexec): Likewise.
19022         (__have_pipe2): Likewise.
19023         (__have_dup3): Likewise.
19025 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19027         [BZ #9685]
19028         * include/unistd.h (__have_pipe2): Change define into an extern int.
19029         (__have_dup3): Likewise.
19030         * socket/have_sock_cloexec.c: Include fcntl.h.
19031         (__have_pipe2): New variable.
19032         (__have_dup3): Likewise.
19034 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19036         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19038 2012-08-17  Marek Polacek  <polacek@redhat.com>
19040         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19041         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19043 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19045         * configure.in: Add AC_SUBST for sysheaders.
19046         * configure: Regenerated.
19047         * config.make.in (sysheaders): New substituted variable.
19049         * sysdeps/unix/mkfifo.c: Moved ...
19050         * sysdeps/posix/mkfifo.c: ... here.
19051         * sysdeps/unix/mkfifoat.c: Moved ...
19052         * sysdeps/posix/mkfifoat.c: ... here.
19054         * sysdeps/unix/utime.c: Moved ...
19055         * sysdeps/posix/utime.c: ... here.
19057         * sysdeps/unix/time.c: Moved ...
19058         * sysdeps/posix/time.c: ... here.
19059         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19060         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19062         * sysdeps/unix/nice.c: Moved ...
19063         * sysdeps/posix/nice.c: ... here.
19065         * sysdeps/unix/alarm.c: Moved ...
19066         * sysdeps/posix/alarm.c: ... here.
19068         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19070 2012-08-17  Jeff Law <law@redhat.com>
19072         * intl/Makefile (codeset_mo): New variable.
19073         ($(codeset_mo)): New target.
19074         (tst-codeset.out): Depend on that.  Remove explicit rule.
19075         (tst-gettext3.out, tst-gettext5.out): Likewise.
19076         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19077         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19078         * intl/tst-codeset.sh: Remove.
19079         * intl/tst-gettext3.sh: Likewise.
19080         * intl/tst-gettext5.sh: Likewise.
19082 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19084         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19085         * sysdeps/unix/syscalls.list: ... here.
19087         * sysdeps/posix/getaddrinfo.c
19088         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19089         (gaiconf_init, gaiconf_reload): Use them.
19090         [!_STATBUF_ST_NSEC]
19091         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19092         Define using time_t rather than struct timespec.
19094         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19095         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19096         Macros removed.
19097         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19098         [!NO_THREADS].
19099         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19100         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19101         Likewise.
19103         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19104         __libc_cleanup_push argument.
19106         * bits/param.h: New file.
19107         * misc/sys/param.h: New file.
19108         * include/sys/param.h: New file.
19109         * misc/Makefile (headers): Add bits/param.h.
19110         * sysdeps/generic/sys/param.h: File removed.
19111         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19112         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19113         * sysdeps/mach/hurd/bits/param.h: New file.
19114         * sysdeps/mach/hurd/sys/param.h: File removed.
19116         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19117         last change.
19119         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19120         [_IO_MTSAFE_IO].
19121         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19122         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19123         New macros.
19125         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19126         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19127         rather than -D_IO_MTSAFE_IO conditionally.
19128         * stdio-common/Makefile (CPPFLAGS): Likewise.
19129         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19130         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19131         Use $(libio-mtsafe).
19132         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19133         of -D_IO_MTSAFE_IO.
19134         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19135         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19136         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19137         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19138         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19139         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19140         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19141         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19142         (CFLAGS-fread_u_chk.c): Likewise.
19143         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19144         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19145         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19146         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19147         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19148         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19149         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19150         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19151         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19153         * libio/Makefile: Test [$(libc-reentrant) = yes]
19154         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19156         * Makeconfig
19157         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19158         * sysdeps/pthread/configure: File removed.
19159         * sysdeps/pthread/Makeconfig: New file.
19160         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19161         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19163 2012-08-16  Gary Benson  <gbenson@redhat.com>
19165         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19166         unmapping the first object in a namespace.
19168 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19170         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19171         (__internal_setnetgrent): ... this.  Add internal_function to
19172         definition.  Add libc_hidden_def.
19173         (setnetgrent): Update caller.
19174         (internal_endnetgrent): Renamed to ...
19175         (__internal_endnetgrent): ... this.  Add internal_function to
19176         definition.  Add libc_hidden_def.
19177         (endnetgrent): Update caller.
19178         (internal_getnetgrent_r): Renamed to ...
19179         (__internal_getnetgrent_r): ... this.  Add internal_function to
19180         definition.  Add libc_hidden_def.
19181         (__getnetgrent_r): Update caller.
19182         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19184 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19186         * stdlib/longlong.h: Update from GCC.
19188 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19190         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19191         on _QL, which is set by umul_ppmm but never used.
19192         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19193         variables, which are set by GMP macros but never used.
19194         * stdio-common/_itowa.c (_itowa): Likewise.
19195         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19196         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19198 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19200         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19201         struct La_sh_regs is not constant.
19202         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19203         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19204         and struct La_sparc64_regs are not constant.
19206 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19208         * sysdeps/unix/sysv/linux/kernel-features.h
19209         (__ASSUME_POSIX_TIMERS): Remove.
19210         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19211         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19212         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19213         Make code unconditional.
19214         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19215         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19216         Make code unconditional.
19217         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19218         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19219         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19220         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19221         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19222         Make code unconditional.
19223         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19224         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19225         (__libc_missing_posix_timers): Remove.
19227 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19229         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19230         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19232         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19234         * elf/dl-sym.c: Include <stdlib.h>.
19236         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19237         constants, which avoids warnings in 32-bit builds.
19239         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19240         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19242         * misc/lseek.c: File moved to ...
19243         * io/lseek.c: ... here.
19245         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19247         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19248         shifting LEN more than 31 bits at once.
19250 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19252         [BZ #14195]
19253         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19254         segmentation fault for a case of two empty input strings.
19255         * string/test-strncasecmp.c (check1): Renamed to...
19256         (bz12205): ...this.
19257         (bz14195): Add new testcase for two empty input strings and N > 0.
19258         (test_main): Call new testcase, adapt for renamed function.
19260 2012-08-15  Andreas Jaeger  <aj@suse.de>
19262         [BZ #14090]
19263         * crypt/md5test2.c: New test, based on test supplied by Serge
19264         Belyshev <belyshev@depni.sinp.msu.ru>.
19265         * crypt/Makefile (xtests): Add md5test-giant..
19266         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19268 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19270         [BZ #14090]
19271         * crypt/md5.c (md5_process_block): Don't assume the buffer
19272         length is less than 2**32.
19273         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19274         length is less than 2**64.
19276 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19278         * string/str-two-way.h: Include <sys/param.h>.
19279         (MAX): Macro removed.
19281         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19282         Move #define and #undef of memmove to just before and after
19283         including <string.h>.
19285         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19286         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19287         and after including <string.h>.  Move declarations of
19288         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19289         to before #include "string/memmove.c".
19291         * include/dirent.h: Declare __getdirentries.
19293         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19294         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19296 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19298         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19299         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19300         * sysdeps/i386/configure: Regenerated.
19301         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19302         STABS_CURRENT_FILE, and STABS_FUN.
19303         (END): Remove call to STABS_FUN_END.
19304         (STABS_CURRENT_FILE1): Delete.
19305         (STABS_CURRENT_FILE): Likewise.
19306         (STABS_FUN): Likewise.
19307         (STABS_FUN_END): Likewise.
19308         (STABS_FUN2): Likewise.
19309         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19310         * sysdeps/x86_64/configure: Regenerated.
19312 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19314         * elf/dl-open.c: Include <atomic.h>.
19315         * elf/dl-lookup.c: Likewise.
19317 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19319         * sysdeps/unix/sysv/linux/kernel-features.h
19320         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19321         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19322         unconditionally.
19323         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19324         unconditionally.
19325         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19326         condition on __ASSUME_CLONE_THREAD_FLAGS.
19328 2012-08-14  Andreas Jaeger  <aj@suse.de>
19330         * sysdeps/i386/fpu/libm-test-ulps: Update.
19332 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19334         * include/atomic.h (atomic_exchange_and_add): Split into ...
19335         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19336         New atomic macros.
19338 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19340         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19342 2012-08-13  Jeff Law <law@redhat.com>
19344         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19345         null byte in the output string.
19347 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19349         * sysdeps/unix/sysv/linux/kernel-features.h
19350         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19351         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19352         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19353         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19354         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19355         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19356         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19358 2012-08-09  Jeff Law <law@redhat.com>
19360         [BZ #13939]
19361         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19362         When avoid_arena is set, don't retry in the that arena.  Pick the
19363         next one, whatever it might be.
19364         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19365         (arena_lock): Pass in new parameter to arena_get2.
19366         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19367         arena_get2.
19368         (__libc_malloc): Unify retrying after main arena failure with
19369         __libc_memalign version.
19370         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19372 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19374         [BZ #14166]
19375         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19376         to __redirect_strstr.
19377         (__strstr_sse42): Use typeof __redirect_strstr.
19378         (__strstr_ia32): Likewise.
19379         (__libc_strstr): New prototype.
19380         (strstr): Renamed to ...
19381         (__libc_strstr): This.
19382         (strstr): New strong alias of __libc_strstr.
19383         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19384         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19385         __redirect_time.
19386         Include <time.h>.
19387         (__libc_time): New prototype.
19388         (time_ifunc): Replace time with __libc_time.
19389         (time): New strong alias and hidden definition of __libc_time.
19390         (__GI_time): Remove strong alias.
19391         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19392         Include <stddef.h>.
19393         (memmove): Redefined to __redirect_memmove.
19394         (__memmove_sse2): Use typeof __redirect_memmove.
19395         (__memmove_ssse3): Likewise.
19396         (__memmove_ssse3_back): Likewise.
19397         (__libc_memmove): New prototype.
19398         (memmove): Renamed to ...
19399         (__libc_memmove): This.
19400         (memmove): New strong alias of __libc_memmove.
19402 2012-08-08  Mark Salter  <msalter@redhat.com>
19404         * elf/elf.h
19405         (R_MN10300_TLS_GD): Define.
19406         (R_MN10300_TLS_LD): Likewise.
19407         (R_MN10300_TLS_LDO): Likewise.
19408         (R_MN10300_TLS_GOTIE): Likewise.
19409         (R_MN10300_TLS_IE): Likewise.
19410         (R_MN10300_TLS_LE): Likewise.
19411         (R_MN10300_TLS_DTPMOD): Likewise.
19412         (R_MN10300_TLS_DTPOFF): Likewise.
19413         (R_MN10300_TLS_TPOFF): Likewise.
19414         (R_MN10300_SYM_DIFF): Likewise.
19415         (R_MN10300_ALIGN): Likewise.
19416         (R_MN10300_NUM): Update.
19418 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19420         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19421         Remove.
19423 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19425         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19427         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19428         sysdeps/unix -> sysdeps/posix move.
19429         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19431 2012-08-07      Allan McRae     <allan@archlinux.org>
19433         [BZ #14303]
19434         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19435         (SUNOS_CPP): Likewise.
19436         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19437         not found.
19438         (open_input): Call CPP using execvp.
19440 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19442         * sysdeps/unix/sysv/linux/kernel-features.h
19443         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19444         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19445         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19446         (__ASSUME_WAITID_SYSCALL): Likewise.
19447         * sysdeps/unix/sysv/linux/dl-execstack.c
19448         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19449         code unconditional.
19450         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19451         conditional code.
19452         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19453         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19454         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19455         code.
19456         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19457         unconditional.
19458         [__ASSUME_WAITID_SYSCALL]: Likewise.
19459         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19461 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19463         * sysdeps/unix/closedir.c: Renamed to ...
19464         * sysdeps/posix/closedir.c: ... here.
19465         * sysdeps/unix/dirfd.c: Renamed to ...
19466         * sysdeps/posix/dirfd.c: ... here.
19467         * sysdeps/unix/dirstream.h: Renamed to ...
19468         * sysdeps/posix/dirstream.h: ... here.
19469         * sysdeps/unix/fdopendir.c: Renamed to ...
19470         * sysdeps/posix/fdopendir.c: ... here.
19471         * sysdeps/unix/opendir.c: Renamed to ...
19472         * sysdeps/posix/opendir.c: ... here.
19473         * sysdeps/unix/readdir.c: Renamed to ...
19474         * sysdeps/posix/readdir.c: ... here.
19475         * sysdeps/unix/readdir_r.c: Renamed to ...
19476         * sysdeps/posix/readdir_r.c: ... here.
19477         * sysdeps/unix/rewinddir.c: Renamed to ...
19478         * sysdeps/posix/rewinddir.c: ... here.
19479         * sysdeps/unix/seekdir.c: Renamed to ...
19480         * sysdeps/posix/seekdir.c: ... here.
19481         * sysdeps/unix/telldir.c: Renamed to ...
19482         * sysdeps/posix/telldir.c: ... here.
19483         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19484         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19485         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19486         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19488         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19489         * bits/fcntl.h: ... here.
19491         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19492         not 0.
19493         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19494         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19495         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19496         (struct flock): Move l_start, l_len to the beginning.
19497         Use __pid_t for l_pid.
19498         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19499         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19500         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19501         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19502         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19503         [__USE_LARGEFILE64] (struct flock64): New type.
19504         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19506         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19507         * bits/dirent.h: ... here.
19509         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19510         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19512 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19514         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19515         Change from 2.6.0 to 2.6.16.
19516         * sysdeps/unix/sysv/linux/configure: Regenerated.
19517         * sysdeps/unix/sysv/linux/kernel-features.h
19518         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19519         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19520         version.
19521         (__ASSUME_UTIMES): Likewise.
19522         (__ASSUME_CLONE_STOPPED): Remove.
19523         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19524         architectures, not kernel version.
19525         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19526         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19527         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19528         (__ASSUME_WAITID_SYSCALL): Likewise.
19529         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19530         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19531         * README: State 2.6.16 as minimum Linux kernel version.  Do not
19532         refer to older versions.
19534 2012-08-06  Roland McGrath  <roland@hack.frob.com>
19536         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19537         Define alphasort64 as an alias.
19538         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19539         Define versionsort64 as an alias.
19540         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19541         Define scandir64 as an alias.
19542         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19543         Define scandirat64 as an alias.
19544         * dirent/alphasort64.c (alphasort64):
19545         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19546         * dirent/versionsort64.c: Likewise.
19547         * dirent/scandir64.c: Likewise.
19548         * dirent/scandirat64.c: Likewise.
19549         * sysdeps/wordsize-64/alphasort.c: File removed.
19550         * sysdeps/wordsize-64/alphasort64.c: File removed.
19551         * sysdeps/wordsize-64/scandir.c: File removed.
19552         * sysdeps/wordsize-64/scandir64.c: File removed.
19553         * sysdeps/wordsize-64/scandirat.c: File removed.
19554         * sysdeps/wordsize-64/scandirat64.c: File removed.
19555         * sysdeps/wordsize-64/versionsort.c: File removed.
19556         * sysdeps/wordsize-64/versionsort64.c: File removed.
19557         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19558         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19559         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19560         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19561         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19562         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19563         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19564         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19566         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19568         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19569         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19570         [defined __arch64__ || defined __sparcv9]
19571         (__INO_T_MATCHES_INO64_T): New macro.
19572         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19573         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19574         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19575         * sysdeps/unix/sysv/linux/bits/dirent.h
19576         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19577         (_DIRENT_MATCHES_DIRENT64): New macro.
19579         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19580         Define lockf64 as an alias.
19581         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19582         Define fseeko64 as an alias.
19583         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19584         Define ftello64 as an alias.
19585         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19586         Define _IO_fgetpos64 and fgetpos64 as aliases.
19587         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19588         Define _IO_fsetpos64 and fsetpos64 as aliases.
19589         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19590         Conditionalize body on this.
19591         * libio/fseeko64.c: Likewise.
19592         * libio/ftello64.c: Likewise.
19593         * libio/iofgetpos64.c: Likewise.
19594         * libio/iofsetpos64.c: Likewise.
19595         * sysdeps/wordsize-64/lockf.c: File removed.
19596         * sysdeps/wordsize-64/lockf64.c: File removed.
19597         * sysdeps/wordsize-64/fseeko.c: File removed.
19598         * sysdeps/wordsize-64/fseeko64.c: File removed.
19599         * sysdeps/wordsize-64/ftello.c: File removed.
19600         * sysdeps/wordsize-64/ftello64.c: File removed.
19601         * sysdeps/wordsize-64/iofgetpos.c: File removed.
19602         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19603         * sysdeps/wordsize-64/iofsetpos.c: File removed.
19604         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19605         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19606         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19607         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19608         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19609         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19610         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19611         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19612         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19613         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19614         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19616         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19617         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19618         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19619         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19620         [defined __arch64__ || defined __sparcv9]
19621         (__OFF_T_MATCHES_OFF64_T): New macro.
19622         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19623         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19624         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19625         (__OFF_T_MATCHES_OFF64_T): New macro.
19627 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19629         * stdlib/secure-getenv.c (__secure_getenv): Replace
19630         GLIBC_2_16 with GLIBC_2_17.
19632 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19634         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19635         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19637 2012-08-03  David S. Miller  <davem@davemloft.net>
19639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19641 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19643         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19644         Remove.
19645         (__ASSUME_CORRECT_SI_PID): Likewise.
19646         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19647         (__ASSUME_TMPFS_NAME): Likewise.
19648         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19649         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19650         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19651         (HAVE_AUX_SECURE): Make definition unconditional.
19652         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19653         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19655 2012-08-03  Roland McGrath  <roland@hack.frob.com>
19657         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19658         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19659         * sysdeps/mach/hurd/eloop-threshold.h: New file.
19660         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19661         __eloop_threshold instead of SYMLOOP_MAX.
19663         * sysdeps/generic/eloop-threshold.h: New file.
19664         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19665         of MAXSYMLINKS.
19666         * elf/chroot_canon.c (chroot_canon): Likewise.
19668 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19670         [BZ #13717]
19671         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19672         Change to 2.6.0 everywhere.
19673         * sysdeps/unix/sysv/linux/configure: Regenerated.
19674         * sysdeps/unix/sysv/linux/kernel-features.h
19675         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19676         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19677         kernel versions.
19678         (__ASSUME_POSIX_TIMERS): Define unconditionally.
19679         (__ASSUME_FUTEX_REQUEUE): Remove.
19680         (__ASSUME_STATFS64): Define unconditionally.
19681         (__ASSUME_AT_SECURE): Likewise.
19682         (__ASSUME_CORRECT_SI_PID): Likewise.
19683         (__ASSUME_TGKILL): Define without depending on kernel version for
19684         i386.
19685         (__ASSUME_UTIMES): Likewise.
19686         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19687         kernel version.
19688         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19689         (__ASSUME_TMPFS_NAME): Likewise.
19690         * README: Update reference to Linux kernel versions.
19692 2012-08-02  Marek Polacek  <polacek@redhat.com>
19694         [BZ# 14150]
19695         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
19696         libc_cv_asm_type_prefix with %.
19697         * configure: Regenerated.
19698         * include/libc-symbols.h: Remove comment about
19699         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19700         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19701         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19702         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19703         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19704         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19705         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19706         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19707         * elf/tst-unique2mod1.c: Likewise.
19708         * elf/tst-unique1mod2.c: Likewise.
19709         * elf/tst-unique1mod1.c: Likewise.
19710         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19711         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19712         Replace ASM_TYPE_DIRECTIVE with .type.
19713         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19714         * sysdeps/i386/sysdep.h: Likewise.
19715         * sysdeps/x86_64/sysdep.h: Likewise.
19716         * sysdeps/sh/sysdep.h: Likewise.
19717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19718         Do not define ASM_TYPE_DIRECTIVE.
19719         * sysdeps/powerpc/sysdep.h: Likewise.
19720         * sysdeps/powerpc/powerpc32/sysdep.h:
19721         Replace ASM_TYPE_DIRECTIVE with .type.
19722         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19723         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19724         * sysdeps/i386/fpu/e_powf.S: Likewise.
19725         * sysdeps/i386/fpu/e_expl.S: Likewise.
19726         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19727         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19728         * sysdeps/i386/fpu/e_pow.S: Likewise.
19729         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19730         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19731         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19732         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19733         * sysdeps/i386/fpu/e_log2.S: Likewise.
19734         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19735         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19736         * sysdeps/i386/fpu/e_powl.S: Likewise.
19737         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19738         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19739         * sysdeps/i386/fpu/e_logl.S: Likewise.
19740         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19741         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19742         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19743         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19744         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19745         * sysdeps/i386/fpu/e_log.S: Likewise.
19746         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19747         * sysdeps/i386/fpu/e_logf.S: Likewise.
19748         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19749         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19750         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19751         * sysdeps/i386/fpu/e_log10.S: Likewise.
19752         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19753         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19754         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19755         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19756         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19757         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19758         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19759         * sysdeps/i386/i686/strtok.S: Likewise.
19760         * sysdeps/i386/i386-mcount.S: Likewise.
19761         * sysdeps/i386/strtok.S: Likewise.
19762         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19763         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19764         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19765         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19766         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19767         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19768         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19769         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19770         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19771         * sysdeps/x86_64/_mcount.S: Likewise.
19772         * sysdeps/x86_64/strtok.S: Likewise.
19773         * sysdeps/sh/_mcount.S: Likewise.
19775 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19777         * libio/iofopen.c: Include <fcntl.h>.
19778         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19779         (_IO_fopen64, fopen64): Define as aliases.
19780         * libio/iofopen64.c: Include <fcntl.h>.
19781         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19782         Conditionalize body on this.
19783         * sysdeps/wordsize-64/iofopen.c: File removed.
19784         * sysdeps/wordsize-64/iofopen64.c: File removed.
19786 2012-08-01  Marek Polacek  <polacek@redhat.com>
19788         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19789         Use dlfcn directly instead of a variable.
19790         (binfmt-subdir): Do not define.
19791         (dlfcn): Likewise.
19793 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19795         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19796         Remove all definitions.
19797         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19798         <kernel-features.h>.
19799         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19800         (miss_F_GETOWN_EX): Remove all definitions.
19801         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19802         macro definition.
19803         [!__ASSUME_FCNTL64]: Remove conditional code.
19804         [__ASSUME_FCNTL64]: Make code unconditional.
19805         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19806         <kernel-features.h>.
19807         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19808         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19809         (lockf64) [__NR_fcntl64]: Make code unconditional.
19810         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19812         * sysdeps/unix/sysv/linux/kernel-features.h
19813         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19814         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19815         Make code unconditional.
19816         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19817         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19819         [__NR_vfork]: Make code unconditional.
19820         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19821         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19823         [__NR_vfork]: Make code unconditional.
19824         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19825         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19827 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19829         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19830         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19832         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19833         Define mkstemp64 as an alias.
19834         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19835         Define mkstemps64 as an alias.
19836         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19837         Define mkostemp64 as an alias.
19838         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19839         Define mkostemps64 as an alias.
19840         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19841         Conditionalize body on this.
19842         * misc/mkostemp64.c: Likewise.
19843         * misc/mkostemps64.c: Likewise.
19844         * misc/mkstemps64.c: Likewise.
19845         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19846         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19847         * sysdeps/wordsize-64/mkostemp.c: File removed.
19848         * sysdeps/wordsize-64/mkstemp.c: File removed.
19849         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19850         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19851         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19852         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19854         [BZ #14138]
19855         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19856         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19857         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19858         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19860         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19861         compat_symbol macros from <shlib-compat.h> rather than the underlying
19862         default_symbol_version and symbol_version macros, so that DEFAULT
19863         lines in shlib-versions are respected.
19864         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19866 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19868         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19869         Declare with warn_unused_result.
19870         (setgid, setregid, setegid, setresgid): Likewise.
19871         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19872         Likewise.
19873         * WUR-REPORT: Remove set*id functions.
19875 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19877         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19879 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19881         [BZ #10191]
19882         * include/sys/socket.h (__libc_accept, __libc_accept4):
19883         Add attribute_hidden.
19884         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19886         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19887         use of PTR_MANGLE.
19888         * inet/getnetgrent_r.c (setup): Likewise.
19890         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19892 2012-07-31  David S. Miller  <davem@davemloft.net>
19894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19896 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19898         [BZ #13629]
19899         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19900         value between 1.0 and 2.0 and smaller part has absolute value less
19901         than 1.0.
19902         * math/s_clog10.c (__clog10): Likewise.
19903         * math/s_clog10f.c (__clog10f): Likewise.
19904         * math/s_clog10l.c (__clog10l): Likewise.
19905         * math/s_clogf.c (__clogf): Likewise.
19906         * math/s_clogl.c (__clogl): Likewise.
19907         * math/libm-test.inc (clog_test): Add more tests.
19908         (clog10_test): Likewise.
19909         * sysdeps/i386/fpu/libm-test-ulps: Update.
19910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19912 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19914         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19915         Exit with zero in case no suitable GID is found, and write a
19916         message to standard error.
19918 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19920         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19921         rather than to 1.
19922         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19923         (MAXPATHLEN): Removed.
19924         (NOGROUP, NODEV): New macros.
19925         (setbit, clrbit, isset, isclr): New macros.
19926         (howmany, roundup, powerof2): New macros.
19927         (DEV_BSIZE): New macro.
19929         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19930         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19932         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19933         definition on [!__NO_LONG_DOUBLE_MATH].
19935         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19936         PTR_MANGLE and PTR_DEMANGLE.
19938         * socket/accept4.c (accept4): Rename to __libc_accept4.
19939         Define accept4 as a weak alias.
19941         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19942         on [_DIRENT_HAVE_D_TYPE].
19943         * io/ftw.c (ftw_dir): Likewise.
19945         * io/xmknod.c (__xmknod): Don't check PATH for being null.
19947         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19949         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19950         Use the BSD numbers rather than the arbitrary ones we had.
19951         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19952         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19953         (SIGXCPU, SIGXFSZ): New macros.
19954         (_NSIG): Now 32.
19956         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19957         initializer on [_LIBC_REENTRANT].
19959         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19960         definitions inside [_POSIX_MAPPED_FILES].
19962         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19964         * dirent/opendir.c: Include <fcntl.h>.
19966         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19967         (__libc_getspecific): Likewise.
19968         (__libc_key_create): Likewise.
19970         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19971         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19972         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19973         (tmpfile64): Define as alias.
19974         * sysdeps/wordsize-64/tmpfile.c: File removed.
19975         * sysdeps/wordsize-64/tmpfile64.c: File removed.
19976         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19977         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19979         * stdio-common/vfscanf.c: Include <stdbool.h>.
19980         * nss/makedb.c: Likewise.
19981         * stdio-common/_i18n_number.h: Likewise.
19982         * argp/argp-help.c: Likewise.
19983         * posix/wordexp.c: Likewise.
19984         * sysdeps/posix/spawni.c: Likewise.
19985         * nss/nss_files/files-initgroups.c: Likewise.
19986         * stdio-common/reg-modifier.c: Include <stdlib.h>.
19987         * nss/nss_files/files-initgroups.c: Likewise.
19988         * nss/nss_db/db-netgrp.c: Likewise.
19989         * nss/nss_db/db-initgroups.c: Likewise.
19990         * io/fchmodat.c: Include <sys/stat.h>.
19992         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19993         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19995         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19996         [HAVE_MMAP].
19998         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19999         Add multiple inclusion protection.
20001 2012-07-27  David S. Miller  <davem@davemloft.net>
20003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20005 2012-07-27  Gary Benson  <gbenson@redhat.com>
20007         [BZ #14298]
20008         * elf/rtld.c: Include <stap-probe.h>.
20009         (dl_main): Added static probes "init_start" and "init_complete".
20010         * elf/dl-load.c: Include <stap-probe.h>.
20011         (lose): Take new parameter "nsid".
20012         Added static probe "map_failed".
20013         (_dl_map_object_from_fd): Pass namespace id to lose.
20014         Added static probe "map_start".
20015         (open_verify): Pass namespace id to lose.
20016         * elf/dl-open.c: Include <stap-probe.h>.
20017         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20018         and "reloc_complete".
20019         * elf/dl-close.c: Include <stap-probe.h>.
20020         (_dl_close_worker): Added static probes "unmap_start" and
20021         "unmap_complete".
20022         * elf/rtld-debugger-interface.txt: New file documenting the above.
20024 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20026         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20027         rather than a string variable.
20028         * sunrpc/rpc_main.c (h_output): Likewise.
20029         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20031 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20033         * inet/check_native.c: New file.
20035 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20037         [BZ #13629]
20038         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20039         if larger part has absolute value 1.0.
20040         * math/s_clog10.c (__clog10): Likewise.
20041         * math/s_clog10f.c (__clog10f): Likewise.
20042         * math/s_clog10l.c (__clog10l): Likewise.
20043         * math/s_clogf.c (__clogf): Likewise.
20044         * math/s_clogl.c (__clogl): Likewise.
20045         * math/libm-test.inc (clog_test): Add more tests.
20046         (clog10_test): Likewise.
20047         * sysdeps/i386/fpu/libm-test-ulps: Update.
20048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20050         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20051         (pltexit): Likewise.
20052         (La_regs): Likewise.
20053         (La_retval): Likewise.
20054         (int_retval): Likewise.
20055         Update #error for removed macros to refer only to definitions in
20056         tst-audit.h.
20057         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20058         macro.
20059         (pltexit): Likewise.
20060         (La_regs): Likewise.
20061         (La_retval): Likewise.
20062         (int_retval): Likewise.
20063         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20064         macro.
20065         (pltexit): Likewise.
20066         (La_regs): Likewise.
20067         (La_retval): Likewise.
20068         (int_retval): Likewise.
20069         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20070         macro.
20071         (pltexit): Likewise.
20072         (La_regs): Likewise.
20073         (La_retval): Likewise.
20074         (int_retval): Likewise.
20075         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20076         macro.
20077         (pltexit): Likewise.
20078         (La_regs): Likewise.
20079         (La_retval): Likewise.
20080         (int_retval): Likewise.
20081         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20082         macro.
20083         (pltexit): Likewise.
20084         (La_regs): Likewise.
20085         (La_retval): Likewise.
20086         (int_retval): Likewise.
20087         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20088         macro.
20089         (pltexit): Likewise.
20090         (La_regs): Likewise.
20091         (La_retval): Likewise.
20092         (int_retval): Likewise.
20093         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20094         macro definitions in tst-audit.h.
20095         * sysdeps/i386/tst-audit.h: New file.
20096         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20097         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20098         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20099         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20100         * sysdeps/sh/tst-audit.h: Likewise.
20101         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20102         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20103         * sysdeps/x86_64/tst-audit.h: Likewise.
20105 2012-07-26  Andreas Jaeger  <aj@suse.de>
20107         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20108         ptrace.
20110         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20111         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20112         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20113         PTRACE_O_MASK.
20114         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20115         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20116         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20118         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20119         value.
20121         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20122         _sigsys.
20123         (si_call_addr, si_syscall, si_arch): Define new macro.
20124         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20125         _sigsys.
20126         (si_call_addr, si_syscall, si_arch): Define new marcro.
20127         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20128         _sigsys.
20129         (si_call_addr, si_syscall, si_arch): Define new macro.
20130         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20131         _sigsys.
20132         (si_call_addr, si_syscall, si_arch): Define new macro.
20134 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20136         [BZ #13717]
20137         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20138         Change to 2.4.21 where previously 2.4.1.
20139         * sysdeps/unix/sysv/linux/configure: Regenerated.
20140         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20141         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20142         Linux kernel version.
20143         (__ASSUME_STD_AUXV): Remove.
20144         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20145         kernel version.
20146         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20147         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20148         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20149         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20150         (__ASSUME_NETLINK_SUPPORT): Likewise.
20151         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20152         (__no_netlink_support): Remove conditional definition.
20153         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20154         Remove.
20155         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20156         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20157         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20158         (if_nameindex_ioctl): Remove.
20159         (if_nameindex_netlink): Do not handle __no_netlink_support.
20160         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20161         code.
20162         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20163         Remove conditional code.
20164         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20165         code.
20166         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20167         unconditional.
20168         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20169         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20170         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20171         Remove.
20172         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20173         [!__ASSUME_STD_AUXV]: Remove conditional code.
20174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20175         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20176         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20178         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20179         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20180         code.
20181         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20183         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20184         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20185         conditional code.
20186         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20188         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20189         code.
20190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20191         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20192         conditional code.
20193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20194         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20195         code unconditional.
20196         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20197         conditional code.
20198         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20199         unconditional.
20200         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20201         conditional code.
20202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20203         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20204         unconditional.
20205         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20206         conditional code.
20207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20208         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20209         code unconditional.
20210         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20211         conditional code.
20212         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20213         unconditional.
20214         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20215         conditional code.
20216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20217         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20218         code unconditional.
20219         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20220         conditional code.
20221         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20222         unconditional.
20223         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20224         conditional code.
20226 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20228         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20229         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20230         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20231         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20232         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20233         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20234         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20235         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20236         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20237         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20238         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20239         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20240         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20241         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20242         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20243         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20244         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20245         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20246         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20247         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20248         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20249         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20250         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20252 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20254         * Versions.def: Add GLIBC_2.17.
20255         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20256         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20257         Introduce __libc_secure_getenv.
20258         * stdlib/Versions (2.17): Add secure_getenv
20259         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20260         * stdlib/secure-getenv.c: Rename __secure_getenv to
20261         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20262         symbol __secure_getenv for GLIBC_2.0.
20263         * stdlib/tst-secure-getenv.c: New.
20264         * stdlib/Makefile (tests): Add testcase.
20265         * manual/startup.texi (Environment Access): Document
20266         secure_getenv.
20267         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20268         __libc_secure_getenv.
20269         * inet/ruserpass.c (ruserpass): Likewise.
20270         * malloc/mtrace.c (mtrace): Likewise.
20271         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20272         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20273         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20274         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20275         HAVE_SECURE_GETENV.
20276         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20277         __secure_getenv to __libc_secure_getenv.
20278         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20280         Likewise.
20281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20282         Likewise.
20283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20285         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20291 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20293         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20294         (struct La_i86_retval): Likewise.
20295         (struct La_x86_64_regs): Likewise.
20296         (struct La_x86_64_retval): Likewise.
20297         (struct La_x32_regs): Likewise.
20298         (struct La_x32_retval): Likewise.
20299         (struct La_ppc32_regs): Likewise.
20300         (struct La_ppc32_retval): Likewise.
20301         (struct La_ppc64_regs): Likewise.
20302         (struct La_ppc64_retval): Likewise.
20303         (struct La_sh_regs): Likewise.
20304         (struct La_sh_retval): Likewise.
20305         (struct La_s390_32_regs): Likewise.
20306         (struct La_s390_32_retval): Likewise.
20307         (struct La_s390_64_regs): Likewise.
20308         (struct La_s390_64_retval): Likewise.
20309         (struct La_sparc32_regs): Likewise.
20310         (struct La_sparc32_retval): Likewise.
20311         (struct La_sparc64_regs): Likewise.
20312         (struct La_sparc64_retval): Likewise.
20313         (struct audit_ifaces): Remove architecture-specific pltenter and
20314         pltexit members.
20315         * sysdeps/i386/ldsodefs.h: New file.
20316         * sysdeps/powerpc/ldsodefs.h: Likewise.
20317         * sysdeps/s390/ldsodefs.h: Likewise.
20318         * sysdeps/sh/ldsodefs.h: Likewise.
20319         * sysdeps/sparc/ldsodefs.h: Likewise.
20320         * sysdeps/x86_64/ldsodefs.h: Likewise.
20322 2012-07-25  Marek Polacek  <polacek@redhat.com>
20324         [BZ #6808]
20325         * math/libm-test.inc (yn_test): Add another test.
20326         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20327         to ERANGE when the result is +-Inf.
20328         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20329         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20330         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20331         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20333 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20335         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20336         equal to 0.
20337         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20338         clock_t.
20339         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20341 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20343         * configure.in <sysdeps resolving>: Correct printing
20344         Implies_before.
20345         * configure: Regenerate.
20347 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20349         * math/w_ilogb.c: Include <limits.h>.
20350         * math/w_ilogbl.c: Likewise.
20352 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20354         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20355         va_copy.  Document allowing for unavailable va_copy only as
20356         pre-C99 compatibility.
20357         * manual/string.texi (Copying and Concatenation): Use va_copy
20358         instead of __va_copy in concat example.
20360 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20362         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20363         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20364         it if not null.
20366         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20367         with O_NOLINK passed to __file_name_lookup.
20369         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20370         with O_NOLINK passed to __file_name_lookup.
20372         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20373         negative N or less than NGIDS.
20375         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20376         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20377         enough.  Use memcpy instead of strncpy.
20379 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20381         * elf/Makefile (check-data): Remove.
20382         (localplt.data): New vpath directive.
20383         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20384         instead of $(check-data).
20385         * scripts/data/localplt-generic.data: Move to ...
20386         * sysdeps/generic/localplt.data: ... here.
20387         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20388         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20389         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20391         ... here.
20392         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20394         ... here.
20395         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20397         ... here.
20398         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20400         ... here.
20401         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20403         ... here.
20404         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20406         ... here.
20408 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20410         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20411         PPC32 and PPC64 files.
20412         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20413         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20415 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20417         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20418         __makecontext_ret to ...
20419         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20420         ... here and call exit if uc_link is NULL.  New file.
20421         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20422         __makecontext_ret.S.
20423         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20424         __makecontext_ret to ...
20425         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20426         ... here and call exit if uc_link is NULL.  New file.
20427         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20428         __makecontext_ret.S.
20430 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20432         * elf/elf.h (R_390_IRELATIVE): New definition.
20433         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20434         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20435         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20436         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20437         (elf_machine_lazy_rel): Likewise.
20438         * sysdeps/s390/dl-irel.h: New file.
20439         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20440         * sysdeps/s390/s390-64/memset.S: New asm code.
20441         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20442         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20443         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20444         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20445         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20446         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20447         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20448         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20449         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20450         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20451         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20452         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20453         * sysdeps/s390/s390-32/memset.S: New asm code.
20454         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20456 2012-07-17  Marek Polacek  <polacek@redhat.com>
20458         [BZ #14349]
20459         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20460         * sysdeps/s390/s390-64/configure.in: Likewise.
20461         * sysdeps/sparc/configure.in: Likewise.
20462         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20463         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20464         * sysdeps/i386/configure.in: Likewise.
20465         * sysdeps/x86_64/configure.in: Likewise.
20466         * sysdeps/sh/configure.in: Likewise.
20467         * sysdeps/s390/s390-32/configure: Regenerated.
20468         * sysdeps/s390/s390-64/configure: Likewise.
20469         * sysdeps/x86_64/configure: Likewise.
20470         * sysdeps/sh/configure: Likewise.
20471         * sysdeps/powerpc/powerpc64/configure: Likewise.
20472         * sysdeps/powerpc/powerpc32/configure: Likewise.
20473         * sysdeps/sparc/configure: Likwise.
20474         * sysdeps/i386/configure: Likewise.
20476         * elf/dl-open.c: Comment fixes.
20478 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20480         * Makefile [CXX] (check-data): Remove.
20481         [CXX] (c++-types.data): New vpath directive.
20482         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20483         vpath.  Do not allow for C++ type data being missing.
20484         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20485         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20486         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20487         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20488         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20489         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20490         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20492         ... here.
20493         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20495         ... here.
20496         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20498         ... here.
20499         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20501         ... here.
20502         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20504         ... here.
20505         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20507         ... here.
20508         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20509         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20510         ... here.
20511         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20514         * elf/tls-macros.h (TLS_LE): Move architecture-specific
20515         definitions to architecture-specific files.
20516         (TLS_IE): Likewise.
20517         (TLS_LD): Likewise.
20518         (TLS_GD): Likewise.
20519         * sysdeps/i386/tls-macros.h: New file.
20520         * sysdeps/powerpc/tls-macros.h: Likewise.
20521         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20522         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20523         * sysdeps/sh/tls-macros.h: Likewise.
20524         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20525         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20526         * sysdeps/x86_64/tls-macros.h: Likewise.
20528 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20530         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20531         zero value for regular exit case.
20533         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20534         (__start_context): Preserve zero value for regular exit case.
20536 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20537             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20539         * manual/setjmp.texi (setcontext): Clarify normal process
20540         termination when uc_link is the null pointer.
20541         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20542         exit call.
20544 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
20546         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20547         preprocessor.  Test for each exception mask separately.
20549 2012-07-16  Andreas Jaeger  <aj@suse.de>
20551         * po/ru.po: Update from translation team.
20553 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
20555         * conform/data/string.h-data (NULL): Use macro-constant.  Require
20556         equal to 0.
20557         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20558         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20559         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20560         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20561         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20563 2012-07-13  Andreas Jaeger  <aj@suse.de>
20565         * po/fr.po: Update from translation team.
20567 2012-07-12  Marek Polacek  <polacek@redhat.com>
20569         [BZ #14173]
20570         * math/libm-test.inc (yn_test): Add test for BZ #14173.
20571         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20572         loop condition.
20574 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
20576         [BZ #13717]
20577         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20578         Change to 2.4.1 where previously 2.4.0.
20579         * sysdeps/unix/sysv/linux/configure: Regenerated.
20580         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20581         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20582         version.
20583         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20584         (__ASSUME_AT_CLKTCK): Remove.
20585         (__ASSUME_AT_PAGESIZE): Likewise.
20586         (__ASSUME_AT_XID): Likewise.
20587         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20588         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20589         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20590         unconditionally.
20591         (HAVE_AUX_PAGESIZE): Likewise.
20592         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20593         [__ASSUME_AT_CLKTCK]: Make code unconditional.
20594         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20596 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
20598         [BZ #14307]
20599         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20600         the temporary buffer used to invoke __gethostbyname2_r,
20601         __gethostbyaddr_r and gethostbyname4_r to make room for struct
20602         host_data / struct gaih_addrtuple.
20603         * resolv/nss_dns/dns-host.c (global scope): Move definition of
20604         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20605         header file nss/nsswitch.h.
20606         * nss/nsswitch.h (global scope): Add definition of implementation
20607         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20608         resolv/nss_dns/dns-host.c).
20610 2012-07-11  Andreas Jaeger  <aj@suse.de>
20612         * po/fr.po: Update from translation team.
20614         * po/sv.po: Update from translation team
20615         * po/fr.po: Another update from translation team.
20617 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20619         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20620         for subnormals or multiply small sinh result by itself.
20621         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20624 2012-07-11  David S. Miller  <davem@davemloft.net>
20626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20628 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
20630         [BZ #14347]
20631         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20632         (INTERNAL_MARK): Shift it here.
20634 2012-07-10  Marek Polacek  <polacek@redhat.com>
20636         [BZ #14151]
20637         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
20638         libc_cv_asm_global_directive with .globl.
20639         * configure: Regenerated.
20640         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20641         with .globl.
20642         * sysdeps/i386/configure: Regenerated.
20643         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20644         with .globl.
20645         * sysdeps/x86_64/configure: Regenerated.
20646         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20647         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20648         * elf/tst-unique2mod2.c: Likewise.
20649         * elf/tst-unique2mod1.c: Likewise.
20650         * elf/tst-unique1mod2.c: Likewise.
20651         * elf/tst-unique1mod1.c: Likewise.
20652         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20653         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20654         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20655         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20656         * sysdeps/mach/sysdep.h: Likewise.
20657         * sysdeps/i386/sysdep.h: Likewise.
20658         * sysdeps/i386/i386-mcount.S: Likewise.
20659         * sysdeps/x86_64/_mcount.S: Likewise.
20660         * sysdeps/x86_64/sysdep.h: Likewise.
20661         * sysdeps/sh/_mcount.S: Likewise.
20662         * sysdeps/sh/sysdep.h: Likewise.
20663         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20664         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20665         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20666         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20667         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20668         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20669         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20670         * locale/localeinfo.h: Likewise.
20671         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20672         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20674 2012-07-09  Roland McGrath  <roland@hack.frob.com>
20676         [BZ #14336]
20677         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20678         system".
20679         * manual/message.texi (The Uniforum approach): Likewise.
20680         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20681         (glibc iconv Implementation): Likewise.
20683 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
20685         [BZ #14337]
20686         * math/s_clog.c (__clog): Avoid scaling a value down where that
20687         could result in underflow.
20688         * math/s_clog10.c (__clog10): Likewise.
20689         * math/s_clog10f.c (__clog10f): Likewise.
20690         * math/s_clog10l.c (__clog10l): Likewise.
20691         * math/s_clogf.c (__clogf): Likewise.
20692         * math/s_clogl.c (__clogl): Likewise.
20693         * math/libm-test.inc (clog_test): Add more tests.
20694         (clog10_test): Likewise.
20695         * sysdeps/i386/fpu/libm-test-ulps: Update.
20696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20698 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
20700         [BZ #14283]
20701         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20702         by 7 not 8 to examine high bit of fractional part.
20704         [BZ #14042]
20705         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20706         for call to __mcount_internal.
20707         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20708         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20709         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20711 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
20713         [BZ #14154]
20714         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20715         approximation for values within 0x1p-13f of an odd multiple of
20716         pi/4.
20717         * math/libm-test.inc (tan_test): Do not allow spurious underflow
20718         exception.  Add more tests.
20719         * sysdeps/i386/fpu/libm-test-ulps: Update.
20721         [BZ #6778]
20722         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20723         inputs and return -1 for them.  Do not check for +Inf in case not
20724         reachable for +Inf.
20725         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20726         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20727         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20728         and return -1 for them.  Do not check for +Inf in case not
20729         reachable for +Inf.
20730         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20731         define.
20732         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20733         and return -1 for them.  Do not check for +Inf in case not
20734         reachable for +Inf.
20735         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20736         spurious underflow.
20737         * sysdeps/i386/fpu/libm-test-ulps: Update.
20738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20740 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20742         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20744 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20746         [BZ #14157]
20747         [BZ #14331]
20748         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20749         could result in spurious underflow.  Scale down values above
20750         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20751         * math/s_csqrtf.c (__csqrtf): Likewise.
20752         * math/s_csqrtl.c (__csqrtl): Likewise.
20753         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20754         spurious underflow.
20755         * sysdeps/i386/fpu/libm-test-ulps: Update.
20756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20758 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20760         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20761         xopen-msg.sed.
20762         * catgets/xopen-msg.awk: New file.
20763         * catgets/xopen-msg.sed: Removed.
20765         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20766         po2text.sed.
20767         * intl/po2test.awk: New file.
20768         * intl/po2test.sed: Removed.
20770 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20772         [BZ #14328]
20773         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20774         or multiply small sinh result by itself.
20775         * math/s_ctanf.c (__ctanf): Likewise.
20776         * math/s_ctanh.c (__ctanh): Likewise.
20777         * math/s_ctanhf.c (__ctanhf): Likewise.
20778         * math/s_ctanhl.c (__ctanhl): Likewise.
20779         * math/s_ctanl.c (__ctanl): Likewise.
20780         * math/libm-test.inc (ctan_test_tonearest): New function.
20781         (ctan_test_towardzero): Likewise.
20782         (ctan_test_downward): Likewise.
20783         (ctan_test_upward): Likewise.
20784         (ctanh_test_tonearest): Likewise.
20785         (ctanh_test_towardzero): Likewise.
20786         (ctanh_test_downward): Likewise.
20787         (ctanh_test_upward): Likewise.
20788         (main): Call these new functions.
20789         * sysdeps/i386/fpu/libm-test-ulps: Update.
20790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20792 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20794         * .gitignore: Delete /ports entry.
20796 2012-07-03  Andreas Jaeger  <aj@suse.de>
20798         * po/bg.po: Update from translation team.
20799         * po/cs.po: Likewise.
20800         * po/de.po: Likewise.
20801         * po/hr.po: Likewise.
20802         * po/nl.pl: Likewise.
20803         * po/pl.po: Likewise.
20804         * po/vi.po: Likewise.
20806 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20808         * Makeconfig [!+link] (+link-before-libc): New variable.
20809         [!+link] (+link-after-libc): Likewise.
20810         [!+link] (+link-tests): Likewise.
20811         [!+link] (+link): Define in terms of $(+link-before-libc) and
20812         $(+link-after-libc).
20813         [!+link-static] (+link-static-before-libc): New variable.
20814         [!+link-static] (+link-static-after-libc): Likewise.
20815         [!+link-static] (+link-static-tests): Likewise.
20816         [!+link-static] (+link-static): Define in terms of
20817         $(+link-static-before-libc) and $(+link-static-after-libc).
20818         [build-shared] (link-libc-before-gnulib): New variable.
20819         [build-shared] (link-libc-tests): Likewise.
20820         [build-shared] (link-libc): Define in terms of
20821         $(link-libc-before-gnulib).
20822         [!build-shared] (link-libc-tests): New variable.
20823         (link-libc-static-tests): New variable.
20824         [!gnulib] (gnulib-arch): New variable.
20825         [!gnulib] (gnulib-tests): Likewise.
20826         [!gnulib] (static-gnulib-arch): Likewise.
20827         [!gnulib] (static-gnulib-tests): Likewise.
20828         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20829         Define with "=" instead of ":=".
20830         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20831         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20832         * Rules (binaries-all-notests): New variable.
20833         (binaries-all-tests): Likewise.
20834         (binaries-static-notests): Likewise.
20835         (binaries-static-tests): Likewise.
20836         (binaries-all): Define using $(binaries-all-notests) and
20837         $(binaries-all-tests).
20838         (binaries-static): Define using $(binaries-static-notests) and
20839         $(binaries-static-tests).
20840         (binaries-shared-tests): New variable.
20841         (binaries-shared-notests): Likewise.
20842         (binaries-shared): Remove variable.
20843         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20844         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20845         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20846         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20847         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20848         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20849         * elf/Makefile (sln-modules): New variable.
20850         (extra-objs): Add $(sln-modules:=.o).
20851         (ldconfig-modules): Add static-stubs.
20852         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20853         * elf/static-stubs.c: New file.
20855         [BZ #14283]
20856         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20857         by 7 not 8 to examine high bit of fractional part.  Use volatile
20858         variables when splitting into final array of floats if
20859         __FLT_EVAL_METHOD__ != 0.
20860         * math/libm-test.inc (cos_test): Add another test.
20861         (sin_test): Likewise.
20862         * sysdeps/i386/fpu/libm-test-ulps: Update.
20864         [BZ #14273]
20865         * math/libm-test.inc (cosh_test): Add more tests.
20867         * version.h (RELEASE): Set to "development".
20868         (VERSION): Set to "2.16.90".
20870 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20872         * NEWS: Update copyright. Remove last-updated date.
20873         Mention math library bug fixes and timezone data changes.
20874         * README: Mention GNU/Hurd, x32, and HPPA support status.
20876 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20878         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20880 2012-06-27  Andreas Jaeger  <aj@suse.de>
20882         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20884 2012-06-25  Andreas Jaeger  <aj@suse.de>
20886         * sysdeps/s390/fpu/libm-test-ulps: Update.
20888 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20889             Thomas Schwinge  <thomas@codesourcery.com>
20891         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20892         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20893         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20894         fanotify_mark.
20896 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20898         * sysdeps/mach/start.c: Remove file.
20899         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20900         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20901         * sysdeps/sh/init-first.c: Likewise.
20903         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20904         registers for frame unwinding purposes, add CFI directives.
20905         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20906         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20907         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20908         Likewise.
20910         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20911         __fortify_fail returning.
20912         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20914         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20915         sysdeps/sh/____longjmp_chk.S.
20916         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20917         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20918         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20919         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20921         * sysdeps/sh/abort-instr.h: New file.
20922         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20923         process in case exit returns.
20925         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20926         initialize the GOT register before use.
20928         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20929         calculation of ARGC > 4.
20931         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20932         meaningful names to some local labels.
20934 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20935             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20937         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20938         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20939         (__arch_compare_and_exchange_val_16_acq): Likewise.
20940         (__arch_compare_and_exchange_val_32_acq): Likewise.
20941         (atomic_exchange_and_add): Fix gUSA sequence.
20942         (atomic_add): Likewise.
20943         (atomic_add_negative): Likewise.
20944         (atomic_add_zero): Likewise.
20945         (atomic_bit_test_set): Likewise.
20947 2012-06-22  Andreas Schwab  <schwab@redhat.com>
20949         [BZ #13579]
20950         * include/link.h (struct link_map): Add l_free_initfini.
20951         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20952         l_initfini.
20953         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20954         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20955         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20956         set.
20958 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
20960         * configure.in: Use AC_LANG_SOURCE.
20961         * configure: Regenerate.
20963 2012-06-22  Roland McGrath  <roland@hack.frob.com>
20965         * configure.in (libc_cv_localstatedir): New substituted variable.
20966         * configure: Regenerated.
20967         * config.make.in (localstatedir): New variable, substituted from
20968         libc_cv_localstatedir.
20969         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20970         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20971         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20972         * sysdeps/gnu/configure: Regenerated.
20974 2012-06-21  Jeff Law  <law@redhat.com>
20976         [BZ #14277]
20977         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20978         free.  Simplify list management for _LIBC case.
20980 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20982         [BZ #14273]
20983         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20984         Clear sign bit of 64-bit integer value before comparing against
20985         overflow value.
20987         * sysdeps/mach/configure: Regenerated.
20989 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
20991         [BZ #14278]
20992         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20994 2012-06-21  Jeff Law  <law@redhat.com>
20996         [BZ #13882]
20997         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
20998         uint16_t for elements in the "seen" array to avoid char overflows.
20999         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21000         * elf/dl-open.c (dl_open_worker): Likewise.
21002 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21004         * scripts/list-sources.sh: Scan PORTS for translations.
21005         * po/libc.pot: Regenerated.
21007 2012-06-21  Andreas Jaeger  <aj@suse.de>
21009         [BZ #12194]
21010         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21011         warning.
21012         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21013         * bits/byteswap-16.h (__bswap_16): Likewise.
21014         * bits/byteswap.h (__bswap_constant_16): Likewise.
21016 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21018         [BZ #14117]
21019         * sysdeps/i386/fpu_control.h: Removed.
21020         * sysdeps/x86_64/fpu_control.h: Moved to ...
21021         * sysdeps/x86/fpu_control.h: Here.
21023         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21024         (_FPU_SETCW): Likewise.
21026 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21028         [BZ #14117]
21029         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21030         * sysdeps/x86/fpu/bits/mathinline.h: This.
21031         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21033         [BZ #14050]
21034         [BZ #14117]
21035         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21036         functions if __x86_64__ is defined.
21038 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21040         * string/endian.h: Add !__ASSEMBLER__ condition for including
21041         conversion interfaces.
21043 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21045         [BZ #14241]
21046         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21047         of ABS(x) in calculating zero to negative powers other than odd
21048         integers.
21049         * math/libm-test.inc (pow_test): Add more tests.
21051 2012-06-15  Andreas Jaeger  <aj@suse.de>
21053         * manual/contrib.texi (Contributors): Update entry of Liubov
21054         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21055         Machado Filho.
21057 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21059         * string/string.h: Add __wur to GNU version of strerror_r.
21061 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21063         [BZ #14229]
21064         * string/Makefile (tests): Add tst-strtok_r.
21065         * string/tst-strtok_r.c: New file.
21066         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21067         RAX_LP/RDX_LP on SAVE_PTR.
21069 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21071         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21073 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21075         * libm_test.inc (csqrt_test): Allow more spurious underflow
21076         exceptions.
21077         (j0_test): Likewise.
21078         (j1_test): Likewise.
21079         (y0_test): Likewise.
21080         (y1_test): Likewise.
21082 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21084         * po/Makefile (libc.pot): Use UTF-8 charset.
21086 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21088         [BZ #14210]
21089         Suppress sign-conversion warning from FD_SET.
21090         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21091         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21092         not unsigned long int.
21093         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21095 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21097         [BZ #14050]
21098         [BZ #14117]
21099         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21100         __extern_always_inline instead of __extern_inline.
21101         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21102         (__signbit): Likewise.
21103         (__signbitl): Support C++ namespace.
21104         (lrintf): New inline function.
21105         (lrint): Likewise.
21106         (llrintf): Likewise.
21107         (llrint): Likewise.
21108         (fmaxf): Likewise.
21109         (fmax): Likewise.
21110         (fminf): Likewise.
21111         (fmin): Likewise.
21112         (rint): Likewise.
21113         (rintf): Likewise.
21114         (ceil): Likewise.
21115         (ceilf): Likewise.
21116         (floor): Likewise.
21117         (floorf): Likewise.
21118         (nearbyint): Likewise.
21119         (nearbyintf): Likewise.
21121 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21123         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21124         non-default versions.
21126 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21128         [BZ #14218]
21129         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21131 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21133         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21134         (FE_UPWARD, FE_DOWNWARD): Don't define.
21135         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21136         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21138         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21139         reading it.
21140         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21141         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21143 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21145         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21146         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21147         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21148         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21150 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21152         [BZ #14117]
21153         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21154         * sysdeps/i386/fpu/Implies: New file.
21155         * sysdeps/x86_64/fpu/Implies: Likewise.
21156         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21157         * sysdeps/x86/fpu/bits/fenv.h: This.
21159         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21160         __SSE_MATH__.
21162 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21164         [BZ #14134]
21165         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21166         character 0xffff that matches the last element of the
21167         conversion table.
21169 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21171         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21172         fmodl commit.
21174 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21176         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21177         values higher than 25.6283.
21179 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21181         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21182         subnormal exponent extraction and add some __builtin_expect.
21183         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21184         Fix for subnormal mantissa calculation.
21186 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21188         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21189         cpu2 is -1 and errno is not ENOSYS.
21191 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21193         [BZ #14117]
21194         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21195         * sysdeps/x86/bits/string.h: This.
21196         * sysdeps/x86_64/bits/string.h: Removed.
21198         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21199         if not compiling for x86-64, but compiling for >= i486.
21201         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21202         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21204         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21205         New macro from Linux kernel 3.4.0.
21206         (FP_XSTATE_MAGIC2): Likewise.
21207         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21208         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21209         (struct _fpx_sw_bytes): New struct.
21210         (struct _xsave_hdr): Likewise.
21211         (struct _ymmh_state): Likewise.
21212         (struct _xstate): Likewise.
21214         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21215         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21216         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21217         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21218         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21219         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21221         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21222         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21223         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21224         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21225         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21226         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21228 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21230         [BZ #13743]
21231         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21232         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21233         (sysdep_headers): Include sys/platform/ppc.h.
21234         * sysdeps/powerpc/test-gettimebase.c: Test for
21235         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21236         * manual/Makefile (appendices): Include platform.texi.
21237         * manual/contrib.texi (Contributors): Update @node pointers.
21238         * manual/maint.texi (Maintenance): Likewise.
21239         (Platform): New node.
21240         * manual/platform.texi: New file.  Document the new features.
21242 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21243             Jakub Jelinek  <jakub@redhat.com>
21245         [BZ #14188]
21246         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21247         where __builtin_expect is unavailable.
21249 2012-06-03  David S. Miller  <davem@davemloft.net>
21251         * stdlib/longlong.h: Updated from GCC.
21253 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21255         [BZ #14042]
21256         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21257         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21258         __mcount_internal.
21259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21260         (GLIBC_2.16): Likewise.
21262 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21264         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21266 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21269         (default-abi): New variable.
21270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21271         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21272         variable.
21273         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21274         Likewise.
21275         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21276         Likewise.
21277         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21278         Likewise.
21280         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21281         definition.  Document in comment.
21283 2012-06-01  David S. Miller  <davem@davemloft.net>
21285         * stdlib/longlong.h: Updated from GCC.
21287 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21289         [BZ #14117]
21290         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21291         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21292         sys/debugreg.h sys/io.h here.
21293         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21294         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21295         sys/io.h.
21296         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21297         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21298         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21299         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21300         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21301         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21303         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21304         Define only if __x86_64__ is defined.
21306 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21308         [BZ #14048]
21309         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21310         Use int64_t for variable i.
21311         * math/libm-test.inc (fmod_test): Add more tests.
21313         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21314         z computation is not scheduled after fetestexcept.
21315         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21316         Use math_force_eval instead of asm to ensure calculation scheduled
21317         before exception test.
21318         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21319         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21321 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21324         computation is not scheduled after fetestexcept.
21326 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21328         [BZ #14117]
21329         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21330         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21332 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21334         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21335         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21337 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21339         [BZ #14117]
21340         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21341         <bits/wordsize.h>.
21342         (__WCHAR_MIN): Support __WORDSIZE == 64.
21343         (__WCHAR_MAX): Likewise.
21345         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21346         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21348         [BZ #14183]
21349         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21350         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21352         [BZ #14117]
21353         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21354         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21356         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21357         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21359         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21360         Defined to 1 if __x86_64__ isn't defined.
21361         (_STAT_VER_LINUX_OLD): New.
21362         (st_atime): Remove duplicate.
21363         (st_mtime): Likewise.
21364         (st_ctime): Likewise.
21366 2012-05-31  David S. Miller  <davem@davemloft.net>
21368         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21369         entries.
21371 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21373         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21374         gen-libm-test.pl.
21376         [BZ #14132]
21377         * elf/dl-reloc.c: Include <_itoa.h>.
21378         (_dl_reloc_bad_type): Remove use of INTUSE.
21379         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21380         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21381         * stdio-common/psiginfo.c (psiginfo): Likewise.
21382         * stdio-common/psignal.c (psignal): Likewise.
21383         * string/strsignal.c (strsignal): Likewise.
21384         * include/signal.h (_sys_siglist): Declare hidden proto.
21385         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21386         INTVARDEF with libc_hidden_data_def.
21387         * stdio-common/itoa-udigits.c: Likewise.
21388         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21389         (_itoa_lower_digits_internal): Remove declaration.
21390         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21391         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21392         (_sys_sigabbrev_internal): Remove aliases.
21393         (_sys_siglist): Define hidden alias.
21395 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21398         bits/sysctl.h.
21400 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21402         [BZ #14117]
21403         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21404         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21406         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21407         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21408         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21409         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21410         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21411         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21413         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21414         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21415         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21417         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21418         with __addr.
21419         (insw): Likewise.
21420         (insl): Likewise.
21421         (outsb): Likewise.
21422         (outsw): Likewise.
21423         (outsl): Likewise.
21425         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21426         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21427         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21429         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21430         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21431         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21432         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21433         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21434         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21436         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21437         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21439         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21440         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21442         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21443         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21444         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21446         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21447         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21448         to ...
21449         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21451         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21452         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21453         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21455         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21456         for x86-64.
21457         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21459 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21461         * math/math.h (M_El): Use two more decimal places.
21462         (M_LOG2El): Likewise.
21463         (M_LOG10El): Likewise.
21464         (M_LN2l): Likewise.
21465         (M_LN10l): Likewise.
21466         (M_PIl): Likewise.
21467         (M_PI_2l): Likewise.
21468         (M_PI_4l): Likewise.
21469         (M_1_PIl): Likewise.
21470         (M_2_PIl): Likewise.
21471         (M_2_SQRTPIl): Likewise.
21472         (M_SQRT2l): Likewise.
21473         (M_SQRT1_2l): Likewise.
21475 2012-05-31  David S. Miller  <davem@davemloft.net>
21477         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21478         values between float registers.
21479         * sysdeps/sparc/sparc64/memset.S: Likewise.
21480         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21482 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21484         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21485         -D_FORTIFY_SOURCE=1.
21486         (CPPFLAGS-tst-longjmp_chk.c): Define.
21487         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21488         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21489         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21490         CFLAGS-tst-wchar-h.c.
21492 2012-05-31  Marek Polacek  <polacek@redhat.com>
21494         [BZ #14132]
21495         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21496         __endmntent_internal): Remove declaration.
21497         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21498         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21499         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21501 2012-05-30  David S. Miller  <davem@davemloft.net>
21503         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21504         (___Q_simulate_exceptions): Use real FP ops rather than writing
21505         into the %fsr.
21506         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21507         Likewise.
21509 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21511         [BZ #14117]
21512         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21513         * sysdeps/x86/bits/xtitypes.h: This.
21515         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21516         * sysdeps/x86/bits/wordsize.h: This.
21518         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21519         * sysdeps/x86/bits/huge_vall.h: This.
21521         * sysdeps/i386/bits/select.h: Removed.
21522         * sysdeps/x86_64/bits/select.h: Renamed to ...
21523         * sysdeps/x86/bits/select.h: This.
21525         * sysdeps/i386/bits/setjmp.h: Removed.
21526         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21527         * sysdeps/x86/bits/setjmp.h: This.
21529         * sysdeps/i386/bits/mathdef.h: Removed.
21530         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21531         * sysdeps/x86/bits/mathdef.h: This.
21533 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
21535         [BZ #14132]
21536         * include/sys/socket.h (__connect_internal)
21537         (__libc_sa_len_internal): Remove declaration.
21538         (__connect, __libc_sa_len): Declare hidden_proto.
21539         (SA_LEN): Remove use of INTUSE.
21540         * socket/connect.c: Add libc_hidden_def.
21541         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21542         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21543         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21544         alias.
21545         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21546         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21547         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21548         of adding _internal alias.
21550 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21552         [BZ #14117]
21553         * sysdeps/i386/bits/link.h: Removed.
21554         * sysdeps/i386/bits/linkmap.h: Likewise.
21555         * sysdeps/x86_64/bits/link.h: Renamed to ...
21556         * sysdeps/x86/bits/link.h: This.
21557         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21558         * sysdeps/x86/bits/linkmap.h: This.
21560         * sysdeps/i386/bits/endian.h: Removed.
21561         * sysdeps/x86_64/bits/endian.h: Renamed to ...
21562         * sysdeps/x86/bits/endian.h: This.
21564         * sysdeps/i386/bits/byteswap.h: Removed.
21565         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21566         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21567         * sysdeps/x86/bits/byteswap.h: This.
21568         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21569         * sysdeps/x86/bits/byteswap-16.h: This.
21570         * sysdeps/i386/Implies: Add x86.
21571         * sysdeps/x86_64/Implies: Likewise.
21573 2012-05-30  David S. Miller  <davem@davemloft.net>
21575         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21576         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21577         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21578         (FP_TRAPPING_EXCEPTIONS): Define.
21579         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21580         (FP_TRAPPING_EXCEPTIONS): Define.
21581         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21582         subnormals only when inexact has been signalled or underflow
21583         exceptions are enabled.
21584         (_FP_PACK_CANONICAL): Likewise.
21586 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21588         [BZ #14183]
21589         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21590         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21592 2012-05-30  Richard Henderson  <rth@twiddle.net>
21594         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21595         with #ifndef NOT_IN_libc.
21597         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
21598         marked to avoid plt entry.
21600 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21602         [BZ #14112]
21603         * Makeconfig (default-abi): New macro.
21604         (abi-includes): Likewise.
21605         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
21606         $(abi-$(default-abi)-lib-soname) for soname if defined.
21607         ($(common-objpfx)gnu/lib-names.stmp): Generate from
21608         abi-variants.
21609         * Makefile (installed-stubs): Likewise.
21610         * include/stubs-biarch.h: Removed.
21611         * scripts/lib-names.awk: Only handle one library at a time.
21612         * scripts/soversions.awk: Remove WORDSIZE support.
21613         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21614         entries.
21615         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21616         Removed.
21617         (syscall-list-default-condition): Likewise.
21618         (syscall-list-default-condition): Likewise.
21619         (syscall-list-includes): Likewise.
21620         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21621         syscall-list-* with abi-*.  Handle undefined abi-variants.
21622         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21623         * sysdeps/unix/sysv/linux/i386/Implies: New file.
21624         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21625         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21626         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21627         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21628         Removed.
21629         (syscall-list-32-options): Likewise.
21630         (syscall-list-32-condition): Likewise.
21631         (syscall-list-64-options): Likewise.
21632         (syscall-list-64-condition): Likewise.
21633         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21634         macro.
21635         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21636         Renamed to ...
21637         (abi-*): This.
21638         (abi-64-ld-soname): New macro.
21639         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21640         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21641         Renamed to ...
21642         (abi-*): This.
21643         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21644         * sysdeps/x86_64/x32/shlib-versions: Likewise.
21646 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
21648         * sysdeps/unix/sysv/linux/kernel-features.h
21649         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21650         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21651         include <kernel-features.h>.
21652         [!__NR_ftruncate64]: Remove conditional code.
21653         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21654         [__NR_ftruncate64]: Make code unconditional.
21655         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21656         * sysdeps/unix/sysv/linux/truncate64.c: Do not
21657         include <kernel-features.h>.
21658         [!__NR_ftruncate64]: Remove conditional code.
21659         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21660         [__NR_ftruncate64]: Make code unconditional.
21661         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21663         include <kernel-features.h>.
21664         [!__NR_ftruncate64]: Remove conditional code.
21665         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21666         [__NR_ftruncate64]: Make code unconditional.
21667         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21669         include <kernel-features.h>.
21670         [!__NR_ftruncate64]: Remove conditional code.
21671         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21672         [__NR_ftruncate64]: Make code unconditional.
21673         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21675         * configure.in (libc_cv_fpie): Weaken to a compile test using
21676         LIBC_TRY_CC_OPTION.
21677         * configure: Regenerated.
21679 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21685         Refreshed.
21686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21692         Refreshed.
21694 2012-05-27  David S. Miller  <davem@davemloft.net>
21696         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21697         (___Q_zero): New.
21698         (__Q_simulate_exceptions): Return void.  Change to simulate
21699         exceptions by writing into the %fsr.
21700         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21701         (__Qp_handle_exceptions): Likewise.
21702         (numbers): Delete.
21703         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21704         __Qp_handle_exceptions.
21705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21706         __Qp_handle_exceptions.
21707         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21708         as unused and give dummy FP_RND_NEAREST initializer.
21709         (FP_INHIBIT_RESULTS): Define.
21710         (___Q_simulate_exceptions): Update declaration.
21711         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21712         formatting.
21713         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21714         as unused and give dummy FP_RND_NEAREST initializer.
21715         (__Qp_handle_exceptions): Update declaration.
21716         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21717         formatting.
21719 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
21721         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21722         the temporary FPU control word.
21723         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21724         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21725         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21726         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21727         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21728         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21729         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21730         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21731         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21732         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21733         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21735 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21737         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21738         fields.
21740 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21742         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21743         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21744         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21745         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21746         Likewise.
21747         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21748         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21749         Likewise.
21751 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21753         * po/h.po: Update from translation team.
21755 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21757         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21759         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21760         handling of denormals.
21761         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21762         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21763         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21764         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21765         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21767         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21768         Likewise.
21770 2012-05-26  Marek Polacek  <polacek@redhat.com>
21772         [BZ #14152]
21773         * math/libm-test.inc (fma_test): Don't always expect underflow
21774         exception.
21776 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21778         [BZ #12416]
21779         * elf/tst-execstack.c: Include stackinfo.h.
21780         (do_test): Adjust test case to ensure that pthread_getattr_np
21781         behaviour remains the same after marking stack executable.
21783 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21785         * sysdeps/unix/sysv/linux/kernel-features.h
21786         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21787         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21788         kernel-features.h.
21789         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21790         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21791         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21792         kernel-features.h.
21793         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21794         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21796 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21798         * configure.in: Define the default includes to being none.
21799         * configure: Regenerated.
21801 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21803         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21804         * sysdeps/x86_64/setjmp.S: Likewise.
21805         * sysdeps/i386/bsd-setjmp.S: Likewise.
21806         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21807         * sysdeps/i386/setjmp.S: Likewise.
21808         * sysdeps/i386/__longjmp.S: Likewise.
21809         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21810         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21812         * include/stap-probe.h: New file.
21813         * configure.in: Handle --enable-systemtap.
21814         * configure: Regenerated.
21815         * config.h.in (USE_STAP_PROBE): New #undef.
21816         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21817         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21818         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21820 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21822         [BZ #13717]
21823         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21824         to 2.4.0 where earlier.
21825         * sysdeps/unix/sysv/linux/configure: Regenerated.
21826         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21827         <kernel-features.h>.
21828         [__ASSUME_32BITUIDS]: Make code unconditional.
21829         [!__ASSUME_32BITUIDS]: Remove conditional code.
21830         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21831         <kernel-features.h>.
21832         [__ASSUME_32BITUIDS]: Make code unconditional.
21833         [!__ASSUME_32BITUIDS]: Remove conditional code.
21834         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21835         [__ASSUME_32BITUIDS]: Make code unconditional.
21836         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21837         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21838         <kernel-features.h>.
21839         [__ASSUME_32BITUIDS]: Make code unconditional.
21840         [!__ASSUME_32BITUIDS]: Remove conditional code.
21841         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21842         <kernel-features.h>.
21843         [__ASSUME_32BITUIDS]: Make code unconditional.
21844         [!__ASSUME_32BITUIDS]: Remove conditional code.
21845         * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
21878         <kernel-features.h>.
21879         [__NR_setresgid] (__setresgid): Do not declare.
21880         [__ASSUME_32BITUIDS]: Make code unconditional.
21881         [!__ASSUME_32BITUIDS]: Remove conditional code.
21882         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21883         <kernel-features.h>.
21884         [__NR_setresuid] (__setresuid): Do not declare.
21885         [__ASSUME_32BITUIDS]: Make code unconditional.
21886         [!__ASSUME_32BITUIDS]: Remove conditional code.
21887         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21888         <kernel-features.h>.
21889         [__ASSUME_32BITUIDS]: Make code unconditional.
21890         [!__ASSUME_32BITUIDS]: Remove conditional code.
21891         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21892         <kernel-features.h>.
21893         [__ASSUME_32BITUIDS]: Make code unconditional.
21894         [!__ASSUME_32BITUIDS]: Remove conditional code.
21895         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21896         <kernel-features.h>.
21897         [__ASSUME_32BITUIDS]: Make code unconditional.
21898         [!__ASSUME_32BITUIDS]: Remove conditional code.
21899         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21900         <kernel-features.h>.
21901         [__ASSUME_32BITUIDS]: Make code unconditional.
21902         [!__ASSUME_32BITUIDS]: Remove conditional code.
21903         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21904         <kernel-features.h>.
21905         [__ASSUME_32BITUIDS]: Make code unconditional.
21906         [!__ASSUME_32BITUIDS]: Remove conditional code.
21907         * sysdeps/unix/sysv/linux/i386/setresgid.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/i386/setresuid.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/i386/setreuid.c: Do not include
21916         <kernel-features.h>.
21917         [__ASSUME_32BITUIDS]: Make code unconditional.
21918         [!__ASSUME_32BITUIDS]: Remove conditional code.
21919         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21920         <kernel-features.h>.
21921         [__ASSUME_32BITUIDS]: Make code unconditional.
21922         [!__ASSUME_32BITUIDS]: Remove conditional code.
21923         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21924         <kernel-features.h>.
21925         [__ASSUME_32BITUIDS]: Make code unconditional.
21926         [!__ASSUME_32BITUIDS]: Remove conditional code.
21927         * sysdeps/unix/sysv/linux/kernel-features.h
21928         (__ASSUME_SETRESUID_SYSCALL): Remove.
21929         (__ASSUME_SETRESGID_SYSCALL): Likewise.
21930         (__ASSUME_32BITUIDS): Likewise.
21931         (__ASSUME_LDT_WORKS): Likewise.
21932         (__ASSUME_O_DIRECTORY): Likewise.
21933         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21934         architecture but not kernel version.
21935         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21936         (__ASSUME_MMAP2_SYSCALL): Likewise.
21937         (__ASSUME_STAT64_SYSCALL): Likewise.
21938         (__ASSUME_IPC64): Likewise.
21939         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21940         <kernel-features.h>.
21941         [__ASSUME_32BITUIDS]: Make code unconditional.
21942         [!__ASSUME_32BITUIDS]: Remove conditional code.
21943         * sysdeps/unix/sysv/linux/opendir.c: Do not include
21944         <kernel-features.h>.
21945         [__ASSUME_O_DIRECTORY]: Make code unconditional.
21946         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21947         132096]: Remove conditional code.
21948         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21949         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21950         <kernel-features.h>.
21951         [__ASSUME_32BITUIDS]: Make code unconditional.
21952         [!__ASSUME_32BITUIDS]: Remove conditional code.
21953         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21954         <kernel-features.h>.
21955         [__ASSUME_32BITUIDS]: Make code unconditional.
21956         [!__ASSUME_32BITUIDS]: Remove conditional code.
21957         * sysdeps/unix/sysv/linux/setegid.c: Do not include
21958         <kernel-features.h>.
21959         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21960         unconditional.
21961         (__setresgid): Do not declare.
21962         [__ASSUME_32BITUIDS]: Make code unconditional.
21963         [!__ASSUME_32BITUIDS]: Remove conditional code.
21964         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21965         <kernel-features.h>.
21966         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21967         unconditional.
21968         (__setresuid): Do not declare.
21969         [__ASSUME_32BITUIDS]: Make code unconditional.
21970         [!__ASSUME_32BITUIDS]: Remove conditional code.
21971         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21972         <kernel-features.h>.
21973         [__ASSUME_32BITUIDS]: Make code unconditional.
21974         [!__ASSUME_32BITUIDS]: Remove conditional code.
21975         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21976         <kernel-features.h>.
21977         [__ASSUME_32BITUIDS]: Make code unconditional.
21978         [!__ASSUME_32BITUIDS]: Remove conditional code.
21980 2012-05-25  Richard Henderson  <rth@twiddle.net>
21982         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21983         dl_hwcap to ifunc resolver.
21984         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21985         elf_ifunc_invoke.
21986         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21987         dl_hwcap to ifunc resolver.
21988         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21990 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21992         [BZ #14153]
21993         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21994         for |x| <= 2**-26, not 2**-57.
21995         * math/libm-test.inc (acos_test): Do not allow spurious underflow
21996         exception.
21998 2012-05-24  Jeff Law  <law@redhat.com>
22000         * stdio-common/Makefile (tests): Add bug25.
22001         * stdio-common/bug25.c: New test.
22003 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22005         [BZ #13576]
22006         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22007         multiple of MALLOC_ALIGNMENT in size.
22008         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22010 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22012         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22013         Require >= 256.
22014         (FILENAME_MAX): Use macro-int-constant.
22015         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22016         (_IOFBF): Use macro-int-constant.
22017         (_IOLBF): Likewise.
22018         (_IONBF): Likewise.
22019         (SEEK_CUR): Likewise.
22020         (SEEK_END): Likewise.
22021         (SEEK_SET): Likewise.
22022         (TMP_MAX): Likewise.
22023         (EOF): Use macro-int-constant.  Require < 0.
22024         (NULL): Use macro-constant.  Require == 0.
22025         (stdin): Require type to be FILE *.
22026         (stdout): Likewise.
22027         (stderr): Likewise.
22028         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22029         macro-int-constant.
22030         (EXIT_SUCCESS): Likewise.
22031         (NULL): Use macro-constant.  Require == 0.
22032         (RAND_MAX): Use macro-int-constant.
22033         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22034         [C99-based standards] (strtof): Require function.
22035         [C99-based standards] (strtold): Likewise.
22036         [C99-based standards] (strtoll): Likewise.
22037         [C99-based standards] (strtoull): Likewise.
22038         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22039         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22040         [ISO || ISO99 || ISO11] (math.h): Likewise.
22041         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22042         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22043         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22045 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22047         [BZ #14132]
22048         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22049         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22050         * intl/dgettext.c (DCGETTEXT): Likewise.
22051         * intl/gettext.c (DCGETTEXT): Likewise.
22052         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22053         * posix/regex_internal.h (gettext): Likewise.
22054         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22055         Remove declaration.
22056         * include/argz.h (__argz_count_internal)
22057         (__argz_stringify_internal): Remove declaration.
22058         (__argz_count, __argz_stringify): Declare hidden proto.
22059         * intl/dcgettext.c: Remove use of INTDEF.
22060         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22061         * string/argz-stringify.c: Likewise.
22062         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22063         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22064         Declare hidden proto.
22065         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22066         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22067         Declare hidden proto.
22068         * include/stdio.h (__asprintf_internal): Don't declare.
22069         (__asprintf): Don't define as macro.  Declare hidden proto.
22070         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22071         (__fsetlocking): Declare hidden proto.
22072         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22073         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22074         hidden proto.
22075         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22076         (_IO_setlinebuf): Remove use of INTUSE.
22077         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22078         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22079         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22080         Remove declaration.
22081         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22082         (_IO_do_flush): Remove use of INTUSE.
22083         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22084         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22085         (_IO_adjust_column, _IO_least_wmarker)
22086         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22087         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22088         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22089         (_IO_default_doallocate, _IO_wdefault_doallocate)
22090         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22091         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22092         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22093         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22094         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22095         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22096         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22097         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22098         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22099         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22100         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22101         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22102         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22103         proto.
22104         (_IO_flush_all_internal, _IO_adjust_column_internal)
22105         (_IO_default_uflow_internal, _IO_default_finish_internal)
22106         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22107         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22108         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22109         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22110         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22111         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22112         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22113         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22114         (_IO_file_close_internal, _IO_file_close_it_internal)
22115         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22116         (_IO_file_init_internal, _IO_file_attach_internal)
22117         (_IO_file_fopen_internal, _IO_file_read_internal)
22118         (_IO_file_sync_internal, _IO_file_seek_internal)
22119         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22120         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22121         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22122         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22123         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22124         (_IO_list_all_internal, _IO_link_in_internal)
22125         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22126         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22127         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22128         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22129         (_IO_do_write_internal, _IO_padn_internal)
22130         (_IO_getline_info_internal, _IO_getline_internal)
22131         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22132         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22133         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22134         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22135         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22136         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22137         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22138         with libc_hidden_ver, remove use of INTUSE.
22139         * libio/genops.c: Likewise.
22140         * libio/freopen.c: Likewise.
22141         * libio/freopen64.c: Likewise.
22142         * libio/iofclose.c: Likewise.
22143         * libio/iofdopen.c: Likewise.
22144         * libio/iofflush.c: Likewise.
22145         * libio/iofflush_u.c: Likewise.
22146         * libio/iofgets.c: Likewise.
22147         * libio/iofgets_u.c: Likewise.
22148         * libio/iofopen.c: Likewise.
22149         * libio/iofopncook.c: Likewise.
22150         * libio/iofread.c: Likewise.
22151         * libio/iofread_u.c: Likewise.
22152         * libio/ioftell.c: Likewise.
22153         * libio/iofwrite.c: Likewise.
22154         * libio/iogetline.c: Likewise.
22155         * libio/iogets.c: Likewise.
22156         * libio/iogetwline.c: Likewise.
22157         * libio/iopadn.c: Likewise.
22158         * libio/iopopen.c: Likewise.
22159         * libio/ioseekoff.c: Likewise.
22160         * libio/ioseekpos.c: Likewise.
22161         * libio/iosetbuffer.c: Likewise.
22162         * libio/iosetvbuf.c: Likewise.
22163         * libio/ioungetc.c: Likewise.
22164         * libio/ioungetwc.c: Likewise.
22165         * libio/iovdprintf.c: Likewise.
22166         * libio/iovsprintf.c: Likewise.
22167         * libio/iovsscanf.c: Likewise.
22168         * libio/memstream.c: Likewise.
22169         * libio/obprintf.c: Likewise.
22170         * libio/oldfileops.c: Likewise.
22171         * libio/oldiofclose.c: Likewise.
22172         * libio/oldiofdopen.c: Likewise.
22173         * libio/oldiofopen.c: Likewise.
22174         * libio/oldiopopen.c: Likewise.
22175         * libio/oldstdfiles.c: Likewise.
22176         * libio/putc.c: Likewise.
22177         * libio/setbuf.c: Likewise.
22178         * libio/setlinebuf.c: Likewise.
22179         * libio/stdfiles.c: Likewise.
22180         * libio/strops.c: Likewise.
22181         * libio/vasprintf.c: Likewise.
22182         * libio/vscanf.c: Likewise.
22183         * libio/vsnprintf.c: Likewise.
22184         * libio/vswprintf.c: Likewise.
22185         * libio/wfiledoalloc.c: Likewise.
22186         * libio/wfileops.c: Likewise.
22187         * libio/wgenops.c: Likewise.
22188         * libio/wmemstream.c: Likewise.
22189         * libio/wstrops.c: Likewise.
22190         * libio/__fpurge.c: Likewise.
22191         * libio/__fsetlocking.c: Likewise.
22192         * assert/assert.c: Likewise.
22193         * debug/fgets_chk.c: Likewise.
22194         * debug/fgets_u_chk.c: Likewise.
22195         * debug/fread_chk.c: Likewise.
22196         * debug/fread_u_chk.c: Likewise.
22197         * debug/gets_chk.c: Likewise.
22198         * debug/obprintf_chk.c: Likewise.
22199         * debug/vasprintf_chk.c: Likewise.
22200         * debug/vdprintf_chk.c: Likewise.
22201         * debug/vsnprintf_chk.c: Likewise.
22202         * debug/vsprintf_chk.c: Likewise.
22203         * malloc/mtrace.c: Likewise.
22204         * misc/error.c: Likewise.
22205         * misc/syslog.c: Likewise.
22206         * stdio-common/asprintf.c: Likewise.
22207         * stdio-common/fxprintf.c: Likewise.
22208         * stdio-common/getw.c: Likewise.
22209         * stdio-common/isoc99_fscanf.c: Likewise.
22210         * stdio-common/isoc99_scanf.c: Likewise.
22211         * stdio-common/isoc99_vfscanf.c: Likewise.
22212         * stdio-common/isoc99_vscanf.c: Likewise.
22213         * stdio-common/isoc99_vsscanf.c: Likewise.
22214         * stdio-common/printf-prs.c: Likewise.
22215         * stdio-common/printf_fp.c: Likewise.
22216         * stdio-common/printf_fphex.c: Likewise.
22217         * stdio-common/printf_size.c: Likewise.
22218         * stdio-common/putw.c: Likewise.
22219         * stdio-common/scanf.c: Likewise.
22220         * stdio-common/sprintf.c: Likewise.
22221         * stdio-common/tmpfile.c: Likewise.
22222         * stdio-common/vfprintf.c: Likewise.
22223         * stdio-common/vfscanf.c: Likewise.
22224         * stdlib/strfmon_l.c: Likewise.
22225         * sunrpc/openchild.c: Likewise.
22226         * sunrpc/xdr_stdio.c: Likewise.
22227         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22228         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22230 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22232         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22234         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22235         in the third column, to generate for the shared library an IFUNC
22236         that uses _dl_vdso_vsym.
22237         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22238         * Makeconfig (object-suffixes-noshared): New variable.
22240         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22241         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22242         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22243         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22245         [BZ #14132]
22246         * include/sys/time.h (__gettimeofday): Remove macro.
22247         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22248         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22249         Remove INTDEF.
22250         (__gettimeofday): Add libc_hidden_def.
22251         (gettimeofday): Add libc_hidden_weak.
22252         * sysdeps/mach/gettimeofday.c: Likewise.
22253         * sysdeps/posix/gettimeofday.c: Likewise.
22254         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22255         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22256         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22257         (__gettimeofday_internal): Remove strong_alias.
22258         (__gettimeofday): Add libc_hidden_def.
22259         (gettimeofday): Add libc_hidden_weak.
22260         * sysdeps/unix/syscalls.list (gettimeofday):
22261         Remove __gettimeofday_internal alias.
22263 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22264             H.J. Lu  <hongjiu.lu@intel.com>
22266         [BZ #12495]
22267         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22268         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22269         (largebin_index_32_big): New.
22270         (largebin_index): Use it for 16-byte alignment.
22271         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22272         correction with front_misalign.
22274 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22278         Likewise.
22279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22280         Likewise.
22281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22282         Likewise.
22283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22284         Likewise.
22285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22286         Likewise.
22287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22288         Likewise.
22289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22290         Likewise.
22291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22292         Likewise.
22293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22294         Likewise.
22295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22296         Likewise.
22297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22298         Likewise.
22299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22300         Likewise.
22302         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22303         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22305 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22307         [BZ #10846]
22308         [BZ #14036]
22309         * math/libm-test.inc (exp_test): Add test from bug 14036.
22310         (pow_test): Add test from bug 10846.
22312         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22313         and other flags.
22314         (special_function): Do not include flags in test name.
22315         (parse_args): Likewise.
22316         * sysdeps/i386/fpu/libm-test-ulps: Update.
22317         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22318         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22319         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22322         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22323         exceptions.
22324         * math/libm-test.inc ("Philosophy"): Update comment about
22325         exception testing.
22326         (UNDERFLOW_EXCEPTION): New macro.
22327         (UNDERFLOW_EXCEPTION_OK): Likewise.
22328         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22329         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22330         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22331         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22332         (INVALID_EXCEPTION_OK): Update value.
22333         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22334         (OVERFLOW_EXCEPTION_OK): Likewise.
22335         (IGNORE_ZERO_INF_SIGN): Likewise.
22336         (test_exceptions): Handle underflow exceptions.
22337         (acos_test): Update for underflow exception expectations.
22338         (cexp_test): Likewise.
22339         (clog_test): Likewise.
22340         (clog10_test): Likewise.
22341         (csqrt_test): Likewise.
22342         (ctan_test): Likewise.
22343         (ctanh_test): Likewise.
22344         (exp_test): Likewise.
22345         (exp10_test): Likewise.
22346         (exp2_test): Likewise.
22347         (expm1_test): Likewise.
22348         (fma_test): Likewise.
22349         (j0_test): Likewise.
22350         (jn_test): Likewise.
22351         (nexttoward_test): Likewise.
22352         (pow_test): Likewise.
22353         (scalbn_test): Likewise.
22354         (scalbln_test): Likewise.
22355         (tan_test): Likewise.
22356         (y1_test): Likewise.
22357         * sysdeps/i386/fpu/libm-test-ulps: Update.
22358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22360 2012-05-23  David S. Miller  <davem@davemloft.net>
22362         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22363         (__libc_sigaction): Remove unused local variables.
22365 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22367         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22369 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22371         mktime: avoid signed integer overflow
22372         * time/mktime.c (__mktime_internal): Do not mishandle the case
22373         where diff == INT_MIN.
22375         mktime: simplify computation of average
22376         * time/mktime.c (ranged_convert): Use new time_t_avg function
22377         instead of rolling our own (probably-slower) code.
22379         mktime: do not assume signed right shift propagates sign bit
22380         * time/mktime.c (isdst_differ): New static function.
22381         (__mktime_internal): No need to normalize tm_isdst now.
22382         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22383         tm_isdst values.
22385         mktime: merge another wrapv change from gnulib
22386         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22387         from some compilers.
22389         mktime: remove incorrect attempt at unusual arithmetics
22390         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22391         The code didn't really work on such machines anyway.
22392         (TYPE_MINIMUM): Assume two's complement.
22393         (twos_complement_arithmetic): Verify that long_int and time_t
22394         are two's complement (or unsigned, in the latter case).
22396         mktime: check signed shifts on long_int and time_t, too
22397         * time/mktime.c (SHR): Check that shifts work as desired
22398         on the types long_int and time_t too, as SHR is used on
22399         such types.
22401         mktime: do not assume 'long' is wide enough
22402         * time/mktime.c (verify): Move decl up.
22403         (long_int): New type.
22404         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22405         to remove assumption in the code that 'long' is wide enough to
22406         store year values.  This assumption is not true on x32 and on
22407         some non-glibc platforms.
22409         mktime: merge wrapv change from gnulib
22410         * time/mktime.c (WRAPV): New macro.
22411         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22412         (guess_time_tm, __mktime_internal): Do not assume that signed
22413         integer overflow wraps around; modern compilers generate code
22414         where this assumption is no longer valid.
22416 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22418         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22419         Replace "jmp L(pseudo_end)" with "ret".
22420         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22421         Likewise.
22423 2012-05-23  Andreas Jaeger  <aj@suse.de>
22425         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22426         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22428 2012-05-23  Andreas Jaeger  <aj@suse.de>
22429             Maximilian Attems  <max@stro.at>
22431         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22432         New macros.
22434 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22436         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22437         code so that pseudo_end is just ret and the stack pointer is
22438         correct also for static library in error case.
22440 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22442         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22443         move to syscalls.list.
22444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22449         * manual/install.texi (Running make install): Do not mention Linux
22450         kernel version for which pt_chown is not needed.
22451         (Linux): Do not mention problems with nscd with 2.0 kernels.
22452         * INSTALL: Regenerated.
22454 2012-05-23  Andreas Jaeger  <aj@suse.de>
22456         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22457         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22458         macro.
22459         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22460         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22461         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22462         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22463         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22464         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22465         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22466         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22467         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22468         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22469         * sysdeps/unix/sysv/linux/bits/in.h
22470         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22472 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22474         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22475         (PREPARE_VERSION): Just use assert instead, it will be elided
22476         under [NDEBUG] anyway.
22478 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22480         * sysdeps/unix/sysv/linux/Makefile: Include
22481         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22482         (sysdep_routines): Remove sysctl.
22483         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22484         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22485         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22486         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22487         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22489 2012-05-22  Andreas Jaeger  <aj@suse.de>
22491         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22492         that pseudo_end is just ret and the stack pointer is correct also
22493         for static library in error case.
22495 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22497         [BZ #14122]
22498         * nss/nsswitch.c (defconfig_entries): New variable.
22499         (__nss_database_lookup): Don't leak defconfig entries.
22500         (nss_parse_service_list): Don't leak on error paths.
22501         (free_database_entries): New function.
22502         (free_defconfig): New function.
22503         (free_mem): Move common code to free_database_entries.
22505 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22507         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22508         Add arch_prctl.
22509         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22511         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22512         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22514         New macro.
22515         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22516         (INTERNAL_SYSCALL_TYPES): Likewise.
22517         (LOAD_ARGS_TYPES_[1-6]): Likewise.
22518         (LOAD_REGS_TYPES_[1-6]): Likewise.
22519         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22520         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22522 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22524         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22525         copysignl for GLIBC_2_0.
22526         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22527         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22528         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22529         logbl for GLIBC_2_0.
22530         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22531         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22533 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22535         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22536         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22538         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22539         Use "neg %eax".
22541         * time/mktime.c: Update copyright years.
22543 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22545         mktime: merge comment-quoting-style change from gnulib
22546         * time/mktime.c: Quote 'like this' in comments.
22547         The GNU coding standards suggest that we no longer quote `like this',
22548         as "`" and "'" are typically rendered asymmetrically nowadays.
22549         The typical gnulib style is to quote 'like this' when quoting
22550         code, and "like this" when quoting English.
22552         * time/mktime.c (compile-command): Add "-I.".
22554         mktime: merge mktime-internal.h change from gnulib
22555         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22557         mktime: merge time_r change from gnulib
22558         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22560         mktime: merge DEBUG change from gnulib
22561         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22562         case system <time.h> has a #define.
22564         mktime: merge <sys/types.h> change from gnulib
22565         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22566         since <time.t> is now guaranteed to define time_t.
22568         mktime: merge HAVE_CONFIG_H change from gnulib
22569         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22571 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22573         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22574         Use "neg %eax".
22576         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22577         __rlim_t cast.
22578         (struct rusage): Use anonymous union to pad each field to
22579         __syscall_slong_t.
22581 2012-05-21  David S. Miller  <davem@davemloft.net>
22583         * Makefules (o-iterator): Remove .s cases.
22584         (compile-command.s): Delete.
22585         (COMPILE.s): Delete.
22586         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22588 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
22590         * configure.in (libc_cv_predef_stack_protector): Only consider
22591         "foobar" and "__stack_chk_fail" lines in libc_undefs.
22592         * configure: Regenerated.
22594 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22597         New macro.  Use R*LP on int and pointer.
22598         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22599         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22600         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22601         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22603         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22604         [__WORDSIZE_TIME64_COMPAT32] instead of
22605         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22606         (struct utmp): Likewise.
22607         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22608         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22609         Renamed to ...
22610         (__WORDSIZE_TIME64_COMPAT32): This.
22611         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22612         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22613         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22614         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22615         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22616         (__WORDSIZE_TIME64_COMPAT32): New macro.
22618 2012-05-21  Andreas Jaeger  <aj@suse.de>
22620         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22621         only if [SHARED]. Add prototype for __wcschr_ia32.
22623 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22625         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22626         of %rbp unmolested in the jmp_buf while mangling the low bits.
22627         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22628         unmolested high bits of %rbp while demangling the low bits.
22629         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22631 2012-05-21  Andreas Jaeger  <aj@suse.de>
22633         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22634         * sunrpc/svc_simple.c: Use it for registerrpc.
22635         * sunrpc/xcrypt.c: Use it for passwd2des.
22637         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22639 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22641         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22642         Don't define if [__SYSCALL_WORDSIZE != 32].
22643         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22644         New macro.
22646 2012-05-21  Bruno Haible  <bruno@clisp.org>
22647             Andreas Jaeger  <aj@suse.de>
22649         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22650         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22651         inptr and inend for must_buffer_ch.
22652         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22653         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22654         * stdio-common/Makefile (tests): Remove bug15.
22655         (bug15-ENV): Remove macro.
22656         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22657         anymore.
22659 2012-05-19  Andreas Jaeger  <aj@suse.de>
22660             Roland McGrath  <roland@hack.frob.com>
22662         * manual/contrib.texi: Completely rewritten. It contains now an
22663         alphabetical list of contributors and their contributions.
22665 2012-05-21  Richard Henderson  <rth@twiddle.net>
22667         * misc/getauxval.c (__getauxval): Use unsigned long int.
22668         * misc/sys/auxv.h: Include <sys/cdefs.h>.
22669         (getauxval): Use unsigned long int.
22671 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22673         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22675 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22677         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22678         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22679         __alignof__ (long double).
22681 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22685 2012-05-20  Richard Henderson  <rth@twiddle.net>
22687         * misc/getauxval.c: New file.
22688         * misc/sys/auxv.h: New file.
22689         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22690         (routines): Add getauxval.
22691         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22692         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22693         * elf/dl-sysdep.c (_dl_auxv): Remove.
22694         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22695         * elf/dl-support.c (_dl_auxv): New variable.
22696         (_dl_aux_init): Initialize it.
22697         * manual/startup.texi (Auxiliary Vector): New node.
22698         * sysdeps/generic/bits/hwcap.h: New file.
22699         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22700         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
22701         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22702         * sysdeps/sparc/sysdep.h: ... here.  Include it.
22703         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22704         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22706         Update.
22707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22710         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22716 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22720 2012-05-19  David S. Miller  <davem@davemloft.net>
22722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22724 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22726         [BZ #14123]
22727         * math/s_ccosh.c: Include <float.h>
22728         (__ccosh): Avoid internal overflow calculating sinh and cosh
22729         values before multiplying by sin and cos values.
22730         * math/s_ccoshf.c: Likewise.
22731         * math/s_ccoshl.c: Likewise.
22732         * math/s_csin.c: Likewise.
22733         * math/s_csinf.c: Likewise.
22734         * math/s_csinl.c: Likewise.
22735         * math/s_csinh.c: Likewise.
22736         * math/s_csinhf.c: Likewise.
22737         * math/s_csinhl.c: Likewise.
22738         * math/libm-test.inc (ccos_test): Add more tests.
22739         (ccosh_test): Likewise.
22740         (csin_test): Likewise.
22741         (csinh_test): Likewise.
22742         * sysdeps/i386/fpu/libm-test-ulps: Update.
22743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22745 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22747         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22748         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22750         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22752 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22754         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22755         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22756         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22757         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22758         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22759         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22760         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22761         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22762         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22763         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22764         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22765         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22766         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22767         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22768         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22769         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22770         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22771         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22772         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22773         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22774         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22775         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22776         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22777         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22778         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22779         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22780         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22781         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22782         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22783         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22784         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22786 2012-05-18  Andreas Jaeger  <aj@suse.de>
22788         * csu/.gitignore: Delete.
22790 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22792         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22793         (timex): Use __syscall_slong_t.
22795 2012-05-18  Andreas Jaeger  <aj@suse.de>
22796             Carlos O'Donell  <carlos_odonell@mentor.com>
22798         * manual/install.texi (Configuring and compiling): Update
22799         description about files modified in the source directory.
22800         * INSTALL: Regenerated.
22802 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22804         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22805         value.  Use "or" to set return value to -1.
22806         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22807         negate return value.
22809 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22811         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22812         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22813         failure if the compiler has Graphite support disabled.
22814         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22815         Likewise.
22816         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22817         CFLAGS-memmove.c): Likewise.
22818         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22819         Likewise.
22821 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22823         * sysdeps/x86_64/x32/_itoa.h: New file.
22825         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22826         getdents system call only if kernel and user dirents have the
22827         same d_ino and d_off.
22829         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22830         LLONG_MAX != LONG_MAX.
22831         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22832         (_fitoa_word): Likewise.
22834         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22835         years.
22836         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22837         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22838         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22840         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22841         include <bits/wordsize.h>.  Check __x86_64__ instead of
22842         __WORDSIZE.
22843         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22844         if __x86_64__ is defined.  Use anonymous union on fpstate.
22846         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22847         anonymous union.
22849 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22851         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22852         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22853         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22854         Refer to _rtld_local_ro instead of _rtld_global_ro.
22855         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22856         Likewise.
22857         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22858         Likewise.
22859         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22860         Likewise.
22861         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22862         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22863         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22865         * sysdeps/powerpc/powerpc32/dl-machine.c
22866         (__elf_machine_runtime_setup) [PROF]: Don't reference
22867         _dl_prof_resolve.
22869 2012-05-18  Andreas Jaeger  <aj@suse.de>
22871         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22872         function only available for GCCs before 3.4 since GCC 3.4
22873         introduced a builtin.
22874         (lrint): Likewise.
22875         (llrintf): Likewise.
22876         (llrint): Likewise.
22877         (fmaxf): Likewise.
22878         (fmax): Likewise.
22879         (fminf): Likewise.
22880         (fmin): Likewise.
22881         (rint): Likewise.
22882         (rintf): Likewise.
22883         (nearbyint): Likewise.
22884         (nearbyintf): Likewise.
22885         (ceil): Likewise.
22886         (ceilf): Likewise.
22887         (floor): Likewise.
22888         (floorf): Likewise.
22890 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22892         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22893         on both fields and cast pointer to __syscall_ulong_t.
22895         * bits/types.h (__fsword_t): New type.
22896         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22897         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22899         (__FSWORD_T_TYPE): Likewise.
22900         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22901         (__FSWORD_T_TYPE): Likewise.
22902         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22903         (__FSWORD_T_TYPE): Likewise.
22904         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22905         (__FSWORD_T_TYPE): Likewise.
22906         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22907         __SWORD_TYPE with __fsword_t.
22908         (statfs64): Likewise.
22910 2012-05-17  David S. Miller  <davem@davemloft.net>
22912         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22914 2012-05-17  Andreas Jaeger  <aj@suse.de>
22916         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22917         warning.
22919 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22921         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22923 2012-05-17  Andreas Jaeger  <aj@suse.de>
22925         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22926         when it is used.
22928 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22930         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22932 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22934         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22935         * sysdeps/x86_64/tst-mallocalign1.c: New file.
22937 2012-05-17  Andreas Jaeger  <aj@suse.de>
22938             Carlos O'Donell  <carlos_odonell@mentor.com>
22940         [BZ #14059]
22941         * sysdeps/x86_64/multiarch/init-arch.h
22942         (bit_YMM_Usable): Rename to...
22943         (bit_AVX_Usable): ... this.
22944         (bit_FMA4_Usable): New macro.
22945         (bit_XMM_state): New macro.
22946         (bit_YMM_state): New macro.
22947         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22948         [__ASSEMBLER__] (index_AVX_Usable): ... this.
22949         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22950         (CPUID_OSXSAVE): New macro.
22951         (CPUID_AVX): New macro.
22952         (CPUID_FMA4): New macro.
22953         (index_YMM_Usable): Rename to...
22954         (index_AVX_Usable): ... this.
22955         (HAS_AVX): Use HAS_ARCH_FEATURE.
22956         (HAS_FMA4): Likewise.
22957         (HAS_YMM_USABLE): Remove.
22958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22959         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22960         are present.
22961         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22962         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22963         * sysdeps/x86_64/multiarch/Makefile: Likewise.
22964         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22965         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22967 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22969         * math/libm-test.c: Support platforms without multiple rounding modes.
22970         * math/bug-nextafter.c: Support platforms without FP exceptions.
22971         * math/bug-nexttoward.c: Likewise.
22972         * math/test-fenv.c: Likewise.
22973         * math/test-misc.c: Likewise.
22974         * stdlib/bug-getcontext.c: Likewise.
22976 2012-05-17  Andreas Jaeger  <aj@suse.de>
22978         * manual/examples/search.c (critter_cmp): Change signature to
22979         avoid warnings.
22980         * manual/string.texi (Collation Functions): Likewise.
22982 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22984         * bits/types.h: Fold copyright years.
22985         * bits/typesizes.h: Likewise.
22986         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22987         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22988         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22989         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22990         * time/time.h: Likewise.
22992 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
22994         [BZ #208]
22995         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22996         in instead of returning them.  Return void.
22997         (__libc_mallinfo): Accumulate over all arenas.
22998         (__malloc_stats): Adjust for change in int_mallinfo interface.
23000 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23002         [BZ #10375]
23003         * configure.in (NM): Add AC_CHECK_TOOL for it.
23004         (libc_extra_cflags): New substituted variable.
23005         Check for -fstack-protector being used implicitly.
23006         * configure: Regenerated.
23007         * config.make.in (config-extra-cflags): New variable,
23008         gets @libc_extra_cflags@.
23009         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23011         [BZ #10375]
23012         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23013         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23014         * configure: Regenerated.
23015         * config.make.in (CPPUNDEFS): New substituted variable.
23016         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23017         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23018         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23020 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23022         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23023         (mq_attr): Use __syscall_slong_t.
23025 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23027         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23028         Check __x86_64__ instead of __WORDSIZE.
23029         (_STAT_VER_LINUX): Likewise.
23030         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23031         __syscall_ulong_t and __syscall_slong_t.
23032         (stat64): Likewise.
23034 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23036         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23038 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23040         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23042 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23044         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23045         __syscall_ulong_t.
23047         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23048         include <bits/wordsize.h>.  Check __x86_64__ instead of
23049         __WORDSIZE.
23050         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23051         defined.
23052         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23054         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23055         include <bits/wordsize.h>.  Check __x86_64__ instead of
23056         __WORDSIZE.
23057         (user_regs_struct): Use "__extension__ unsigned long long"
23058         instead of "unsigned long" if __x86_64__ is defined.
23059         (user): Likewise.  Pad after pointer field if __ILP32__ is
23060         defined.
23062 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23064         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23065         versions 5 to 9.
23066         * configure: Regenerated.
23067         * manual/install.texi (texinfo): Increase version requirement to
23068         4.5 or later.
23069         * INSTALL: Regenerated.
23071         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23073 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23075         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23077         * sysdeps/x86_64/x32/ffs.c: New file.
23079         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23080         __syscall_ulong_t.
23081         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23082         defined.  Use __syscall_ulong_t.
23083         (shminfo): Use __syscall_ulong_t.
23084         (shm_info): Likewise.
23086         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23087         __syscall_ulong_t.
23089         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23090         <bits/wordsize.h>.
23091         (msgqnum_t): Use __syscall_ulong_t.
23092         (msglen_t): Likewise.
23093         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23094         __syscall_ulong_t.
23096         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23097         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23099         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23101         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23102         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23104         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23105         __syscall_slong_t.
23107         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23108         include <bits/wordsize.h>.  Check __x86_64__ instead of
23109         __WORDSIZE.
23111         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23112         "unsigned long long int" if __x86_64__ is defined.
23113         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23115         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23116         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23117         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23119         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23120         <stdint.h>.
23121         (GET_PC): Cast to uintptr_t first.
23122         (GET_FRAME): Likewise.
23123         (GET_STACK): Likewise.
23125         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23126         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23127         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23128         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23129         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23130         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23131         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23132         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23133         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23134         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23135         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23136         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23137         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23138         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23139         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23140         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23141         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23142         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23143         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23144         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23145         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23146         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23147         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23148         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23149         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23150         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23151         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23152         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23153         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23155 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23157         * Makerules (+depfiles): Also collect depfiles from .oS in
23158         $(extra-objs).
23159         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23160         .oS, $(libnldbl-routines)).
23162         * Makerules (native-compile-mkdep-flags): Define.
23163         * sunrpc/Makefile (extra-objs): Add $(addprefix
23164         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23165         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23166         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23167         calling $(make-target-directory).
23169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23171         * bits/types.h (__snseconds_t): Removed.
23172         * time/time.h (struct timespec): Replace __snseconds_t with
23173         __syscall_slong_t.
23174         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23175         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23176         Likewise.
23177         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23178         (__SNSECONDS_T_TYPE): Likewise.
23179         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23180         (__SNSECONDS_T_TYPE): Likewise.
23181         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23182         (__SNSECONDS_T_TYPE): Likewise.
23184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23186         * sysdeps/mach/hurd/bits/typesizes.h
23187         (__SYSCALL_SLONG_TYPE): New macro.
23188         (__SYSCALL_ULONG_TYPE): Likewise.
23190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23192         * bits/types.h (__syscall_slong_t): New type.
23193         (__syscall_ulong_t): Likewise.
23195         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23196         (__SYSCALL_ULONG_TYPE): Likewise.
23197         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23198         (__SYSCALL_SLONG_TYPE): Likewise.
23199         (__SYSCALL_ULONG_TYPE): Likewise.
23200         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23201         (__SYSCALL_SLONG_TYPE): Likewise.
23202         (__SYSCALL_ULONG_TYPE): Likewise.
23203         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23204         (__SYSCALL_SLONG_TYPE): Likewise.
23205         (__SYSCALL_ULONG_TYPE): Likewise.
23207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23209         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23210         Add sigaltstack-offsets.sym.
23211         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23212         <sigaltstack-offsets.h>.
23213         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23214         longjmp_msg pointer.
23215         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23216         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23217         signal stack.
23218         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23220 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23222         * elf/stackguard-macros.h: Remove file.
23223         * sysdeps/generic/stackguard-macros.h: New file.
23224         * sysdeps/i386/stackguard-macros.h: Likewise.
23225         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23226         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23227         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23228         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23229         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23230         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23231         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23232         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23233         <elf/stackguard-macros.h>.
23235         [BZ #14109]
23236         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23237         __aligned__ in attribute.
23238         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23239         (gregset_t): Likewise.
23241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23243         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23244         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23245         * sysdeps/x86_64/x32/Implies-after: New file.
23247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23249         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23250         and access return value for _dl_profile_fixup.  Use R10_LP to
23251         load frame size.
23253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23255         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23259         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23260         * sysdeps/x86_64/x32/sysdep.h: New file.
23262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23264         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23265         * sysdeps/x86_64/setjmp.S: Likewise.
23267 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23269         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23270         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23271         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23272         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23273         remove unused global constant.
23275 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23277         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23278         include of <not-cancel.h>.
23280 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23282         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23284 2012-05-15  Jeff Law  <law@redhat.com>
23285             Andreas Jaeger  <aj@suse.de>
23287         [BZ #13594]
23288         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23289         out from...
23290         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23291         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23292         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23293         code changing __hst_map_handle.map.
23295 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23297         * configure.in (sysnames): Look for Implies-before and Implies-after
23298         files.
23299         * configure: Regenerated.
23301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23303         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23304         8-byte data alignment with LP_SIZE alignment.
23306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23308         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23309         into R10_LP.
23311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23313         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23317         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23318         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23319         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23320         Likewise.
23321         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23325         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23326         (stackinfo_sub_sp): Likewise.
23328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23330         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23331         RAX_LP.
23333 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23335         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23336         into R*_LP.
23338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23340         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23341         sizes into R*_LP.
23343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23345         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23349         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23350         into R11_LP and load __x86_64_shared_cache_size_half into
23351         R8_LP.
23353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23355         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23356         R8_LP.
23358 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23360         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23361         logb for POWER7.
23362         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23363         logbf for POWER7.
23364         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23365         logbl for POWER7.
23366         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23367         powerpc32/power7/fpu/s_logb.c via #include.
23368         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23369         powerpc32/power7/fpu/s_logbf.c via #include.
23370         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23371         powerpc32/power7/fpu/s_logbl.c via #include.
23373 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23375         * README.libm: Remove file.
23377 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23379         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23380         count for x32.  Use R*_LP and omit operand-size suffix.
23382 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23384         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23385         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23386         * sysdeps/x86_64/x32/shlib-versions: New file.
23388 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23390         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23391         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23392         Use _dl_fatal_printf instead.
23394 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23396         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23397         set if not set by the user.  Do not allow for being unset.
23398         * sysdeps/unix/sysv/linux/configure: Regenerated.
23400 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23402         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23403         the `q' suffix from lea and replace .quad with ASM_ADDR.
23405 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23408         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23409         instead of $17.
23410         (PTR_DEMANGLE): Likewise.
23412 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23414         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23415         (LP_OP): Likewise.
23416         (ASM_ADDR): Likewise.
23417         (RAX_LP): Likewise.
23418         (RBP_LP): Likewise.
23419         (RBX_LP): Likewise.
23420         (RCX_LP): Likewise.
23421         (RDI_LP): Likewise.
23422         (RSI_LP): Likewise.
23423         (RSP_LP): Likewise.
23424         (R8_LP): Likewise.
23425         (R9_LP): Likewise.
23426         (R10_LP): Likewise.
23427         (R10_LP): Likewise.
23428         (R11_LP): Likewise.
23429         (R12_LP): Likewise.
23430         (R13_LP): Likewise.
23431         (R14_LP): Likewise.
23432         (R15_LP): Likewise.
23434 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23436         * sysdeps/x86_64/x32/dl-machine.h: New file.
23438 2012-05-14  Andreas Jaeger  <aj@suse.de>
23440         * manual/Makefile (subdir): Remove export of subdir.
23441         (all): Remove target.
23442         (.PHONY): Remove all from list.
23443         (mkinstalldirs): Remove.
23444         (.PHONY): Remove installdirs from list.
23445         ($(inst_infodir)/libc.info): Use make-target-directory.
23446         (installdirs): Remove.
23447         (subdir_%): Remove.
23448         (glibc-targets): Remove.
23449         (lib): Remove.
23450         (stubs): Remove.
23451         ($(objpfx)stubs ../po/manual.pot): Remove.
23452         ($(objpfx)stamp%): Remove.
23453         (make-target-directory): Remove.
23454         (subdir_install): Remove.
23455         (routines): Remove.
23456         (aux): Remove.
23457         (sources): Remove.
23458         (objects): Remove.
23459         (headers): Remove.
23461         [BZ #13750]
23462         * manual/.gitignore: Remove, it's not needed anymore.
23463         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23464         all files in it.
23465         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23466         directory.
23467         (texis): Renamed to $(objpfx)texis.
23468         (texis-path): New, contains path to generated files.
23469         (chapters.%): Use texis-path for complete path, add extra argument
23470         libc-texinfo.sh.
23471         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23472         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23473         (summary,texi, stamp-summary): Use complete path of
23474         files. Generate files in build dir.
23475         (dir-add.texi): Build in build dir.
23476         (libm-err.texi,stamp-libm-err): Likewise.
23477         (version.texi, stamp-version): Likewise.
23478         (.%c.texi): Likewise.
23479         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23480         (mostlyclean): Remove target.
23481         (realclean): Remove target.
23482         (generated): Add new variable with contents from mostlyclean and
23483         realclean, remove entries duplicated in common-mostlyclean, add
23484         stamp-libm-err and stamp-version.
23485         (generated-dirs): Add libc directory.
23486         ($(inst_infodir)/libc.info): Install files from build dir.
23488         * manual/install.texi (Configuring and compiling): Adjust since
23489         the info files are not part of the tar ball anymore.
23491 2012-05-14  Andreas Jaeger  <aj@suse.de>
23493         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23494         variable.
23496 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23498         [BZ #13717]
23499         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23500         to 2.2.0 where earlier.
23501         * sysdeps/unix/sysv/linux/configure: Regenerated.
23502         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23503         Remove conditional code.
23504         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23505         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23506         Remove conditional code.
23507         [!__NR_lchown]: Likewise.
23508         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23509         [__NR_lchown]: Likewise.
23510         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23511         comment referencing __ASSUME_LCHOWN_SYSCALL.
23512         * sysdeps/unix/sysv/linux/i386/sigaction.c
23513         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23514         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23515         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23516         Remove conditional code.
23517         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23518         (__protocol_available): Remove #if 0 code.
23519         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23520         conditional code.
23521         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23522         * sysdeps/unix/sysv/linux/kernel-features.h
23523         (__ASSUME_GETCWD_SYSCALL): Don't define.
23524         (__ASSUME_REALTIME_SIGNALS): Likewise.
23525         (__ASSUME_PREAD_SYSCALL): Likewise.
23526         (__ASSUME_PWRITE_SYSCALL): Likewise.
23527         (__ASSUME_POLL_SYSCALL): Likewise.
23528         (__ASSUME_LCHOWN_SYSCALL): Likewise.
23529         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23530         non-SPARC.
23531         (__ASSUME_SIOCGIFNAME): Don't define.
23532         (__ASSUME_MSG_NOSIGNAL): Likewise.
23533         (__ASSUME_SENDFILE): Define unconditionally.
23534         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23535         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23536         conditional code.
23537         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23538         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23539         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23540         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23541         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23542         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23543         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23545         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23546         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23548         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23549         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23551         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23552         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23554         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23555         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23557         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23558         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23560         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23561         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23563         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23564         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23566         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23567         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23568         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23569         Remove conditional code.
23570         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23571         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23572         Remove conditional code.
23573         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23574         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23575         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23576         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23577         Remove conditional code.
23578         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23579         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23580         Remove conditional code.
23581         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23582         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23583         Remove conditional code.
23584         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23585         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23586         Remove conditional code.
23587         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23588         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23589         Remove conditional code.
23590         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23591         * sysdeps/unix/sysv/linux/sh/pwrite64.c
23592         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23593         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23594         * sysdeps/unix/sysv/linux/sigaction.c
23595         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23596         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23597         * sysdeps/unix/sysv/linux/sigpending.c
23598         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23599         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23600         * sysdeps/unix/sysv/linux/sigprocmask.c
23601         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23602         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23603         * sysdeps/unix/sysv/linux/sigsuspend.c
23604         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23605         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23606         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23607         (__libc_missing_rt_sigs): Remove.
23608         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23609         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23610         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23611         Remove conditional code.
23612         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23613         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23614         return 1.
23615         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23616         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23617         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23618         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23620 2012-05-14  Andreas Jaeger  <aj@suse.de>
23622         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23623         it's not used in glibc.
23624         (__coshm1): Likewise.
23625         (__acosh1p): Likewise.
23626         (__sgn): Likewise.
23628         * manual/string.texi (Copying and Concatenation): Add missing
23629         variable in concat example.
23630         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23632 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23634         [BZ #14103]
23635         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23636         __builtin_clzl with __builtin_clzll.
23638 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23640         [BZ #14104]
23641         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23642         libc_freeres_ptr.
23644 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23646         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23647         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23648         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23649         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23651 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
23653         * NEWS: Update ia64 info.
23655 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
23657         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23658         used as bcopy.
23660 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
23662         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23663         * sysdeps/unix/syscalls.list (dup3): Likewise.
23664         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23665         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23667 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23669         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23670         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23672 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23674         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23675         thread pointer.
23676         (TLS_IE): Use mov/add instead of movq/addq to load thread
23677         pointer.
23678         (TLS_GD_PREFIX): New.
23679         (TLS_GD): Use it.
23681 2012-05-11  David S. Miller  <davem@davemloft.net>
23683         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23684         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23685         (_FPU_SETCW): Likewise.
23687 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23689         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23690         is 32-byte aligned.
23692 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
23694         [BZ #11837]
23695         * iconvdata/gb18030.c: Update tables.
23696         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
23697         characters specially.
23698         (BODY for TO_LOOP): Add encoding of missing ranges.
23700 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
23702         [BZ #13673]
23703         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23704         * sysdeps/mach/hurd/dup3.c: Likewise.
23705         * sysdeps/mach/hurd/readlinkat.c: Likewise.
23706         * sysdeps/powerpc/memmove.c:: Likewise.
23708 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23710         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23711         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23713 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23715         * elf/elf.h (R_X86_64_RELATIVE64): New.
23716         (R_X86_64_NUM): Updated.
23717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23718         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
23719         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23720         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23721         tst-quad1pie tst-quad2pie
23722         (modules-names): Add tst-quadmod1 tst-quadmod2.
23723         ($(objpfx)tst-quad1): New dependency.
23724         ($(objpfx)tst-quad2): Likewise.
23725         ($(objpfx)tst-quad1pie): Likewise.
23726         ($(objpfx)tst-quad2pie): Likewise.
23727         * sysdeps/x86_64/tst-quad1.c: New file.
23728         * sysdeps/x86_64/tst-quad1pie.c: New file.
23729         * sysdeps/x86_64/tst-quad2.c: Likewise.
23730         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23731         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23732         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23733         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23734         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23738         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23739         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23740         * streams/stropts.h (t_scalar_t): Define type.
23742         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23743         (_PATH_PRESERVE): Set to "/var/lib".
23744         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23746         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23747         instead of int.
23749         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23750         if __dir_mkfile succeeded.
23752         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23753         checking for _hurd_dtablesize.  Unlock it right after having
23754         finished _hurd_dtable allocation.
23756 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23758         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23759         * sysdeps/mach/hurd/configure: Regenerated.
23760         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23761         special-casing to...
23762         * sysdeps/gnu/configure.in: ... this new file.
23763         * sysdeps/unix/sysv/linux/configure: Regenerated.
23764         * sysdeps/gnu/configure: New generated file.
23766         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23767         for Linux: use nsec instead of usec, as well as:
23768         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23769         members of type struct timespec.
23770         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23771         New macros.
23772         (struct stat64): Likewise.
23773         (_STATBUF_ST_NSEC): New macro.
23774         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23776         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23777         __strtoul_internal rather than strtoul.
23779 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23781         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23782         and reject them.
23784 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23786         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23787         which preserves existing values.
23788         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23790 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23792         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23793         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23794         greater than FD_SETSIZE.
23796 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23798         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23799         allocated, call __vm_protect to finish enabling the existing space, and
23800         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23801         allocate the remainder.
23803 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23805         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23806         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23808 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23810         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23811         sysdeps/mach/hurd/readlink.c.
23813         * posix/tst-sysconf.c (posix_options): Only use
23814         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23815         _POSIX_SYNCHRONIZED_IO when they are defined
23816         * sysdeps/mach/hurd/bits/posix_opt.h:
23817         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23818         (_XOPEN_REALTIME): Undefine macro.
23819         (_XOPEN_REALTIME_THREADS): Undefine macro.
23820         (_XOPEN_SHM): Undefine macro.
23821         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23822         macro to -1.
23823         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23824         macro to -1.
23825         (_POSIX_ASYNC_IO): Undefine macro.
23826         (_POSIX_PRIORITIZED_IO): Undefine macro.
23827         (_POSIX_SPIN_LOCKS): Define macro to -1.
23829         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23830         SA_NODEFER, SA_RESETHAND.
23831         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23832         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23833         F_DUPFD_CLOEXEC.
23835 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23837         * elf/Makefile (pldd-modules): Define unconditionally.
23839 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23841         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23843 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23845         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23846         Return ENOENT when name is empty.
23847         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23849 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23851         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23853         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23855 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23857         Fix mlock in all cases except non-readable pages.
23858         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23859         instead of VM_PROT_ALL as parameter to __vm_wire function.
23861         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23862         (__mkdir): When path is `/', just fail with EEXIST.
23863         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23865 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23867         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23868         <sys/uio.h> (for writev).
23869         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23870         and <sys/param.h> (for MIN).
23872 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23874         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23875         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23876         if interrupted.
23878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23880         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23881         Depend on against $(link-rpcuserlibs).
23883 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23885         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23886         (__libc_stack_end): Do not use attribute_relro.
23887         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23888         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23889         to libthread-provided value.
23890         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23891         attribute_relro.
23893 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23895         [BZ #3748]
23896         * bits/libc-lock.h (__libc_once_get): New macro.
23897         * sysdeps/mach/bits/libc-lock.h: Likewise.
23898         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23899         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23900         instead of using implementation details.
23902         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23903         * libio/freopen.c: Likewise.
23904         * libio/freopen64.c: Likewise.
23905         * misc/syslog.c: Likewise.
23906         * nscd/connections.c: Likewise.
23907         * nscd/netgroupcache.c: Likewise.
23908         * sysdeps/posix/getcwd.c: Likewise.
23910 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23912         * math/w_ilogbf.c: Add #include <limits.h>.
23914 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23916         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23917         path instead of returning without unlocking.
23919         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23920         immediate-write ioctls.
23921         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23923 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23925         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23926         __builtin_frame_address instead of making assumptions about the
23927         location of the return address relative to DATA.  Force early load of
23928         the return address.
23929         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23930         __builtin_frame_address.
23932         dup3 for GNU Hurd.
23933         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23934         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
23935         implement dup3 and do some further code clean-ups.
23936         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23937         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23939 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23941         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23943         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23944         HURD_CRITICAL_END around holding _hurd_dtable_lock.
23945         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23946         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23947         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23948         d->port.lock.
23950         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23951         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
23952         when handler == SIG_ERR, not when handler != SIG_ERR.
23954 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23956         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23957         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23958         definitions.
23960         accept4 for GNU Hurd.
23961         * include/sys/socket.h (__libc_accept4): New prototype.
23962         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
23963         to implement __libc_accept4.
23964         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23965         __libc_accept4.
23966         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23968         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23969         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23970         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23971         signal-defines.sym.
23973 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23975         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23979         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23980         assertion on O_CLOEXEC flag.
23981         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23982         * hurd/intern-fd.c: Likewise.
23983         * hurd/port2fd.c: Likewise.
23985 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23987         [BZ #3906]
23988         * bits/in.h (IPV6_PKTINFO): Define new macro.
23989         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23991 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23993         [BZ #13954]
23994         [BZ #13955]
23995         [BZ #13956]
23996         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23997         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23998         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23999         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24000         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24001         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24002         * math/libm-test.inc (logb_test) : Additional logb tests.
24004 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24005             Andreas Jaeger  <aj@suse.de>
24007         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24008         * configure: Regenerated.
24009         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24010         * config.make.in (link-obsolete-rpc): New substituted variable.
24011         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24012         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24013         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24014         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24015         so that libc.a contains the symbols.
24016         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24017         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24018         * sunrpc/auth_none.c: Likewise.
24019         * sunrpc/auth_unix.c: Likewise.
24020         * sunrpc/authdes_prot.c: Likewise.
24021         * sunrpc/authuxprot.c: Likewise.
24022         * sunrpc/clnt_gen.c: Likewise.
24023         * sunrpc/clnt_perr.c: Likewise.
24024         * sunrpc/clnt_raw.c: Likewise.
24025         * sunrpc/clnt_simp.c: Likewise.
24026         * sunrpc/clnt_tcp.c: Likewise.
24027         * sunrpc/clnt_udp.c: Likewise.
24028         * sunrpc/clnt_unix.c: Likewise.
24029         * sunrpc/des_crypt.c: Likewise.
24030         * sunrpc/des_soft.c: Likewise.
24031         * sunrpc/get_myaddr.c: Likewise.
24032         * sunrpc/key_call.c: Likewise.
24033         * sunrpc/key_prot.c: Likewise.
24034         * sunrpc/netname.c: Likewise.
24035         * sunrpc/pm_getmaps.c: Likewise.
24036         * sunrpc/pm_getport.c: Likewise.
24037         * sunrpc/pmap_clnt.c: Likewise.
24038         * sunrpc/pmap_prot.c: Likewise.
24039         * sunrpc/pmap_prot2.c: Likewise.
24040         * sunrpc/pmap_rmt.c: Likewise.
24041         * sunrpc/publickey.c: Likewise.
24042         * sunrpc/rpc_cmsg.c: Likewise.
24043         * sunrpc/rpc_common.c: Likewise.
24044         * sunrpc/rpc_dtable.c: Likewise.
24045         * sunrpc/rpc_prot.c: Likewise.
24046         * sunrpc/rpc_thread.c: Likewise.
24047         * sunrpc/rtime.c: Likewise.
24048         * sunrpc/svc.c: Likewise.
24049         * sunrpc/svc_auth.c: Likewise.
24050         * sunrpc/svc_raw.c: Likewise.
24051         * sunrpc/svc_run.c: Likewise.
24052         * sunrpc/svc_tcp.c: Likewise.
24053         * sunrpc/svc_udp.c: Likewise.
24054         * sunrpc/svc_unix.c: Likewise.
24055         * sunrpc/svcauth_des.c: Likewise.
24056         * sunrpc/xcrypt.c: Likewise.
24057         * sunrpc/xdr.c: Likewise.
24058         * sunrpc/xdr_array.c: Likewise.
24059         * sunrpc/xdr_float.c: Likewise.
24060         * sunrpc/xdr_intXX_t.c: Likewise.
24061         * sunrpc/xdr_mem.c: Likewise.
24062         * sunrpc/xdr_rec.c: Likewise.
24063         * sunrpc/xdr_ref.c: Likewise.
24064         * sunrpc/xdr_sizeof.c: Likewise.
24065         * sunrpc/xdr_stdio.c: Likewise.
24067 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24069         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24070         change.  Update copyright years.
24072 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24074         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24076 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24077             Joseph Myers  <joseph@codesourcery.com>
24078             Paul Pluzhnikov  <ppluzhnikov@google.com>
24080         [BZ #14012]
24081         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24082         requiring rpcgen.
24083         [cross-compiling] (extra-libs): Likewise.
24084         [cross-compiling] (extra-libs-others): Likewise.
24085         [cross-compiling] (librpcsvc-routines): Likewise.
24086         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24087         [cross-compiling] (omit-deps): Likewise.
24088         (sunrpc-CPPFLAGS): New variable.
24089         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24090         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24091         (cross-rpcgen-objs): New variable.
24092         (extra-objs): Append $(cross-rpcgen-objs).
24093         ($(cross-rpcgen-objs)): New rule.
24094         ($(objpfx)cross-rpcgen): Likewise.
24095         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24096         comment.
24097         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24098         ($(objpfx)x%.stmp): Likewise.
24099         * sunrpc/proto.h [IS_IN_build] (_): Define.
24100         [IS_IN_build] (_libc_intl_domainname): Likewise.
24102 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24104         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24105         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24106         and R_X86_64_TPOFF64.
24108 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24110         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24111         sysdeps/unix/sysv/syscalls.list.
24112         (stime): Likewise.
24113         (utime): Likewise.
24114         * sysdeps/unix/sysv/syscalls.list: Remove file.
24116 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24118         [BZ #3440]
24119         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24120         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24121         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24122         (__LC_IDENTIFICATION): Make these macros useful in #if
24123         expressions, as required by C99.
24125 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24127         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24128         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24129         after this.
24131 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24133         * stdlib/longlong.h: Updated from GCC.
24135 2012-05-09  Andreas Jaeger  <aj@suse.de>
24137         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24138         default is first entry.
24139         (run_mode): Set type.
24140         (main): Remove informal message about syslog.
24141         (options): Fix typo.
24143         [BZ #14053]
24144         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24145         to asm.
24146         (lrint): Likewise.
24147         (llrintf): Likewise.
24148         (llrint): Likewise.
24149         (rint): Likewise.
24150         (rintf): Likewise.
24151         (nearbyint): Likewise.
24152         (nearbyintf): Likewise.
24154 2012-05-09  Andreas Jaeger  <aj@suse.de>
24155             Pedro Alves  <palves@redhat.com>
24157         * nscd/nscd.c (run_mode): Use enum.
24158         (main): Cleanup coding style issue.
24160 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24161             Andreas Jaeger  <aj@suse.de>
24163         * nscd/nscd.c (go_background): Replaced with...
24164         (run_mode): ... this.
24165         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24166         (options): Add -F --foreground.
24167         (main): Implement it.
24168         (parse_opt): Parse it.
24170 2012-05-09  Andreas Jaeger  <aj@suse.de>
24172         [BZ #14083]
24173         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24174         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24175         -Wconversion warning.
24176         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24177         Likewise.
24179 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24181         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24182         == 0.
24183         (LC_ALL): Use macro-int-constant.
24184         (LC_COLLATE): Likewise.
24185         (LC_CTYPE): Likewise.
24186         (LC_MESSAGES): Likewise.
24187         (LC_MONETARY): Likewise.
24188         (LC_NUMERIC): Likewise.
24189         (LC_TIME): Likewise.
24190         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24191         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24192         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24193         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24194         Specify type.
24195         [C99-based standards] (float_t): Expect type.
24196         [C99-based standards] (double_t): Expect type.
24197         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24198         type.
24199         [C99-based standards] (HUGE_VALL): Likewise.
24200         [C99-based standards] (INFINITY): Likewise.
24201         [C99-based standards] (NAN): Likewise.
24202         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24203         [C99-based standards] (FP_NAN): Likewise.
24204         [C99-based standards] (FP_NORMAL): Likewise.
24205         [C99-based standards] (FP_SUBNORMAL): Likewise.
24206         [C99-based standards] (FP_ZERO): Likewise.
24207         [C99-based standards] (FP_FAST_FMA): Use
24208         optional-macro-int-constant.  Specify type.  Require == 1.
24209         [C99-based standards] (FP_FAST_FMAF): Likewise.
24210         [C99-based standards] (FP_FAST_FMAL): Likewise.
24211         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24212         [C99-based standards] (FP_ILOGBNAN): Likewise.
24213         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24214         Specify type.
24215         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24216         [C99-based standards] (math_errhandling): Specify type.
24217         [ISO99 || ISO11] (signgam): Do not allow.
24218         [non-C99-based standards] (copysignf): Do not allow.
24219         [non-C99-based standards] (exp2f): Likewise.
24220         [non-C99-based standards] (log2f): Likewise.
24221         [non-C99-based standards] (modff): Allow.
24222         [non-C99-based standards] (erff): Do not allow.
24223         [non-C99-based standards] (erfcf): Likewise.
24224         [non-C99-based standards] (gammaf): Likewise.
24225         [non-C99-based standards] (hypotf): Likewise.
24226         [non-C99-based standards] (j0f): Likewise.
24227         [non-C99-based standards] (j1f): Likewise.
24228         [non-C99-based standards] (jnf): Likewise.
24229         [non-C99-based standards] (lgammaf): Likewise.
24230         [non-C99-based standards] (tgammaf): Likewise.
24231         [non-C99-based standards] (y0f): Likewise.
24232         [non-C99-based standards] (y1f): Likewise.
24233         [non-C99-based standards] (ynf): Likewise.
24234         [non-C99-based standards] (isnanf): Likewise.
24235         [non-C99-based standards] (acoshf): Likewise.
24236         [non-C99-based standards] (asinhf): Likewise.
24237         [non-C99-based standards] (atanhf): Likewise.
24238         [non-C99-based standards] (cbrtf): Likewise.
24239         [non-C99-based standards] (expm1f): Likewise.
24240         [non-C99-based standards] (ilogbf): Likewise.
24241         [non-C99-based standards] (log1pf): Likewise.
24242         [non-C99-based standards] (logbf): Likewise.
24243         [non-C99-based standards] (nextafterf): Likewise.
24244         [non-C99-based standards] (remainderf): Likewise.
24245         [non-C99-based standards] (rintf): Likewise.
24246         [non-C99-based standards] (scalbf): Likewise.
24247         [non-C99-based standards] (copysignl): Likewise.
24248         [non-C99-based standards] (exp2l): Likewise.
24249         [non-C99-based standards] (log2l): Likewise.
24250         [non-C99-based standards] (modfl): Allow.
24251         [non-C99-based standards] (erfl): Do not allow.
24252         [non-C99-based standards] (erfcl): Likewise.
24253         [non-C99-based standards] (gammal): Likewise.
24254         [non-C99-based standards] (hypotl): Likewise.
24255         [non-C99-based standards] (j0l): Likewise.
24256         [non-C99-based standards] (j1l): Likewise.
24257         [non-C99-based standards] (jnl): Likewise.
24258         [non-C99-based standards] (lgammal): Likewise.
24259         [non-C99-based standards] (tgammal): Likewise.
24260         [non-C99-based standards] (y0l): Likewise.
24261         [non-C99-based standards] (y1l): Likewise.
24262         [non-C99-based standards] (ynl): Likewise.
24263         [non-C99-based standards] (isnanl): Likewise.
24264         [non-C99-based standards] (acoshl): Likewise.
24265         [non-C99-based standards] (asinhl): Likewise.
24266         [non-C99-based standards] (atanhl): Likewise.
24267         [non-C99-based standards] (cbrtl): Likewise.
24268         [non-C99-based standards] (expm1l): Likewise.
24269         [non-C99-based standards] (ilogbl): Likewise.
24270         [non-C99-based standards] (log1pl): Likewise.
24271         [non-C99-based standards] (logbl): Likewise.
24272         [non-C99-based standards] (nextafterl): Likewise.
24273         [non-C99-based standards] (remainderl): Likewise.
24274         [non-C99-based standards] (rintl): Likewise.
24275         [non-C99-based standards] (scalbl): Likewise.
24276         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24277         [non-C99-based standards] (FP_*): Do not allow.
24278         [C99-based standards] (FP_*): Change to
24279         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24280         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24281         allow.
24282         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24283         (SIG_ERR): Likewise.
24284         [X/Open-based standards] (SIG_HOLD): Likewise.
24285         (SIG_IGN): Likewise.
24286         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24287         positive value.
24288         (SIGFPE): Likewise.
24289         (SIGILL): Likewise.
24290         (SIGINT): Likewise.
24291         (SIGSEGV): Likewise.
24292         (SIGTER): Likewise.
24293         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24294         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24295         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24296         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24297         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24298         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24299         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24300         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24301         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24302         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24303         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24304         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24305         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24306         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24307         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24308         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24309         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24310         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24311         [X/Open-based standards] (SIGTRAP): Likewise.
24312         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24313         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24314         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24315         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24316         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24317         allow.
24319 2012-05-08  Ian Wienand  <ianw@vmware.com>
24321         [BZ #14080]
24322         * time/tzset.c (__tzset_parse_tz): Update default rules for
24323         daylight time changes in the Energy Policy Act of 2005.
24325 2012-05-09  Andreas Jaeger  <aj@suse.de>
24327         [BZ #13983]
24328         * elf/ldconfig.c (parse_conf): Change string to make clear that
24329         ldconfig only issued a warning if ld.so.conf does not exist.
24331 2012-05-08  David S. Miller  <davem@davemloft.net>
24333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24334         movxtod instead of popping the value on the stack.
24336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24338 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24340         * config.h.in: Add HAVE_ARM_PCS_VFP.
24342 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24344         [BZ #13979]
24345         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24346         checking but the checks are disabled for any reason.
24348 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24350         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24351         and ELF64_R_TYPE with ELFW(R_TYPE).
24353 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24355         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24356         (ulimit): Likewise.
24358         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24359         (settimeofday): Likewise.
24361 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24363         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24364         a struct th_u2 inside the union, and move tu_block/tu_code into
24365         a new th_u3 union of tu_block/tu_code inside of that.  Move
24366         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24367         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24368         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24369         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24370         (th_stuff): Change to th_u1.tu_stuff.
24371         (th_data): Define.
24372         (th_msg): Change to th_u1.th_u2.tu_data.
24374 2012-05-07  David S. Miller  <davem@davemloft.net>
24376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24378         [BZ #14074]
24379         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24380         (SETUP_PIC_REG): Use it.
24381         (SETUP_PIC_REG_LEAF): Use it.
24383 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24385         [BZ #13885]
24386         [BZ #13923]
24387         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24388         USE_AS_EXPM1L.
24389         (EXPL_FINITE): Likewise.
24390         (FLDLOG): Likewise.
24391         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24392         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24393         e_expl.S.
24394         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24395         USE_AS_EXPM1L.
24396         (EXPL_FINITE): Likewise.
24397         (FLDLOG): Likewise.
24398         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24399         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24400         e_expl.S.
24401         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24402         test of -max_value argument for long double.
24403         * sysdeps/i386/fpu/libm-test-ulps: Update.
24404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24406 2012-05-06  David S. Miller  <davem@davemloft.net>
24408         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24409         quad soft-float symbols whose references which are compiler
24410         generated.
24411         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24413 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24415         [BZ #13884]
24416         [BZ #13914]
24417         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24418         USE_AS_EXP10L.
24419         (EXPL_FINITE): Likewise.
24420         (FLDLOG): Likewise.
24421         (c0): Likewise.
24422         (c1): Likewise.
24423         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24424         Adjust comments for base varying.
24425         (__expl_finite): Change alias to EXPL_FINITE.
24426         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24427         e_expl.S.
24428         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24429         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24430         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24431         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24432         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24433         USE_AS_EXP10L.
24434         (EXPL_FINITE): Likewise.
24435         (FLDLOG): Likewise.
24436         (c0): Likewise.
24437         (c1): Likewise.
24438         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24439         Adjust comments for base varying.
24440         (__expl_finite): Change alias to EXPL_FINITE.
24441         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24442         tests for bugs.
24443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24445         [BZ #14064]
24446         * math/libm-test.inc (check_float_internal): Correct ulp
24447         calculation for subnormal expected results.
24449 2012-05-06  Andreas Jaeger  <aj@suse.de>
24451         * Makeconfig (+math-flags): New, set to -frounding-math.
24452         (+cflags): Add +math-flags so that all of glibc gets compiled with
24453         it.
24455         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24457 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24459         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24460         Disable one test.
24462         [BZ #13787]
24463         [BZ #13922]
24464         [BZ #14036]
24465         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24466         (__ieee754_expl): Allow for and saturate large arguments.
24467         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24468         (u_threshold): Likewise.
24469         (__exp): Call __ieee754_exp before checking for overflow and
24470         underflow.
24471         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24472         (u_threshold): Likewise.
24473         (__expf): Call __ieee754_expf before checking for overflow and
24474         underflow.
24475         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24476         (u_threshold): Likewise.
24477         (__expl): Call __ieee754_expl before checking for overflow and
24478         underflow.
24479         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24480         (__ieee754_expl): Allow for and saturate large arguments.
24481         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24482         missing overflow exception on overflow.
24483         (expm1_test): Do not allow missing overflow exception on overflow.
24485         * sysdeps/i386/fpu/e_expl.c: Move to ...
24486         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24487         rather than using inline asm.
24488         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24489         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24490         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24492         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24493         (nice): Likewise.
24494         (poll): Likewise.
24495         (signal): Likewise.
24496         (time): Likewise.
24497         (times): Likewise.
24499 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24501         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24502         sysdeps/unix/common/syscalls.list.
24503         (fchmod): Likewise.
24504         (fchown): Likewise.
24505         (ftruncate): Likewise.
24506         (getrusage): Likewise.
24507         (gettimeofday): Likewise.
24508         (setpgid): Likewise.
24509         (setregid): Likewise.
24510         (setreuid): Likewise.
24511         (sigaction): Likewise.
24512         (truncate): Likewise.
24513         (vhangup): Likewise.
24514         * sysdeps/unix/common/syscalls.list: Remove file.
24515         * sysdeps/unix/bsd/Implies: Don't include unix/common.
24516         * sysdeps/unix/sysv/linux/Implies: Likewise.
24518 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
24520         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24522         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24523         Moved to ...
24524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24525         Here.
24526         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24527         to ...
24528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24529         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24530         to ...
24531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24532         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24533         to ...
24534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24535         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24536         to ...
24537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24538         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24539         to ...
24540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24541         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24542         to ...
24543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24544         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24545         to ...
24546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24547         Here.
24548         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24549         to ...
24550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24551         Here.
24552         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24553         to ...
24554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24555         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24556         Moved to ...
24557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24558         Here.
24559         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24560         to ...
24561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24563 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24565         * sysdeps/unix/common/bits/dirent.h: Remove file.
24566         * sysdeps/unix/common/bits/fcntl.h: Likewise.
24568         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24569         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24570         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24571         * sysdeps/unix/bsd/isatty.c: Likewise.
24572         * sysdeps/unix/bsd/tcdrain.c: Likewise.
24573         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24574         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24576 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24578         [BZ #13563]
24579         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24580         long double comparison inaccuracies.
24581         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24584 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
24586         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24587         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24589 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24591         [BZ #14049]
24592         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24593         nonzero digits before rounding a hex value.
24594         * stdlib/tst-strtod.c (tests): Add another test.
24596 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24598         * sysdeps/s390/fpu/libm-test-ulps: Update.
24600 2012-05-03  Andreas Jaeger  <aj@suse.de>
24602         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24603         does not get optimized out.
24604         (malloc_opt_barrier): New.
24606 2012-05-03  Andreas Jaeger  <aj@suse.de>
24607             Roland McGrath  <roland@hack.frob.com>
24609         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24610         intermediate file deletion.
24611         (generated): Add .symlist files.
24613 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
24615         [BZ #13775]
24616         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24617         Redirect under this condition.
24618         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24619         [__USE_GNU] (__dprintf_chk): Not under this condition.
24620         [__USE_GNU] (__vdprintf_chk): Likewise.
24621         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24622         under this condition.
24623         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24624         [__USE_XOPEN2K8] (dprintf): Define under this condition.
24625         [__USE_XOPEN2K8] (vdprintf): Likewise.
24626         [__USE_GNU] (__dprintf_chk): Not under this condition.
24627         [__USE_GNU] (__vdprintf_chk): Likewise.
24628         [__USE_GNU] (dprintf): Likewise.
24629         [__USE_GNU] (vdprintf): Likewise.
24631 2012-05-03  Roland McGrath  <roland@hack.frob.com>
24633         * elf/Makefile (common-generated): Set this instead of generated for
24634         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
24635         $(all-built-dso)-derived lists.
24637 2012-05-03  Andreas Jaeger  <aj@suse.de>
24639         * sysdeps/i386/fpu/libm-test-ulps: Update.
24641         * FAQ: Removed.
24642         * FAQ.in: Likewise.
24643         * scripts/gen-FAQ.pl: Likewise.
24644         * manual/install.texi (Installation): Point to online location of
24645         FAQ.
24646         * Makefile (files-for-dist): Remove FAQ.
24647         (FAQ): Remove.
24649 2012-05-02  Allan McRae  <allan@archlinux.org>
24651         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24652         (LDFLAGS-reldepmod5.so): Likewise.
24653         (LDFLAGS-reldep6mod1.so): Likewise.
24654         (LDFLAGS-reldep6mod4.so): Likewise.
24655         (LDFLAGS-reldep8mod3.so): Likewise.
24656         (LDFLAGS-unload4mod1.so): Likewise.
24657         (LDFLAGS-unload4mod2.so): Likewise.
24658         (LDFLAGS-tst-initorder): Likewise.
24659         (LDFLAGS-tst-initordera2.so): Likewise.
24660         (LDFLAGS-tst-initordera3.so): Likewise.
24661         (LDFLAGS-tst-initordera4.so): Likewise.
24662         (LDFLAGS-tst-initorderb2.so): Likewise.
24663         (LDFLAGS-noload): Likewise.
24664         (LDFLAGS-next): Likewise.
24665         (LDFLAGS-order2mod1.so): Likewise.
24666         (LDFLAGS-order2mod2.so): Likewise.
24667         (LDFLAGS-tst-initorder2): Likewise.
24668         (LDFLAGS-tst-initorder2a.so): Likewise.
24669         (LDFLAGS-tst-initorder2b.so): Likewise.
24670         (LDFLAGS-tst-initorder2c.so): Likewise.
24671         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24673 2012-05-02  David S. Miller  <davem@davemloft.net>
24675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24677 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24679         [BZ #14055]
24680         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24682 2012-05-02  Andreas Jaeger  <aj@suse.de>
24684         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24685         since we manipulate rounding mode.
24686         (CPPFLAGS-test-idouble.c): Likewise.
24687         (CPPFLAGS-test-ifloat.c): Likewise.
24688         (CFLAGS-test-ldouble.c): Likewise.
24689         (CFLAGS-test-double.c): Likewise.
24690         (CFLAGS-test-float.c): Likewise.
24691         (CFLAGS-test-misc.c): Likewise.
24692         (CFLAGS-test-test-fenv.c): Likewise.
24694 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24696         [BZ #2550]
24697         [BZ #2570]
24698         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24699         comparisons to determine direction to adjust input.
24701 2012-05-01  Roland McGrath  <roland@hack.frob.com>
24703         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24704         output to the target.
24706         * scripts/localplt.awk: New file.
24707         * elf/Makefile ($(objpfx)check-localplt): Target removed.
24708         (check-localplt-CFLAGS): Variable removed.
24709         ($(all-built-dso:=.jmprel)): New static pattern rule.
24710         (generated): Add those targets.
24711         (localplt-built-dso): New variable.
24712         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24714         * elf/check-localplt.c: File removed.
24716         * scripts/check-execstack.awk: New file.
24717         * elf/Makefile ($(objpfx)check-execstack): Target removed.
24718         (check-execstack-CFLAGS): Variable removed.
24719         ($(objpfx)check-execstack.h): Target removed.
24720         ($(objpfx)execstack-default): New target.
24721         (generated): Add that instead of check-execstack.h.
24722         ($(all-built-dso:=.phdr)): New static pattern rule.
24723         (generated): Add those targets.
24724         * elf/check-execstack.c: File removed.
24726         * scripts/check-textrel.awk: New file.
24727         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24728         (check-textrel-CFLAGS): Variable removed.
24729         (all-built-dso): Use := to define.o
24730         ($(all-built-dso:=.dyn)): New static pattern rule.
24731         (generated): Add those targets.
24732         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24733         * config.make.in (READELF): New substituted variable.
24734         * elf/check-textrel.c: File removed.
24736 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24738         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24739         allow.
24740         * conform/data/ctype.h-data [C99-based standards] (isblank):
24741         Expect function.
24742         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24743         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24744         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24745         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24746         Specify type.  Require positive value.
24747         (EILSEQ): Likewise.
24748         (ERANGE): Likewise.
24749         [ISO || POSIX] (EILSEQ): Do not expect.
24750         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24751         Specify type.  Require positive value.
24752         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24753         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24754         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24755         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24756         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24757         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24758         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24759         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24760         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24761         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24762         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24763         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24764         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24765         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24766         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24767         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24768         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24769         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24770         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24771         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24772         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24773         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24774         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24775         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24776         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24777         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24778         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24779         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24780         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24781         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24782         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24783         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24784         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24785         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24786         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24787         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24788         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24789         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24790         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24791         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24792         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24793         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24794         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24795         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24796         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24797         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24798         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24799         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24800         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24801         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24802         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24803         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24804         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24805         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24806         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24807         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24808         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24809         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24810         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24811         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24812         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24813         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24814         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24815         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24816         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24817         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24818         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24819         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24820         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24821         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24822         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24823         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24824         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24825         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24826         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24827         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24828         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24829         Require >= 2.
24830         (FLT_ROUNDS): Expect as macro, not constant.
24831         (FLT_MANT_DIG): Use macro-int-constant.
24832         (DBL_MANT_DIG): Likewise.
24833         (LDBL_MANT_DIG): Likewise.
24834         (FLT_DIG): Likewise.
24835         (DBL_DIG): Likewise.
24836         (LDBL_DIG): Likewise.
24837         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24838         (DBL_MIN_EXP): Likewise.
24839         (LDBL_MIN_EXP): Likewise.
24840         (FLT_MAX_EXP): Use macro-int-constant.
24841         (DBL_MAX_EXP): Likewise.
24842         (LDBL_MAX_EXP): Likewise.
24843         (FLT_MAX_10_EXP): Likewise.
24844         (DBL_MAX_10_EXP): Likewise.
24845         (LDBL_MAX_10_EXP): Likewise.
24846         (FLT_MAX): Use macro-constant.
24847         (DBL_MAX): Likewise.
24848         (LDBL_MAX): Likewise.
24849         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24850         (DBL_EPSILON): Likewise.
24851         (LDBL_EPSILON): Likewise.
24852         (FLT_MIN): Likewise.
24853         (DBL_MIN): Likewise.
24854         (LDBL_MIN): Likewise.
24855         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24856         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24857         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24858         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24859         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24860         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24861         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24862         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24863         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24864         [ISO11] (FLT_TRUE_MIN): Likewise.
24865         [ISO11] (LDBL_TRUE_MIN): Likewise.
24866         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24867         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24868         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24869         (SCHAR_MAX): Likewise.
24870         (UCHAR_MAX): Likewise.
24871         (CHAR_MIN): Likewise.
24872         (CHAR_MAX): Likewise.
24873         (MB_LEN_MAX): Use macro-int-constant.
24874         (SHRT_MIN): Use macro-int-constant.  Specify type.
24875         (SHRT_MAX): Likewise.
24876         (USHRT_MAX): Likewise.
24877         (INT_MAX): Likewise.
24878         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24879         bound negative.
24880         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24881         bound with "U".
24882         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24883         bound with "L".
24884         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24885         bound negative.  Suffix upper bound with "L".
24886         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24887         bound with "UL".
24888         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24889         Specify type.
24890         [C99-based standards] (LLONG_MAX): Likewise.
24891         [C99-based standards] (ULLONG_MAX): Likewise.
24892         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24893         == 0.
24894         [ISO11] (max_align_t): Require type.
24895         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24897         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24898         from $CFLAGS, without defining away __attribute__ calls.
24899         (checknamespace): Use $CFLAGS_namespace.
24901         * conform/conformtest.pl (@keywords): Only include C99 keywords
24902         for standards based on C99 or C11.
24904         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24905         Disable tests.
24906         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24907         UNIX98]: Likewise.
24909         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24910         usability of symbols in #if.
24912         * conform/conformtest.pl: If macro or constant types start
24913         "promoted:", expect the symbol to be of the following type
24914         promoted by the integer promotions.
24916         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24917         in one place.  Also handle "macro-constant".
24919         * conform/conformtest.pl: Only accept expected macro values with
24920         "==".  Parse all "macro" lines in one place.
24921         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24923         * conform/conformtest.pl: Handle braced types on "constant" lines
24924         instead of handling "typed-constant".
24925         * conform/data/signal.h-data: Use "constant" instead of
24926         "typed-constant".
24928         * conform/conformtest.pl: Handle "optional-" at start of lines in
24929         one place rather than duplicating several cases.  Handle each
24930         format of "macro" line with initial "optional-".
24932         * conform/conformtest.pl: Only accept expected constant or
24933         optional-constant values with "==".  Parse all "constant" lines in
24934         one place.  Parse all "optional-constant" lines in one place.
24935         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24936         * conform/data/fmtmsg.h-data: Likewise.
24937         * conform/data/netinet/in.h-data: Likewise.
24938         * conform/data/tar.h-data: Likewise.
24939         * conform/data/limits.h-data: Use "==" form on "constant" and
24940         "optional-constant" lines.
24942         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24943         Use -std=c99 for XOPEN2K.
24944         (@knownproblems): Remove.
24945         (newtoken): Don't check %isknown.
24947         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24948         Do not expect macro.
24949         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24950         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24951         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24952         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24953         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24954         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24955         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24956         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24957         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24958         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24959         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24960         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24961         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24962         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24963         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24964         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24965         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24966         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24967         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24968         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24969         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24970         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24971         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24972         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24973         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24974         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24975         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24976         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24977         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24978         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24979         [XPG3] (acosh): Likewise.
24980         [XPG3] (asinh): Likewise.
24981         [XPG3] (atanh): Likewise.
24982         [XPG3] (cbrt): Likewise.
24983         [XPG3] (expm1): Likewise.
24984         [XPG3] (ilogb): Likewise.
24985         [XPG3] (log1p): Likewise.
24986         [XPG3] (logb): Likewise.
24987         [XPG3] (nextafter): Likewise.
24988         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24989         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24990         [XPG3] (remainder): Likewise.
24991         [XPG3] (rint): Likewise.
24992         [XPG3 || XPG4 || UNIX98] (round): Likewise.
24993         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24994         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24995         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24996         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24997         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24998         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24999         [UNIX98 || XOPEN2K] (scalb): Expect.
25000         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25001         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25002         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25003         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25004         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25005         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25006         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25007         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25008         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25009         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25010         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25011         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25012         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25013         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25014         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25015         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25016         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25017         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25018         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25019         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25020         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25021         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25022         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25023         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25024         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25025         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25026         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25027         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25028         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25029         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25030         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25031         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25032         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25033         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25034         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25035         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25036         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25037         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25038         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25039         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25040         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25041         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25042         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25043         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25044         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25045         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25046         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25047         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25048         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25049         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25050         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25051         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25052         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25053         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25054         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25055         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25056         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25057         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25058         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25059         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25060         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25061         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25062         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25063         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25064         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25065         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25066         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25067         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25068         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25069         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25070         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25071         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25072         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25073         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25074         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25075         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25076         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25077         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25078         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25079         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25080         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25081         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25082         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25083         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25084         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25085         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25086         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25087         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25088         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25089         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25090         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25091         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25092         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25093         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25094         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25095         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25096         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25097         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25098         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25099         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25100         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25101         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25102         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25103         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25104         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25105         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25106         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25107         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25108         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25109         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25110         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25111         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25112         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25113         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25114         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25115         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25116         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25117         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25118         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25119         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25120         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25121         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25122         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25123         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25124         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25125         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25126         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25127         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25128         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25129         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25130         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25131         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25132         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25133         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25134         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25135         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25136         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25138         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25139         _XOPEN_SOURCE_EXTENDED for XPG4.
25141         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25143         * Makeconfig (localtime): Remove variable.
25144         (inst_localtime-file): Likewise.
25146 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25149         Update.
25150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25151         Update.
25152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25153         Update.
25154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25155         Update.
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25157         Update.
25158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25159         Update.
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25161         Update.
25162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25163         Update.
25164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25165         Update.
25167 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25169         [BZ #2550]
25170         [BZ #2570]
25171         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25172         comparisons to determine direction to adjust input.
25173         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25174         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25175         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25176         Likewise.
25177         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25178         Likewise.
25179         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25180         Likewise.
25181         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25182         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25183         Likewise.
25184         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25185         Likewise.
25186         * math/libm-test.inc (nexttoward_test): Add more tests.
25188 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25190         [BZ #14040]
25191         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25192         in version GLIBC_2.1, not GLIBC_2.0.
25193         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25194         Likewise.
25196 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25198         [BZ #13942]
25199         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25200         (1 - x) * (1 + x).
25201         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25202         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25203         * math/libm-test.inc (acos_test): Add more tests.
25204         (asin_test): Likewise.
25205         * sysdeps/i386/fpu/libm-test-ulps: Update.
25206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25208         [BZ #14034]
25209         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25210         of square root.
25211         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25212         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25213         * math/libm-test.inc (acos_test_tonearest): New function.
25214         (acos_test_towardzero): Likewise.
25215         (acos_test_downward): Likewise.
25216         (acos_test_upward): Likewise.
25217         (asin_test_tonearest): Likewise.
25218         (asin_test_towardzero): Likewise.
25219         (asin_test_downward): Likewise.
25220         (asin_test_upward): Likewise.
25221         (main): Call the new functions.
25222         * sysdeps/i386/fpu/libm-test-ulps: Update.
25223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25225         [BZ #13884]
25226         [BZ #13924]
25227         * math/e_exp10.c: Include <float.h>.
25228         (__ieee754_exp10): Handle underflow here rather than multiplying
25229         large negative argument by M_LN10.
25230         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25231         of __ieee754_expf.
25232         * math/e_exp10l.c: Include <float.h>.
25233         (__ieee754_exp10l): Handle underflow here rather than multiplying
25234         large negative argument by M_LN10l.
25235         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25236         spurious overflow exception on underflow.
25238 2012-04-29  Marek Polacek  <polacek@redhat.com>
25240         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25241         (__fortify_function): New macro.
25242         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25243         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25244         __extern_always_inline.
25245         * libio/bits/stdio2.h: Likewise.
25246         * libio/bits/stdio.h: Likewise.
25247         * string/string.h: Likewise.
25248         * string/bits/string3.h: Likewise.
25249         * include/stdio.h: Likewise.
25250         * stdlib/bits/stdlib.h: Likewise.
25251         * stdlib/stdlib.h: Likewise.
25252         * rt/bits/mqueue2.h: Likewise.
25253         * rt/mqueue.h: Likewise.
25254         * posix/bits/unistd.h: Likewise.
25255         * posix/unistd.h: Likewise.
25256         * io/bits/poll2.h: Likewise.
25257         * io/bits/fcntl2.h: Likewise.
25258         * io/fcntl.h: Likewise.
25259         * io/sys/poll.h: Likewise.
25260         * misc/bits/syslog.h: Likewise.
25261         * misc/bits/syslog-ldbl.h: Likewise.
25262         * misc/sys/syslog.h: Likewise.
25263         * socket/bits/socket2.h: Likewise.
25264         * socket/sys/socket.h: Likewise.
25265         * debug/tst-chk1.c: Likewise.
25266         * wcsmbs/bits/wchar2.h: Likewise.
25267         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25268         * wcsmbs/wchar.h: Likewise.
25270 2012-04-29  Andreas Jaeger  <aj@suse.de>
25272         * Makerules (tests): Remove enable-check-abi protection.
25273         (check-abi-warn): Remove.
25274         (check-abi-%): Remove check-abi-warn usage.
25276         * configure.in: Remove check-abi configure option.
25277         * configure: Regenerated.
25278         * config.make.in (enable-check-abi): Remove.
25280 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25282         [BZ #14033]
25283         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25284         double functions to double *_finite functions.
25286         [BZ #13941]
25287         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25288         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25289         LDBL_MIN_EXP.
25290         * stdio-common/Makefile (tests): Add tst-sprintf3.
25291         * stdio-common/tst-sprintf3.c: New file.
25293         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25294         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25296 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25298         * conform/conformtest.pl: Remove duplicate typed-constant
25299         handling.
25301 2012-04-28  David S. Miller  <davem@davemloft.net>
25303         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25304         (check-abi-%): Remove AWK script prerequisite and explicit
25305         abilist directory.
25306         (check-abi): Rewrite to just diff the symlist with the abilist.
25307         (config-tls, config-abi-config): Delete, no longer used.
25308         (update-abi-%): Remove AWK script and explicit abilist directory.
25309         (update-abi): Rewrite to simply compare and conditionally copy the
25310         symlist and the sysdep abilist file.  Remove update-abi-config
25311         checks.
25312         * abilist/ld.abilist: Remove.
25313         * abilist/libBrokenLocale.abilist: Remove.
25314         * abilist/libanl.abilist: Remove.
25315         * abilist/libcrypt.abilist: Remove.
25316         * abilist/libdl.abilist: Remove.
25317         * abilist/librt.abilist: Remove.
25318         * abilist/libthread_db.abilist: Remove.
25319         * abilist/libutil.abilist: Remove.
25320         * scripts/extract-abilist.awk: Remove.
25321         * scripts/merge-abilist.awk: Remove.
25322         * sysdeps/generic/libcidn.abilist: New file.
25323         * sysdeps/generic/libnss_compat.abilist: New file.
25324         * sysdeps/generic/libnss_db.abilist: New file.
25325         * sysdeps/generic/libnss_dns.abilist: New file.
25326         * sysdeps/generic/libnss_files.abilist: New file.
25327         * sysdeps/generic/libnss_hesiod.abilist: New file.
25328         * sysdeps/generic/libnss_nis.abilist: New file.
25329         * sysdeps/generic/libnss_nisplus.abilist: New file.
25330         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25331         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25332         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25333         file.
25334         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25335         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25336         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25337         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25338         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25339         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25340         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25341         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25342         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25343         file.
25344         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25345         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25346         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25347         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25348         file.
25349         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25350         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25351         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25352         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25353         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25354         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25355         file.
25356         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25357         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25358         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25359         file.
25360         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25362         New file.
25363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25364         New file.
25365         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25366         New file.
25367         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25368         New file.
25369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25370         New file.
25371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25372         New file.
25373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25374         New file.
25375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25376         New file.
25377         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25378         New file.
25379         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25380         New file.
25381         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25382         New file.
25383         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25384         New file.
25385         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25386         New file.
25387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25388         file.
25389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25390         New file.
25391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25392         New file.
25393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25394         file.
25395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25396         New file.
25397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25398         New file.
25399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25400         file.
25401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25402         New file.
25403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25404         New file.
25405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25406         New file.
25407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25408         New file.
25409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25410         New file.
25411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25412         New file.
25413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25415         file.
25416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25417         New file.
25418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25419         file.
25420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25421         file.
25422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25423         file.
25424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25425         file.
25426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25427         file.
25428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25429         New file.
25430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25431         file.
25432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25433         file.
25434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25435         New file.
25436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25437         file.
25438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25440         file.
25441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25442         New file.
25443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25444         file.
25445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25446         file.
25447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25448         file.
25449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25450         file.
25451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25452         file.
25453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25454         New file.
25455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25456         file.
25457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25458         file.
25459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25460         New file.
25461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25462         file.
25463         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25464         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25465         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25466         file.
25467         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25468         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25469         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25470         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25471         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25472         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25473         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25474         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25475         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25476         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25479         file.
25480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25481         New file.
25482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25483         file.
25484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25485         file.
25486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25487         file.
25488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25489         file.
25490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25491         file.
25492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25493         New file.
25494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25495         New file.
25496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25497         file.
25498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25499         New file.
25500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25501         file.
25502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25504         file.
25505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25506         New file.
25507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25508         file.
25509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25510         file.
25511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25512         file.
25513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25514         file.
25515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25516         file.
25517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25518         New file.
25519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25520         New file.
25521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25522         file.
25523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25524         New file.
25525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25526         file.
25528 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25530         * conform/conformtest.pl: Fix typo in handling typed-constant from
25531         allow-header.
25533 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25535         * README: Cut down references to pre-2.6 Linux kernels and
25536         Linuxthreads.  Update lists of configurations in libc and ports
25537         and sort alphabetically.  Say "or newer" with Linux kernel version
25538         requirements.
25540         * config.h.in [IS_IN_build]: Allow compiling without optimization.
25542 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25544         [BZ #887]
25545         * math/libm-test.inc (logb_test_downward): New test to expose
25546         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25547         rounding mode.
25549 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25551         [BZ #14027]
25552         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25553         to be done.
25554         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25555         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25557 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
25559         * sysdeps/unix/i386/brk.S: Remove file.
25560         * sysdeps/unix/i386/dl-brk.S: Likewise.
25561         * sysdeps/unix/i386/pipe.S: Likewise.
25562         * sysdeps/unix/i386/sigreturn.S: Likewise.
25563         * sysdeps/unix/i386/syscall.S: Likewise.
25564         * sysdeps/unix/i386/vfork.S: Likewise.
25565         * sysdeps/unix/i386/wait.S: Likewise.
25567         * sysdeps/unix/common/tcsendbrk.c: Move to ...
25568         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25570         * configure.in (arm*-none*): Do not allow without
25571         --enable-hacker-mode.
25572         (netbsd*): Remove case setting base_os.
25573         (386bsd*): Likewise.
25574         (freebsd*): Likewise.
25575         (bsdi*): Likewise.
25576         (osf*): Likewise.
25577         (sunos*): Likewise.
25578         (ultrix*): Likewise.
25579         (newsos*): Likewise.
25580         (dynix*): Likewise.
25581         (*bsd*): Likewise.
25582         (sysv*): Likewise.
25583         (isc*): Likewise.
25584         (esix*): Likewise.
25585         (sco*): Likewise.
25586         (minix*): Likewise.
25587         (irix4*): Likewise.
25588         (irix6*): Likewise.
25589         (solaris[2-9]*): Likewise.
25590         (none): Likewise.
25591         * configure: Regenerated.
25593 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25595         [BZ #11521]
25596         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25597         overflow or cancellation in calculating denominator.
25598         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25599         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25600         down expression to avoid unexpected rounding in newer GCCs.
25601         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25603 2012-04-26  David S. Miller  <davem@davemloft.net>
25605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25606         long-double compat symbols.
25607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25621 2012-04-25  David S. Miller  <davem@davemloft.net>
25623         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25624         HWCAP_* values only after the memory barriers have been defined.
25625         (atomic_full_barrier): Define.
25626         (atomic_read_barrier): Define.
25627         (atomic_write_barrier): Define.
25629 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25631         * shlib-versions: Add libgcc_s version information.
25632         * sysdeps/generic/libgcc_s.h: Remove.
25633         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25634         libgcc_s.h.
25635         * sysdeps/gnu/unwind-resume.c: Likewise.
25636         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25638 2012-04-25  David S. Miller  <davem@davemloft.net>
25640         * sysdeps/unix/sparc/brk.S: Delete.
25641         * sysdeps/unix/sparc/dl-brk.S: Delete.
25642         * sysdeps/unix/sparc/pipe.S: Delete.
25643         * sysdeps/unix/sparc/sysdep.S: Delete.
25644         * sysdeps/unix/sparc/sysdep.h: Delete.
25645         * sysdeps/unix/sparc/vfork.S: Delete.
25646         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25647         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25648         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25649         ret_ERRVAL, r0, r1, MOVE): Define.
25650         (JUMPTARGET): Remove.
25651         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25652         sysdeps/unix/sparc/sysdep.h
25653         (ENTRY, END): Remove.
25654         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25656 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
25658         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25659         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25660         -DIS_IN_build.
25662         * timezone/README: Update upstream location and email address for
25663         tzcode and tzdata.
25664         * timezone/zdump.c: Update from tzcode 2012b.
25665         * timezone/zic.c: Likewise.
25667         * configure.in (libc_cv_as_needed): Remove test.
25668         * configure: Regenerated.
25669         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25670         conditional definition.
25671         [$(have-as-needed) != yes] (no-as-needed): Likewise.
25672         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25673         * config.make.in (have-as-needed): Remove variable.
25675 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25676             Paul Pluzhnikov  <ppluzhnikov@google.com>
25678         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25679         strings correctly.
25681 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
25683         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25684         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25685         * sysdeps/sh/strlen.S: Likewise.
25687 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25689         * sysdeps/unix/fork.S: Remove file.
25690         * sysdeps/unix/i386/fork.S: Likewise.
25691         * sysdeps/unix/sparc/fork.S: Likewise.
25693         * sysdeps/unix/system.c: Remove file.
25694         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25696         * sysdeps/unix/getegid.S: Remove file.
25697         * sysdeps/unix/geteuid.S: Likewise.
25699 2012-04-24  Roland McGrath  <roland@hack.frob.com>
25701         * scripts/check-localplt.awk: New file.
25702         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25703         of diff.
25704         * scripts/data/localplt-generic.data: Add a comment.
25706         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25707         NODE when __dir_mkfile failed.
25708         * sysdeps/mach/hurd/symlinkat.c: Likewise.
25709         Reported by Ludovic Courtès <ludo@gnu.org>.
25711 2012-04-24  Andreas Jaeger  <aj@suse.de>
25713         * Makerules (common-clean): Also remove gen-as-const-headers
25714         files.
25716 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25718         * Makerules (native-compile): Do not change working directory for
25719         build.  Use $(OUTPUT_OPTION) in command.
25720         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25722 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25724         [BZ #13886]
25725         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25726         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25727         * math/libm-test.inc (floor_test): Add more tests.
25728         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25730 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25732         * sysdeps/unix/getdents.c: Remove file.
25733         * sysdeps/unix/sysv/getdents.c: Likewise.
25734         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25736         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25737         sysdeps/unix/mman/syscalls.list.
25738         (mmap): Likewise.
25739         (mprotect): Likewise.
25740         (msync): Likewise.
25741         (munmap): Likewise.
25742         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25743         * sysdeps/unix/mman/syscalls.list: Remove.
25744         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25746         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25747         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25748         * configure: Regenerated.
25749         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25750         $(libgcc_s_suffix).
25751         * config.make.in (libgcc_s_suffix): Remove variable.
25753 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25755         * sysdeps/unix/sysv/gethostname.c: Move to ...
25756         * sysdeps/posix/gethostname.c: ... here.
25758         * sysdeps/unix/execve.S: Remove file.
25760         * sysdeps/unix/_exit.S: Remove file.
25762 2012-04-23  Andreas Jaeger  <aj@suse.de>
25764         [BZ #13739]
25765         * manual/Makefile: Remove make dist support, there's no
25766         need for a stand-alone documentation tar ball.
25767         (TEXI2DVI): Define always, it's not in Makeconfig.
25768         (dist): Removed.
25769         (tar-it): Removed.
25770         (edition): Removed.
25771         (glibc-doc-$(edition).tar): Removed
25772         (%.Z): Removed.
25773         (%.gz): Removed.
25774         (%.uu): Removed.
25775         (ETAGS): Remove, it's in Makeconfig.
25776         (move-if-change): Remove, it's in Makeconfig.
25778 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25780         [BZ #13970]
25781         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25782         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25783         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25784         (strtod_l, strtof_l, strtold_l): Remove __wur.
25785         It is not necessarily an error to ignore strtol's return value.
25786         One can reliably look at the stored endptr to decide whether
25787         the number had valid syntax.
25789 2012-04-21  Andreas Jaeger  <aj@suse.de>
25791         [BZ #13739]
25792         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25794 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25796         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25797         * sysdeps/unix/sysv/Versions: Remove file.
25799 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25801         [BZ #13927]
25802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25804 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25806         [BZ #7064]
25807         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25808         version from __vm86.
25810 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25812         * sysdeps/unix/common/lxstat.c: Remove file.
25813         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25815         * sysdeps/unix/sysv/Makefile: Remove file.
25817         * sysdeps/unix/sysv/direct.h: Remove file.
25819         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25820         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25821         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25822         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25823         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25824         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25825         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25827         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25829         * sysdeps/unix/xmknod.c: Remove file.
25830         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25832         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25834         * sysdeps/unix/sysv/i386/time.S: Remove file.
25836         * sysdeps/unix/fxstat.c: Remove file.
25837         * sysdeps/unix/xstat.c: Likewise.
25838         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25840         * sysdeps/unix/sysv/sigaction.c: Remove file.
25842         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25843         (sysdep_headers): Remove variable.
25844         [termio.h not in sysdep_headers] (generated): Likewise.
25845         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25846         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25847         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25848         * sysdeps/unix/sysv/tcflow.c: Likewise.
25849         * sysdeps/unix/sysv/tcflush.c: Likewise.
25850         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25851         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25852         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25853         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25854         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25856         * sysdeps/unix/siglist.c: Remove file.
25858         * sysdeps/unix/getppid.S: Remove file.
25860         * sysdeps/unix/mkdir.c: Remove file.
25861         * sysdeps/unix/rmdir.c: Likewise.
25863 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25865         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25866         ERR_MAX value.
25867         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25868         errlist-compat value.
25870 2012-04-18  David S. Miller  <davem@davemloft.net>
25872         * sysdeps/generic/memcopy.h (reg_char): Delete.
25873         * debug/strcat_chk.c: Use char, not reg_char.
25874         * debug/strcpy_chk.c: Likewise.
25875         * debug/strncat_chk.c: Likewise.
25876         * debug/strncpy_chk.c: Likewise.
25877         * string/memchr.c: Likewise.
25878         * string/memrchr.c: Likewise.
25879         * string/rawmemchr.c: Likewise.
25880         * string/strcat.c: Likewise.
25881         * string/strchr.c: Likewise.
25882         * string/strchrnul.c: Likewise.
25883         * string/strcmp.c: Likewise.
25884         * string/strcpy.c: Likewise.
25885         * string/strncat.c: Likewise.
25886         * string/strncmp.c: Likewise.
25887         * string/strncpy.c: Likewise.
25889 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25891         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25892         __builtin_memcopy is called when src and dest ranges are known to not
25893         overlap.
25895 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25897         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25898         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25899         fwd_align_merge macro call.
25900         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25901         bwd_align_merge macro call.
25902         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25904 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25906         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25907         bwd_align_merge macros.
25908         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25909         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25910         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25912 2012-04-18  David S. Miller  <davem@davemloft.net>
25914         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25916 2012-04-18  Andreas Jaeger  <aj@suse.de>
25918         [BZ# 6794]
25919         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25920         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25921         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25923         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25924         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25925         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25927         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25928         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25929         Adjust for changed ldbl-128 files.
25931         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25932         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25933         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25935 2012-04-17  David S. Miller  <davem@davemloft.net>
25937         * sysdeps/sparc/sparc32/memcopy.h: Delete.
25939 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
25941         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25942         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25943         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25944         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25945         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25946         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25948 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25950         [BZ #6794]
25951         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25952         * math/libm-test.inc: Add ilogb errno and exception tests.
25953         * math/w_ilogb.c: New file: ilogb wrapper.
25954         * math/w_ilogbf.c: New file: ilogbf wrapper.
25955         * math/w_ilogbl.c: New file: ilogbl wrapper.
25956         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25957         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25958         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25959         exception being thrown with 0.0 as argument.
25960         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25961         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25962         exception being thrown with 0.0 as argument.
25963         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25964         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25965         exception being thrown with 0.0 as argument.
25966         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25967         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25968         exception being thrown with 0.0 as argument.
25969         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25970         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25971         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25972         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25973         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25974         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25975         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25976         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25977         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25979 2012-04-17  Petr Baudis  <pasky@ucw.cz>
25981         * include/sys/uio.h: Change __vector to __iovec to avoid clash
25982         with altivec.
25984 2012-04-16  Marek Polacek  <polacek@redhat.com>
25986         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25988 2012-04-16  Marek Polacek  <polacek@redhat.com>
25990         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25991         operands of fdivp instruction.
25993 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25995         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25996         * elf/tst-auditmod3b.c: Likewise.
25997         * elf/tst-auditmod4b.c: Likewise.
25998         * elf/tst-auditmod5b.c: Likewise.
25999         * elf/tst-auditmod6b.c: Likewise.
26000         * elf/tst-auditmod6c.c: Likewise.
26001         * elf/tst-auditmod7b.c: Likewise.
26002         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26003         * sysdeps/x86_64/preconfigure.in: Likewise.
26004         * sysdeps/x86_64/preconfigure: Regenerated.
26006 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26008         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26009         __ILP32__.
26011 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26013         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26014         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26016 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26018         [BZ #13973]
26019         * locale/iso-639.def: Fix gl language name. Spotted by
26020         Yaron Shahrabani.
26022 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26024         [BZ #2074]
26025         * libio/libio.h (__io_write_fn): Update comment.
26027 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26029         [BZ #2074]
26030         * stdio.texi (Hook Functions): The user provided writer function
26031         is not allowed to return -1.
26033 2012-04-11  David S. Miller  <davem@davemloft.net>
26035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26037 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26039         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26040         Add a leading slash to rtkaio.
26042 2012-04-11  Jim Meyering  <meyering@redhat.com>
26044         [BZ #11959]
26045         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26046         It is not necessarily an error to ignore fwrite's return
26047         value.  One can reliably use ferror to test for errors after
26048         the fact.
26050 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26052         * bits/types.h (__snseconds_t): New type.
26053         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26055         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26056         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26057         (__SNSECONDS_T_TYPE): Likewise.
26058         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26059         (__SNSECONDS_T_TYPE): Likewise.
26060         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26061         (__SNSECONDS_T_TYPE): Likewise.
26063 2012-04-10  Andreas Jaeger  <aj@suse.de>
26065         [BZ #2636]
26066         * manual/time.texi (Processor Time): Return type of times is
26067         elapsed real time since an arbitrary point in the past.
26068         (CPU Time): Move CLK_TCK from here...
26069         (Processor Time): ...to here.  Correct description.
26070         * manual/conf.texi (Constants for Sysconf): Correct description of
26071         _SC_CLK_TCK.
26073 2012-04-10  David S. Miller  <davem@davemloft.net>
26075         [BZ #13967]
26076         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26077         where the is a gap between DT_REL(A) and DT_JMPREL.
26079 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26081         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26082         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26083         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26085 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26087         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26088         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26089         (dl_main): Handle --inhibit-cache.
26090         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26091         _dl_inhibit_cache.
26092         * elf/dl-load.c (_dl_map_object): Use it.
26093         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26095 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26097         [BZ #13872]
26098         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26099         (__ieee754_powl): Saturate large exponents rather than testing for
26100         overflow of y*log2(x).
26101         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26102         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26103         exceptions.
26105         [BZ #11521]
26106         * math/s_ctan.c: Include <float.h>.
26107         (__ctan): Avoid internal overflow or cancellation in calculating
26108         denominator.
26109         * math/s_ctanf.c: Likewise.
26110         * math/s_ctanl.c: Likewise.
26111         * math/s_ctanh.c: Likewise.
26112         * math/s_ctanhf.c: Likewise.
26113         * math/s_ctanhl.c: Likewise.
26114         * math/libm-test.inc (ctan_test): Add more tests.
26115         (ctanh_test): Likewise.
26116         * sysdeps/i386/fpu/libm-test-ulps: Update.
26117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26119 2012-04-09  Andreas Jaeger  <aj@suse.de>
26121         [BZ #6894]
26122         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26123         is an optional BSD extension.
26125         [BZ #10254]
26126         * manual/stdio.texi (Opening Streams): Document additional fopen
26127         parameters.
26129 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26131         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26132         %eax without telling the compiler.
26134 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26136         [BZ # 13963]
26137         * manual/install.texi: Use sourceware.org.
26139 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26141         [BZ #13873]
26142         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26143         (__ieee754_pow): Generate overflow and underflow using huge*huge
26144         and tiny*tiny rather than just returning constant infinity or zero
26145         for large exponents.
26146         * math/libm-test.inc (pow_test): Require overflow exceptions for
26147         applicable cases of large exponents.
26149         [BZ #706]
26150         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26151         (__ieee754_pow): Use iterative multiplication algorithm only for
26152         integer exponents with absolute value below 1024.  Check for odd
26153         integer exponents when using algorithm for real exponents.
26154         * math/libm-test.inc (pow_test): Add more tests.
26155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26157 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26159         [BZ #13705]
26160         * math/libm-test.inc (exp_test): Do not allow overflow exception
26161         on underflow test.
26163 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26165         [BZ #13705]
26166         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26167         instead of __kernel_standard_f.
26169 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26171         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26172         * sysdeps/x86_64/memset_chk.S: Likewise.
26174 2012-04-08  Andreas Jaeger  <aj@suse.de>
26176         [BZ #10153]
26177         * manual/startup.texi (Environment Access): Describe return value
26178         for putenv and setenv.
26180         [BZ #6895]
26181         * manual/filesys.texi (Directory Entries): Add description for
26182         DT_LNK.
26184         [BZ #6890]
26185         * manual/filesys.texi (Directory Entries): Clarify that it's file
26186         system not operating system in the description of DT_UNKNOWN.
26188         [BZ #6578]
26189         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26191 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26193         [BZ #6649]
26194         * manual/llio.texi (Opening and Closing Files): Add cross
26195         reference to explain mode argument.
26197 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26199         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26200         * sysdeps/x86_64/memset_chk.S: Likewise.
26202 2012-04-07  David S. Miller  <davem@davemloft.net>
26204         * elf/elf.h (R_SPARC_WDISP10): Define.
26205         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26206         R_SPARC_SIZE32.
26207         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26208         R_SPARC_SIZE64 and R_SPARC_H34.
26210 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26212         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26213         conditions and remove no longer applicable assertion.
26215 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26217         * bits/byteswap.h: Include <features.h>.
26218         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26219         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26221 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26223         * bits/byteswap.h (__bswap_16): Removed.
26224         Include <bits/byteswap-16.h> to get __bswap_16.
26225         * sysdeps/i386/bits/byteswap.h: Likewise.
26226         * sysdeps/s390/bits/byteswap.h: Likewise.
26227         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26228         * bits/byteswap-16.h: New file.
26229         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26230         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26231         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26232         * string/Makefile (headers): Add bits/byteswap-16.h.
26234 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26236         [BZ #13895]
26237         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26238         extra indirection.
26239         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26240         * nss/tst-nss-static.c: New.
26242 2012-04-06  Robert Millan  <rmh@gnu.org>
26244         [BZ #6486]
26245         * manual/llio.texi (File Position Primitive): lseek
26246         refers to WHENCE when it really means OFFSET.
26248 2012-04-06  Andreas Jaeger  <aj@suse.de>
26250         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26251         strncmp declarations.
26253         * abilist/libc.abilist: Add __poll and __ppoll.
26255 2012-04-05  David S. Miller  <davem@davemloft.net>
26257         * scripts/check-local-headers.sh: Accept a host triplet in the
26258         path matched by the exclude regexp.
26260         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26261         definition.
26262         * sysdeps/powerpc/powerpc32/dl-machine.h
26263         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26264         * sysdeps/s390/s390-32/dl-machine.h
26265         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26266         * sysdeps/sparc/sparc32/dl-machine.h
26267         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26268         * sysdeps/sparc/sparc64/dl-machine.h
26269         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26271         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26272         lazy binding.
26273         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26274         undefined symbol errors.
26276         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26277         DT_NEEDED entries.
26279 2012-04-05  Michael Matz  <matz@suse.de>
26281         [BZ #13592]
26282         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26284 2012-04-05  Andreas Jaeger  <aj@suse.de>
26286         [BZ #13908]
26287         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26288         comment.
26290 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26292         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26293         which ROUND is no valid rounding mode.
26295 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26297         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26298         read again.
26299         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26301 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26303         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26304         an exception using FPU order intentionally.
26306 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26308         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26309         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26310         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26311         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26313 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26315         [BZ #12340]
26316         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26317         EINVAL when BUFLEN is too smal.
26319 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26321         [BZ #13553]
26322         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26323         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26325 2012-04-03  Andreas Jaeger  <aj@suse.de>
26327         [BZ #13938]
26328         * manual/setjmp.texi (System V contexts): Fix sentence.
26330         [BZ #13926]
26331         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26332         New macro for this case.
26333         [!__GNUC__] (__bswap_64): New inline function for this case.
26334         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26335         * bits/byteswap.h: Likewise.
26336         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26337         ull, guard with __GLIBC_HAVE_LONG_LONG.
26339         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26340         __GLIBC_HAVE_LONG_LONG.
26342         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26343         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26345 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26347         [BZ #13691]
26348         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26349         inptr and inend, rather than using last_ch.
26351 2012-04-02  David S. Miller  <davem@davemloft.net>
26353         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26354         * stdio-common/printf-parse.h (read_int): Change return type to
26355         'int', return -1 on INT_MAX overflow.
26356         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26357         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26358         overflows INT_MAX.  Check for overflow of in-format-string precision
26359         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26360         SIZE_MAX not INT_MAX for integer overflow test.
26361         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26362         skip the construct in the format string but do not record anything.
26363         * stdio-common/bug22.c: Adjust to test both width/prevision
26364         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26365         explicitly for proper errno values.
26367 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26369         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26370         CHAR_MAX.
26371         * string/test-strcmp.c [! WIDE]: Likewise.
26372         * time/tst-mktime2.c: Likewise for INT_MAX.
26373         * string/test-string.h: #include <sys/param.h> for MIN.
26375         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26376         * sysdeps/i386/init-first.c (init): Likewise.
26377         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26378         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26379         * sysdeps/sh/init-first.c (init): Likewise.
26381 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26383         * po/ru.po: Update from translation team.
26384         * po/vi.po: Likewise.
26386 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26388         * resolv/nss_dns/dns-host.c: Merge copyright years.
26390 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26392         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26393         Optimize memcpy with prefetch if
26394         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26395         src, dst pointers have unequal 16 byte alignments.
26397 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26399         [BZ #13928]
26400         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26401         from a CNAME entry and return the minimum ttl for the query.
26402         (gaih_getanswer_slice): Likewise.
26404 2012-03-30  Jeff Law  <law@redhat.com>
26406         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26407         due to long keys.
26408         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26409         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26411         * resolv/nss_dns/dns-host.c: Update copyright year.
26413 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26415         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26416         requests to save a system call.  Fix check that all bytes are sent.
26418         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26419         comments for sendmmsg.
26421 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26423         [BZ #13691]
26424         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26425         with only 1 character between 0x0041 and 0x01b0.
26426         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26427         * wcsmbs/tst-mbsnrtowcs.c: New file.
26429 2012-03-29  David S. Miller  <davem@davemloft.net>
26431         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26432         small copies by hand.
26434 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26436         [BZ #13761]
26437         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26438         _nss_compat_initgroups_dyn): Fall back to malloc/free
26439         for large group memberships.
26441 2012-03-28  David S. Miller  <davem@davemloft.net>
26443         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26444         that branches into memcpy.
26445         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26446         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26447         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26448         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26450         bits.
26451         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26452         implementation too.
26453         * sysdeps/sparc/mempcpy.S: New file.
26455         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26456         the IFUNC routine in the libc case.
26457         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26459         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26460         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26461         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26462         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26463         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26464         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26465         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26466         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26468         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26469         loop to 256 bytes instead of 64 bytes and fix test signedness.
26471         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26472         * sysdeps/sparc/sparc32/Makefile: rather than here...
26473         * sysdeps/sparc/sparc64/Makefile: and here.
26475 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26477         * malloc/mallocbug.c: Avoid warnings about unused variables.
26479 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26481         [BZ #13760]
26482         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26483         in the right place. Discard and retry query if response is
26484         larger than input buffer size.
26486 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26488         [BZ #369]
26489         [BZ #2678]
26490         [BZ #3866]
26491         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26492         x for large integer exponent.
26493         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26494         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26495         sign of result as needed afterwards.
26496         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26497         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26498         result for underflowing pow the same as for overflow.
26499         (__kernel_standard_l): Handle powl overflow and underflow here
26500         rather than calling __kernel_standard.
26501         * math/libm-test.inc (pow_test): Add more tests.
26503         [BZ #3868]
26504         [BZ #13879]
26505         [BZ #13910]
26506         [BZ #13911]
26507         [BZ #13912]
26508         [BZ #13913]
26509         [BZ #13915]
26510         [BZ #13916]
26511         [BZ #13917]
26512         [BZ #13918]
26513         [BZ #13919]
26514         [BZ #13920]
26515         [BZ #13921]
26516         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26517         * sysdeps/ieee754/k_standard.c: Include <float.h>.
26518         (__kernel_standard_l): New function.
26519         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26520         __kernel_standard.
26521         * math/w_acosl.c (__acosl): Likewise.
26522         * math/w_asinl.c (__asinl): Likewise.
26523         * math/w_atan2l.c (__atan2l): Likewise.
26524         * math/w_atanhl.c (__atanhl): Likewise.
26525         * math/w_coshl.c (__coshl): Likewise.
26526         * math/w_exp10l.c (__exp10l): Likewise.
26527         * math/w_exp2l.c (__exp2l): Likewise.
26528         * math/w_fmodl.c (__fmodl): Likewise.
26529         * math/w_hypotl.c (__hypotl): Likewise.
26530         * math/w_j0l.c (__j0l, __y0l): Likewise.
26531         * math/w_j1l.c (__j1l, __y1l): Likewise.
26532         * math/w_jnl.c (__jnl, __ynl): Likewise.
26533         * math/w_lgammal.c (__lgammal): Likewise.
26534         * math/w_log10l.c (__log10l): Likewise.
26535         * math/w_log2l.c (__log2l): Likewise.
26536         * math/w_logl.c (__logl): Likewise.
26537         * math/w_powl.c (__powl): Likewise.
26538         * math/w_remainderl.c (__remainderl): Likewise.
26539         * math/w_scalbl.c (sysv_scalbl): Likewise.
26540         * math/w_sinhl.c (__sinhl): Likewise.
26541         * math/w_sqrtl.c (__sqrtl): Likewise.
26542         * math/w_tgammal.c (__tgammal): Likewise.
26543         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26544         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26545         * math/libm-test.inc (acos_test): Add more tests.
26546         (acosh_test): Likewise.
26547         (asin_test): Likewise.
26548         (atanh_test): Likewise.
26549         (exp_test): Likewise.
26550         (exp10_test): Likewise.
26551         (exp2_test): Likewise.
26552         (expm1_test): Likewise.
26553         (lgamma_test): Likewise.
26554         (log_test): Likewise.
26555         (log10_test): Likewise.
26556         (log1p_test): Likewise.
26557         (log2_test): Likewise.
26558         (pow_test): Do not allow some spurious overflow exceptions.
26559         (sqrt_test): Add more tests.
26560         (tgamma_test): Likewise.
26561         (y0_test): Likewise.
26562         (y1_test): Likewise.
26563         (yn_test): Likewise.
26565 2012-03-27  Anton Blanchard  <anton@samba.org>
26567         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26568         MAP_HUGETLB.
26569         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26570         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26571         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26573 2012-03-27  David S. Miller  <davem@davemloft.net>
26575         * conform/Makefile: Run run-conformtest.sh using $(BASH).
26577         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26578         have-as-vis3 check.
26580 2012-03-27  Andreas Jaeger  <aj@suse.de>
26582         * sysdeps/x86_64/elf/configure.in: Moved to ...
26583         * sysdeps/x86_64/configure.in: ... here.
26584         * sysdeps/x86_64/elf/start.S: Moved to ...
26585         * sysdeps/x86_64/start.S: ... here.
26586         * sysdeps/x86_64/elf/configure: Delete.
26588         * sysdeps/x86_64/configure.in: Merge contents from
26589         sysdeps/i386/configure.in (without i686 check).
26591         * sysdeps/i386/elf/Versions: Merge into ...
26592         * sysdeps/i386/Versions: ... this.
26593         * sysdeps/i386/elf/Versions: Delete file.
26594         * sysdeps/i386/elf/start.S: Moved to ...
26595         * sysdeps/i386/start.S: ...here.
26596         * sysdeps/i386/elf/configure.in: Merge into...
26597         * sysdeps/i386/configure.in: ...here.
26598         * sysdeps/i386/elf/configure.in: Delete file.
26599         * sysdeps/i386/elf/configure: Delete file.
26601         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26602         * debug/backtracesyms.c: ... here.
26603         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26604         * debug/backtracesymsfd.c: ... here.
26605         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26606         * sysdeps/generic/ifunc-sel.h: ... here.
26608         * sysdeps/unix/i386/start.c: Delete file.
26609         * sysdeps/unix/sparc/start.c: Delete file.
26610         * sysdeps/unix/start.c: Delete file.
26612         * sysdeps/sh/elf/configure.in: Moved to ...
26613         * sysdeps/sh/configure.in: ... here.
26614         * sysdeps/sh/elf/start.S: Moved to ...
26615         * sysdeps/sh/start.S: ... here.
26616         * sysdeps/sh/elf/configure: Delete file.
26618         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26619         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26620         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26621         * sysdeps/powerpc/powerpc64/entry.h: ... here.
26622         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26623         * sysdeps/powerpc/powerpc64/start.S: here.
26624         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26625         * sysdeps/powerpc/powerpc64/Makefile: ... this.
26626         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26627         * sysdeps/powerpc/powerpc64/configure.in: ... this.
26628         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26630         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26631         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26632         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26633         * sysdeps/powerpc/powerpc32/start.S: ... here.
26634         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26635         * sysdeps/powerpc/powerpc32/configure.in: ... this.
26636         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26638         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26639         * sysdeps/powerpc/ifunc-sel.h: ... here.
26640         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26641         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26643         * sysdeps/sparc/elf/configure.in: Moved to ...
26644         * sysdeps/sparc/configure.in: ... here.
26645         * sysdeps/sparc/elf/configure: Delete file.
26646         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26647         * sysdeps/sparc/sparc32/start.S: ... here.
26648         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26649         * sysdeps/sparc/sparc64/start.S: ... here.
26650         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26651         * sysdeps/sparc/sparc32/Makefile: ... this.
26652         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26653         * sysdeps/sparc/sparc64/Makefile: ... this.
26655         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26656         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26657         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26658         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26659         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26660         * sysdeps/s390/s390-32/setjmp.S: ... here.
26661         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26662         * sysdeps/s390/s390-32/configure.in: ... here.
26663         * sysdeps/s390/s390-32/elf/configure: Delete file.
26664         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26665         * sysdeps/s390/s390-32/start.S: ... here.
26667         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26668         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26669         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26670         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26671         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26672         * sysdeps/s390/s390-64/setjmp.S: ... here.
26673         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26674         * sysdeps/s390/s390-64/configure.in: ... here
26675         * sysdeps/s390/s390-64/elf/configure: Delete file.
26676         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26677         * sysdeps/s390/s390-64/start.S: ... here.
26678         * sysdeps/s390/s390-64/elf/configure: Delete.
26680         * configure.in: Remove support for elf directories in sysdeps.
26682         * configure: Regenerated.
26683         * sysdeps/i386/configure: Regenerated.
26684         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26685         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26686         * sysdeps/s390/s390-32/configure: Regenerated.
26687         * sysdeps/s390/s390-64/configure: Regenerated.
26688         * sysdeps/sh/configure: Regenerated.
26689         * sysdeps/sparc/configure: Regenerated.
26690         * sysdeps/x86_64/configure: Regenerated.
26692 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
26694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26696         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26697         denormal result into account.
26699 2012-03-25  Roland McGrath  <roland@hack.frob.com>
26701         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26702         Reported by Allan McRae <allan@archlinux.org>.
26704 2012-03-23  Jeff Law  <law@redhat.com>
26706         * nss/getnssent.c (__nss_getent): Fix typo.
26708 2012-03-23  David S. Miller  <davem@davemloft.net>
26710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26712 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
26714         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26715         to pad to uint64_t for each field.
26716         (dl_tls_index): Replace unsigned long with uint64_t.
26718 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
26719         Paul Pluzhnikov  <ppluzhnikov@google.com>
26721         [BZ #6528]
26722         * grp/Makefile (otherlibs): Don't set it.
26723         * inet/Makefile (otherlibs): Likewise.
26724         * login/Makefile (otherlibs): Likewise.
26725         * nscd/Makefile (otherlibs): Likewise.
26726         * posix/Makefile (otherlibs): Likewise.
26727         * pwd/Makefile (otherlibs): Likewise.
26728         * rt/Makefile (otherlibs): Likewise.
26729         * sunrpc/Makefile (otherlibs): Likewise.
26730         * nss/Makefile (otherlibs): Likewise.
26731         Add libnss_files to routines and static-only-routines.
26732         ($(objpfx)getent): Remove rule.
26733         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26734         static-only-routines.
26736 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26738         [BZ #13892]
26739         * math/s_cexp.c: Include <float.h>.
26740         (__cexp): Handle exp result overflowing not necessarily
26741         overflowing both real and imaginary parts of result.
26742         * math/s_cexpf.c: Likewise.
26743         * math/s_cexpl.c: Likewise.
26744         * math/libm-test.inc (cexp_test): Add more tests.
26745         * sysdeps/i386/fpu/libm-test-ulps: Update.
26746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26748 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26750         * include/link.h (ELFW): New macro.
26751         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26752         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26754 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26756         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26757         with uint64_t.
26759 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26761         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26762         declaration.
26763         (struct La_x32_retval): Likewise.
26765 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26767         * sysdeps/x86_64/preconfigure.in: New file.
26768         * sysdeps/x86_64/preconfigure: New generated file.
26770 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26772         [BZ #13824]
26773         * math/e_exp2l.c: Include <float.h>.
26774         (__ieee754_exp2l): Handle overflow and underflow cases
26775         separately.  Only pass fractional part of argument to
26776         __ieee754_expl.
26777         * math/libm-test.inc (exp2_test): Add more tests.
26779         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26780         negating x to take absolute value.
26781         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26782         Likewise.
26783         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26784         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26785         Likewise.
26786         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26787         computing low part if x was negated.
26788         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26790 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26792         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26793         la_x32_gnu_pltexit.
26794         (pltexit): Cast int_retval to ptrdiff_t.
26795         * elf/tst-auditmod3b.c: Likewise.
26796         * elf/tst-auditmod4b.c: Likewise.
26797         * elf/tst-auditmod5b.c: Likewise.
26798         * elf/tst-auditmod6b.c: Likewise.
26799         * elf/tst-auditmod6c.c: Likewise.
26800         * elf/tst-auditmod7b.c: Likewise.
26802         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26803         and x32_gnu_pltexit.
26805         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26806         __ELF_NATIVE_CLASS.
26807         (La_x32_regs): New macro.
26808         (La_x32_retval): Likewise.
26809         (la_x32_gnu_pltenter): New function prototype.
26810         (la_x32_gnu_pltexit): Likewise.
26812 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26814         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26815         exponent.
26817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26819         * configure.in (libc_cv_cc_nofma): Check for option to disable
26820         generation of FMA instructions.
26821         * configure: Regenerate.
26822         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26823         * sysdeps/ieee754/dbl-64/Makefile: New file.
26824         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26825         Remove brandred-fma4.
26826         (CFLAGS-brandred-fma4.c): Remove.
26827         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26828         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26829         define.
26830         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26831         define.
26833 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26835         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26836         LLONG_MAX != LONG_MAX.
26837         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26838         (_fitoa_word): Likewise.
26839         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26840         LLONG_MAX != LONG_MAX.
26841         * stdio-common/_itowa.h: Include <_itoa.h>.
26842         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26843         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26844         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26845         only if not defined.
26846         (_ITOA_WORD_TYPE): Likewise.
26847         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26848         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26850 2012-03-21  David S. Miller  <davem@davemloft.net>
26852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26854 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26856         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26857         of x86_64 when setting libc_cv_slibdir, libdir and
26858         libc_cv_localedir.
26859         * sysdeps/unix/sysv/linux/configure: Regenerated.
26861 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26863         * manual/lang.texi (Old Varargs): Remove section.
26864         (How Variadic): Update menu.
26865         (va_start): Do not mention varargs.h.
26867 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26868             Joseph Myers  <joseph@codesourcery.com>
26870         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26871         link test.
26872         * configure: Regenerated.
26874 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26876         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26877         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26878         conformtest.pl
26880 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26882         * NOTES: Remove.
26883         * Makefile (files-for-dist): Remove NOTES.
26884         (NOTES): Remove rule.
26885         * README: Don't refer to NOTES.
26886         * manual/creature.texi: Don't include macros.texi.
26887         * manual/intro.texi (creature.texi): Remove comment referring to
26888         NOTES.
26890         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26891         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26892         * configure: Regenerated.
26893         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26894         LIBC_TRY_CC_OPTION.
26895         (libc_cv_as_i686): Likewise.
26896         (libc_cv_cc_avx): Likewise.
26897         (libc_cv_cc_sse2avx): Likewise.
26898         (libc_cv_cc_fma4): Likewise.
26899         (libc_cv_cc_novzeroupper): Likewise.
26900         * sysdeps/i386/configure: Regenerated.
26902         [BZ #13883]
26903         * sysdeps/i386/fpu/s_cexp.S: Remove.
26904         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26905         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26906         * math/libm-test.inc (cexp_test): Add more tests.
26907         * sysdeps/i386/fpu/libm-test-ulps: Update.
26908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26910 2012-03-21  Allan McRae  <allan@archlinux.org>
26912         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26914 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26916         [BZ #13871]
26917         * math/w_exp2.c: Do not include <float.h>.
26918         (o_threshold, u_threshold): Remove.
26919         (__exp2): Calculate result before checking finiteness and calling
26920         __kernel_standard.
26921         * math/w_exp2f.c: Likewise.
26922         * math/w_exp2l.c: Likewise.
26923         * math/libm-test.inc (exp2_test): Require overflow exception for
26924         1e6 input.
26926         [BZ #3866]
26927         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26928         range of signed 64-bit integers before using fistpll.  Remove
26929         checks for whether integers fit in mantissa bits.
26930         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26931         the range of signed 32-bit integers before using fistpl.  Remove
26932         checks for whether integers fit in mantissa bits.
26933         * sysdeps/i386/fpu/e_powl.S (p64): New object.
26934         (__ieee754_powl): Test for y outside the range of signed 64-bit
26935         integers before using fistpll.  Reduce 64-bit values to 63-bit
26936         ones as needed.
26937         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26938         divide-by-zero is raised for zero to large negative powers.
26939         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26940         (__ieee754_powl): Test for y outside the range of signed 64-bit
26941         integers before using fistpll.  Reduce 64-bit values to 63-bit
26942         ones as needed.
26943         * math/libm-test.inc (pow_test): Add more tests.
26945 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26947         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26948         <stdio-common/_itoa.h>.
26949         * debug/segfault.c: Likewise.
26950         * elf/dl-cache.c: Likewise.
26951         * elf/dl-minimal.c: Likewise.
26952         * elf/dl-misc.c: Likewise.
26953         * elf/dl-sysdep.c: Likewise.
26954         * elf/dl-version.c: Likewise.
26955         * elf/rtld.c: Likewise.
26956         * hurd/hurdsock.c: Likewise.
26957         * hurd/lookup-retry.c: Likewise.
26958         * malloc/malloc.c: Likewise.
26959         * malloc/mtrace.c: Likewise.
26960         * nscd/nscd_getgr_r.c: Likewise.
26961         * nscd/nscd_getpw_r.c: Likewise.
26962         * nscd/nscd_getserv_r.c: Likewise.
26963         * posix/getopt_init.c: Likewise.
26964         * posix/wordexp.c: Likewise.
26965         * stdio-common/_itoa.c: Likewise.
26966         * stdio-common/printf_fphex.c: Likewise.
26967         * stdio-common/vfprintf.c: Likewise.
26968         * string/_strerror.c: Likewise.
26969         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26970         * sysdeps/i386/i686/hp-timing.h: Likewise.
26971         * sysdeps/mach/_strerror.c: Likewise.
26972         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26973         * sysdeps/mach/hurd/sethostid.c: Likewise.
26974         * sysdeps/mach/hurd/xmknodat.c: Likewise.
26975         * sysdeps/mach/xpg-strerror.c: Likewise.
26976         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26977         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26978         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26979         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26980         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26981         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26982         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26983         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26984         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26985         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26986         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26987         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26988         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26989         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26990         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26991         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26992         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26993         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26994         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26995         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26996         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26998         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27000         * stdio-common/_itoa.h: Moved to ...
27001         * sysdeps/generic/_itoa.h: Here.
27003         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27005         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27006         instead of "_itoa.h" and "_itowa.h".
27007         * stdio-common/vfprintf.: Likewise.
27009 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27011         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27012         <bits/wordsize.h>.
27013         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27014         (__signbit): Likwise.
27015         (llrintf): Likwise.
27016         (llrint): Likwise.
27018 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27020         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27021         __WORDSIZE != 64.
27023 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27025         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27026         OVERFLOW_EXCEPTION_OK.
27027         * math/libm-test.inc ("Philosophy"): Update comment about
27028         exception testing.
27029         (OVERFLOW_EXCEPTION): Define.
27030         (OVERFLOW_EXCEPTION_OK): Likewise.
27031         (INVALID_EXCEPTION_OK): Renumber.
27032         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27033         (IGNORE_ZERO_INF_SIGN): Likewise.
27034         (test_exceptions): Handle FE_OVERFLOW.
27035         (exp10_test): Expect overflow exceptions.
27036         (exp2_test): Likewise.
27037         (expm1_test): Likewise.
27038         (nextafter_test): Likewise.
27039         (pow_test): Likewise.
27040         (scalbn_test): Likewise.
27041         (scalbln_test): Likewise.
27043 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27045         * sysdeps/x86_64/bits/atomic.h
27046         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27047         64bit integer.
27048         (atomic_exchange_acq): Likewise.
27049         (__arch_exchange_and_add_body): Likewise.
27050         (__arch_add_body): Likewise.
27051         (atomic_add_negative): Likewise.
27052         (atomic_add_zero): Likewise.
27054 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27056         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27057         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27059 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27061         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27062         Check __x86_64__ instead of __WORDSIZE.
27064 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27066         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27068 2012-03-19  David S. Miller  <davem@davemloft.net>
27070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27072         * sysdeps/sparc/fpu/fenv_private.h: New file.
27073         * sysdeps/sparc/fpu/math_private.h: Use it.
27074         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27075         Remove.
27076         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27077         (libc_feholdexcept_setroundl): Remove.
27078         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27079         Remove.
27080         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27081         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27083 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27085         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27086         int64_t instead of long int.
27087         (INSERT_WORDS64): Likwise.
27089 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27091         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27092         _Unwind_GetCFA return to _Unwind_Ptr first.
27094 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27096         [BZ #13629]
27097         * math/s_clog.c: Include <float.h>.
27098         (__clog): Scale large or subnormal inputs.
27099         * math/s_clogf.c: Likewise.
27100         * math/s_clogl.c: Likewise.
27101         * math/s_clog10.c: Include <float.h>.
27102         (M_LOG10_2): Define.
27103         (__clog10): Scale large or subnormal inputs.
27104         * math/s_clog10f.c: Likewise.
27105         * math/s_clog10l.c: Likewise.
27106         * math/libm-test.inc (clog_test): Add more tests.
27107         (clog10_test): Likewise.
27108         * sysdeps/i386/fpu/libm-test-ulps: Update.
27109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27111         [BZ #11451]
27112         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27113         x and y.
27114         * math/libm-test.inc (atan2_test): Add another test.
27116         * Makerules (common-objdir-compile): Remove.
27117         * sysdeps/unix/Makefile (config-generated): Do not add
27118         $(unix-generated) to variable.
27119         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27120         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27121         Remove rule.
27122         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27123         Likewise.
27124         [generic bits/local_lim.h] (before-compile): Do not append to
27125         variable.
27126         [generic bits/local_lim.h] (common-generated): Likewise.
27127         [generic sys/param.h] (before-compile): Do not append to variable.
27128         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27129         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27130         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27131         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27132         include.
27133         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27134         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27135         [generic sys/param.h] ($(addprefix
27136         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27137         [generic sys/param.h] (common-generated): Do not append to
27138         variable.
27139         [generic sys/param.h] (sysdep_headers): Likewise.
27140         [generic bits/errno.h] (before-compile): Do not append to
27141         variable.
27142         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27143         rule.
27144         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27145         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27146         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27147         [generic bits/errno.h] (common-generated): Do not append to
27148         variable.
27149         [generic bits/ioctls.h] (before-compile): Do not append to
27150         variable.
27151         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27152         rule.
27153         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27154         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27155         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27156         rule.
27157         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27158         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27159         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27160         [generic bits/ioctls.h] (common-generated): Do not append to
27161         variable.
27162         [generic sys/syscall.h] (syscall.h): Remove variable.
27163         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27164         rule.
27165         [generic sys/syscall.h] (before-compile): Do not append to
27166         variable.
27167         [generic sys/syscall.h] (common-generated): Likewise.
27168         * sysdeps/unix/errnos-tmpl.c: Remove file.
27169         * sysdeps/unix/errnos.awk: Likewise.
27170         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27171         * sysdeps/unix/ioctls.awk: Likewise.
27172         * sysdeps/unix/mk-local_lim.c: Likewise.
27173         * sysdeps/unix/snarf-ioctls: Likewise.
27175 2012-03-19  Richard Henderson  <rth@twiddle.net>
27177         * sysdeps/i386/fpu/fenv_private.h: New file.
27178         * sysdeps/i386/fpu/math_private.h: Use it.
27179         (math_opt_barrier, math_force_eval): Remove.
27180         (libc_feholdexcept_setround_53bit): Remove.
27181         (libc_feupdateenv_53bit): Remove.
27182         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27183         (math_opt_barrier, math_force_eval): Remove.
27184         (libc_feholdexcept): Remove.
27185         (libc_feholdexcept_setround): Remove.
27186         (libc_fetestexcept, libc_fesetenv): Remove.
27187         (libc_feupdateenv_test): Remove.
27188         (libc_feupdateenv, libc_feholdsetround): Remove.
27189         (libc_feresetround): Remove.
27191         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27192         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27194         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27195         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27196         (libc_feupdateenv_testl): New.
27197         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27198         (libc_feupdateenv_testf): New.
27199         (libc_feupdateenv): Use libc_feupdateenv_test.
27200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27201         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27203         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27204         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27205         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27206         (libc_feresetround_noex): New.
27207         (libc_feresetround_noexf): New.
27208         (libc_feresetround_noexl): New.
27209         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27210         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27211         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27212         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27213         SET_RESTORE_ROUND.
27214         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27215         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27216         (__cos): Likewise.
27217         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27218         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27219         SET_RESTORE_ROUND_NOEX.
27220         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27221         SET_RESTORE_ROUND_NOEXF.
27222         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27223         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27224         (libc_feholdsetroundf): New.
27225         (libc_feresetround, libc_feresetroundf): New.
27227         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27228         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27229         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27231         * sysdeps/generic/math_private.h: Include <fenv.h>.
27232         (default_libc_feholdexcept): New.
27233         (default_libc_feholdexcept_setround): New.
27234         (default_libc_fesetenv, default_libc_feupdateenv): New.
27235         (libc_feholdexcept): Only define if undefined.
27236         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27237         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27238         (libc_feholdexcept_setroundl): Likewise.
27239         (libc_feholdexcept_setround_53bit): Likewise.
27240         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27241         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27242         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27243         (libc_feupdateenv_53bit): Likewise.
27244         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27245         (libc_feholdexcept): Convert from macro to inline function.
27246         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27247         (libc_fesetenv, libc_feupdateenv): Likewise.
27249         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27250         not previously defined.
27251         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27252         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27253         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27254         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27255         * sysdeps/ieee754/flt-32/math_private.h: New file.
27256         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27257         math_private.h below SET_FLOAT_WORD.
27258         (__isnan, __isinf_ns, __finite): Remove.
27259         (__isnanf, __isinf_nsf, __finitef): Remove.
27261 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27265 2012-03-17  David S. Miller  <davem@davemloft.net>
27267         [BZ #6471]
27268         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27269         for 2.16.
27271 2012-03-16  David S. Miller  <davem@davemloft.net>
27273         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27274         warnings.
27276         [BZ #6471]
27277         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27278         properly.
27279         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27280         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27281         sysdep_routines when subdir is sysvipc.
27282         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27283         __getshmlba helper.
27285         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27287 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27289         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27290         [__LP64__].
27292 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27294         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27295         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27296         (__lround): Renamed to ...
27297         (__llround): This.  Replace long int with long long int.
27298         Define lround functions as aliases of llround functions.
27299         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27301 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27303         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27304         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27305         adresses to uintptr_t.  Replace "long int" and "unsigned long
27306         int" with "greg_t" on va_arg.
27308 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27310         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27311         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27313         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27314         Move e_machine check before EI_CLASS check.  Handle x32
27315         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27316         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27317         SKIP_EM_IA_64 and include
27318         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27320         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27321         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27322         (add_system_dir): New macro.
27324         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27325         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27327 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27329         [BZ #2551]
27330         [BZ #2552]
27331         [BZ #2553]
27332         [BZ #2554]
27333         [BZ #2562]
27334         [BZ #2563]
27335         [BZ #2565]
27336         [BZ #2566]
27337         [BZ #2576]
27338         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27339         (y0): Likewise.
27340         * math/w_j0f.c (j0f): Likewise.
27341         (y0f): Likewise.
27342         * math/w_j0l.c (__j0l): Likewise.
27343         (__y0l): Likewise.
27344         * math/w_j1.c (j1): Likewise.
27345         (y1): Likewise.
27346         * math/w_j1f.c (j1f): Likewise.
27347         (y1f): Likewise.
27348         * math/w_j1l.c (__j1l): Likewise.
27349         (__y1l): Likewise.
27350         * math/w_jn.c (jn): Likewise.
27351         (yn): Likewise.
27352         * math/w_jnf.c (jnf): Likewise.
27353         (ynf): Likewise.
27354         * math/w_jnl.c (__jnl): Likewise.
27355         (__ynl): Likewise.
27356         * math/libm-test.inc (j0_test): Add more tests.
27357         (j1_test): Likewise.
27358         (jn_test): Likewise.  Add trailing semicolon to existing test.
27359         (y0_test): Likewise.
27360         (y1_test): Likewise.
27361         * sysdeps/i386/fpu/libm-test-ulps: Update.
27362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27364         [BZ #13851]
27365         [BZ #13854]
27366         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27367         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27368         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27369         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27370         (__tanl): Set errno for infinite argument.
27371         * sysdeps/i386/fpu/mptan.c: Remove.
27372         * sysdeps/i386/fpu/s_tan.S: Likewise.
27373         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27374         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27375         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27376         * math/libm-test.inc (tan_test): Add more tests and enable more
27377         tests for double and long double.
27378         * sysdeps/i386/fpu/libm-test-ulps: Update.
27379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27381 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27383         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27384         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27386 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27388         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27389         * configure.in: Use it for both main tree and add-ons.
27390         * configure: Regenerated.
27392 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27394         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27396 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27398         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27399         in comment.
27401         [BZ #13851]
27402         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27403         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27404         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27405         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27406         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27407         infinite argument.
27408         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27409         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27410         != 0 for prec == 2.
27411         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27412         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27413         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27414         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27415         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27416         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27417         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27418         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27419         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27420         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27421         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27422         * math/libm-test.inc (cos_test): Add more tests and enable more
27423         tests for long double.
27424         (sin_test): Likewise.
27425         (sincos_test): Likewise.
27426         * sysdeps/i386/fpu/libm-test-ulps: Update.
27427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27429 2012-03-16  David S. Miller  <davem@davemloft.net>
27431         * sysdeps/sparc/fpu/math_private.h: New file.
27433 2012-03-15  David S. Miller  <davem@davemloft.net>
27435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27436         file.
27437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27439         file.
27440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27446         sysdep routines.
27447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27449         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27450         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27452         * sysdeps/sparc/sparc-ifunc.h: New file.
27453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27454         sparc-ifunc.h
27455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27457         Likewise.
27458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27459         Likewise.
27460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27464         Likewise.
27465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27470         Likewise.
27471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27472         Likewise.
27473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27479         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27480         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27487         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27488         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27490         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27491         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27492         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27493         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27494         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27495         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27496         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27498 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27500         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27501         scaling.
27502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27504 2012-03-15  Andreas Jaeger  <aj@suse.de>
27506         [BZ #13852]
27507         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27508         ieee754/flt-32 implementation for sin, cos and sincos.
27509         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27510         * sysdeps/i386/fpu/s_cosf.S: Likewise.
27511         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27512         * sysdeps/i386/fpu/s_sinf.S: Likewise.
27513         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27514         ieee754/flt-32 implementation for tan.
27516         * math/libm-test.inc (cos_test): Enable some large input tests for
27517         float as well
27518         (sin_test): Likewise.
27519         (sincos_test): Likewise.
27520         (tan_test): Add tests for large input.
27522         * sysdeps/i386/fpu/libm-test-ulps: Update.
27524 2012-03-15  Andreas Jaeger  <aj@suse.de>
27526         [BZ #13658]
27527         * math/libm-test.inc (cos_test): Add more test cases.
27528         (sin_test): Likewise.
27529         (sincos_test): Likewise.
27531 2012-03-15  Andreas Jaeger  <aj@suse.de>
27533         [BZ #13837]
27534         * math/libm-test.inc (cos_test): Add a test case for large input
27535         value.
27536         (sin_test): Likewise.
27537         (sincos_test): Likewise.
27539 2012-03-15  Andreas Jaeger  <aj@suse.de>,
27540         Joseph Myers  <joseph@codesourcery.com>
27542         [BZ #13658]
27543         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27544         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27545         * sysdeps/i386/fpu/branred.c: Likewise.
27546         * sysdeps/i386/fpu/dosincos.c: Likewise.
27547         * sysdeps/i386/fpu/mpa.c: Likewise.
27548         * sysdeps/i386/fpu/s_cos.S: Likewise.
27549         * sysdeps/i386/fpu/s_sin.S: Likewise.
27550         * sysdeps/i386/fpu/s_sincos.S: Likewise.
27551         * sysdeps/i386/fpu/sincos32.c: Likewise.
27553         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27554         Define.
27555         (libc_feupdateenv_53bit): Define.
27556         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27557         Define.
27558         (libc_feupdateenv_53bit): Define.
27560         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27561         53 bit (without extend i386 double precision).
27563         * math/libm-test.inc (sincos_test): Add tests for large input.
27564         (sin): Likewise.
27565         (cos): Likewise.
27567         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27569 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27573 2012-03-15  David S. Miller  <davem@davemloft.net>
27575         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27576         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27577         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27578         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27583         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27585         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27587         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27588         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27589         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27591         file.
27592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27594         file.
27595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27597         file.
27598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27600         file.
27601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27602         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27603         fmin/fmax sysdep routines.
27604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27606 2012-03-14  David S. Miller  <davem@davemloft.net>
27608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27610         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27612         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27613         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27614         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27615         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27619         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27620         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27622         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27625         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27626         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27627         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27628         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27629         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27630         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27631         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27632         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27633         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27634         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27635         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27636         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27637         routines.
27638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27639         file.
27640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27642         file.
27643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27645         file.
27646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27648         file.
27649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27651         file.
27652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27654         file.
27655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27656         file.
27657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27658         file.
27659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27660         file.
27661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27662         New file.
27663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27664         file.
27665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27666         file.
27667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27669         file.
27670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27672         file.
27673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27675         file.
27676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27678         VIS3 routines.
27680         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27681         New file.
27683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27685         * sysdeps/sparc/configure.in: New file.
27686         * sysdeps/sparc/configure: Generate.
27687         * configure.in (libc_cv_sparc_as_vis3): Substitute.
27688         * configure: Regenerate.
27689         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27690         * config.make.in (have-as-vis3): New.
27691         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27692         available use -Av9d instead of -Av9a.
27693         * sysdeps/sparc/sparc64/Makefile: Likewise.
27694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27696         New file.
27697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27698         file.
27699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27700         New file.
27701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27702         file.
27703         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27704         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27705         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27706         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27707         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27709         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27710         fzeros/fnegs to load 0x80000000 into a float register instead of
27711         using the stack.
27712         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27714 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27717         bits/syscall.h.
27718         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27719         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27720         ($(inst_includedir)/bits/syscall.h): Remove rule.
27721         ($(objpfx)bits/syscall.d): Include instead of
27722         $(objpfx)syscall-list.d.
27723         (generated): Change syscall-list.h and syscall-list.d to
27724         bits/syscall.h and bits/syscall.d.
27726 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27728         [BZ #13846]
27729         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27731 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27733         [BZ #13841]
27734         * math/s_csqrt.c: Include <float.h>.
27735         (__csqrt): Scale large or subnormal inputs.
27736         * math/s_csqrtf.c: Likewise.
27737         * math/s_csqrtl.c: Likewise.
27738         * math/libm-test.inc (csqrt_test): Add more tests.
27739         * sysdeps/i386/fpu/libm-test-ulps: Update.
27740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27742         [BZ #13840]
27743         * math/libm-test.inc (hypot_test): Add more tests.
27745 2012-03-13  David S. Miller  <davem@davemloft.net>
27747         [BZ #13840]
27748         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27749         double-precision for the calculation instead of scaling.
27751 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27753         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27754         manipulate bits before adding and subtracting TWO52[sx].
27755         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27756         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27757         Likewise.
27758         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27760 2012-03-13  David S. Miller  <davem@davemloft.net>
27762         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27763         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27764         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27765         rtld-global-offsets.h
27766         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27768         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27769         large parameters.
27771         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27773         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27774         'err' in the ifdef scope in which it is actually used.
27776         * nss/nss_db/db-init.c: Include string.h
27778 2012-03-12  David S. Miller  <davem@davemloft.net>
27780         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27781         masking out of the most significant byte of random value used.
27782         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27783         Fix coding style in previous change.
27785         * sysdeps/unix/sysv/linux/kernel-features.h
27786         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27787         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27788         expression.
27789         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27790         later.
27792 2012-03-11  David S. Miller  <davem@davemloft.net>
27794         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27795         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27796         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27797         for 'resultvar' otherwise things get truncated on 64-bit.
27799         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27800         Fix masking out of the most significant byte of random value used.
27802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27804 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27808 2012-03-09  David S. Miller  <davem@davemloft.net>
27810         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27811         variables with appropriate CPP guards.
27812         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27813         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27814         on resulting framesize and the management of the outregs buffer for pltexit.
27815         Preserve floating point return values across _dl_call_pltexit call.
27816         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27817         framesize and the management of the outregs buffer for pltexit.
27818         Preserve floating point return values across _dl_call_pltexit
27819         call.
27820         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27821         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27822         (print_exit): Fix format string for return register value.
27824 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27826         * sunrpc/Makefile (others): Add rpcgen.
27827         ($(objpfx)rpcgen): Remove special build rule and dependency on
27828         libc.
27829         * sunrpc/rpcgen.c: New file.
27831 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27833         [BZ #13673]
27834         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27835         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27836         * sysdeps/i386/crti.S: Likewise.
27837         * sysdeps/i386/crtn.S: Likewise.
27838         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27839         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27840         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27841         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27842         * sysdeps/sh/crti.S: Likewise.
27843         * sysdeps/sh/crtn.S: Likewise.
27844         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27846         [BZ #13673]
27847         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27848         with URL.
27849         * locale/programs/locfile-kw.gperf: Likewise.
27850         * locale/programs/charmap-kw.h: Regenerated.
27851         * locale/programs/locfile-kw.h: Likewise.
27853         [BZ #13673]
27854         * intl/plural.y: Replace FSF snail mail address with URL.
27855         * intl/plural.c: Regenerated.
27857 2012-03-09  Richard Henderson  <rth@twiddle.net>
27859         * include/math_private.h: Remove file.
27860         * math/math_private.h: Move file ...
27861         * sysdeps/generic/math_private.h: ... here.
27863         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27864         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27865         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27867         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27868         and <math_private.h>.
27869         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27870         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27871         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27872         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27873         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27874         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27875         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27876         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27877         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27878         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27879         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27880         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27881         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27882         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27883         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27884         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27885         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27886         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27887         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27888         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27889         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27890         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27891         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27892         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27893         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27894         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27895         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27896         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27897         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27898         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27899         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27900         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27901         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27902         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27903         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27904         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27905         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27906         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27907         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27908         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27909         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27910         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27911         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27912         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27913         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27914         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27915         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27916         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27917         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27918         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27919         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27920         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27921         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27922         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27923         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27924         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27925         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27926         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27927         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27928         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27929         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27930         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27931         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27932         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27933         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27934         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27935         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27936         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27937         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27938         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27939         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27940         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27941         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27942         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27943         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27944         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27946         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27947         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27948         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27949         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27950         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27951         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27952         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27953         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27954         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27955         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27956         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27957         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27958         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27959         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27960         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27961         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27962         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27963         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27964         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27965         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27966         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27967         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27968         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27969         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27970         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27971         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27972         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27973         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27974         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27975         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27976         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27977         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27978         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27979         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27980         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27981         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27982         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27983         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27984         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27985         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27986         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27987         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27988         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27989         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27990         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27991         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27992         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27993         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27994         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27995         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27996         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27997         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27998         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27999         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28000         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28001         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28002         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28003         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28004         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28005         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28006         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28007         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28008         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28009         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28010         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28011         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28012         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28013         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28014         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28015         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28016         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28017         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28018         * sysdeps/ieee754/k_standard.c: Likewise.
28019         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28020         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28021         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28022         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28023         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28024         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28025         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28026         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28027         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28028         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28029         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28030         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28031         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28032         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28033         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28034         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28035         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28036         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28037         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28038         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28039         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28040         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28041         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28042         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28043         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28044         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28045         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28046         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28047         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28048         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28049         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28050         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28051         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28052         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28053         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28054         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28055         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28056         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28057         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28058         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28059         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28060         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28061         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28062         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28063         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28064         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28065         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28066         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28067         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28068         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28069         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28070         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28071         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28072         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28073         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28074         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28075         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28076         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28077         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28078         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28079         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28080         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28081         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28082         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28083         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28084         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28085         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28086         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28087         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28088         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28089         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28090         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28091         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28092         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28093         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28094         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28095         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28096         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28097         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28098         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28099         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28100         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28101         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28102         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28103         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28104         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28105         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28106         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28107         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28108         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28109         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28110         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28111         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28112         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28113         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28114         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28115         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28116         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28117         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28118         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28119         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28120         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28121         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28122         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28123         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28124         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28125         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28126         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28127         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28128         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28129         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28130         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28131         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28132         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28133         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28134         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28135         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28136         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28137         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28138         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28139         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28140         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28141         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28142         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28143         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28144         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28145         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28146         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28147         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28148         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28149         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28150         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28151         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28152         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28153         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28154         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28155         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28156         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28157         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28158         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28159         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28160         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28161         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28162         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28163         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28164         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28165         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28166         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28167         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28168         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28169         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28170         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28171         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28172         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28173         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28174         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28175         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28176         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28177         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28178         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28179         * sysdeps/ieee754/s_lib_version.c: Likewise.
28180         * sysdeps/ieee754/s_matherr.c: Likewise.
28181         * sysdeps/ieee754/s_signgam.c: Likewise.
28182         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28183         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28184         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28185         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28186         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28187         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28188         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28189         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28190         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28191         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28192         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28193         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28194         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28195         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28196         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28197         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28198         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28199         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28200         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28201         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28202         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28204 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28206         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28207         * sunrpc/rpc_main.c: Likewise.
28208         * sunrpc/rpc_svcout.c: Likewise.
28210 2012-03-09  David S. Miller  <davem@davemloft.net>
28212         * include/math_private.h: New file.
28214 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28216         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28217         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28218         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28219         from <bits/socket_type.h>.
28220         (enum __socket_type): Don't define here.
28221         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28222         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28223         bits/socket_type.h.
28225         [BZ #13566]
28226         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28227         checking __USE_GNU.
28229         * Makerules ($(inst_includedir)/%.h): New rule.
28230         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28231         (install-others): Remove variable setting.
28232         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28234 2012-03-08  Richard Henderson  <rth@twiddle.net>
28236         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28237         from macro to inline function; merge with the
28238         !__LIBC_INTERNAL_MATH_INLINES version.
28239         (__ieee754_sqrtf): Likewise.
28241         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28242         to inline function.
28243         (__rintf, __floor, __floorf): Likewise.
28245         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28246         macro to inline function.
28247         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28249         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28250         not <math/math_private.h>.
28252 2012-03-08  David S. Miller  <davem@davemloft.net>
28254         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28255         copyright year.
28256         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28258 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28260         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28261         normalization.
28262         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28263         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28265 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28267         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28268         be defined individually, they must be defined as a block.  Define
28269         S for printing a string instead of hidint the different by using a
28270         macro for adding the 'l'.
28271         * stdio-common/tst-fphex-wide.c: Adjust.
28273 2012-03-07  Marek Polacek  <polacek@redhat.com>
28275         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28277 2012-03-08  Marek Polacek  <polacek@redhat.com>
28279         [BZ #13806]
28280         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28281         * stdio-common/tst-fphex.c: Define a few macros to make the
28282         test reusable.  Use them.
28283         * stdio-common/tst-fphex-wide.c: New file.
28285 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28287         [BZ #6911]
28288         * manual/macros.texi (gnusystems): New macro.
28289         (nongnusystems): Likewise.
28290         (gnulinuxhurdsystems): Likewise.
28291         (gnuhurdsystems): Likewise..
28292         (gnulinuxsystems): Likewise.
28293         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28294         variants of the GNU system, not "GNU system".
28295         * manual/conf.texi: Likewise.
28296         * manual/errno.texi: Likewise.  Update example of errno macro
28297         expansion.
28298         * manual/filesys.texi: Likewise.
28299         (getumask): Document as specific to GNU/Hurd.
28300         * manual/install.texi: Likewise.  Reword some references to
28301         GNU/Linux.
28302         * manual/intro.texi: Likewise.
28303         * manual/io.texi: Likewise.
28304         (File Name Portability): Detail which constraints are inapplicable
28305         to all GNU systems and which are only inapplicable to GNU/Hurd.
28306         * manual/job.texi: Likewise.
28307         * manual/llio.texi: Likewise.
28308         (O_NOCTTY): Document as present on GNU/Linux.
28309         * manual/maint.texi: Likewise.
28310         * manual/memory.texi: Likewise.
28311         * manual/pattern.texi: Likewise.
28312         * manual/pipe.texi: Likewise.
28313         * manual/process.texi: Likewise.
28314         * manual/resource.texi: Likewise.
28315         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28316         child on GNU/Hurd.
28317         * manual/setjmp.texi: Likewise.
28318         * manual/signal.texi: Likewise.
28319         * manual/startup.texi: Likewise.
28320         * manual/stdio.texi: Likewise.
28321         * manual/terminal.texi: Likewise.
28322         (ONLCR): Document as POSIX.
28323         (OXTABS): Document availability on GNU/Linux as XTABS.
28324         (ONOEOT): Document availability separately from other bits.
28325         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28326         * manual/time.texi: Likewise.
28327         * manual/users.texi: Likewise.
28328         * INSTALL: Regenerated.
28329         * sysdeps/gnu/errlist.c: Regenerated.
28331         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28332         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28333         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28334         puts.
28335         * configure: Regenerated.
28337 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28339         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28340         default includes instead of AC_HEADER_CHECK.
28341         * sysdeps/i386/configure: Regenerated.
28343         [BZ #10716]
28344         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28345         * math/s_cacoshf.c (__cacoshf): Likewise.
28346         * math/s_cacoshl.c (__cacoshl): Likewise.
28347         * math/s_casinh.c (__casinh): Set signs of result from argument.
28348         * math/s_casinhf.c (__casinhf): Likewise.
28349         * math/s_casinhl.c (__casinhl): Likewise.
28350         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28351         (casinh_test): Add more tests.
28352         * sysdeps/i386/fpu/libm-test-ulps: Update.
28353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28355 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28357         * po/zh_TW.po: Update from translation team.
28359         * login/Makefile (distribute): Remove variable.
28360         * catgets/Makefile: Likewise.
28361         * mach/Makefile: Likewise.
28362         * malloc/Makefile: Likewise.
28363         * misc/Makefile: Likewise.
28364         * iconv/Makefile: Likewise.
28365         * nscd/Makefile: Likewise.
28366         * hurd/Makefile: Likewise.
28367         * manual/Makefile: Likewise.
28368         * locale/Makefile: Likewise.
28369         * intl/Makefile: Likewise.
28370         * conform/Makefile: Likewise.
28371         * nss/Makefile: Likewise.
28372         * time/Makefile: Likewise.
28373         * soft-fp/Makefile: Likewise.
28374         * dirent/Makefile: Likewise.
28375         * gmon/Makefile: Likewise.
28376         * po/Makefile: Likewise.
28377         * rt/Makefile: Likewise.
28378         * socket/Makefile: Likewise.
28379         * math/Makefile: Likewise.
28380         * signal/Makefile: Likewise.
28381         * debug/Makefile: Likewise.
28382         * elf/Makefile: Likewise.
28383         * timezone/Makefile: Likewise.
28384         * stdlib/Makefile: Likewise.
28385         * iconvdata/Makefile: Likewise.
28386         * sunrpc/Makefile: Likewise.
28387         * io/Makefile: Likewise.
28388         * argp/Makefile: Likewise.
28389         * inet/Makefile: Likewise.
28390         * hesiod/Makefile: Likewise.
28391         * grp/Makefile: Likewise.
28392         * csu/Makefile: Likewise.
28393         * wctype/Makefile: Likewise.
28394         * crypt/Makefile: Likewise.
28395         * libio/Makefile: Likewise.
28396         * string/Makefile: Likewise.
28397         * nis/Makefile: Likewise.
28398         * resolv/Makefile: Likewise.
28399         * stdio-common/Makefile: Likewise.
28400         * wcsmbs/Makefile: Likewise.
28401         * dlfcn/Makefile: Likewise.
28402         * posix/Makefile: Likewise.
28404         [BZ #6959]
28405         * timezone/Makefile: Don't install timezone files, just the programs
28406         and scripts.
28408 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28410         * nss/databases.def: Add missing gshadow entry.
28412         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28414 2012-03-06  Marek Polacek  <polacek@redhat.com>
28416         [BZ #13726]
28417         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28418         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28419         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28420         * stdio-common/tst-long-dbl-fphex.c: New file.
28422 2012-03-06  David S. Miller  <davem@davemloft.net>
28424         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28425         (set_obp_int): New function.
28426         (get_obp_int): New function.
28427         (__get_clockfreq_via_dev_openprom): Likewise.
28428         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28429         Avoid unused variable warnings on 'val' and use builtin_expect.
28430         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28431         __builtin_expect.
28432         (INLINE_CLONE_SYSCALL): Likewise.
28434 2012-03-05  David S. Miller  <davem@davemloft.net>
28436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28438 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28442         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28443         only for |x| >= 40.
28444         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28446 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28448         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28449         Replace gettimeofday with __vdso_gettimeofday.
28451         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28452         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28453         __vdso_clock_gettime and __vdso_getcpu.
28455         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28456         time with __vdso_time.
28458 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28460         * manual/lang.texi (size_t): Note types to which size_t may be
28461         equivalent with the GNU C Library, but do not describe when
28462         differences between them are significant.
28464 2012-03-05  Andreas Jaeger  <aj@suse.de>
28466         * sysdeps/i386/fpu/libm-test-ulps: Update.
28468 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28470         [BZ #3976]
28471         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28472         (__ieee754_pow): Save and restore rounding mode and use
28473         round-to-nearest for main computations.
28474         * math/libm-test.inc (pow_test_tonearest): New function.
28475         (pow_test_towardzero): Likewise.
28476         (pow_test_downward): Likewise.
28477         (pow_test_upward): Likewise.
28478         (main): Call the new functions.
28479         * sysdeps/i386/fpu/libm-test-ulps: Update.
28480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28482         [BZ #3976]
28483         * math/libm-test.inc (cosh_test_tonearest): New function.
28484         (cosh_test_towardzero): Likewise.
28485         (cosh_test_downward): Likewise.
28486         (cosh_test_upward): Likewise.
28487         (sinh_test_tonearest): Likewise.
28488         (sinh_test_towardzero): Likewise.
28489         (sinh_test_downward): Likewise.
28490         (sinh_test_upward): Likewise.
28491         (main): Call the new functions.
28492         * sysdeps/i386/fpu/libm-test-ulps: Update.
28493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28495 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28497         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28498         default stack guard is set in last bytes.
28499         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28501 2012-03-05  Kees Cook  <keescook@chromium.org>
28503         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28505         [BZ #13656]
28506         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28507         possibly allocate from heap instead of stack.
28508         * stdio-common/bug-vfprintf-nargs.c: New file.
28509         * stdio-common/Makefile (tests): Add nargs overflow test.
28511 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
28513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28515 2012-03-03  Marek Polacek  <polacek@redhat.com>
28517         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28518         * math/math_private.h: Likewise.
28519         * stdlib/tst-strtod.c: Likewise.
28520         * sysdeps/i386/i486/bits/atomic.h: Likewise.
28521         * sysdeps/x86_64/bits/atomic.h: Likewise.
28523 2012-03-02  David S. Miller  <davem@davemloft.net>
28525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28529         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28530         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28531         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28532         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28534 2012-03-02  Roland McGrath  <roland@hack.frob.com>
28536         [BZ #13792]
28537         * manual/examples/README: New file, says the example source files
28538         can be used under GPL>=2.
28539         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28540         line containing just "*/".
28541         * manual/examples/add.c: Add copyright header (GPL>=2).
28542         * manual/examples/argp-ex1.c: Likewise.
28543         * manual/examples/argp-ex2.c: Likewise.
28544         * manual/examples/argp-ex3.c: Likewise.
28545         * manual/examples/argp-ex4.c: Likewise.
28546         * manual/examples/atexit.c: Likewise.
28547         * manual/examples/db.c: Likewise.
28548         * manual/examples/dir.c: Likewise.
28549         * manual/examples/dir2.c: Likewise.
28550         * manual/examples/execinfo.c: Likewise.
28551         * manual/examples/filecli.c: Likewise.
28552         * manual/examples/filesrv.c: Likewise.
28553         * manual/examples/fmtmsgexpl.c: Likewise.
28554         * manual/examples/genpass.c: Likewise.
28555         * manual/examples/inetcli.c: Likewise.
28556         * manual/examples/inetsrv.c: Likewise.
28557         * manual/examples/isockad.c: Likewise.
28558         * manual/examples/longopt.c: Likewise.
28559         * manual/examples/memopen.c: Likewise.
28560         * manual/examples/memstrm.c: Likewise.
28561         * manual/examples/mkfsock.c: Likewise.
28562         * manual/examples/mkisock.c: Likewise.
28563         * manual/examples/mygetpass.c: Likewise.
28564         * manual/examples/pipe.c: Likewise.
28565         * manual/examples/popen.c: Likewise.
28566         * manual/examples/rprintf.c: Likewise.
28567         * manual/examples/search.c: Likewise.
28568         * manual/examples/select.c: Likewise.
28569         * manual/examples/setjmp.c: Likewise.
28570         * manual/examples/sigh1.c: Likewise.
28571         * manual/examples/sigusr.c: Likewise.
28572         * manual/examples/stpcpy.c: Likewise.
28573         * manual/examples/strdupa.c: Likewise.
28574         * manual/examples/strftim.c: Likewise.
28575         * manual/examples/strncat.c: Likewise.
28576         * manual/examples/subopt.c: Likewise.
28577         * manual/examples/swapcontext.c: Likewise.
28578         * manual/examples/termios.c: Likewise.
28579         * manual/examples/testopt.c: Likewise.
28580         * manual/examples/testpass.c: Likewise.
28581         * manual/examples/timeval_subtract.c: Likewise.
28583         [BZ #13792]
28584         * manual/time.texi (Elapsed Time): Move timeval_subtract example
28585         function to ...
28586         * manual/timeval_subtract.c.texi: ... here, new file.
28588 2012-03-02  David S. Miller  <davem@davemloft.net>
28590         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28592 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
28594         [BZ #3976]
28595         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28596         (__sin): Save and restore rounding mode and use round-to-nearest
28597         for all computations.
28598         (__cos): Save and restore rounding mode and use round-to-nearest
28599         for all computations.
28600         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28601         <fenv.h>.
28602         (tan): Save and restore rounding mode and use round-to-nearest for
28603         all computations.
28604         * math/libm-test.inc (cos_test_tonearest): New function.
28605         (cos_test_towardzero): Likewise.
28606         (cos_test_downward): Likewise.
28607         (cos_test_upward): Likewise.
28608         (sin_test_tonearest): Likewise.
28609         (sin_test_towardzero): Likewise.
28610         (sin_test_downward): Likewise.
28611         (sin_test_upward): Likewise.
28612         (tan_test_tonearest): Likewise.
28613         (tan_test_towardzero): Likewise.
28614         (tan_test_downward): Likewise.
28615         (tan_test_upward): Likewise.
28616         (main): Call the new functions.
28617         * sysdeps/i386/fpu/libm-test-ulps: Update.
28618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28620         [BZ #10135]
28621         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28622         small n, then large n, before computing and testing k+n.
28623         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28624         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28625         Likewise.
28626         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28627         Likewise.
28628         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28629         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28630         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28631         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28632         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28633         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28634         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28635         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28636         * math/libm-test.inc (scalbn_test): Add more tests.
28637         (scalbln_test): Likewise.
28639         * manual/filesys.texi (mode_t): Describe constraints on size and
28640         signedness, not exact equivalence to a particular type.
28641         (ino_t): Likewise.
28642         (ino64_t): Likewise.
28643         (dev_t): Likewise.
28644         (nlink_t): Likewise.
28645         (blkcnt_t): Likewise.
28646         (blkcnt64_t): Likewise.
28647         * manual/llio.texi (off_t): Likewise.
28649         [BZ #3976]
28650         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28651         (__ieee754_exp): Save and restore rounding mode and use
28652         round-to-nearest for all computations.
28653         * math/libm-test.inc (exp_test_tonearest): New function.
28654         (exp_test_towardzero): Likewise.
28655         (exp_test_downward): Likewise.
28656         (exp_test_upward): Likewise.
28657         (main): Call the new functions.
28658         * sysdeps/i386/fpu/libm-test-ulps: Update.
28659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28661 2012-03-01  Chris Demetriou  <cgd@google.com>
28663         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28664         have predictable order.
28666 2012-03-01  David S. Miller  <davem@davemloft.net>
28668         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28670         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28671         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28672         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28673         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28675         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28676         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28677         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28679         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28680         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28681         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28682         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28683         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28687         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28688         * sysdeps/sparc/fpu/libm-test-ulps: to here.
28689         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28691         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28692         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28693         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28694         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28695         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28696         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28697         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28698         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28699         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28700         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28701         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28702         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28703         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28704         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28705         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28706         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28707         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28708         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28709         * sysdeps/sparc/elf/configure: Regenerated.
28711 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
28713         * configure.in (AS, LD): Require binutils 2.20 or later.
28714         * configure: Regenerated.
28715         * manual/install.texi (Tools for Compilation): Give binutils 2.20
28716         as required minimum version.
28717         * INSTALL: Regenerated.
28719         [BZ #2541]
28720         [BZ #4108]
28721         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28722         before squaring exponent.
28723         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28724         bottom long double and 27 bits of top long double before squaring
28725         exponent.
28726         * math/libm-test.inc (erfc_test): Add more tests.
28727         * sysdeps/i386/fpu/libm-test-ulps: Update.
28728         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28731 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28733         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28734         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28735         containing bit-fields.
28736         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28737         * soft-fp/single.h (_FP_UNION_S): Likewise.
28738         * soft-fp/double.h (_FP_UNION_D): Likewise.
28740 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28742         [BZ #13786]
28743         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28744         not include ../strcmp.S.
28745         [USE_AS_STRNCASECMP_L]: Likewise.
28746         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28747         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28748         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28749         (__strncasecmp_l_ia32): Define as alias to
28750         __strncasecmp_l_nonascii.
28752         [BZ #5794]
28753         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28754         * sysdeps/i386/fpu/libm-test-ulps: Update.
28755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28757         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28760 2012-02-29  Jeff Law  <law@redhat.com>
28762         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28763         out of bounds read.
28765 2012-02-29  Marek Polacek  <polacek@redhat.com>
28767         [BZ #13706]
28768         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28769         * elf/Makefile: Add rules to run tst-unused-dep.out.
28771 2012-02-28  David S. Miller  <davem@davemloft.net>
28773         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28774         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28775         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28776         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28777         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28778         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28780 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28782         * math/libm-test.inc (llround_test): Move one test from
28783         lround_test.  Use TEST_f_L in moved test.
28784         (lround_test): Move misplaced test to llround_test.  Add testcase
28785         from bug 2561.
28787 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28789         * sysdeps/x86_64/fpu/e_expf.S: New file.
28790         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28792 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28794         [BZ #13637]
28795         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28796         of remain_len that may cause incomplete multi-byte character and
28797         false match.
28798         * posix/bug-regex33.c: New file.
28799         * posix/Makefile (tests): Add bug-regex33.
28801 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28803         * manual/macros.texi: New file.
28804         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28805         * manual/libc.texinfo: Include macros.texi.
28806         * manual/creatute.texi: Likewise.
28807         * manual/install.texi: Likewise.
28808         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28809         @glibcadj{} in references to the GNU C Library.
28810         * manual/charset.texi: Likewise.
28811         * manual/conf.texi: Likewise.
28812         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28813         when not using those macros.
28814         * manual/creature.texi: Likewise.
28815         * manual/crypt.texi: Likewise.
28816         * manual/errno.texi: Likewise.
28817         * manual/filesys.texi: Likewise.
28818         * manual/header.texi: Likewise.
28819         * manual/install.texi: Likewise.
28820         * manual/intro.texi: Likewise.
28821         * manual/io.texi: Likewise.
28822         * manual/job.texi: Likewise.
28823         * manual/lang.texi: Likewise.
28824         * manual/libc.texiinfo: Likewise.
28825         * manual/llio.texi: Likewise.
28826         * manual/locale.texi: Likewise.
28827         * manual/maint.texi: Likewise.
28828         * manual/math.texi: Likewise.
28829         * manual/memory.texi: Likewise.
28830         * manual/message.texi: Likewise.
28831         * manual/nss.texi: Likewise.
28832         * manual/pattern.texi: Likewise.
28833         * manual/process.texi: Likewise.
28834         * manual/resource.texi: Likewise.
28835         * manual/search.texi: Likewise.
28836         * manual/setjmp.texi: Likewise.
28837         * manual/signal.texi: Likewise.
28838         * manual/socket.texi: Likewise.
28839         * manual/startup.texi: Likewise.
28840         * manual/stdio.texi: Likewise.
28841         * manual/string.texi: Likewise.
28842         * manual/sysinfo.texi: Likewise.
28843         * manual/syslog.texi: Likewise.
28844         * manual/terminal.texi: Likewise.
28845         * manual/time.texi: Likewise.
28846         * manual/users.texi: Likewise.
28847         * INSTALL: Regenerated.
28848         * NOTES: Regenerated.
28849         * sysdeps/gnu/errlist.c: Regenerated.
28851 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28853         * include/dirent.h: Include <dirstream.h> before
28854         <dirent/dirent.h>.
28856 2012-02-28  David S. Miller  <davem@davemloft.net>
28858         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28859         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28860         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28861         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28863 2012-02-27  David S. Miller  <davem@davemloft.net>
28865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28867         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28868         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28871         frame pointer instead of stack pointer relative arg slot.
28872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28873         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28874         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28876 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28878         [BZ #3992]
28879         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28881 2012-02-27  David S. Miller  <davem@davemloft.net>
28883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28887         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28888         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28889         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28890         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28892 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28894         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28895         later.  Allow versions 5-9.
28896         * configure: Regenerated.
28897         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28898         required minimum version and 4.6 as recommended version.  Do not
28899         mention bugs in GCC 2.7 and 2.8.
28900         * INSTALL: Regenerated.
28902 2012-02-27  David S. Miller  <davem@davemloft.net>
28904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28908         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28909         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28910         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28911         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28913         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28914         manipulate bits before adding and subtracting TWO112[sx].
28915         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28917 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28919         [BZ #13775]
28920         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28921         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28922         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28923         being in POSIX, because they are in 1003.1-2008.
28925         * rt/tst-aio.c: Include <fcntl.h>.
28926         * rt/tst-aio7.c: Likewise.
28927         * rt/tst-aio64.c: Likewise.
28929         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28931 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28933         * manual/install.texi (--with-headers): Describe headers as
28934         interface headers, not private headers.
28935         (Specific advice for GNU/Linux systems): Describe use of headers
28936         from "make headers_install", not private headers from older
28937         kernels.
28938         * INSTALL: Regenerated.
28939         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28940         Change to 2.6.19.
28941         * sysdeps/unix/sysv/linux/configure: Regenerated.
28943         * manual/llio.texi (fclean): Remove documentation.
28945         * manual/Makefile (libc-texi-generated): New variable.  Include
28946         version.texi.
28947         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28948         $(libc-texi-generated), not duplicated list of files.
28949         (version.texi, stamp-version): New rules.
28950         (realclean): Remove $(libc-texi-generated), not individual files
28951         from that list.  Do not remove dir-add.texinfo.
28952         * manual/libc.texinfo: Comment out uses of edition numbers and
28953         references to printed manual.  Remove last-updated dates.
28954         (EDITION): Comment out.
28955         (ISBN): Likewise.
28956         (VERSION, UPDATED): Remove.
28957         (version.texi): Include.
28959 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
28961         * sysdeps/posix/spawni.c: Include <signal.h>.
28962         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28963         * sysdeps/pthread/aio_fsync.c: Likewise.
28965 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
28967         * conform/Makefile (tests): Run only when not cross-compiling and
28968         when fast-check is not defined.
28970         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28971         * conform/data/limits.h-data: Fixes for POSIX2008.
28972         * conform/run-conformtest.sh: Run all tests.
28973         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28974         headers.
28975         * include/bits/dlfcn.h: Likewise.
28976         * include/langinfo.h: Likewise.
28977         * include/monetary.h: Likewise.
28978         * include/sys/poll.h: Likewise.
28980         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28981         for __USE_GNU.
28982         * posix/spawn.h: Define __need_sigset_t.
28983         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28984         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28985         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
28986         to get sigevent_t only.
28987         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28988         only for __USE_GNU.
28989         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28990         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28991         process_vm_writev only for __USE_GNU.
28992         * termios/termios.h: Declare tcgetsid also for POSIX2008.
28994         * conform/Makefile: For now ignore errors from run-conformtest.
28995         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
28996         POSIX to avoid namespace pollution.  Don't prepend headers.
28997         * conform/data/aio.h-data: Fixes for POSIX testing.
28998         * conform/data/fcntl.h-data: Likewise.
28999         * conform/data/glob.h-data: Likewise.
29000         * conform/data/grp.h-data: Likewise.
29001         * conform/data/pthread.h-data: Likewise.
29002         * conform/data/pwd.h-data: Likewise.
29003         * conform/data/signal.h-data: Likewise.
29004         * conform/data/spawn.h-data: Likewise.
29005         * conform/data/stdio.h-data: Likewise.
29006         * conform/data/stdlib.h-data: Likewise.
29007         * conform/data/stropts.h-data: Likewise.
29008         * conform/data/sys/mman.h-data: Likewise.
29009         * conform/data/sys/stat.h-data: Likewise.
29010         * conform/data/sys/types.h-data: Likewise.
29011         * conform/data/sys/wait.h-data: Likewise.
29012         * conform/data/time.h-data: Likewise.
29013         * conform/data/unistd.h-data: Likewise.
29014         * conform/data/utime.h-data: Likewise.
29016         * io/sys/stat.h: fchmod was always in POSIX.
29017         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29018         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29019         * rt/aio.h: Define __need_timespec before including <time.h>.
29020         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29021         struct.  Add forward declaration of pthread_attr_t and use it in
29022         sigevent.
29023         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29024         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29025         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29026         always remove CLK_TCK definition.
29028 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29030         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29032 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29034         * conform/run-conformtest.sh: New file.
29035         * conform/Makefile: Run run-conformtest for tests.
29036         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29037         support.
29039         * conform/data/uchar.h-data: New file.
29040         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29041         * conform/data/arpa/inet.h-data: Likewise.
29042         * conform/data/assert.h-data: Likewise.
29043         * conform/data/complex.h-data: Likewise.
29044         * conform/data/cpio.h-data: Likewise.
29045         * conform/data/ctype.h-data: Likewise.
29046         * conform/data/dirent.h-data: Likewise.
29047         * conform/data/dlfcn.h-data: Likewise.
29048         * conform/data/errno.h-data: Likewise.
29049         * conform/data/fcntl.h-data: Likewise.
29050         * conform/data/float.h-data: Likewise.
29051         * conform/data/fmtmsg.h-data: Likewise.
29052         * conform/data/fnmatch.h-data: Likewise.
29053         * conform/data/ftw.h-data: Likewise.
29054         * conform/data/glob.h-data: Likewise.
29055         * conform/data/grp.h-data: Likewise.
29056         * conform/data/iconv.h-data: Likewise.
29057         * conform/data/inttypes.h-data: Likewise.
29058         * conform/data/langinfo.h-data: Likewise.
29059         * conform/data/libgen.h-data: Likewise.
29060         * conform/data/limits.h-data: Likewise.
29061         * conform/data/locale.h-data: Likewise.
29062         * conform/data/math.h-data: Likewise.
29063         * conform/data/monetary.h-data: Likewise.
29064         * conform/data/mqueue.h-data: Likewise.
29065         * conform/data/ndbm.h-data: Likewise.
29066         * conform/data/net/if.h-data: Likewise.
29067         * conform/data/netdb.h-data: Likewise.
29068         * conform/data/netinet/in.h-data: Likewise.
29069         * conform/data/nl_types.h-data: Likewise.
29070         * conform/data/poll.h-data: Likewise.
29071         * conform/data/pthread.h-data: Likewise.
29072         * conform/data/pwd.h-data: Likewise.
29073         * conform/data/regex.h-data: Likewise.
29074         * conform/data/sched.h-data: Likewise.
29075         * conform/data/search.h-data: Likewise.
29076         * conform/data/semaphore.h-data: Likewise.
29077         * conform/data/setjmp.h-data: Likewise.
29078         * conform/data/signal.h-data: Likewise.
29079         * conform/data/spawn.h-data: Likewise.
29080         * conform/data/stdarg.h-data: Likewise.
29081         * conform/data/stdio.h-data: Likewise.
29082         * conform/data/stdlib.h-data: Likewise.
29083         * conform/data/string.h-data: Likewise.
29084         * conform/data/strings.h-data: Likewise.
29085         * conform/data/stropts.h-data: Likewise.
29086         * conform/data/sys/ipc.h-data: Likewise.
29087         * conform/data/sys/mman.h-data: Likewise.
29088         * conform/data/sys/msg.h-data: Likewise.
29089         * conform/data/sys/resource.h-data: Likewise.
29090         * conform/data/sys/select.h-data: Likewise.
29091         * conform/data/sys/sem.h-data: Likewise.
29092         * conform/data/sys/shm.h-data: Likewise.
29093         * conform/data/sys/socket.h-data: Likewise.
29094         * conform/data/sys/stat.h-data: Likewise.
29095         * conform/data/sys/statvfs.h-data: Likewise.
29096         * conform/data/sys/time.h-data: Likewise.
29097         * conform/data/sys/timeb.h-data: Likewise.
29098         * conform/data/sys/times.h-data: Likewise.
29099         * conform/data/sys/types.h-data: Likewise.
29100         * conform/data/sys/uio.h-data: Likewise.
29101         * conform/data/sys/un.h-data: Likewise.
29102         * conform/data/sys/utsname.h-data: Likewise.
29103         * conform/data/sys/wait.h-data: Likewise.
29104         * conform/data/syslog.h-data: Likewise.
29105         * conform/data/tar.h-data: Likewise.
29106         * conform/data/termios.h-data: Likewise.
29107         * conform/data/utime.h-data: Likewise.
29108         * conform/data/utmpx.h-data: Likewise.
29109         * conform/data/varargs.h-data: Likewise.
29110         * conform/data/wchar.h-data: Likewise.
29111         * conform/data/wctype.h-data: Likewise.
29112         * conform/data/wordexp.h-data: Likewise.
29114         * include/stropts.h: New file.
29115         * include/uchar.h: New file.
29116         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29117         * include/assert.h: Likewise.
29118         * include/ctype.h: Likewise.
29119         * include/dirent.h: Likewise.
29120         * include/dlfcn.h: Likewise.
29121         * include/fcntl.h: Likewise.
29122         * include/fnmatch.h: Likewise.
29123         * include/glob.h: Likewise.
29124         * include/grp.h: Likewise.
29125         * include/libio.h: Likewise.
29126         * include/locale.h: Likewise.
29127         * include/math.h: Likewise.
29128         * include/net/if.h: Likewise.
29129         * include/netdb.h: Likewise.
29130         * include/netinet/in.h: Likewise.
29131         * include/pthread.h: Likewise.
29132         * include/pwd.h: Likewise.
29133         * include/regex.h: Likewise.
29134         * include/sched.h: Likewise.
29135         * include/search.h: Likewise.
29136         * include/setjmp.h: Likewise.
29137         * include/signal.h: Likewise.
29138         * include/stdio.h: Likewise.
29139         * include/stdlib.h: Likewise.
29140         * include/string.h: Likewise.
29141         * include/sys/cdefs.h: Likewise.
29142         * include/sys/mman.h: Likewise.
29143         * include/sys/msg.h: Likewise.
29144         * include/sys/resource.h: Likewise.
29145         * include/sys/select.h: Likewise.
29146         * include/sys/socket.h: Likewise.
29147         * include/sys/stat.h: Likewise.
29148         * include/sys/statvfs.h: Likewise.
29149         * include/sys/time.h: Likewise.
29150         * include/sys/times.h: Likewise.
29151         * include/sys/uio.h: Likewise.
29152         * include/sys/utsname.h: Likewise.
29153         * include/sys/wait.h: Likewise.
29154         * include/termios.h: Likewise.
29155         * include/time.h: Likewise.
29156         * include/ulimit.h: Likewise.
29157         * include/unistd.h: Likewise.
29158         * include/utime.h: Likewise.
29159         * include/wchar.h: Likewise.
29160         * include/wctype.h: Likewise.
29161         * include/wordexp.h: Likewise.
29163         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29165         * time/time.h: TIME_UTC must be a macro.
29166         Make timespec_get available for ISO C11 only as well.
29168 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29170         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29171         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29173 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29175         * configure.in: Use -o not -a in test for unsupported multi-arch.
29177 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29179         * manual/texinfo.tex: Update to version 2012-01-19.16.
29181 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29183         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29185 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29187         [BZ #13738]
29188         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29189         * manual/fdl-1.3.texi: New file.
29190         * manual/fdl-1.1.texi: File removed.
29192         [BZ #13738]
29193         * manual/libc.texinfo (FDL_VERSION): New @set.
29194         Use it for mention of FDL in cover text.
29195         (Documentation License): Use it in @include file name.
29197 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29198             Roland McGrath  <roland@hack.frob.com>
29200         [BZ #5461]
29201         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29202         not LONG_LONG_MAX and LONG_LONG_MIN.
29203         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29204         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29205         name.
29206         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29208 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29210         [BZ #2547]
29211         [BZ #11365]
29212         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29213         manipulate bits before adding and subtracting TWO23[sx].
29214         * math/libm-test.inc (nearbyint_test): Add more tests.
29216 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29218         [BZ #2548]
29219         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29220         bits before adding and subtracting TWO23[sx].
29221         * math/libm-test.inc (rint_test): Add more tests.
29222         (rint_test_tonearest): Likewise.
29223         (rint_test_towardzero): Likewise.
29224         (rint_test_downward): Likewise.
29225         (rint_test_upward: Likewise.
29227 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29229         [BZ #10110]
29230         * include/stdc-predef.h: New file.  Extracted from features.h.
29231         * include/features.h: Include stdc-predef.h.
29232         * Makefile (headers): Add stdc-predef.h.
29233         * CONFORMANCE (Compiler limitations): Update.
29235 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29237         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29239 2012-02-21  David S. Miller  <davem@davemloft.net>
29241         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29242         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29244 2012-02-20  David S. Miller  <davem@davemloft.net>
29246         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29247         using a normal save/restore sequence, rather than allocating a
29248         dummy stack frame just to store a frame pointer and restore.
29249         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29251 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29253         * manual/install.texi: Fix stray word in line-wrapped comment.
29255 2012-02-20  David S. Miller  <davem@davemloft.net>
29257         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29258         both binutils and gcc support GOTDATA.
29260         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29261         "rd %pc" in the PIC register setup sequences.
29263         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29264         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29265         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29266         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29267         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29268         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29269         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29270         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29272         (SYSCALL_ERROR_HANDLER): Likewise.
29273         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29274         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29275         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29276         (SYSCALL_ERROR_HANDLER): Likewise.
29278         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29279         (HAVE_GCC_GOTDATA): New.
29280         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29281         relocation support in both binutils and gcc.
29282         * sysdeps/sparc/elf/configure: Regenerate.
29284         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29285         * sysdeps/sparc/sparc32/elf/configure: Delete.
29286         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29287         * sysdeps/sparc/sparc64/elf/configure: Delete.
29288         * sysdeps/sparc/elf/configure.in: New file.
29289         * sysdeps/sparc/elf/configure: Generate.
29291         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29292         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29293         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29294         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29295         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29297 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29299         * manual/install.texi: Do not mention specific glibc version
29300         numbers.
29301         * manual/libc.texinfo (VERSION, UPDATED): Update.
29302         (@copying): Use @copyright{} and range of years.
29304 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29306         [BZ #13695]
29307         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29308         [crti.S not in sysdirs] (generated): Do not append.
29309         [crti.S not in sysdirs] (omit-deps): Likewise.
29310         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29311         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29312         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29313         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29314         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29315         Likewise.
29316         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29317         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29318         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29319         * csu/defs.awk: Remove file.
29320         * sysdeps/generic/initfini.c: Likewise.
29321         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29322         variable.
29323         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29324         Likewise.
29326 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29328         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29329         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29330         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29331         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29332         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29333         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29334         <bits/epoll.h>.
29335         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29336         (__EPOLL_PACKED): Define to empty if not defined by
29337         <bits/epoll.h>.
29338         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29340         bits/epoll.h.
29342 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29344         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29345         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29346         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29347         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29348         <bits/timerfd.h>.
29349         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29350         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29351         bits/timerfd.h.
29353 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29355         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29356         in C locale.
29357         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29358         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29359         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29362 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29364         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29365         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29367 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29369         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29370         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29371         defined.
29372         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29373         Likewise.
29374         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29375         entry for 2.16.
29377 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29379         * math/w_acos.c: Use non-signaling floating-point comparisons.
29380         * math/w_acosf.c: Likewise.
29381         * math/w_acosh.c: Likewise.
29382         * math/w_acoshf.c: Likewise.
29383         * math/w_acoshl.c: Likewise.
29384         * math/w_acosl.c: Likewise.
29385         * math/w_asin.c: Likewise.
29386         * math/w_asinf.c: Likewise.
29387         * math/w_asinl.c: Likewise.
29388         * math/w_atanh.c: Likewise.
29389         * math/w_atanhf.c: Likewise.
29390         * math/w_atanhl.c: Likewise.
29391         * math/w_exp2.c: Likewise.
29392         * math/w_exp2f.c: Likewise.
29393         * math/w_exp2l.c: Likewise.
29394         * math/w_j0.c: Likewise.
29395         * math/w_j0f.c: Likewise.
29396         * math/w_j0l.c: Likewise.
29397         * math/w_j1.c: Likewise.
29398         * math/w_j1f.c: Likewise.
29399         * math/w_j1l.c: Likewise.
29400         * math/w_jn.c: Likewise.
29401         * math/w_jnf.c: Likewise.
29402         * math/w_log.c: Likewise.
29403         * math/w_log10.c: Likewise.
29404         * math/w_log10f.c: Likewise.
29405         * math/w_log10l.c: Likewise.
29406         * math/w_log2.c: Likewise.
29407         * math/w_log2f.c: Likewise.
29408         * math/w_log2l.c: Likewise.
29409         * math/w_logf.c: Likewise.
29410         * math/w_logl.c: Likewise.
29411         * math/w_sqrt.c: Likewise.
29412         * math/w_sqrtf.c: Likewise.
29413         * math/w_sqrtl.c: Likewise.
29414         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29415         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29416         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29417         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29418         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29420 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29422         [BZ #9739]
29423         * manual/string.texi (strnlen): Use correct parameter name in
29424         equivalent expression.
29426 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29428         [BZ #11174]
29429         * manual/users.texi (seteuid): Consistently use neweuid for
29430         argument name.
29432 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29434         [BZ #13704]
29435         * manual/nss.texi (Services in the NSS configuration): Correct
29436         list of services in example configuration file.
29438 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29440         [BZ #11322]
29441         * manual/arith.texi: Remove statements about negative zero
29442         behaving identically to zero.
29444 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29446         [BZ #5993]
29447         * manual/install.texi: Do not document upgrading from libc5.
29449 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29451         [BZ #4596]
29452         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29454 2012-02-18  David S. Miller  <davem@davemloft.net>
29456         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29457         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29458         %o7 across the call.
29459         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29460         instead.
29461         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29462         SETUP_PIC_REG_LEAF.
29463         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29464         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29465         * sysdeps/sparc/crtn.S: Likewise.
29467 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29469         * aout/Makefile: Remove.
29471 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29473         [BZ #13058]
29474         * manual/examples/argp-ex1.c (main): Format definition in GNU
29475         style.
29476         * manual/examples/argp-ex2.c (main): Likewise.
29477         * manual/examples/argp-ex3.c (main): Likewise.
29478         * manual/examples/argp-ex4.c (main): Likewise.
29479         * manual/examples/longopt.c (main): Use new-style prototype
29480         definition.
29481         * manual/examples/strncat.c (main): Specify return type and use
29482         (void) for arguments.
29483         * manual/examples/subopt.c (main): Use char **argv argument.
29485 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29487         [BZ #5077]
29488         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29489         rounding modes.
29491 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29493         [BZ #6907]
29494         * manual/string.texi (strchr): Change when strchrnul is
29495         recommended.
29497 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29499         [BZ #174]
29500         * manual/locale.texi (setlocale): Document LOCPATH.
29502 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29504         [BZ #10210]
29505         * manual/process.texi (execle): Move @dots{} before last argument.
29507 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
29509         [BZ #12047]
29510         * manual/charset.texi (Generic Charset Conversion): Fix typo
29511         (LC_TYPE -> LC_CTYPE).
29513 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
29515         [BZ #5805]
29516         * manual/arith.texi (scalbn): Use @var{} on parameter names.
29517         (scalbnf): Likewise.
29518         (scalbnl): Likewise.
29519         (scalbln): Likewise.
29520         (scalblnf): Likewise.
29521         (scalblnl): Likewise.
29522         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29523         (vwarnx): Likewise.
29524         (verr): Likewise.
29525         (verrx): Likewise.
29526         * manual/filesys.texi (telldir): Use braces around return type.
29527         * manual/llio.texi (mmap): Add space after comma.
29528         (mmap64): Likewise.
29529         * manual/math.texi (jn): Use @var{} on parameter names.
29530         (jnf): Likewise.
29531         (jnl): Likewise.
29532         (yn): Likewise.
29533         (ynf): Likewise.
29534         (ynl): Likewise.
29535         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29536         line.
29537         * manual/resource.texi (ulimit): Use @dots{} instead of literal
29538         "...".
29539         (sched_get_priority_min): Remove semicolon on @deftypefun line.
29540         (sched_get_priority_max): Likewise.
29541         * manual/signal.texi (sigvec): Add space after comma.
29542         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29543         names.
29544         (if_indextoname): Likewise.
29545         (if_freenameindex): Likewise.
29546         (sendto): Use ',' instead of '.' in prototype.
29547         * manual/startup.texi (syscall): Use @dots{} instead of literal
29548         "...".
29549         * manual/stdio.texi (__fpending): Separate initial words of
29550         paragraph from @deftypefun line.
29551         * manual/syslog.texi (syslog): Use @dots{} instead of literal
29552         "...".
29553         (vsyslog): Use @var{} on parameter names.
29554         * manual/terminal.texi (stty): Use @var{} on parameter names.
29555         * manual/users.texi (getutmp): Use @var{} on parameter names.
29556         (getutmpx): Likewise.
29558 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29560         [BZ #6884]
29561         * manual/stdio.texi (fopen): Fix typos in description of
29562         ",ccs=STRING".
29564 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
29566         [BZ #4026]
29567         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29568         get clock_id definition.
29570 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
29572         [BZ #4822]
29573         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29574         (madvise): Cast every argument to void on its own.
29576 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29578         [BZ #9902]
29579         * manual/startup.texi (Exit Status): Fix typo.
29581 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29583         [BZ #10140]
29584         * manual/examples/argp-ex1.c: Include <stdlib.h>.
29585         * manual/examples/argp-ex2.c: Likewise.
29586         * manual/examples/argp-ex3.c: Likewise.
29588 2012-02-16  Richard Henderson  <rth@redhat.com>
29590         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29591         * sysdeps/s390/s390-32/initfini.c: Remove.
29592         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29593         * sysdeps/s390/s390-64/initfini.c: Remove.
29595 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29597         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29598         compiler output for sysdeps/generic/initfini.c.
29599         * sysdeps/sh/elf/initfini.c: Remove file.
29601 2012-02-16  David S. Miller  <davem@davemloft.net>
29603         [BZ #11494]
29604         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29606         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29607         * sysdeps/sparc/crti.S: New file.
29608         * sysdeps/sparc/crtn.S: New file.
29609         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29610         * sysdeps/sparc/sparc64/Makefile: Likewise.
29612 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
29614         [BZ #3335]
29615         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29617 2012-02-15  Roland McGrath  <roland@hack.frob.com>
29619         [BZ #4822]
29620         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29622         * mach/devstream.c (cookie_io_functions_t): Macro removed.
29623         (write, read, close): Likewise.
29624         Patch by Aurelien Jarno <aurelien@aurel32.net>.
29626 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
29628         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29629         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29630         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29631         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29632         <bits/signalfd.h>.
29633         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29634         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29635         bits/signalfd.h.
29637 2012-02-14  Marek Polacek  <polacek@redhat.com>
29639         * sysdeps/x86_64/crti.S: New file.
29640         * sysdeps/x86_64/crtn.S: New file.
29641         * sysdeps/x86_64/elf/initfini.c: Remove file.
29643 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29645         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29646         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29647         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29648         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29649         <bits/inotify.h>.
29650         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29652         bits/inotify.h.
29654 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29656         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29657         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29658         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29659         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29660         <bits/eventfd.h>.
29661         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29663         bits/eventfd.h.
29665 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
29667         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29668         __feraiseexcept instead of feraiseexcept.
29670         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29671         nanosleep invocations.
29672         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29673         strings, and add error checking for a nanosleep invocations.
29675 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
29677         Replace FSF snail mail address with URLs, as per GNU coding standards.
29678         Most of the snail mail addresses were wrong anyway, and omitting
29679         them makes the source code easier to maintain.  Almost all of the
29680         changes are to license notices and to locale LC_IDENTIFICATION
29681         addresses, except for this one:
29682         * manual/libc.texinfo: In "Published by", give the FSF's URL,
29683         not its snail mail address.
29685 2012-02-09  Richard Henderson  <rth@twiddle.net>
29687         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29688         of kernel-features.h.
29690         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29692 2012-02-08  Marek Polacek  <polacek@redhat.com>
29694         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29695         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29696         * sysdeps/gnu/_G_config.h: Likewise.
29697         * sysdeps/generic/_G_config.h: Likewise.
29699 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
29701         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29702         tests.
29703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29705         * sysdeps/powerpc/powerpc32/crti.S: New file.
29706         * sysdeps/powerpc/powerpc32/crtn.S: New file.
29707         * sysdeps/powerpc/powerpc64/crti.S: New file.
29708         * sysdeps/powerpc/powerpc64/crtn.S: New file.
29710         * Makeconfig (have-initfini): Don't set.
29711         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29712         * configure.in (nopic_initfini): Don't substitute.
29713         * config.h.in (HAVE_INITFINI): Don't #undef.
29714         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29715         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29717 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
29719         Support crti.S and crtn.S provided directly by architectures.
29720         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29721         [crti.S in sysdirs] (omit-deps): Likewise.
29722         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29723         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29724         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29725         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29726         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29727         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29728         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29729         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29730         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29731         compiler output for sysdeps/generic/initfini.c.
29732         * sysdeps/i386/elf/Makefile: Remove file.
29733         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29735 2012-02-07  Marek Polacek  <polacek@redhat.com>
29737         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29738         * sysdeps/gnu/_G_config.h: Likewise.
29739         * sysdeps/mach/hurd/_G_config.h: Likewise.
29741 2012-02-07  Marek Polacek  <polacek@redhat.com>
29743         * math/Makefile (tests): Add tst-CMPLX2.
29744         * math/tst-CMPLX2.c: New file.
29746 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29748         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29750         * math/libm-test.inc (jn_test): Add missing L suffix.
29752 2012-02-06  Marek Polacek  <polacek@redhat.com>
29754         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29755         * sysdeps/i386/fpu/e_powf.S: Likewise.
29756         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29757         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29758         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29759         * sysdeps/i386/fpu/e_pow.S: Likewise.
29760         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29761         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29762         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29763         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29764         * sysdeps/i386/fpu/e_log2.S: Likewise.
29765         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29766         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29767         * sysdeps/i386/fpu/e_powl.S: Likewise.
29768         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29769         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29770         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29771         * sysdeps/i386/fpu/e_logl.S: Likewise.
29772         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29773         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29774         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29775         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29776         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29777         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29778         * sysdeps/i386/fpu/e_log.S: Likewise.
29779         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29780         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29781         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29782         * sysdeps/i386/fpu/e_logf.S: Likewise.
29783         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29784         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29785         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29786         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29787         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29788         * sysdeps/i386/fpu/e_log10.S: Likewise.
29789         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29790         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29791         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29792         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29793         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29794         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29795         * sysdeps/i386/asm-syntax.h: Likewise.
29796         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29797         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29798         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29799         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29800         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29801         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29802         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29803         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29804         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29805         * sysdeps/powerpc/sysdep.h: Likewise.
29806         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29807         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29809 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29811         [BZ #411]
29812         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29814 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29816         * sysdeps/i386/sysdep.h: Include <features.h>.
29817         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29818         version.
29820 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29822         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29823         Define.
29824         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29825         LOAD_PIC_REG_STR.
29827 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29829         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29830         (SETUP_PIC_REG): Use GET_PC_THUNK.
29831         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29832         macro.
29834 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29836         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29837         for non-PIC compilation.
29838         (SETUP_PIC_REG): Add .p2align directive.
29839         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29840         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29841         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29842         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29843         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29844         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29845         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29846         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29847         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29848         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29849         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29850         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29851         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29852         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29853         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29854         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29855         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29856         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29857         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29858         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29859         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29860         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29861         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29862         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29863         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29864         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29865         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29866         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29867         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29868         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29869         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29870         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29871         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29872         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29873         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29874         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29875         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29876         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29877         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29878         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29879         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29881 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29883         * math/tst-CMPLX.c: Include <stdio.h>.
29885 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29887         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29888         float.
29889         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29890         * sysdeps/sparc/bits/mathdef.h: Likewise.
29892 2012-01-31  Marek Polacek  <polacek@redhat.com>
29894         * libio/libio.h: Don't define _PARAMS.
29895         * locale/programs/config.h: Don't define PARAMS.
29896         * stdlib/strtol_l.c: Likewise.
29897         (__strtol_l): Remove PARAMS from the prototype.
29899 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29901         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29902         names.  Just use the correct names.  Remove unnecessary wrapper
29903         functions.
29904         * malloc/arena.c: Likewise.
29905         * malloc/hooks.c: Likewise.
29907         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29908         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29909         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29911 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29913         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29914         into tail calls.
29915         (update_get_addr): New function.
29916         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29917         GET_ADDR_MODULE parameter.
29919 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29921         * crypt/cert.c: Remove __STDC__ conditionals.
29922         * crypt/crypt-entry.c: Likewise.
29923         * crypt/crypt_util.c: Likewise.
29924         * libio/filedoalloc.c: Likewise.
29925         * libio/fileops.c: Likewise.
29926         * libio/genops.c: Likewise.
29927         * libio/iofclose.c: Likewise.
29928         * libio/iofdopen.c: Likewise.
29929         * libio/iofopen.c: Likewise.
29930         * libio/iofopen64.c: Likewise.
29931         * libio/iogetdelim.c: Likewise.
29932         * libio/iopopen.c: Likewise.
29933         * libio/obprintf.c: Likewise.
29934         * libio/oldfileops.c: Likewise.
29935         * libio/oldiofclose.c: Likewise.
29936         * libio/oldiofdopen.c: Likewise.
29937         * libio/oldiofopen.c: Likewise.
29938         * libio/oldiopopen.c: Likewise.
29939         * libio/wfiledoalloc.c: Likewise.
29940         * libio/wgenops.c: Likewise.
29941         * locale/programs/xmalloc.c: Likewise.
29942         * misc/syslog.c: Likewise.
29943         * stdio-common/xbug.c: Likewise.
29944         * string/memchr.c: Likewise.
29945         * string/memcmp.c: Likewise.
29946         * string/memrchr.c: Likewise.
29947         * string/rawmemchr.c: Likewise.
29948         * sysdeps/posix/getcwd.c: Likewise.
29949         * time/strftime_l.c: Likewise.
29951 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29953         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29954         * config.make.in (config-cflags-sse2avx): Define.
29955         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29956         Fix typo.
29958 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
29960         * scripts/config.guess: Update from upstream config git repository.
29961         * scripts/config.sub: Likewise.
29963 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
29965         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29966         (EM_NUM): Update.
29967         (R_TILEPRO_*, R_TILEGX_*): New macros.
29969         * scripts/firstversions.awk: Fix bug in version range handling.
29971         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29973         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29975         * include/sys/epoll.h: New file.
29976         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29977         libc_hidden_def.
29979 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
29981         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29982         Avoid unnecessary __WORDSIZE == 64 test.
29983         (fmaxf): Use VEX format if possible.
29984         (fmax): Likewise.
29985         (fminf): Likewise.
29986         (fmin): Likewise.
29988         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29989         * math/math_private.h: Remove libc_fegetround* and
29990         libc_fesetround*.
29991         * sysdeps/i386/configure.in: Check for -msse2avx.
29992         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29993         also if SSE2AVX is defined.
29994         Remove libc_fegetround* and libc_fesetround*.
29995         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29996         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
29997         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29998         of HAS_YMM_USABLE.
29999         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30000         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30001         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30002         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30003         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30005         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30007 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30009         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30010         size is not set.
30011         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30013 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30015         [BZ #13618]
30016         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30017         relocation.
30018         * Makeconfig (libm): Define.
30019         * elf/Makefile: Add rules to build and run tst-relsort1.
30020         * elf/tst-relsort1.c: New file.
30021         * elf/tst-relsort1mod1.c: New file.
30022         * elf/tst-relsort1mod2.c: New file.
30024 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30026         * math/s_ldexp.c: Remove __STDC__ conditionals.
30027         * math/s_ldexpf.c: Likewise.
30028         * math/s_ldexpl.c: Likewise.
30029         * math/s_nextafter.c: Likewise.
30030         * math/s_nexttowardf.c: Likewise.
30031         * math/s_significand.c: Likewise.
30032         * math/s_significandf.c: Likewise.
30033         * math/s_significandl.c: Likewise.
30034         * math/w_jnl.c: Likewise.
30035         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30036         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30037         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30038         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30039         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30040         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30041         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30042         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30043         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30044         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30045         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30046         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30047         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30048         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30049         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30050         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30051         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30052         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30053         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30054         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30055         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30056         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30057         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30058         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30059         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30060         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30061         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30062         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30063         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30064         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30065         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30066         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30067         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30068         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30069         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30070         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30071         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30072         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30073         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30074         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30075         * sysdeps/ieee754/k_standard.c: Likewise.
30076         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30077         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30078         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30079         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30080         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30081         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30082         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30083         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30084         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30085         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30086         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30087         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30088         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30089         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30090         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30091         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30092         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30093         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30094         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30095         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30096         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30097         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30098         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30099         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30100         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30101         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30102         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30103         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30104         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30105         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30106         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30107         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30108         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30109         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30110         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30111         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30112         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30113         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30114         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30115         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30116         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30117         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30118         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30119         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30120         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30121         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30122         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30123         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30124         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30125         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30126         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30127         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30128         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30129         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30130         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30131         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30132         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30133         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30134         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30135         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30136         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30137         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30138         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30139         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30140         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30141         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30142         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30143         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30144         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30145         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30146         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30147         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30148         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30149         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30150         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30151         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30152         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30153         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30154         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30155         * sysdeps/ieee754/s_matherr.c: Likewise.
30156         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30157         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30158         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30159         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30161 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30163         * crypt/md5.h: Remove __STDC__ conditionals.
30164         * libio/libioP.h: Likewise.
30165         * locale/programs/config.h: Likewise.
30166         * sysdeps/generic/sysdep.h: Likewise.
30167         * sysdeps/i386/asm-syntax.h: Likewise.
30168         * sysdeps/s390/asm-syntax.h: Likewise.
30169         * sysdeps/unix/sysdep.h: Likewise.
30170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30173 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30175         * libio/libio.h: Remove __STDC__ conditionals.
30176         * malloc/obstack.h: Likewise.
30177         * math/complex.h: Likewise.
30178         * math/math.h: Likewise.
30179         * sysdeps/generic/_G_config.h: Likewise.
30180         * sysdeps/gnu/_G_config.h: Likewise.
30181         * sysdeps/mach/hurd/_G_config.h: Likewise.
30182         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30183         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30184         * sysdeps/sparc/bits/mathdef.h: Likewise.
30186 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30188         [BZ #13583]
30189         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30190         Clean up HAS_* macros.
30191         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30192         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30193         possible.
30194         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30195         HAS_AVX.
30196         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30197         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30198         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30199         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30200         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30202 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30204         * elf/tst-unique3.cc (gets): Remove declaration.
30205         * elf/tst-unique3lib.cc (gets): Likewise.
30206         * elf/tst-unique3lib2.cc (gets): Likewise.
30207         * elf/tst-unique4.cc (gets): Likewise.
30209 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30211         * include/stdio.h: Add C++ protection.  Add gets declarations and
30212         definitions.
30213         * debug/tst-chk1.c: Don't declare gets here.
30214         * stdio-common/tst-gets.c: Likewise.
30216 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30218         * posix/glob: Remove directory.
30220 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30222         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30224 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30226         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30227         of the non-standard EPFNOSUPPORT.
30229 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30231         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30232         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30233         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30235 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30237         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30239 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30241         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30242         transient errors.
30243         * nscd/grpcache.c (cache_addgr): Likewise.
30244         * nscd/hstcache.c (cache_addhst): Likewise.
30245         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30246         * nscd/pwdcache.c (cache_addpw): Likewise.
30247         * nscd/servicescache.c (cache_addserv): Likewise.
30249 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30251         * malloc/malloc.c: Various cleanups.
30252         * malloc/hooks.c: Likewise.
30254         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30255         * stdlib/bug-fmtmsg1.c: New file.
30257         * stdlib/fmtmsg.c (init): Add missing unlock.
30258         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30260 2012-01-12  Marek Polacek  <polacek@redhat.com>
30262         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30263         and _GNU_SOURCE.
30265 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30267         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30268         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30269         macro to ensure uniqueness of label name.
30270         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30271         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30273 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30275         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30277         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30278         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30279         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30280         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30282 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30284         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30286         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30287         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30288         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30290         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30292         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30293         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30294         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30295         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30297         * math/bits/math-finite.h: Add ldexp support.
30299 2012-01-10  Marek Polacek  <polacek@redhat.com>
30301         * locale/programs/localedef.h (show_archive_content): Add noreturn
30302         attribute.
30304 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30306         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30308 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30310         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30312         * io/Makefile (headers): Add bits/poll2.h.
30314 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30317         typo #include statement.
30319 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30321         * include/sys/cdefs.h: Define __attribute_alloc_size.
30322         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30323         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30324         * elf/pldd.c: Likewise.
30325         * iconv/iconv_charmap.c: Likewise.
30326         * iconv/iconvconfig.c: Likewise.
30327         * iconv/strtab.c: Likewise.
30328         * locale/programs/locale.c: Likewise.
30329         * locale/programs/localedef.h: Likewise.
30330         * locale/programs/simple-hash.c: Likewise.
30331         * nscd/nscd.h: Likewise.
30332         * nss/makedb.c: Likewise.
30333         * sysdeps/generic/ldconfig.h: Likewise.
30334         * locale/programs/localedef.c: Remove xmalloc prototype.
30335         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30337 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30339         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30340         appropriate.
30342 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30344         * math/Makefile (tests): Add tst-CMPLX.
30345         * math/tst-CMPLX.c: New file.
30347         * math/complex.h (CMPLXL): Fix typo.
30349         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30350         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30351         GLIBC_2.16.
30352         * debug/tst-chk1.c: Add poll and ppoll tests.
30353         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30354         * include/sys/poll.h: Add hidden proto for ppoll.
30355         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30356         * sysdeps/mach/hurd/ppoll.c: Likewise.
30357         * io/ppoll.c: Likewise.
30358         * debug/poll_chk.c: New file.
30359         * debug/ppoll_chk.c: New file.
30360         * include/bits/poll2.h: New file.
30361         * io/bits/poll2.h: New file.
30363         [BZ #1350]
30364         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30366         * configure.in: static is always set to yes.  Remove.
30367         * config.make.in: Don't set build-static.
30368         * Makeconfig: Remove use of build-static.
30369         * dlfcn/Makefile: Likewise.
30370         * elf/Makefile: Likewise.
30371         * math/Makefile: Likewise.
30372         * misc/Makefile: Likewise.
30373         * nptl/Makefile: Likewise.
30374         * sysdeps/mach/hurd/Makefile: Likewise.
30376         * configure.in: PWD_P is not used anymore.
30377         * config.make.in: Remove PWD_P entry.
30379         * configure.in: Remove last remnants of RANLIB.
30380         No need to check for signed size_t anymore.
30381         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30382         and IA-64.
30383         Remove __builtin_expect test because we require at least gcc 3.4.
30384         * aclocal.m4: Likewise.
30386         * wcsmbs/mbrtoc16.c: Implement using towc function.
30387         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30388         * wcsmbs/wcsmbsload.c: Likewise.
30389         * iconv/gconv_simple.c: Likewise.
30390         * iconv/gconv_int.h: Likewise.
30391         * iconv/gconv_builtin.h: Likewise.
30392         * iconv/iconv_prog.c: Remove CHAR16 handling.
30394         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30396         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30398         * configure.in: Remove --with-elf and --enable-bounded options.
30399         Dont set base_machine for ia64.  More non-ELF conditions removed.
30400         Remove testing and setting of leading underscore information.
30401         * config.make.in (build-bounded): Set to no.
30402         * config.h.in: Remove NO_UNDERSCORES entry.
30403         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30404         them.
30405         * csu/start.c: Remove !NO_UNDERSCORE code.
30406         * locale/localeinfo.h: Likewise.
30407         * sysdeps/generic/machine-gmon.h: Likewise.
30408         * sysdeps/generic/sysdep.h: Likewise.
30409         * sysdeps/i386/sysdep.h: Likewise.
30410         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30411         * sysdeps/mach/sysdep.h: Likewise.
30412         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30413         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30414         * sysdeps/sh/sysdep.h: Likewise.
30415         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30416         * sysdeps/unix/i386/sysdep.S: Likewise.
30417         * sysdeps/unix/sparc/start.c: Likewise.
30418         * sysdeps/unix/sparc/sysdep.S: Likewise.
30419         * sysdeps/unix/sparc/sysdep.h: Likewise.
30420         * sysdeps/unix/start.c: Likewise.
30421         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30422         * sysdeps/x86_64/sysdep.h: Likewise.
30424 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30426         [BZ #13553]
30427         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30428         for non-gcc.
30429         * argp/argp-fmtstream.h: Use const instead __const.
30430         * argp/argp.h: Likewise.
30431         * assert/assert.h: Likewise.
30432         * bits/fenv.h: Likewise.
30433         * bits/sched.h: Likewise.
30434         * bits/sigset.h: Likewise.
30435         * bits/sigthread.h: Likewise.
30436         * catgets/nl_types.h: Likewise.
30437         * conform/data/pthread.h-data: Likewise.
30438         * crypt/crypt-private.h: Likewise.
30439         * crypt/crypt.h: Likewise.
30440         * crypt/crypt_util.c: Likewise.
30441         * ctype/ctype.h: Likewise.
30442         * debug/execinfo.h: Likewise.
30443         * debug/mbsnrtowcs_chk.c: Likewise.
30444         * debug/mbsrtowcs_chk.c: Likewise.
30445         * debug/wcsnrtombs_chk.c: Likewise.
30446         * debug/wcsrtombs_chk.c: Likewise.
30447         * debug/wcstombs_chk.c: Likewise.
30448         * dirent/dirent.h: Likewise.
30449         * dlfcn/dlfcn.h: Likewise.
30450         * elf/neededtest4.c: Likewise.
30451         * grp/grp.h: Likewise.
30452         * gshadow/gshadow.h: Likewise.
30453         * iconv/gconv.h: Likewise.
30454         * iconv/gconv_int.h: Likewise.
30455         * iconv/gconv_simple.c: Likewise.
30456         * iconv/iconv.h: Likewise.
30457         * iconv/loop.c: Likewise.
30458         * iconv/skeleton.c: Likewise.
30459         * include/aio.h: Likewise.
30460         * include/aliases.h: Likewise.
30461         * include/argz.h: Likewise.
30462         * include/arpa/inet.h: Likewise.
30463         * include/assert.h: Likewise.
30464         * include/dirent.h: Likewise.
30465         * include/dlfcn.h: Likewise.
30466         * include/execinfo.h: Likewise.
30467         * include/fcntl.h: Likewise.
30468         * include/fenv.h: Likewise.
30469         * include/glob.h: Likewise.
30470         * include/grp.h: Likewise.
30471         * include/libintl.h: Likewise.
30472         * include/mntent.h: Likewise.
30473         * include/netdb.h: Likewise.
30474         * include/pwd.h: Likewise.
30475         * include/rpc/netdb.h: Likewise.
30476         * include/sched.h: Likewise.
30477         * include/search.h: Likewise.
30478         * include/shadow.h: Likewise.
30479         * include/signal.h: Likewise.
30480         * include/stdio.h: Likewise.
30481         * include/stdlib.h: Likewise.
30482         * include/string.h: Likewise.
30483         * include/sys/socket.h: Likewise.
30484         * include/sys/stat.h: Likewise.
30485         * include/sys/statfs.h: Likewise.
30486         * include/sys/statvfs.h: Likewise.
30487         * include/sys/syslog.h: Likewise.
30488         * include/sys/time.h: Likewise.
30489         * include/sys/uio.h: Likewise.
30490         * include/time.h: Likewise.
30491         * include/unistd.h: Likewise.
30492         * include/utmp.h: Likewise.
30493         * include/wchar.h: Likewise.
30494         * include/wctype.h: Likewise.
30495         * inet/aliases.h: Likewise.
30496         * inet/arpa/inet.h: Likewise.
30497         * inet/netinet/ether.h: Likewise.
30498         * inet/netinet/in.h: Likewise.
30499         * intl/libintl.h: Likewise.
30500         * io/bits/fcntl2.h: Likewise.
30501         * io/fcntl.h: Likewise.
30502         * io/ftw.h: Likewise.
30503         * io/sys/poll.h: Likewise.
30504         * io/sys/stat.h: Likewise.
30505         * io/sys/statfs.h: Likewise.
30506         * io/sys/statvfs.h: Likewise.
30507         * io/utime.h: Likewise.
30508         * libio/bits/stdio.h: Likewise.
30509         * libio/bits/stdio2.h: Likewise.
30510         * libio/libio.h: Likewise.
30511         * libio/libioP.h: Likewise.
30512         * libio/stdio.h: Likewise.
30513         * locale/lc-ctype.c: Likewise.
30514         * locale/locale.h: Likewise.
30515         * login/utmp.h: Likewise.
30516         * malloc/arena.c: Likewise.
30517         * malloc/malloc.c: Likewise.
30518         * malloc/malloc.h: Likewise.
30519         * malloc/mcheck.c: Likewise.
30520         * malloc/mtrace.c: Likewise.
30521         * math/bits/mathcalls.h: Likewise.
30522         * math/fenv.h: Likewise.
30523         * math/math_private.h: Likewise.
30524         * misc/bits/error.h: Likewise.
30525         * misc/bits/syslog.h: Likewise.
30526         * misc/err.h: Likewise.
30527         * misc/error.h: Likewise.
30528         * misc/fstab.h: Likewise.
30529         * misc/mntent.h: Likewise.
30530         * misc/regexp.h: Likewise.
30531         * misc/search.h: Likewise.
30532         * misc/sgtty.h: Likewise.
30533         * misc/sys/mman.h: Likewise.
30534         * misc/sys/syslog.h: Likewise.
30535         * misc/sys/uio.h: Likewise.
30536         * misc/sys/xattr.h: Likewise.
30537         * misc/ttyent.h: Likewise.
30538         * nis/rpcsvc/ypclnt.h: Likewise.
30539         * nss/nss.h: Likewise.
30540         * posix/bits/unistd.h: Likewise.
30541         * posix/fnmatch.h: Likewise.
30542         * posix/glob.h: Likewise.
30543         * posix/sched.h: Likewise.
30544         * posix/spawn.h: Likewise.
30545         * posix/sys/wait.h: Likewise.
30546         * posix/unistd.h: Likewise.
30547         * posix/wordexp.h: Likewise.
30548         * pwd/pwd.h: Likewise.
30549         * resolv/netdb.h: Likewise.
30550         * resource/sys/resource.h: Likewise.
30551         * rt/aio.h: Likewise.
30552         * rt/bits/mqueue2.h: Likewise.
30553         * rt/mqueue.h: Likewise.
30554         * shadow/shadow.h: Likewise.
30555         * signal/signal.h: Likewise.
30556         * socket/send.c: Likewise.
30557         * socket/sendto.c: Likewise.
30558         * socket/sys/socket.h: Likewise.
30559         * stdio-common/printf.h: Likewise.
30560         * stdlib/bits/stdlib.h: Likewise.
30561         * stdlib/fmtmsg.h: Likewise.
30562         * stdlib/monetary.h: Likewise.
30563         * stdlib/stdlib.h: Likewise.
30564         * stdlib/ucontext.h: Likewise.
30565         * streams/stropts.h: Likewise.
30566         * string/argz.h: Likewise.
30567         * string/bits/string2.h: Likewise.
30568         * string/string.h: Likewise.
30569         * string/strings.h: Likewise.
30570         * sunrpc/rpc/auth.h: Likewise.
30571         * sunrpc/rpc/auth_des.h: Likewise.
30572         * sunrpc/rpc/clnt.h: Likewise.
30573         * sunrpc/rpc/netdb.h: Likewise.
30574         * sunrpc/rpc/pmap_clnt.h: Likewise.
30575         * sunrpc/rpc/xdr.h: Likewise.
30576         * sysdeps/generic/inttypes.h: Likewise.
30577         * sysdeps/generic/net/if.h: Likewise.
30578         * sysdeps/generic/sys/swap.h: Likewise.
30579         * sysdeps/gnu/net/if.h: Likewise.
30580         * sysdeps/gnu/utmpx.h: Likewise.
30581         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30582         * sysdeps/i386/i486/bits/string.h: Likewise.
30583         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30584         * sysdeps/s390/bits/string.h: Likewise.
30585         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30586         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30587         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30588         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30589         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30590         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30591         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30592         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30593         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30594         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30595         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30596         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30597         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30598         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30599         * sysdeps/unix/sysv/linux/readv.c: Likewise.
30600         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30601         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30602         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30603         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30604         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30605         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30606         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30607         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30608         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30609         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30610         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30611         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30612         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30613         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30614         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30615         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30616         * sysvipc/sys/ipc.h: Likewise.
30617         * sysvipc/sys/msg.h: Likewise.
30618         * sysvipc/sys/sem.h: Likewise.
30619         * sysvipc/sys/shm.h: Likewise.
30620         * termios/termios.h: Likewise.
30621         * time/sys/time.h: Likewise.
30622         * time/time.h: Likewise.
30623         * wcsmbs/bits/wchar2.h: Likewise.
30624         * wcsmbs/uchar.h: Likewise.
30625         * wcsmbs/wchar.h: Likewise.
30626         * wctype/wctype.h: Likewise.
30628         [BZ #13551]
30629         * Makeconfig: Remove all but ELF support including AIX support.
30630         * Makerules: Likewise.
30631         * config.h.in: Likewise.
30632         * config.make.in: Likewise.
30633         * configure: Likewise.
30634         * configure.in: Likewise.
30635         * csu/Makefile: Likewise.
30636         * csu/version.c: Likewise.
30637         * debug/Makefile: Likewise.
30638         * dlfcn/Makefile: Likewise.
30639         * elf/Makefile: Likewise.
30640         * extra-lib.mk: Likewise.
30641         * iconv/Makefile: Likewise.
30642         * include/libc-symbols.h: Likewise.
30643         * include/shlib-compat.h: Likewise.
30644         * resolv/Makefile: Likewise.
30645         * resolv/res_libc.c: Likewise.
30646         * rt/Makefile: Likewise.
30647         * sysdeps/i386/asm-syntax.h: Likewise.
30648         * sysdeps/i386/sysdep.h: Likewise.
30649         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30650         * sysdeps/mach/sysdep.h: Likewise.
30651         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30652         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30653         * sysdeps/s390/asm-syntax.h: Likewise.
30654         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30655         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30656         * sysdeps/sh/sysdep.h: Likewise.
30657         * sysdeps/unix/sparc/sysdep.h: Likewise.
30658         * sysdeps/wordsize-32/divdi3.c: Likewise.
30659         * sysdeps/x86_64/sysdep.h: Likewise.
30661         * argp/Versions: Remove _argp_unlock_xxx.
30663         [BZ #13559]
30664         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
30665         * abilist/libBrokenLocale.abilist: Likewise.
30666         * abilist/libanl.abilist: Likewise.
30667         * abilist/libc.abilist: Likewise.
30668         * abilist/libcrypt.abilist: Likewise.
30669         * abilist/libdl.abilist: Likewise.
30670         * abilist/libm.abilist: Likewise.
30671         * abilist/libnsl.abilist: Likewise.
30672         * abilist/libpthread.abilist: Likewise.
30673         * abilist/libresolv.abilist: Likewise.
30674         * abilist/librt.abilist: Likewise.
30675         * abilist/libthread_db.abilist: Likewise.
30676         * abilist/libutil.abilist: Likewise.
30677         * abilist/libnss_db.abilist: New file.
30679         * scripts/abilist.awk: Add support for indirect functions.
30681         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30683         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30685         * shlib-versions: Remove entries for ports architectures.
30687         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
30688         files in ports.
30689         * elf/stackguard-macros.h: Remove support for IA-64.
30690         * elf/tst-auditmod1.c: Likewise.
30691         * sysdeps/generic/ldsodefs.h: Likewise.
30693         * sysdeps/unix/sysv/linux/configure.in: Ports should define
30694         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30695         configure files.
30697         [BZ #13552]
30698         * configure.in: Remove --enable-omitfp support.
30699         * FAQ.in: Adjust.
30700         * config.make.in: Likewise.
30701         * Makeconfig: Likewise.
30702         * manual/install.texi: Likewise.
30704         In case anyone cares, the IA-64 architecture could move to ports.
30705         * sysdeps/ia64/*: Removed.
30706         * sysdeps/unix/sysv/linux/ia64/*: Removed.
30707         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30709         [BZ #13555]
30710         * configure.in: Remove entries for unsupported architectures.
30712         [BZ #13533]
30713         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30714         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
30715         routines.
30716         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30717         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30718         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
30719         fall back to using wcrtomb.
30720         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30721         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
30722         renaming.
30723         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30724         * wcsmbs/tst-c16c32-1.c: New file.
30726         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30727         local variable.
30729         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30731         * elf/tst-unique3.cc: Add explicit declaration of gets.
30732         * elf/tst-unique3lib.cc: Likewise.
30733         * elf/tst-unique3lib2.cc: Likewise.
30734         * elf/tst-unique4.cc: Likewise.
30736         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30738 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30740         [BZ #13566]
30741         * assert/assert.h (static_assert): Don't define for C++.
30742         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30743         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30745 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30747         * iconv/loop.c (single loop): Fix assertion in storing of
30748         remaining bytes.
30750         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30752 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30754         * posix/getconf.c: Update copyright year.
30755         * nss/getent.c: Likewise.
30756         * nss/makedb.c: Likewise.
30757         * iconv/iconvconfig.c: Likewise.
30758         * iconv/iconv_prog.c: Likewise.
30759         * elf/ldconfig.c: Likewise.
30760         * elf/pldd.c: Likewise.
30761         * elf/sotruss.ksh: Likewise.
30762         * catgets/gencat.c: Likewise.
30763         * csu/version.c: Likewise.
30764         * elf/ldd.bash.in: Likewise.
30765         * elf/sprof.c (print_version): Likewise.
30766         * locale/programs/locale.c: Likewise.
30767         * locale/programs/localedef.c: Likewise.
30768         * login/programs/pt_chown.c: Likewise.
30769         * nscd/nscd.c (print_version): Likewise.
30770         * debug/xtrace.sh: Likewise.
30771         * malloc/memusage.sh: Likewise.
30772         * malloc/mtrace.pl: Likewise.
30773         * debug/catchsegv.sh: Likewise.
30775 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30777         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30778         pure attribute.
30780 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30782         [BZ #13533]
30783         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30784         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30785         transformations.
30786         * iconv/gconv_int.h: Likewise.
30787         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30788         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30789         from libc for GLIBC_2.16.
30790         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30791         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30792         * wcsmbs/uchar.h: Really define mbstate_t.
30793         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30794         * wcsmbs/c16rtomb.c: New file.
30795         * wcsmbs/mbrtoc16.c: New file.
30796         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30797         for C/POSIX locale.
30798         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30799         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30801         * wcsmbs/wchar.h: Add missing __restrict.
30803 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30805         [BZ #13532]
30806         * time/Makefile (routines): Add timespec_get.
30807         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30808         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30809         timespec for ISO C11.
30810         * time/timespec_get.c: New file.
30811         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30812         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30814         [BZ #13531]
30815         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30816         * stdlib/stdlib.h: Declare aligned_alloc.
30817         * Versions.def: Add GLIBC_2.16 for libc.
30818         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30820         [BZ 13527]
30821         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30822         ISO C11.
30824         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30825         code.
30827         [BZ #13528]
30828         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30830         [BZ #13529]
30831         * assert/assert.h (static_assert): Define.
30833         * version.h: Update for 2.16 development version.
30835         [BZ #13526]
30836         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30837         _ISOC11_SOURCE.
30839         * version.h (RELEASE): Bump for 2.15 release.
30840         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30842         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30843         Patch by Marek Polacek <mpolacek@redhat.com>.
30845         * bits/byteswap.h: Protect long long constants with __extension__.
30846         * sysdeps/i386/bits/byteswap.h: Likewise.
30847         * sysdeps/ia64/bits/byteswap.h: Likewise.
30848         * sysdeps/s390/bits/byteswap.h: Likewise.
30849         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30851 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30853         [BZ #13540]
30854         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30855         destination buffer.
30856         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30858 2011-12-23  Marek Polacek  <polacek@redhat.com>
30860         * elf/dl-addr.c (determine_info): Add inline keyword.
30861         * elf/tst-auditmod4b.c (check_avx): Likewise.
30862         * elf/tst-auditmod6b.c (check_avx): Likewise.
30863         * elf/tst-auditmod6c.c (check_avx): Likewise.
30864         * elf/tst-auditmod7b.c (check_avx): Likewise.
30866 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30868         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30869         !__SSE_MATH__.
30871 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30873         [BZ #13540]
30874         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30875         processing for last bytes.
30877 2011-08-06  Bruno Haible  <bruno@clisp.org>
30879         [BZ #13061]
30880         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30881         U+0385, not to U+1FEE.
30883         [BZ #13062]
30884         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30885         entry for U+00A5 U+0301.
30887 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30889         [BZ #13166]
30890         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30891         buffer for the output is too small.
30893         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30894         optimization.
30896         [BZ #13185]
30897         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30898         SSE flags if possible.
30900 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30902         [BZ #13540]
30903         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30904         processing for last bytes.
30906 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30908         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30909         (syscall-list-default-options, syscall-list-default-condition)
30910         (syscall-list-includes): Define.
30911         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30912         list of ABIs and options and #if conditions for each ABI.  Do not
30913         handle common syscalls between ABIs specially.
30914         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30915         Remove.
30916         (syscall-list-variants, syscall-list-32bit-options)
30917         (syscall-list-32bit-condition, syscall-list-64bit-options)
30918         (syscall-list-64bit-condition): Define.
30919         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30920         (syscall-list-variants, syscall-list-32bit-options)
30921         (syscall-list-32bit-condition, syscall-list-64bit-options)
30922         (syscall-list-64bit-condition): Define.
30923         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30924         Remove.
30925         (syscall-list-variants, syscall-list-32bit-options)
30926         (syscall-list-32bit-condition, syscall-list-64bit-options)
30927         (syscall-list-64bit-condition): Define.
30928         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30929         Remove.
30930         (syscall-list-variants, syscall-list-32bit-options)
30931         (syscall-list-32bit-condition, syscall-list-64bit-options)
30932         (syscall-list-64bit-condition): Define.
30934 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30936         * locale/iso-639.def: Add brx entry.
30938         [BZ #13328]
30939         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30940         Proposed by Mariusz_Cukr <marcukr@op.pl>.
30942         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30943         __feraiseexcept_renamed.
30945 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30947         [BZ #13538]
30948         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30949         EPOLLET with unsigned values.
30950         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30951         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30953         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30954         to large cancellation.
30955         * math/s_cacoshf.c: Likewise.
30956         * math/s_cacoshl.c: Likewise.
30958 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
30960         [BZ #13305]
30961         [BZ #12786]
30962         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30963         * math/s_cacoshf.c: Likewise.
30964         * math/s_cacoshl.c: Likewise.
30966 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30968         [BZ #13439]
30969         * iconv/gconv.h: Define __GCONV_SWAP.
30970         * iconvdata/unicode.c: The swap bit must be stored in __flags.
30971         * iconvdata/utf-16.c: Likewise.
30972         * iconvdata/utf-32.c: Likewise.
30974 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30976         [BZ #13524]
30977         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30978         numerator after shifting it by one limb.
30980 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30982         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30983         under [__USE_EXTERN_INLINES].
30985 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30987         [BZ #13446]
30988         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30990 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30992         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30993         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30994         optimized code.
30995         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30996         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30997         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30998         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30999         for strncasecmp/strncasecmp_l compilation.
31000         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31001         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31003 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31005         [BZ #13484]
31006         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31007         of __asm__.
31009 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31011         [BZ #13506]
31012         * time/tzfile.c (__tzfile_read): Check values from file header.
31014 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31016         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31017         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31018         * powerpc/powerpc32/dl-start.S: Likewise.
31019         * powerpc/powerpc32/elf/start.S: Likewise.
31020         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31021         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31022         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31023         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31024         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31025         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31026         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31027         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31028         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31029         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31030         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31031         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31032         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31033         * powerpc/powerpc32/memset.S: Likewise.
31034         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31035         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31036         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31037         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31038         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31039         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31040         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31041         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31042         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31043         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31044         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31045         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31046         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31048 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31050         * math/libm-test.inc: Added more nearbyint tests.
31051         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31052         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31053         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31054         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31056 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31058         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31059         FD_CLOEXEC.
31061 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31063         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31064         Add wcscpy-ssse3 wcscpy-c.
31065         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31066         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31067         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31068         * sysdeps/x86_64/wcschr.S: New file.
31069         * sysdeps/x86_64/wcsrchr.S: New file.
31070         * string/test-strcmp.c: Remove checking of wcscmp function for
31071         wrong alignments.
31072         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31073         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31074         wcsrchr-sse2 wcsrchr-c.
31075         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31076         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31077         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31078         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31079         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31080         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31081         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31082         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31083         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31084         * wcsmbc/wcschr.c (WCSCHR): New macro.
31086 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31088         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31089         * wcsmbs/test-wcsrchr.c: New file.
31090         * string/test-strrchr.c: Add wcsrchr support.
31091         (WIDE): New macro.
31092         * wcsmbs/test-wcscpy.c: New file.
31093         * string/test-strcpy.c: Add wcscpy support.
31094         (WIDE): New macro.
31096 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31098         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31099         the inner loop.
31101 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31103         [BZ #13472]
31104         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31106 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31108         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31109         Minor optimizations.
31111         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31112         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31113         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31115 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31117         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31118         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31119         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31120         for gcc to avoid warnings.
31121         * inet/Makefile (tests): Add tst-checks.
31122         * inet/tst-checks.c: New file.
31124         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31125         warning.
31127         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31128         __wmemcmp_sse2.
31130         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31131         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31133         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31135 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31137         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31138         problem.
31140         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31142 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31144         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31145         conditional on GCC version.
31146         (__arch_compare_and_exchange_val_8_acq)
31147         (__arch_compare_and_exchange_val_16_acq)
31148         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31149         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31150         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31152 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31154         * sysdeps/sh/backtrace.c: New file.
31156 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31158         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31159         parenthesis.
31161 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31163         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31164         falling back to utime.
31166 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31168         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31169         expectations for float.
31171 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31173         * locale/weight.h (findidx): Add parameter len.
31174         * locale/weightwc.h (findidx): Likewise.
31175         * posix/fnmatch_loop.c (FCT): Adjust caller.
31176         * posix/regcomp.c (build_equiv_class): Likewise.
31177         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31178         * posix/regexec.c (check_node_accept_bytes): Likewise.
31179         * string/strcoll_l.c (STRCOLL): Likewise.
31180         * string/strxfrm_l.c (STRXFRM): Likewise.
31182 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31184         * Makefile.in: Remove CVSOPT handling.
31185         * configure.in: Remove use of AC_REVISION.
31186         * iconvdata/Makefile (distribute): No need to filter out CVS.
31187         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31188         handling.
31190 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31192         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31193         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31194         [USE_AS_STRNCASECMP_L]: Likewise.
31195         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31196         NO_TLS_DIRECT_SEG_REFS.
31197         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31198         Fix argument offsets for non-PIC.
31199         [USE_AS_STRNCASECMP_L]: Likewise.
31200         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31201         NO_TLS_DIRECT_SEG_REFS.
31203 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31205         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31206         O_CLOEXEC.
31207         * locale/loadlocale.c (_nl_load_locale): Likewise.
31209 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31211         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31212         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31213         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31214         (SYSCALL_GETTIME): Set errno on error.
31216         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31217         count references to noai6ai_cached.
31219 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31221         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31223         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31224         FD_CLOEXEC for /proc/self/maps.
31226         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31227         FD_CLOEXEC for /proc/meminfo.
31229         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31230         gai.conf.
31232         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31233         FD_CLOEXEC for given file.
31235         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31237         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31238         FD_CLOEXEC for /etc/hosts.
31239         (_gethtent): Likewise.
31241         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31243         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31244         cancellation and set FD_CLOEXEC for /etc/netgroup.
31246         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31247         reading /etc/publickey.
31249         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31250         allow cancellation when reading /etc/group.
31252         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31253         cancellation.
31254         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31256         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31257         when using data file.
31259         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31261         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31262         (write_nis_obj): Use "c" and "e" in fopen.
31264         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31266         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31268         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31270         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31272         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31273         locale.alias.
31275         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31277         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31279         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31281         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31282         file parsing and set FD_CLOEXEC.
31284 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31286         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31288 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31290         * malloc/arena.c (arena_get2): Don't call reused_arena when
31291         _int_new_arena failed.
31293 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31295         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31296         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31297         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31298         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31299         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31300         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31301         to compile strcasecmp and strncasecmp.
31302         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31303         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31305         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31307 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31309         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31310         locale-defines.sym to gen-as-const-headers.
31311         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31312         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31313         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31314         to compile strcasecmp and strncasecmp.
31315         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31316         strcasecmp_l and strncasecmp_l.
31317         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31318         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31319         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31320         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31321         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31322         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31323         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31324         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31325         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31326         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31327         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31329 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31331         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31332         result of SYSDEP_GETTIME_CPU to retval.
31333         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31334         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31336         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31337         variable.
31339         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31340         mantissa words.
31341         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31343         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31344         from unused variable.
31346         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31347         DWARF definitions.
31348         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31349         for assembling.
31351         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31352         over namespaces.
31354         * sunrpc/rpc_prot.c (rejected): Fix case value.
31356         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31357         unsigned long long int to avoid warnings in shift.
31359         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31360         of use of trans.
31361         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31362         variable tmp.
31364         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31365         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31366         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31368         * nis/nis_table.c (nis_list): Use variable of correct type for
31369         result of __follow_path call.
31371 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31373         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31374         of math functions ceil, trunc, floor, round, and sqrt, when
31375         avaliable on the platform.
31376         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31377         name clash.
31378         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31379         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31380         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31382 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31384         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31385         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31387 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31389         * include/unistd.h: Fix __readlink return type.
31390         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31392 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31394         * stdlib/ucontext.h: Undo last change for makecontext.
31396 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31398         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31400         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31401         * setjmp/setjmp.h: Mark functions as non-leaf.
31402         * setjmp/bits/setjmp2.h: Likewise.
31403         * stdlib/ucontext.h: Likewise.
31405 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31407         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31408         (reused_arena): Don't check arena limit.
31409         (arena_get2): Atomically check arena limit.
31411 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31413         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31414         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31416         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31417         instructions.
31419 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31421         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31422         handler when locking.
31424         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31425         Fix size of allocated buffer.
31427 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31429         [BZ #10103]
31430         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31431         declarations for long double functions.
31432         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31434         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31436 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31438         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31439         installed.
31441         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31442         is disabled.
31444 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31446         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31448 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31450         * include/alloca.h (stackinfo_alloca_round): Define.
31451         (extend_alloca): Use it.
31452         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31453         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31454         here.
31456         * scripts/check-local-headers.sh: Ignore libaudit.h.
31458         * nscd/Makefile (extra-objs): Make recursively expanded.
31460 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31462         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31463         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31465         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31466         * posix/tst-rfc3484-2.c: Likewise.
31467         * posix/tst-rfc3484-3.c: Likewise.
31469         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31470         process_vm_writev.
31471         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31472         process_vm_writev.
31473         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31474         process_vm_writev from libc using GLIBC_2.15 version.
31476         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31478 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31480         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31481         stack usage.
31483 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31485         [BZ #13367]
31486         * nss/getent.c (initgroups_keys): Show error message in case no group
31487         names are given.
31489         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31490         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31491         __bump_nl_timestamp.
31492         * nscd/connections (nscd_init): When host database is served open
31493         netlink socket and request notification about configuration changes.
31494         (main_loop_poll): Track netlink file descriptor and bump timestamp
31495         in case data becomes available.
31496         (main_loop_epoll): Likewise.
31497         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31498         (database_pers_head): Add extra_data fileds.
31499         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31500         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31501         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31502         Adjust caller.
31503         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31504         in6ai data, call __free_in6ai.
31505         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31506         Add -DHAVE_NETLINK.
31507         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
31508         interface information.  Reuse previous data if netlink timestamp
31509         is not changed.
31510         (__bump_nl_timestamp): New function.
31511         (__free_in6ai): New function.
31513 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
31515         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31516         close_not_cancel_no_status here.
31517         (__check_pf): Reorganize code a bit to not call close twice if OOM.
31519 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31521         [BZ #13276]
31522         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31523         return value.
31525         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31526         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31527         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31529 2011-07-03  Andreas Jaeger  <aj@suse.de>
31531         [BZ #10709]
31532         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31533         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31534         * math/libm-test.inc (sin_test): Add test case.
31536 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31538         [BZ #13337]
31539         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31540         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31542         * elf/chroot_canon.c (chroot_canon): Cleanups.
31544         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31546         [BZ #13335]
31547         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31548         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31550         * string/test-strchr.c: Make usable for strchrnul testing.
31551         * string/test-strchrnul.c: New file.
31552         * string/Makefile (strop-tests): Add strchrnul.
31554         * po/it.po: Update from translation team.
31555         * po/es.po: Likewise.
31557 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
31559         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31560         the three constants needed as parameters.  Drop the others.
31561         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31562         __m128i_strloadu_tolower.
31563         Create and initialize variable zero and use it in all the places
31564         where _mm_setzero_si128 was used.
31566         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31567         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31568         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31569         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31570         anymore.
31571         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31572         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31573         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31574         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31575         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31576         __mpranred, __mptan.
31577         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31578         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31579         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31580         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31581         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31582         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31583         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31584         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31585         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31587 2011-10-28  Andreas Schwab  <schwab@redhat.com>
31589         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31590         redefine if SHARED.
31591         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31593         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31594         wide char related routines to wcsmbs subdir.
31596 2011-10-27  Andreas Schwab  <schwab@redhat.com>
31598         [BZ #13344]
31599         * misc/sys/cdefs.h (__THROWNL): Define.
31600         * posix/unistd.h: Use __THREADNL instead of __THREAD
31601         for memory synchronization functions.
31603 2011-10-26  Roland McGrath  <roland@hack.frob.com>
31605         [BZ #13349]
31606         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31607         doesn't exist.
31608         * manual/stdio.texi (Obstack Streams): Node removed.
31610 2011-10-26  Andreas Schwab  <schwab@redhat.com>
31612         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31613         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31614         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31616         * math/math_private.h (math_force_eval): Allow non-addressable
31617         arguments.
31618         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31620 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31622         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31623         file is not needed.
31625         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31626         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31627         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31628         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31629         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31630         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31631         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31632         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31633         Add AVX variants.
31634         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31635         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31636         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31637         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31638         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31639         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31640         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31641         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31642         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31643         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31644         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31645         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31646         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31647         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31648         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31649         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31650         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31651         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31652         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31654         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31655         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
31657         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31658         place.  Use VEX encoding when compiling for AVX.
31660 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31662         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31663         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31665         * string/test-strchr.c (do_test): Don't generate NUL bytes.
31667 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31669         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31670         useless if() expression.
31671         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31672         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31673         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31674         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31675         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31676         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31677         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31678         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31679         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31680         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31681         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31682         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31683         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31684         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31685         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31686         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31687         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31688         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31689         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31691         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31693 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31695         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31696         condition.
31697         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31699 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31701         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31702         .text section.  Avoid duplicate constants.
31703         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31704         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31705         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31706         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31707         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31708         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31709         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31710         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31711         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31712         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31713         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31714         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31715         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31716         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31717         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31718         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31719         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31720         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31721         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31722         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31723         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31724         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31725         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31726         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31727         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31728         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31729         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31730         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31731         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31732         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31733         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31734         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31735         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31736         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31737         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31738         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31739         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31740         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31741         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31742         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31743         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31744         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31745         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31746         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31747         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31749 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31751         * sysdeps/x86_64/dla.h: Move to ...
31752         * sysdeps/x86_64/fpu/dla.h: ...here.
31753         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31754         situations.  Use __builtin_fma only for gcc 4.6 and up.
31756         * config.make.in: Add have-mfma4 entry.
31757         * configure.in: Substitute libc_cv_cc_fma4.
31758         * math/Makefile (dbl-only-routines): Add sincostab.
31759         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31760         Use __sincostab not sincos.
31761         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31762         name is a macro.
31763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31764         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31766         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31767         using __copysign.
31768         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31769         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31770         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31771         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31772         and __inv.
31773         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31774         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31775         __copysign.
31776         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31777         define aliases when function name is a macro.
31778         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31779         sysdeps/ieee754/dbl-64/sincos.tbl.
31780         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31781         fma4-enabled routines.
31782         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31783         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31784         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31785         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31786         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31787         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31788         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31789         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31790         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31791         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31792         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31793         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31794         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31795         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31796         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31797         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31798         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31799         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31800         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31801         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31802         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31803         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31804         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31805         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31806         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31807         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31808         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31809         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31810         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31811         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31813         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31814         rename.
31815         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31816         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31817         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31818         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31819         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31820         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31821         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31822         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31824 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31826         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31828 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31830         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31832         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31833         prediction.
31834         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31836         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31837         Remove unused variable magic_bits.
31838         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31840         * string/strnlen.c: Define and use STRNLEN macro.
31841         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31842         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31843         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31844         * wcsmbs/wcslen.c: Define and use WCSLEN.
31845         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31846         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31847         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31848         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31849         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31850         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31851         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31853 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31856         strnlen-sse2-no-bsf.
31857         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31858         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31859         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31860         Add strnlen support.
31861         (USE_AS_STRNLEN): New macro.
31862         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31863         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31864         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31865         * sysdeps/x86_64/wcslen.S: New file.
31867 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31869         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31870         XMM-moves are used for copying on small sizes.
31872 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31874         * wcsmbs/Makefile (strop-tests): Add wcschr.
31875         * wcsmbs/test-wcschr.c: New file.
31876         * string/test-strchr.c: Update.
31877         Add wcschr support.
31878         (WIDE): New macro.
31880 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31882         * wcsmbs/Makefile (strop-tests): Add wcslen.
31883         * wcsmbs/test-wcslen.c: New file.
31884         * string/test-strlen.c: Update.
31885         Add wcslen support.
31886         (WIDE): New macro.
31888 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31890         * po/it.po: Update from translation team.
31892 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31894         * sysdeps/x86_64/wcscmp.S: Update.
31895         Fix wrong comparison semantics.
31896         wcscmp shall use signed comparison not unsigned.
31897         Don't use substraction to avoid overflow bug.
31898         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31899         * wcsmbc/wcscmp.c: Likewise.
31900         * string/test-strcmp.c: Likewise.
31901         Add new tests to check cases with negative values.
31903 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31905         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31906         * sysdeps/x86_64/dla.h: ...here.  New file.
31907         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31908         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31909         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31910         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31911         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31912         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31913         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31914         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31915         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31917 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31920         __ynl_finite aliases.
31922 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31926         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31927         define DLA_FMA.
31928         [DLA_FMA] (EMULV): Use DLA_FMA.
31929         [DLA_FMA] (MUL12): Use EMULV.
31930         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31931         that are not needed.
31932         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31933         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31934         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31935         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31936         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31937         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31938         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31940 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
31942         * math/s_nan.c: Undef __nan.
31943         * math/s_nanf.c: Undef __nanf.
31944         * math/s_nanl.c: Undef __nanl.
31945         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31946         "math_private.h".
31948 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31950         * math/s_catan.c: Add branch predictions.
31951         * math/s_catanf.c: Likewise.
31952         * math/s_catanh.c: Likewise.
31953         * math/s_catanhf.c: Likewise.
31954         * math/s_catanhl.c: Likewise.
31955         * math/s_catanl.c: Likewise.
31956         * math/s_cexp.c: Likewise.
31957         * math/s_cexpf.c: Likewise.
31958         * math/s_cexpl.c: Likewise.
31959         * math/s_clog.c: Likewise.
31960         * math/s_clog10.c: Likewise.
31961         * math/s_clog10f.c: Likewise.
31962         * math/s_clog10l.c: Likewise.
31963         * math/s_clogf.c: Likewise.
31964         * math/s_clogl.c: Likewise.
31965         * math/s_csqrt.c: Likewise.
31966         * math/s_csqrtf.c: Likewise.
31967         * math/s_csqrtl.c: Likewise.
31968         * math/s_ctanf.c: Likewise.
31969         * math/s_ctanh.c: Likewise.
31970         * math/s_ctanhf.c: Likewise.
31971         * math/s_ctanhl.c: Likewise.
31972         * math/s_ctanl.c: Likewise.
31974         * math/math_private.h: Define __nan, __nanf, __nanl.
31975         * math/s_cacosh.c: Include <math_private.h>.
31976         * math/s_cacoshl.c: Likewise.
31977         * math/s_casinh.c: Likewise.
31978         * math/s_casinhf.c: Likewise.
31979         * math/s_casinhl.c: Likewise.
31980         * math/s_ccos.c: Rely entire on ccosh.
31981         * math/s_ccosf.c: Rely entire on ccoshf.
31982         * math/s_ccosl.c: Rely entirely on ccoshl.
31983         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
31984         Remove tests for FE_INVALID.
31985         * math/s_ccoshf.c: Likewise.
31986         * math/s_ccoshl.c: Likewise.
31987         * math/s_csin.c: Likewise.
31988         * math/s_csinf.c: Likewise.
31989         * math/s_csinh.c Likewise.
31990         * math/s_csinhf.c: Likewise.
31991         * math/s_csinhl.c: Likewise.
31992         * math/s_csinl.c: Likewise.
31993         * math/s_ctan.c: Likewise.
31994         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31995         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31996         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31998 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32001         compilation problems.
32003         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32004         __builtin_expect.
32006 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32008         * sysdeps/i386/configure.in: Test for -mfma4 option.
32009         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32010         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32011         COMMON_CPUID_INDEX_80000001.
32012         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32013         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32014         use it if FMA3 is not supported.
32015         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32017         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32018         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32020 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32022         [BZ #12892]
32023         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32024         it would create a cycle with a link time dependency.
32026 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32028         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32029         instruction.
32030         * string/Makefile (strop-tests): Add rawmemchr.
32031         * string/test-rawmemchr.c: New file.
32033         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32034         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32035         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32036         when compiling str{,n}casecmp and when AVX is available.  Hook up
32037         new optimized code in initializers.
32039 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32041         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32042         __feraiseexcept instead of feraiseexcept.
32044 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32046         * math/math_private.h: Define defaults for libc_fetestexcept and
32047         libc_feupdateenv.
32048         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32049         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32050         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32051         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32052         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32053         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32054         libc_fetestexcept and libc_feupdateenv.
32056         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32057         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32058         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32059         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32060         libc_feholdexcept_setround.
32062         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32063         Add s_nearbyint-c and s_nearbyintf-c.
32064         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32065         nearbyintf inlines.
32066         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32067         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32068         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32069         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32071         * math/math_private.h: Define defaults for libc_fegetround,
32072         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32073         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32074         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32075         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32076         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32077         standard functions.
32078         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32079         Remove comments and hacks for old compiler versions.
32080         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32081         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32082         libc_feholdexceptl.
32084 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32086         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32087         (__feraiseexcept_renamed): Add __NTH.
32088         (feraiseexcept): Add __NTH.  Rename local variables to fix
32089         namespace violations.
32091 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32093         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32095         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32097         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32098         recently added interfaces.
32099         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32101         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32102         about macro parameter expansion.
32104         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32105         __NO_MATH_INLINES is defined.  Cleanups.
32107         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32108         and __floorf is target has SSE4.1.
32109         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32110         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32111         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32112         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32114         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32115         name.
32116         (floorf): Likewise.
32118         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32120 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32122         * misc/sys/cdefs.h: Fix last change.
32124         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32125         database lookup.
32127 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32129         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32131         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32132         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32133         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32134         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32135         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32136         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32137         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32138         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32139         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32140         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32141         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32142         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32143         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32144         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32145         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32146         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32147         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32148         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32149         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32150         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32151         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32152         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32154         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32155         ceil, ceilf, floor, floorf.
32157         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32158         Perform IRELATIVE relocations last.
32160         * elf/do-rel.h: Add another parameter nrelative, replacing the
32161         local variable with the same name.  Change name of the function
32162         to end in Rel or Rela (uppercase).
32163         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32164         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32165         elf_dynamic_do_##reloc function.
32167 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32169         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32170         is sufficient, at least on modern CPUs.
32172         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32174         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32175         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32177         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32178         __expl_finite.
32179         * math/bits/math-finite.h: Add entries for exp.
32180         * math/e_expl.c: Add __*_finite alias.
32181         * sysdeps/i386/fpu/e_exp.S: Likewise.
32182         * sysdeps/i386/fpu/e_expf.S: Likewise.
32183         * sysdeps/i386/fpu/e_expl.c: Likewise.
32184         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32185         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32186         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32187         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32188         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32189         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32190         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32192         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32193         is sufficient, at least on modern CPUs.
32195         * ctype/ctype-info.c (__ctype_init): Define.
32196         * include/ctype.h (__ctype_init): Declare.
32197         (__ctype_b_loc): The variable is always initialized.
32198         (__ctype_toupper_loc): Likewise.
32199         (__ctype_tolower_loc): Likewise.
32200         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32201         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32203 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32205         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32207         * configure.in: Also look in $cxxmachine/include for C++ system
32208         headers.
32210 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32212         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32213         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32214         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32215         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32216         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32217         (USE_AS_WMEMCMP): New macro.
32218         Fixing indents.
32219         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32220         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32221         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32222         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32223         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32224         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32225         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32226         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32227         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32228         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32229         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32230         (USE_AS_WMEMCMP): New macro.
32231         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32232         * sysdeps/string/test-memcmp.c: Update.
32233         Fix simple_wmemcmp.
32234         Add new tests.
32235         * wcsmbs/wmemcmp.c: Update.
32236         (WMEMCMP): New macro.
32237         Fix overflow bug.
32239 2011-10-12  Andreas Jaeger  <aj@suse.de>
32241         [BZ #13268]
32242         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32244 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32246         * libio/iofwide.c (do_length): Avoid warning.
32248         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32250 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32252         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32254         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32255         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32256         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32257         * sysdeps/i386/i686/fpu/e_log.S: New file.
32258         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32259         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32261         * ctype/ctype.h: Add support for inlined isXXX functions when
32262         compiling C++ code.
32264 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32266         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32268         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32270 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32272         [BZ #13291]
32273         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32275 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32277         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32278         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32279         feraiseexcept.
32281         * sysdeps/x86_64/memrchr.S: Check for zero size.
32283         * string/stratcliff.c: Add memrchr tests.
32285 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32287         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32288         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32289         rawmemchr-sse2 rawmemchr-sse2-bsf.
32290         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32291         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32292         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32293         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32294         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32295         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32296         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32297         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32298         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32299         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32300         * string/memrchr.c (MEMRCHR): New macro.
32302 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32304         Add integration with gcc's -ffinite-math-only and optimize wrapper
32305         functions in libm.
32306         * Versions.def: Define GLIBC_2.15 version for libm.
32307         * math/Makefile (headers): Add bits/math-finite.h.
32308         * math/bits/math-finite.h: New file.
32309         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32310         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32311         * math/e_acoshl.c: Add __*_finite alias.
32312         * math/e_acosl.c: Likewise.
32313         * math/e_asinl.c: Likewise.
32314         * math/e_atan2l.c: Likewise.
32315         * math/e_atanhl.c: Likewise.
32316         * math/e_coshl.c: Likewise.
32317         * math/e_exp10.c: Likewise.
32318         * math/e_exp10f.c: Likewise.
32319         * math/e_exp10l.c: Likewise.
32320         * math/e_exp2l.c: Likewise.
32321         * math/e_fmodl.c: Likewise.
32322         * math/e_gammal_r.c: Likewise.
32323         * math/e_hypotl.c: Likewise.
32324         * math/e_j0l.c: Likewise.
32325         * math/e_j1l.c: Likewise.
32326         * math/e_jnl.c: Likewise.
32327         * math/e_lgammal_r.c: Likewise.
32328         * math/e_log10l.c: Likewise.
32329         * math/e_log2l.c: Likewise.
32330         * math/e_logl.c: Likewise.
32331         * math/e_powl.c: Likewise.
32332         * math/e_sinhl.c: Likewise.
32333         * math/e_sqrtl.c: Likewise.
32334         * math/e_scalb.c: Completely rewritten and optimized.
32335         * math/e_scalbf.c: Likewise.
32336         * math/e_scalbl.c: Likewise.
32337         * math/w_acos.c: Likewise.
32338         * math/w_acosf.c: Likewise.
32339         * math/w_acosl.c: Likewise.
32340         * math/w_acosh.c: Likewise.
32341         * math/w_acoshf.c: Likewise.
32342         * math/w_acoshl.c: Likewise.
32343         * math/w_asin.c: Likewise.
32344         * math/w_asinf.c: Likewise.
32345         * math/w_asinl.c: Likewise.
32346         * math/w_atan2.c: Likewise.
32347         * math/w_atan2f.c: Likewise.
32348         * math/w_atan2l.c: Likewise.
32349         * math/w_atanh.c: Likewise.
32350         * math/w_atanhf.c: Likewise.
32351         * math/w_atanhl.c: Likewise.
32352         * math/w_exp10.c: Likewise.
32353         * math/w_exp10f.c: Likewise.
32354         * math/w_exp10l.c: Likewise.
32355         * math/w_fmod.c: Likewise.
32356         * math/w_fmodf.c: Likewise.
32357         * math/w_fmodl.c: Likewise.
32358         * math/w_j0.c: Likewise.
32359         * math/w_j0f.c: Likewise.
32360         * math/w_j0l.c: Likewise.
32361         * math/w_j1.c: Likewise.
32362         * math/w_j1f.c: Likewise.
32363         * math/w_j1l.c: Likewise.
32364         * math/w_jn.c: Likewise.
32365         * math/w_jnf.c: Likewise.
32366         * math/w_log.c: Likewise.
32367         * math/w_logf.c: Likewise.
32368         * math/w_logl.c: Likewise.
32369         * math/w_log10.c: Likewise.
32370         * math/w_log10f.c: Likewise.
32371         * math/w_log10l.c: Likewise.
32372         * math/w_log2.c: Likewise.
32373         * math/w_log2f.c: Likewise.
32374         * math/w_log2l.c: Likewise.
32375         * math/w_pow.c: Likewise.
32376         * math/w_powf.c: Likewise.
32377         * math/w_powl.c: Likewise.
32378         * math/w_remainder.c: Likewise.
32379         * math/w_remainderf.c: Likewise.
32380         * math/w_remainderl.c: Likewise.
32381         * math/w_scalb.c: Likewise.
32382         * math/w_scalbf.c: Likewise.
32383         * math/w_scalbl.c: Likewise.
32384         * math/w_sqrt.c: Likewise.
32385         * math/w_sqrtf.c: Likewise.
32386         * math/w_sqrtl.c: Likewise.
32387         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32388         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32389         used.
32390         * math/math_private.h: Declare __kernel_standard_f.
32391         * math/w_cosh.c: Remove cruft and optimize a bit.
32392         * math/w_coshf.c: Likewise.
32393         * math/w_coshl.c: Likewise.
32394         * math/w_exp2.c: Likewise.
32395         * math/w_exp2f.c: Likewise.
32396         * math/w_exp2l.c: Likewise.
32397         * math/w_hypot.c: Likewise.
32398         * math/w_hypotf.c: Likewise.
32399         * math/w_hypotl.c: Likewise.
32400         * math/w_lgamma.c: Likewise.
32401         * math/w_lgamma_r.c: Likewise.
32402         * math/w_lgammaf.c: Likewise.
32403         * math/w_lgammaf_r.c: Likewise.
32404         * math/w_lgammal.c: Likewise.
32405         * math/w_lgammal_r.c: Likewise.
32406         * math/w_sinh.c: Likewise.
32407         * math/w_sinhf.c: Likewise.
32408         * math/w_sinhl.c: Likewise.
32409         * math/w_tgamma.c: Likewise.
32410         * math/w_tgammaf.c: Likewise.
32411         * math/w_tgammal.c: Likewise.
32412         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32413         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32414         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32415         Minor optimizations.  Pretty printing.  Remove cruft.
32416         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32417         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32418         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32419         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32420         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32421         * sysdeps/i386/fpu/e_asin.S: Likewise.
32422         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32423         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32424         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32425         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32426         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32427         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32428         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32429         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32430         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32431         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32432         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32433         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32434         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32435         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32436         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32437         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32438         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32439         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32440         * sysdeps/i386/fpu/e_log.S: Likewise.
32441         * sysdeps/i386/fpu/e_log10.S: Likewise.
32442         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32443         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32444         * sysdeps/i386/fpu/e_log2.S: Likewise.
32445         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32446         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32447         * sysdeps/i386/fpu/e_logf.S: Likewise.
32448         * sysdeps/i386/fpu/e_logl.S: Likewise.
32449         * sysdeps/i386/fpu/e_pow.S: Likewise.
32450         * sysdeps/i386/fpu/e_powf.S: Likewise.
32451         * sysdeps/i386/fpu/e_powl.S: Likewise.
32452         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32453         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32454         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32455         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32456         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32457         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32458         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32459         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32460         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32461         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32462         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32463         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32464         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32465         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32466         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32467         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32468         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32469         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32470         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32471         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32472         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32473         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32474         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32475         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32476         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32477         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32478         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32479         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32480         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32481         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32482         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32483         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32484         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32485         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32486         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32487         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32488         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32489         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32490         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32491         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32492         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32493         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32494         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32495         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32496         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32497         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32498         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32499         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32500         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32501         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32502         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32503         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32504         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32505         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32506         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32507         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32508         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32509         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32510         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32511         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32512         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32513         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32514         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32515         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32516         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32517         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32518         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32519         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32520         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32521         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32522         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32523         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32524         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32525         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32526         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32527         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32528         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32529         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32530         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32531         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32532         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32533         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32534         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32535         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32536         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32537         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32538         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32539         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32540         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32541         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32542         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32543         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32544         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32545         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32546         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32547         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32548         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32549         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32550         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32551         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32552         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32553         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32554         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32555         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32556         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32557         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32558         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32559         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32560         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32561         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32562         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32563         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32564         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32565         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32566         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32567         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32568         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32569         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32570         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32571         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
32572         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32573         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32574         (__isnanf): Likewise.
32575         (__isinf_ns): Likewise.
32576         (__isinf_nsf): Likewise.
32577         (__finite): Likewise.
32578         (__finitef): Likewise.
32579         (__ieee754_sqrt): Define as macro.
32580         (__ieee754_sqrtf): Define as macro.
32581         (__ieee754_sqrtl): Define as macro.
32582         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32583         inlined copy.
32584         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32585         __FINITE_MATH_ONLY__ consistent.
32586         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32588 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
32590         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32591         of rawmemchr.
32593         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32595 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
32597         * po/ja.po: Update from translation team.
32599 2011-10-08  Roland McGrath  <roland@hack.frob.com>
32601         * locale/programs/locarchive.c (prepare_address_space): New function.
32602         (create_archive, enlarge_archive, open_archive): Use it.
32604         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32605         inside [SHARED], where it is used.
32607         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32609         * nss/getent.c (netgroup_keys): Remove unused variable.
32610         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32612 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
32614         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32615         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32616         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32617         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32618         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32619         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32620         * math/Makefile (libm-calls): Add s_isinf_ns.
32621         * math/divtc3.c: Use __isinf_nsl instead of isinf.
32622         * math/multc3.c: Likewise.
32623         * math/s_casin.c: Likewise.
32624         * math/s_casinf.c: Likewise.
32625         * math/s_casinl.c: Likewise.
32626         * math/s_ccos.c: Likewise.
32627         * math/s_ccosf.c: Likewise.
32628         * math/s_ccosl.c: Likewise.
32629         * math/s_ctan.c: Likewise.
32630         * math/s_ctanf.c: Likewise.
32631         * math/s_ctanh.c: Likewise.
32632         * math/s_ctanhf.c: Likewise.
32633         * math/s_ctanhl.c: Likewise.
32634         * math/s_ctanl.c: Likewise.
32635         * math/w_fmod.c: Likewise.
32636         * math/w_fmodf.c: Likewise.
32637         * math/w_fmodl.c: Likewise.
32638         * math/w_remainder.c: Likewise.
32639         * math/w_remainderf.c: Likewise.
32640         * math/w_remainderl.c: Likewise.
32641         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32642         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32643         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32644         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32645         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32646         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32647         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32648         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32650         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32651         of the number.
32652         * stdio-common/printf_fphex.c: Likewise.
32653         * stdio-common/printf_size.c: Likewise.
32655         * math/e_exp10.c: Include math_private.h using <...> not "...".
32656         * math/e_exp10f.c: Likewise.
32657         * math/e_exp10l.c: Likewise.
32658         * math/e_exp2l.c: Likewise.
32659         * math/e_j0l.c: Likewise.
32660         * math/e_j1l.c: Likewise.
32661         * math/e_jnl.c: Likewise.
32662         * math/e_lgammal_r.c: Likewise.
32663         * math/e_rem_pio2l.c: Likewise.
32664         * math/e_scalb.c: Likewise.
32665         * math/e_scalbf.c: Likewise.
32666         * math/e_scalbl.c: Likewise.
32667         * math/k_cosl.c: Likewise.
32668         * math/k_sinl.c: Likewise.
32669         * math/k_tanl.c: Likewise.
32670         * math/s_cacoshf.c: Likewise.
32671         * math/s_catan.c: Likewise.
32672         * math/s_catanf.c: Likewise.
32673         * math/s_catanh.c: Likewise.
32674         * math/s_catanhf.c: Likewise.
32675         * math/s_catanhl.c: Likewise.
32676         * math/s_catanl.c: Likewise.
32677         * math/s_ccosh.c: Likewise.
32678         * math/s_ccoshf.c: Likewise.
32679         * math/s_ccoshl.c: Likewise.
32680         * math/s_cexp.c: Likewise.
32681         * math/s_cexpf.c: Likewise.
32682         * math/s_cexpl.c: Likewise.
32683         * math/s_clog.c: Likewise.
32684         * math/s_clog10.c: Likewise.
32685         * math/s_clog10f.c: Likewise.
32686         * math/s_clog10l.c: Likewise.
32687         * math/s_clogf.c: Likewise.
32688         * math/s_clogl.c: Likewise.
32689         * math/s_csin.c: Likewise.
32690         * math/s_csinf.c: Likewise.
32691         * math/s_csinh.c: Likewise.
32692         * math/s_csinhf.c: Likewise.
32693         * math/s_csinhl.c: Likewise.
32694         * math/s_csinl.c: Likewise.
32695         * math/s_csqrt.c: Likewise.
32696         * math/s_csqrtf.c: Likewise.
32697         * math/s_csqrtl.c: Likewise.
32698         * math/s_ctan.c: Likewise.
32699         * math/s_ctanf.c: Likewise.
32700         * math/s_ctanh.c: Likewise.
32701         * math/s_ctanhf.c: Likewise.
32702         * math/s_ctanhl.c: Likewise.
32703         * math/s_ctanl.c: Likewise.
32704         * math/s_ldexp.c: Likewise.
32705         * math/s_ldexpf.c: Likewise.
32706         * math/s_ldexpl.c: Likewise.
32707         * math/s_significand.c: Likewise.
32708         * math/s_significandf.c: Likewise.
32709         * math/s_significandl.c: Likewise.
32710         * math/w_acos.c: Likewise.
32711         * math/w_acosf.c: Likewise.
32712         * math/w_acosh.c: Likewise.
32713         * math/w_acoshf.c: Likewise.
32714         * math/w_acoshl.c: Likewise.
32715         * math/w_acosl.c: Likewise.
32716         * math/w_asin.c: Likewise.
32717         * math/w_asinf.c: Likewise.
32718         * math/w_asinl.c: Likewise.
32719         * math/w_atan2.c: Likewise.
32720         * math/w_atan2f.c: Likewise.
32721         * math/w_atan2l.c: Likewise.
32722         * math/w_atanh.c: Likewise.
32723         * math/w_atanhf.c: Likewise.
32724         * math/w_atanhl.c: Likewise.
32725         * math/w_cosh.c: Likewise.
32726         * math/w_coshf.c: Likewise.
32727         * math/w_coshl.c: Likewise.
32728         * math/w_dremf.c: Likewise.
32729         * math/w_exp10.c: Likewise.
32730         * math/w_exp10f.c: Likewise.
32731         * math/w_exp10l.c: Likewise.
32732         * math/w_exp2.c: Likewise.
32733         * math/w_exp2f.c: Likewise.
32734         * math/w_fmod.c: Likewise.
32735         * math/w_fmodf.c: Likewise.
32736         * math/w_fmodl.c: Likewise.
32737         * math/w_hypot.c: Likewise.
32738         * math/w_hypotf.c: Likewise.
32739         * math/w_hypotl.c: Likewise.
32740         * math/w_j0.c: Likewise.
32741         * math/w_j0f.c: Likewise.
32742         * math/w_j0l.c: Likewise.
32743         * math/w_j1.c: Likewise.
32744         * math/w_j1f.c: Likewise.
32745         * math/w_j1l.c: Likewise.
32746         * math/w_jn.c: Likewise.
32747         * math/w_jnf.c: Likewise.
32748         * math/w_jnl.c: Likewise.
32749         * math/w_lgamma.c: Likewise.
32750         * math/w_lgamma_r.c: Likewise.
32751         * math/w_lgammaf.c: Likewise.
32752         * math/w_lgammaf_r.c: Likewise.
32753         * math/w_lgammal.c: Likewise.
32754         * math/w_lgammal_r.c: Likewise.
32755         * math/w_log.c: Likewise.
32756         * math/w_log10.c: Likewise.
32757         * math/w_log10f.c: Likewise.
32758         * math/w_log10l.c: Likewise.
32759         * math/w_log2.c: Likewise.
32760         * math/w_log2f.c: Likewise.
32761         * math/w_log2l.c: Likewise.
32762         * math/w_logf.c: Likewise.
32763         * math/w_logl.c: Likewise.
32764         * math/w_pow.c: Likewise.
32765         * math/w_powf.c: Likewise.
32766         * math/w_powl.c: Likewise.
32767         * math/w_remainder.c: Likewise.
32768         * math/w_remainderf.c: Likewise.
32769         * math/w_remainderl.c: Likewise.
32770         * math/w_scalb.c: Likewise.
32771         * math/w_scalbf.c: Likewise.
32772         * math/w_scalbl.c: Likewise.
32773         * math/w_sinh.c: Likewise.
32774         * math/w_sinhf.c: Likewise.
32775         * math/w_sinhl.c: Likewise.
32776         * math/w_sqrt.c: Likewise.
32777         * math/w_sqrtf.c: Likewise.
32778         * math/w_sqrtl.c: Likewise.
32779         * math/w_tgamma.c: Likewise.
32780         * math/w_tgammaf.c: Likewise.
32781         * math/w_tgammal.c: Likewise.
32783         * po/ja.po: Update from translation team.
32785 2011-09-29  Andreas Jaeger  <aj@suse.de>
32787         [BZ #13179]
32788         * sunrpc/netname.c (netname2host): Fix logic.
32790         [BZ #6779]
32791         [BZ #6783]
32792         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32793         correctly.
32794         * math/w_remainder.c (__remainder): Likewise.
32795         * math/w_remainderf.c (__remainderf): Likewise.
32796         * math/libm-test.inc (remainder_test): Add test cases.
32798 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32800         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32801         sdiv_qrnnd.
32803 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32805         * string/test-memcmp.c: Avoid unncessary #defines.
32806         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32808 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32810         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32811         Use new sse2 version for core i3 - i7 as it's faster
32812         than sse42 version.
32813         (bit_Prefer_PMINUB_for_stringop): New.
32814         * sysdeps/x86_64/rawmemchr.S: Update.
32815         Replace with faster SSE2 version.
32816         * sysdeps/x86_64/memrchr.S: New file.
32817         * sysdeps/x86_64/memchr.S: Update.
32818         Replace with faster SSE2 version.
32820 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32822         * elf/dl-load.c (lose): Add cast to avoid warning.
32824 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32826         * po/ca.po: Update from translation team.
32828         * inet/getnetgrent_r.c: Hook up nscd.
32829         * nscd/Makefile (routines): Add nscd_netgroup.
32830         (nscd-modules): Add netgroupcache.
32831         (CFLAGS-netgroupcache.c): Define.
32832         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32833         (cache_search): Add const to second parameter.
32834         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32835         INNETGR.
32836         (dbs): Add netgrdb entry.
32837         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32838         (verify_persistent_db): Handle netgrdb.
32839         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32840         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32841         GETFDNETGR.
32842         (netgroup_response_header): Define.
32843         (innetgroup_response_header): Define.
32844         (datahead): Add netgroup_response_header and innetgroup_response_header
32845         elements.
32846         * nscd/nscd.conf: Add entries for netgroup cache.
32847         * nscd/nscd.h (dbtype): Add netgrdb.
32848         (_PATH_NSCD_NETGROUP_DB): Define.
32849         (netgroup_iov_disabled): Declare.
32850         (xmalloc, xcalloc, xrealloc): Move declarations here.
32851         (cache_search): Adjust prototype.
32852         Add netgroup-related prototypes.
32853         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32854         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32855         (__nscd_innetgr): Declare.
32856         * nscd/selinux.c (perms): Use access_vector_t as element type and
32857         add netgroup-related initializers.
32858         * nscd/netgroupcache.c: New file.
32859         * nscd/nscd_netgroup.c: New file.
32860         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32861         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32862         For four parameters use innetgr.
32863         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32864         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32865         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32866         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32868         * nscd/connections.c (register_traced_file): Don't register file
32869         for disabled databases.
32871 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32873         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32875         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32876         from tree and freeing node.
32878 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32880         * nss/nsswitch.c (__nss_database_lookup): Handle
32881         nss_parse_service_list out of memory case.
32883 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32885         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32886         out of memory case.
32888 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32890         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32891         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32892         pass it down.
32893         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32894         elf_machine_rela, elf_machine_lazy_rel.
32895         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32896         (ELF_DYNAMIC_DO_REL): Likewise.
32897         (ELF_DYNAMIC_DO_RELA): Likewise.
32898         (ELF_DYNAMIC_RELOCATE): Likewise.
32899         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32900         to ELF_DYNAMIC_DO_REL.
32901         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32902         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32903         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32904         elf_machine_rela.
32905         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32906         skip_ifunc, don't call ifunc function if non-zero.
32907         (elf_machine_rela): Likewise.
32908         (elf_machine_lazy_rel): Likewise.
32909         (elf_machine_lazy_rela): Likewise.
32910         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32911         (elf_machine_lazy_rel): Likewise.
32912         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32913         Likewise.
32914         (elf_machine_lazy_rel): Likewise.
32915         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32916         Likewise.
32917         (elf_machine_lazy_rel): Likewise.
32918         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32919         (elf_machine_lazy_rel): Likewise.
32920         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32921         (elf_machine_lazy_rel): Likewise.
32922         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32923         (elf_machine_lazy_rel): Likewise.
32924         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32925         (elf_machine_lazy_rel): Likewise.
32926         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32927         (elf_machine_lazy_rel): Likewise.
32928         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32929         (elf_machine_lazy_rel): Likewise.
32931 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
32933         * nss/nss_files/files-init.c (_nss_files_init): Use static
32934         initialization for all the *_traced_file variables.
32936 2011-09-28  Andreas Schwab  <schwab@redhat.com>
32938         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32940 2011-09-27  Roland McGrath  <roland@hack.frob.com>
32942         [BZ #13226]
32943         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32945 2011-09-27  Andreas Schwab  <schwab@redhat.com>
32947         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32948         Reread the line before reparsing it.
32950 2011-09-26  Andreas Schwab  <schwab@redhat.com>
32952         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32954 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
32955             Maxim Kuvyrkov  <maxim@codesourcery.com>
32956             Joseph Myers  <joseph@codesourcery.com>
32958         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32959         if needed for __stack_chk_guard.
32961 2011-09-19  Roland McGrath  <roland@hack.frob.com>
32963         * sysdeps/posix/spawni.c (script_execute): Always define it.
32964         It will be optimized away if unused.
32965         (maybe_script_execute): New function.
32966         (__spawni): Call it.
32968         * Makerules: Don't include tls.make.
32969         (config-tls): Always set to thread.
32970         * tls.make.c: File removed.
32972 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
32974         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32975         * config.make.in (CPPFLAGS-config): New substituted variable.
32977 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32979         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32981         [BZ #13192]
32982         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32983         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32985 2011-09-15  Roland McGrath  <roland@hack.frob.com>
32987         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32988         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32989         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32990         (CALL_FAIL): Likewise.
32991         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32992         (CALL_FAIL): Macro removed.
32993         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32995 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32997         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32998         for __FINITE_MATH_ONLY__ == 1.
33000 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33002         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33003         __ieee754_sqrt instead of sqrt.
33004         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33005         __ieee754_sqrtf instead of sqrtf.
33006         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33007         __floorf instead of floorf.
33008         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33009         __floorf, __truncf instead of floorf, truncf.
33011 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33013         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33015         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33016         __extern_always_inline.
33017         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33018         32-bit.
33020 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33022         * elf/rtld.c (dl_main): Also relocate in dependency order when
33023         doing symbol dependency testing.
33025 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33027         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33028         Always define `refsym'.
33030 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33032         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33033         (__FD_ELT): Renamed from __FDELT.
33034         * misc/bits/select2.h (__FD_ELT): Likewise.
33035         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33036         __FD_MASK instead of __FDELT, __FDMASK.
33037         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33038         Likewise.
33039         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33040         Likewise.
33042         * elf/Makefile (gen-ldd): Fix pattern.
33044         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33045         (init_tls): Likewise.
33047 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33049         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33051 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33053         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33054         `struct cmsghdr *' instead of `void *'.
33055         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33056         Likewise.
33058 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33060         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33061         if non-absolute.
33062         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33063         ldd_rewrite_script.
33065 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33067         * configure.in: Remove --with-tls option.
33068         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33069         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33070         out in case it is missing.
33071         * sysdeps/ia64/elf/configure.in: Likewise.
33072         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33073         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33074         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33075         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33076         * sysdeps/sh/elf/configure.in: Likewise.
33077         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33078         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33079         * sysdeps/x86_64/elf/configure.in: Likewise.
33080         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33081         * sysdeps/mach/hurd/tls.h: Likewise.
33083         [BZ #13067]
33084         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33086         [BZ #13090]
33087         * configure.in: Fix use of AC_INIT.
33089         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33091 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33093         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33094         __set_errno.
33095         * malloc/hooks.c: Likewise.
33097         [BZ #11929]
33098         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33099         variables statically.
33100         (narenas): Initialize.
33101         (list_lock): Initialize.
33102         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33103         initializtion of main_arena and list_lock.  Small cleanups.
33104         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33105         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33106         Add initializers to main_arena and mp_.
33107         (malloc_state): Remove pagesize member.  Change all users to use
33108         GLRO(dl_pagesize).
33110         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33111         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33112         is always initialized.
33114         * malloc/malloc.c: Removed unused configurations and dead code.
33115         * malloc/arena.c: Likewise.
33116         * malloc/hooks.c: Likewise.
33117         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33119         * include/tls.h: Removed.  USE___THREAD must always be defined.
33120         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33121         * elf/dl-libc.c: Likewise.
33122         * elf/dl-tsd.c: Likewise.
33123         * include/errno.h: Likewise.
33124         * include/netdb.h: Likewise.
33125         * include/resolv.h: Likewise.
33126         * inet/herrno-loc.c: Likewise.
33127         * inet/herrno.c: Likewise.
33128         * malloc/arena.c: Likewise.
33129         * malloc/hooks.c: Likewise.
33130         * malloc/malloc.c: Likewise.
33131         * resolv/res-state.c: Likewise.
33132         * resolv/res_libc.c: Likewise.
33133         * sysdeps/i386/dl-machine.h: Likewise.
33134         * sysdeps/ia64/dl-machine.h: Likewise.
33135         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33136         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33137         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33138         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33139         * sysdeps/sh/dl-machine.h: Likewise.
33140         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33141         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33142         * sysdeps/unix/i386/sysdep.S: Likewise.
33143         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33144         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33146         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33148         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33149         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33150         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33151         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33152         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33153         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33154         * sysdeps/x86_64/dl-machine.h: Likewise.
33155         * tls.make.c: Likewise.
33157         * configure.in: Remove --with-__thread option.  Make tests for
33158         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33159         tls_model attribute fail if no support is available.  Remove
33160         USE_IN_LIBIO.
33161         * Makeconfig: Adjust for dropped configure option.  All features are
33162         now mandatory.
33163         * Makerules: Likewise.
33164         * Versions.def: Likewise.
33165         * argp/argp-fmtstream.c: Likewise.
33166         * argp/argp-fmtstream.h: Likewise.
33167         * argp/argp-help.c: Likewise.
33168         * assert/assert.c: Likewise.
33169         * config.h.in: Likewise.
33170         * config.make.in: Likewise.
33171         * configure: Likewise.
33172         * configure.in: Likewise.
33173         * csu/Versions: Likewise.
33174         * csu/init.c: Likewise.
33175         * elf/tst-audit2.c: Likewise.
33176         * elf/tst-tls10.c: Likewise.
33177         * elf/tst-tls10.h: Likewise.
33178         * elf/tst-tls11.c: Likewise.
33179         * elf/tst-tls12.c: Likewise.
33180         * elf/tst-tls14.c: Likewise.
33181         * elf/tst-tlsmod11.c: Likewise.
33182         * elf/tst-tlsmod12.c: Likewise.
33183         * elf/tst-tlsmod13.c: Likewise.
33184         * elf/tst-tlsmod13a.c: Likewise.
33185         * elf/tst-tlsmod14a.c: Likewise.
33186         * elf/tst-tlsmod15b.c: Likewise.
33187         * elf/tst-tlsmod16a.c: Likewise.
33188         * elf/tst-tlsmod16b.c: Likewise.
33189         * elf/tst-tlsmod7.c: Likewise.
33190         * elf/tst-tlsmod8.c: Likewise.
33191         * elf/tst-tlsmod9.c: Likewise.
33192         * gmon/gmon.c: Likewise.
33193         * grp/fgetgrent_r.c: Likewise.
33194         * grp/putgrent.c: Likewise.
33195         * hurd/fopenport.c: Likewise.
33196         * include/libc-symbols.h: Likewise.
33197         * include/tls.h: Likewise.
33198         * intl/gettextP.h: Likewise.
33199         * intl/loadinfo.h: Likewise.
33200         * locale/global-locale.c: Likewise.
33201         * locale/localeinfo.h: Likewise.
33202         * mach/devstream.c: Likewise.
33203         * malloc/arena.c: Likewise.
33204         * malloc/set-freeres.c: Likewise.
33205         * misc/err.c: Likewise.
33206         * misc/getttyent.c: Likewise.
33207         * misc/mntent_r.c: Likewise.
33208         * posix/getopt.c: Likewise.
33209         * posix/wordexp.c: Likewise.
33210         * pwd/fgetpwent_r.c: Likewise.
33211         * resolv/Versions: Likewise.
33212         * resolv/res_hconf.c: Likewise.
33213         * shadow/fgetspent_r.c: Likewise.
33214         * shadow/putspent.c: Likewise.
33215         * stdio-common/printf_fphex.c: Likewise.
33216         * stdio-common/tmpfile.c: Likewise.
33217         * stdlib/abort.c: Likewise.
33218         * stdlib/fmtmsg.c: Likewise.
33219         * sunrpc/auth_unix.c: Likewise.
33220         * sunrpc/clnt_perr.c: Likewise.
33221         * sunrpc/clnt_tcp.c: Likewise.
33222         * sunrpc/clnt_udp.c: Likewise.
33223         * sunrpc/clnt_unix.c: Likewise.
33224         * sunrpc/openchild.c: Likewise.
33225         * sunrpc/svc_simple.c: Likewise.
33226         * sunrpc/svc_tcp.c: Likewise.
33227         * sunrpc/svc_udp.c: Likewise.
33228         * sunrpc/svc_unix.c: Likewise.
33229         * sunrpc/xdr.c: Likewise.
33230         * sunrpc/xdr_array.c: Likewise.
33231         * sunrpc/xdr_rec.c: Likewise.
33232         * sunrpc/xdr_ref.c: Likewise.
33233         * sunrpc/xdr_stdio.c: Likewise.
33235 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33237         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33239 2011-07-03  Andreas Jaeger  <aj@suse.de>
33241         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33242         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33243         regenerate with gen-libm-tests.pl.
33245 2010-05-12  Petr Baudis  <pasky@suse.cz>
33247         [BZ #11589]
33248         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33249         around j0() zero points by switching to j1().
33250         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33251         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33252         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33253         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33255 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33257         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33258         instead of 0.
33259         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33260         instead of 0.
33261         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33262         Patch in part by Pavel Roskin <proski@gnu.org>.
33264         [BZ #13138]
33265         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33266         realloc.
33267         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33268         Free memory block if necessary.
33270         [BZ #12847]
33271         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33272         be NULL.  Don't lock in this case.
33274 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33276         * elf/elf.h (ELFOSABI_GNU): New macro.
33277         (ELFOSABI_LINUX): Define to that.
33279 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33281         * string/strncat.c (strncat): Undef the symbol in case it has been
33282         defined in bits/string.h.
33284 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33286         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33288         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33289         link map.
33291 2011-08-17  Andreas Jaeger  <aj@suse.de>
33293         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33295 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33296             Ian Lance Taylor  <iant@google.com>
33298         * math/libm-test.inc (lround_test): New testcase.
33299         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33301 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33303         * Makefile: Remove support for automatic cvs check-ins.
33304         * Makerules: Likewise.
33305         * config.make.in: Likewise.
33306         * configure.in: Likewise.
33307         * intl/Makefile: Likewise.
33308         * locale/Makefile: Likewise.
33309         * po/Makefile: Likewise.
33310         * posix/Makefile: Likewise.
33311         * sysdeps/gnu/Makefile: Likewise.
33312         * sysdeps/mach/hurd/Makefile: Likewise.
33313         * sysdeps/sparc/sparc32/Makefile: Likewise.
33315         [BZ #13118]
33316         * posix/Makefile (bug-regex32-ENV): Define.
33317         Patch by John Stanley <jpsinthemix@verizon.net>.
33319         * misc/Makefile (headers): Add bits/select2.h.
33320         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33321         * misc/bits/select2.h: New file.
33322         * include/bits/select2.h: New file.
33323         * debug/Makefile (routines): Add fdelt_chk.
33324         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33325         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33326         FD_ISSET.
33327         * debug/fdelt_chk.c: New file.
33329         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33330         * wcsmbs/test-wmemcmp.c: Likewise.
33331         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33332         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33334 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33336         * string/Makefile (strop-tests): Add memcmp.
33337         * string/test-wmemcmp.c: New file.
33338         * string/test-memcmp.c: Add wmemcmp support.
33340 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33342         [BZ #13153]
33343         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33344         2011-07-19 change.
33346         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33347         garbage value in a __mach_port_mod_refs call in the cases of the
33348         task-self and thread-self ports.
33350 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33352         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33354 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33356         * elf/dl-load.c (lose): Check for non-null L.
33358 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33360         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33362         * elf/dl-libc.c (dlerror_run): Pass back error code from
33363         dl_catch_error.
33365         [BZ #13123]
33366         * elf/dl-load.c (lose): Free l_origin if it is valid.
33368         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33369         names.
33370         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33371         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33372         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33373         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33374         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33375         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33377 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33379         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33380         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33381         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33382         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33383         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33384         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33385         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33386         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33387         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33388         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33390 2011-08-15  Alan Modra  <amodra@gmail.com>
33392         [BZ #13092]
33393         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33394         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33395         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33396         ppc_mcount to static-only-routines.
33397         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33398         __mcount_internal.
33399         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33400         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33402 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33404         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33405         for finite and infinity parameters.
33407 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33409         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33410         and add nop instructions for throughput optimization.
33411         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33413 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33415         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33416         aligned copy for power7 with vector-scalar instructions.
33417         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33419 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33421         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33422         AVX check.
33424 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33426         [BZ #13144]
33427         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33428         last change.
33430 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33432         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33433         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33434         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33435         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33436         clock_gettime.
33438 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33440         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33441         Forgot to demangle the pointer.
33443         * sysdeps/i386/sysdep.h: Define atom_text_section.
33444         * sysdeps/x86_64/sysdep.h: Likewise.
33445         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33446         section with atom_text_section.
33447         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33448         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33449         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33450         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33451         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33453         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33454         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33455         already be defined.  Change to take two parameters and don't assign
33456         result to variable.  Adjust all users.
33457         Define INTERNAL_GETTIME if not already defined.
33458         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33459         call.
33460         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33461         HAVE_CLOCK_GETTIME_VSYSCALL.
33462         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33465         gettimeofday vsyscall, just use time.
33467 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33469         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33470         <errno.h>.
33472 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33474         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33475         syscall on x86-64.
33476         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33477         syscall.
33478         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33479         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33480         syscall if possible.
33482 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33484         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33485         e_ident.  Don't pass to find_mapsXX.
33486         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33488 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33491         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33492         * sysdeps/x86_64/multiarch/strchr.S: Update.
33493         Check bit_slow_BSF bit.
33494         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33495         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33496         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33498 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33500         [BZ #13134]
33501         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33502         before glibc 2.15.
33503         (tryshell): Define.
33504         (__spawni): Change last parameter to be flag.  Test
33505         SPAWN_XFLAGS_USE_PATH flag to use path or not.
33506         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33507         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33508         * posix/spawni.c: Likewise.
33509         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33510         * posix/spawnp.c: Likewise.  Change normal version to use
33511         SPAWN_XFLAGS_USE_PATH.
33512         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33513         SPAWN_XFLAGS_TRY_SHELL.
33515         [BZ #13150]
33516         * posix/glob.h: Remove gcc 1.x support.
33518         [BZ #13068]
33519         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33521 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33523         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33524         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33525         strrchr-sse2-bsf
33526         * sysdeps/i386/i686/multiarch/strchr.S: New file.
33527         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33528         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33529         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33530         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33531         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33533 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33535         * sysdeps/x86_64/wcscmp.S: New file.
33537         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33538         wcscmp-c wcscmp-sse2
33539         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33540         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33541         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33542         * wcsmbs/wcscmp.c: Allow renaming.
33544 2011-09-05  David S. Miller  <davem@davemloft.net>
33546         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33547         stack slot, rather than the struct return pointer slot.
33548         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33549         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33551         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33553 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33555         * po/ja.po: Update from translation team.
33557         [BZ #13144]
33558         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33559         kernel in 64-bit binaries.
33561 2011-09-01  David S. Miller  <davem@davemloft.net>
33563         * elf/elf.h (HWCAP_SPARC_*): Move to..
33564         * sysdeps/sparc/sysdep.h: this new file and add new values.
33565         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33566         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33567         _DL_HWCAP_COUNT to 24.
33568         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33569         entries.
33570         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33571         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33572         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33573         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33574         instead of magic constants.
33575         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33577 2011-08-31  David S. Miller  <davem@davemloft.net>
33579         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33580         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33581         Reimplement to do errno handling inline.
33582         (SYSCALL_ERROR_HANDLER): New macro.
33583         (__SYSCALL_STRING): Do not do errno handling in asm.
33584         (__CLONE_SYSCALL_STRING): Delete.
33585         (__INTERNAL_SYSCALL_STRING): Delete.
33586         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33587         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33588         (PSEUDO): Reimplement to do errno handling inline.
33589         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33590         (SYSCALL_ERROR_HANDLER): New macro.
33591         (__SYSCALL_STRING): Do not do errno handling in asm.
33592         (__CLONE_SYSCALL_STRING): Delete.
33593         (__INTERNAL_SYSCALL_STRING): Delete.
33594         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33595         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33596         i386.
33597         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33598         (inline_syscall*): Add 'err' argument.
33599         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33600         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33601         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33602         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33604         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33605         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33607 2011-08-30  Andreas Schwab  <schwab@redhat.com>
33609         * elf/rtld.c (dl_main): Relocate objects in dependency order.
33611 2011-08-29  Jiri Olsa <jolsa@redhat.com>
33613         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33614         directive.
33616 2011-08-24  David S. Miller  <davem@davemloft.net>
33618         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33620 2011-08-24  Andreas Schwab  <schwab@redhat.com>
33622         * elf/Makefile: Add rules to build and run unload8 test.
33623         * elf/unload8.c: New file.
33624         * elf/unload8mod1.c: New file.
33625         * elf/unload8mod1x.c: New file.
33626         * elf/unload8mod2.c: New file.
33627         * elf/unload8mod3.c: New file.
33629         * elf/dl-close.c (_dl_close_worker): Reset private search list if
33630         it wasn't used.
33632 2011-08-23  David S. Miller  <davem@davemloft.net>
33634         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33635         subtract stack bias.
33636         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33637         %sp not %fp in calculations.
33638         (_JMPBUF_UNWINDS_ADJ): Likewise.
33640         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33641         (aio_suspend): Call it to force an exception region around the
33642         AIO_MISC_WAIT() invocation.
33644 2011-08-23  Andreas Schwab  <schwab@redhat.com>
33646         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33647         backslash.
33649 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
33651         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33652         protection macro.
33653         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33654         and <dl-machine.h>.
33655         (Elf64_FuncDesc): Remove.
33657 2011-08-22  David S. Miller  <davem@davemloft.net>
33659         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33660         sigaltstack check, add missing cfi directives.
33661         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33662         missing cfi directives, and sigaltstack handling.
33664 2011-08-16  Andreas Schwab  <schwab@redhat.com>
33666         [BZ #11724]
33667         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33668         object is seen twice.
33669         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33671         * elf/Makefile (distribute): Add tst-initorder2.c.
33672         (tests): Add tst-initorder2.
33673         (modules-names): Add tst-initorder2a tst-initorder2b
33674         tst-initorder2c tst-initorder2d.  Add rules to build them.
33675         ($(objpfx)tst-initorder2.out): New rule.
33676         * elf/tst-initorder2.c: New file.
33677         * elf/tst-initorder2.exp: New file.
33679 2011-08-22  Andreas Schwab  <schwab@redhat.com>
33681         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33683         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33684         dependencies back to end of function.
33686         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33687         $(elfobjdir)/ld.so.
33689 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
33691         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33692         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33693         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33694         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33695         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33696         of __vdso_gettimeofday.
33697         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33698         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
33699         attribute_hidden.
33700         (_libc_vdso_platform_setup): Remove initialization of
33701         __vdso_gettimeofday and __vdso_time.
33703 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33705         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33706         and fgetc_unlocked.
33707         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33708         getc_unlocked.
33710         * elf/dl-open.c (add_to_global): Report additions to the global scope
33711         for LD_DEBUG=scopes.
33712         (dl_open_worker): Also print scope of newly loaded dependencies.
33713         (_dl_show_scope): Indicate if there is no scope.
33715         [BZ #13114]
33716         * stdio-common/Makefile (tests): Add bug24.
33717         * stdio-common/bug24.c: New file.
33719 2011-08-19  Andreas Jaeger  <aj@suse.de>
33721         [BZ #13114]
33722         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33723         non-existant file when using close-on-exec mode.
33725 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33727         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33728         the very first instruction.
33730         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33731         the CFI state in the end.
33732         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33733         inclusion of dl-trampoline.h.
33734         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33736 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33738         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33739         expectations for long double.
33741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33742         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33744 2011-08-14  David S. Miller  <davem@davemloft.net>
33746         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33747         artificual limit depends upon the system page size.
33749 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33751         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33752         * resolv/Makefile: Define CFLAGS-libresolv.
33754 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33756         * nss/makedb.c (compute_tables): Make variables used in nested
33757         function static.
33759 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33761         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33762         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33763         if buffer was too small.
33765         * elf/pldd.c (main): Attach to all threads in the process.
33766         Rewrite /proc handling to use *at functions.
33768 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33770         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33771         specifies first scope to show.
33772         (dl_open_worker): Update callers.  Move printing scope of new
33773         object to before the relocation.
33774         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33775         * sysdeps/generic/ldsodefs.h: Update declaration.
33777         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33778         string for the scope number.
33780 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33782         * nscd/servicescache.c (cache_addserv): Make sure written is always
33783         initialized.
33785 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33787         * sysdeps/i386/i486/bits/atomic.h
33788         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33789         statement expression, so as to suppress "set but not used" warning.
33790         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33792         * string/strncat.c (STRNCAT): Use prototype definition.
33794         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33795         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33796         -Iprograms here.
33797         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33798         (localedef-modules): Add localedef.
33799         (locale-modules): Add locale.
33801         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33802         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33803         to avoid a warning.
33805 2011-08-14  David S. Miller  <davem@davemloft.net>
33807         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33808         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33810 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33812         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33813         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33814         * elf/rtld.c (dl_main): Set l_name of vDSO.
33815         Call _dl_show_scope when DL_DEBUG_SCOPES.
33816         (process_dl_debug): Recognize scopes flag and also set it for all.
33817         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33818         Declare _dl_show_scope.
33820         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33821         (do_dlopen): Pass caller_dlopen to dl_open.
33822         (__libc_dlopen_mode): Initialize caller_dlopen.
33824         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33825         of libc.  Make tolower call locale-independent.  Optimize a bit by
33826         using isdigit instead of isalnum.
33827         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33829 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33831         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33832         was a dependency or dynamically loaded.
33834 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33836         * intl/l10nflist.c: Allow architecture-specific pop function.
33837         * sysdeps/x86_64/l10nflist.c: New file.
33839         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33840         classification.
33842 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33844         * include/dirent.h: Add libc_hidden_proto for scandirat and
33845         scandirat64.  Don't declare __scandirat64.
33846         * dirent/scandirat.c: Add libc_hidden_def.
33847         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33848         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33850 2011-08-10  David S. Miller  <davem@davemloft.net>
33852         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33853         enum.
33854         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33855         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33856         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33858 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33860         * Versions.def [libc]: Add GLIBC_2.15.
33861         * dirent/Makefile (routines): Add scandirat and scandirat64.
33862         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33863         GLIBC_2.15.
33864         * dirent/dirent.h: Declare scandirat and scandirat64.
33865         * dirent/scandirat.c: New file.
33866         * dirent/scandirat64.c: New file.
33867         * sysdeps/wordsize-64/scandirat.c: New file.
33868         * sysdeps/wordsize-64/scandirat64.c: New file.
33869         * dirent/opendir.c: Define opendirat.
33870         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33871         using scandirat.
33872         * dirent/scandir64.c: Adjust for scandir.c change.
33873         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33874         __scandirat64, and __scandir_cancel_handler.
33875         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33876         additional parameter and use openat instead of open (outside of ld.so).
33877         Add new __opendir as wrapper around __opendirat.
33878         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33879         here without requiring old scandirat implementation.
33881 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33883         * dirent/scandir.c (cancel_handler): Renamed to
33884         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33885         defined.  Adjust users.
33886         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33887         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33889 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33891         * string/test-string.h (IMPL): Use __STRING to expand name and then
33892         stringify it.
33894         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33895         of cleanups.
33897 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33899         * string/Makefile: Update.
33900         (strop-tests): Append strncat.
33901         * string/test-wcscmp.c: New file.
33902         New comprehensive test for wcscmp.
33903         * string/test-strcmp.c: Update.
33904         (WIDE): New define.
33906 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33908         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33909         line.
33911 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33914         encoding to ACE if AI_IDN.
33916 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33918         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33919         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33921 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33923         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33924         Fix overflow bug in strncat.
33925         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33927         * string/test-strncat.c: Update.
33928         Add new tests for checking overflow bugs.
33930 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33932         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33933         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33934         * sysdeps/i386/i686/multiarch/strcat.S: New file.
33935         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33936         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33937         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33938         * sysdeps/i386/i686/multiarch/strncat.S: New file.
33939         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33940         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33942         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33943         (USE_AS_STRCAT): Define.
33944         Add strcat and strncat support.
33945         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33947 2011-07-25  Andreas Schwab  <schwab@redhat.com>
33949         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33950         __n bigger than INT_MAX+1.
33951         (__strncmp_g): Likewise.
33953 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
33955         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33956         * libio/stido.h: Likewise.
33958         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33959         (AF_NFC): Define.
33960         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33961         (AF_NFC): Define.
33963         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33964         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33965         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33966         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33967         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33969         [BZ #13021]
33970         * scripts/test-installation.pl: Don't expect libnss_test1 to be
33971         installed.
33973         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33974         typo.
33975         (_dl_x86_64_save_sse): Likewise.
33977 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
33979         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33980         OSXSAVE.
33981         (_dl_x86_64_save_sse): Likewise.
33983         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33985         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33987 2011-07-21  Andreas Schwab  <schwab@redhat.com>
33989         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33990         change.
33991         (_dl_x86_64_save_sse): Use correct AVX check.
33993 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33995         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33996         bug in strncpy/strncat.
33997         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33999 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34001         * string/tester.c (test_strcat): Add tests for different alignments
34002         of source and destination.
34003         (test_strncat): Likewise.
34005 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34007         [BZ #12852]
34008         * posix/glob.c (glob): Check passed in values before using them in
34009         expressions to avoid some overflows.
34010         (glob_in_dir): Likewise.
34012         [BZ #13007]
34013         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34014         check for AVX enablement so that we don't crash with old kernels and
34015         new hardware.
34016         * elf/tst-audit4.c: Add same checks here.
34017         * elf/tst-audit6.c: Likewise.
34019         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34021 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34023         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34025 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34027         * po/cs.po: Update from translation team.
34028         * po/bg.po: Likewise.
34030 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34032         * misc/sys/cdefs.h: Add support for const attribute.
34033         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34034         to gnu_dev_{major,minor,makedev} functions.
34036 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34038         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34040 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34042         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34043         strlen results.
34045 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34047         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34048         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34049         register in order to avoid conflicts with the soft frame pointer
34050         being held in r11 when necessary.
34051         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34052         (INTERNAL_VSYSCALL_NCS): Likewise.
34054 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34056         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34057         * elf/dl-fini.c (_dl_fini): Adjust caller.
34058         * elf/dl-close.c (_dl_close_worker): Likewise.
34059         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34061 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34063         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34064         "aux_cache->nlibs < 0".
34066         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34067         in the reload-count case.
34069 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34071         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34072         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34073         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34074         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34075         * sysdeps/x86_64/multiarch/strcat.S: New file.
34076         * sysdeps/x86_64/multiarch/strncat.S: New file.
34077         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34078         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34079         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34080         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34081         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34082         (USE_AS_STRCAT): Define.
34083         Add strcat and strncat support.
34084         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34085         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34086         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34087         * string/strncat.c: Update.
34088         (USE_AS_STRNCAT): Define.
34089         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34090         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34091         and i7.
34092         * sysdeps/x86_64/multiarch/init-arch.h
34093         (bit_Prefer_PMINUB_for_stringop): New.
34094         (index_Prefer_PMINUB_for_stringop): Likewise.
34095         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34096         bit_Prefer_PMINUB_for_stringop.
34098 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34100         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34101         buffer64.
34102         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34103         of casting of buffer.
34104         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34105         buffer32 and buffer64.
34106         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34107         writes instead of casting of buffer.
34108         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34109         buffer32.
34110         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34111         casting of buffer.
34113 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34115         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34117 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34119         * nscd/nscd.c (termination_handler): Don't do anything for a database
34120         if it has not yet been initialized.
34122 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34124         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34126 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34128         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34130 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34132         * po/nl.po: Update from translation team.
34133         * po/sv.po: Likewise.
34135 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34137         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34138         now disallowed by GCC.
34140         * configure.in (use-default-link): Default to yes if a test -shared
34141         link meets our qualifications.
34142         * configure: Regenerated.
34144         * config.make.in (output-format): New variable.
34145         * configure.in: Check for ld --print-output-format support.
34146         * configure: Regenerated.
34147         * Makerules ($(common-objpfx)format.lds)
34148         [$(output-format) != unknown]: Just use $(output-format),
34149         instead of the linker-script munging.
34151 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34153         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34154         of $(common-objpfx)shlib.lds.
34155         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34157         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34158         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34160         * configure.in (-z relro check): Adjust test code to add a large
34161         writable data section after it.
34162         * configure: Regenerated.
34164 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34166         * configure.in (-z relro check): Fix test code to make the variable
34167         truly const.
34168         * configure: Regenerated.
34170 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34172         * nscd/nscd.h (struct traced_file): Define.
34173         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34174         elements.  Add traced_files.
34175         (inotify_fd): Declare.
34176         (register_traced_file): Declare.
34177         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34178         (inotify_fd): Export.
34179         (resolv_conf_descr): Remove.
34180         (nscd_init): Move inotify descriptor creation to main.
34181         Don't register files for notification here.
34182         (register_traced_file): New function.
34183         (invalidate_cache): Don't use reset_res to determine whether to call
34184         res_init, go through the list of registered files.
34185         (main_loop_poll): The inotify descriptors are now stored in the
34186         structures for the traced files.
34187         (main_loop_epoll): Likewise
34188         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34189         to __nss_disable_nscd.
34190         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34191         for a database anymore.  Check the records for all the registered
34192         files instead.
34193         * nss/Makefile (libnss_files-routines): Add files-init.
34194         (libnss_db-routines): Add db-init.
34195         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34196         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34197         * nss/nss_db/db-init.c: New file.
34198         * nss/nss_files/files-init.c: New file.
34199         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34200         __nss_lookup_function.
34201         (__nss_lookup_function): Call nss_load_library.
34202         (nss_load_all_libraries): New function.
34203         (__nss_disable_nscd): Take parameter with callback function for files
34204         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34205         used for the cached services.
34206         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34207         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34208         options for features to all the files in nscd.
34210         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34212 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34214         * csu/elf-init.c (__libc_csu_init): Comment typo.
34216 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34218         * po/pl.po: Update from translation team.
34219         * po/ja.po: Likewise.
34220         * po/ru.po: Likewise.
34221         * po/ko.po: Likewise.
34222         * po/fr.po: Likewise.
34224 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34226         * configure.in (.ctors/.dtors header and trailer check):
34227         Use an empirical test on a built program.
34228         * configure: Regenerated.
34230         * configure.in (-z relro check): Use an empirical test on a built DSO.
34231         Detect, but do not require, on ia64.
34232         * configure: Regenerated.
34234         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34235         Update tests that use readelf to use $READELF instead.
34236         * configure: Regenerated.
34238 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34240         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34241         if the result is not used.
34243 2011-07-05  Andreas Jaeger  <aj@suse.de>
34245         [BZ#9696]
34246         * stdlib/tst-strtod.c: Add testcase.
34248 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34250         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34251         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34252         The latter has a higher limit.  Take additional parameter to pass to
34253         the new function.
34254         (__pathconf): Pass file to __statfs_link_max.
34255         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34256         __statfs_link_max.
34257         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34258         __statfs_link_max.
34260         [BZ #12868]
34261         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34262         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34263         Handle Lustre.
34264         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34265         (__statfs_filesize_max): Likewise.
34266         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34268 2011-07-05  Andreas Jaeger  <aj@suse.de>
34270         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34272 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34274         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34275         `status' variable.
34276         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34277         Likewise.
34279 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34281         * Makefile (strop-tests): Add strncat.
34282         * string/test-strncat.c: New file.
34284 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34286         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34288 2011-06-21  Andreas Jaeger  <aj@suse.de>
34290         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34291         Copy rule from iconvdata/Makefile.
34293 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34295         [BZ #12922]
34296         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34297         but no long options are defined, just return 'W'.
34299 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34301         [BZ #9696]
34302         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34304 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34306         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34307         netgroups to read.
34308         (innetgr): Likewise.
34310 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34312         * config.make.in (install_root): Default to $(DESTDIR).
34314 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34316         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34318 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34320         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34322         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34323         containing directory rather than embedding absolute directory names.
34325         * scripts/check-local-headers.sh: Rewritten using awk.
34326         Match by word, not by line.  Print error messages for matches.
34327         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34329         * Makerules [shlib-lds-flags empty]:
34330         ($(common-objpfx)libc_pic.opts): New target.
34331         ($(common-objpfx)libc_pic.os.clean): New target.
34332         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34334         * config.make.in (OBJCOPY): New variable.
34335         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34336         * configure: Regenerated.
34338         * config.make.in (use-default-link): New variable.
34339         * configure.in (use_default_link): Grok --with-default-link to set it.
34340         * configure: Regenerated.
34341         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34342         (shlib-lds, shlib-lds-flags): Define to empty.
34344         * Makerules (shlib-lds): New variable.
34345         (shlib-lds-flags): New variable.
34346         (build-shlib, build-moduile, build-module-asneeded): Use it.
34347         ($(common-objpfx)libc.so): Use $(shlib-lds).
34348         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34349         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34351         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34352         DT_FLAGS/DT_FLAGS_1 with zero flags.
34354         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34355         linker script munging.
34357 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34359         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34360         as 128-bit value.
34361         * crypt/sha512.c (sha512_process_block): Perform total addition using
34362         128-bit if possible.
34363         (__sha512_finish_ctx): Likewise.
34364         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34365         as 64-bit value.
34366         * crypt/sha256.c (SWAP64): Define.
34367         (sha256_process_block): Perform total addition using 64-bit if
34368         possible.
34369         (__sha256_finish_ctx): Likewise.
34371 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34373         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34374         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34375         * nscd/hstcache.c (cache_addhst): Likewise.
34376         * nscd/grpcache.c (cache_addgr): Likewise.
34377         * nscd/aicache.c (addhstaiX): Likewise
34378         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34380 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34382         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34383         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34384         * nscd/hstcache.c (cache_addhst): Likewise.
34385         * nscd/grpcache.c (cache_addgr): Likewise.
34386         * nscd/aicache.c (addhstaiX): Likewise
34388 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34390         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34391         domain only when needed.
34393 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34395         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34396         is always restored.
34398 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34400         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34401         are re-adding the entry.
34402         * nscd/servicescache.c (cache_addserv): Likewise.
34404 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34406         * sysdeps/generic/dl-irel.h: fix protection against multiple
34407         inclusions.
34408         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34410 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34412         [BZ #12935]
34413         * malloc/memusage.sh: Fix quoting in message.
34414         * debug/xtrace.sh: Likewise.
34416         * configure.in: Remove support for --experimental-malloc option, make
34417         it the default.
34418         * config.make.in: Likewise.
34419         * malloc/Makefile: Likewise.
34421 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34423         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34424         two-byte characters.
34426 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34428         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34429         AC_CACHE_CHECK invocation.
34430         * configure: Regenerated.
34432         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34434 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34436         [BZ #12350]
34437         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34438         bit from old_res_options.
34440         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34442         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34443         value type for setfct.
34445 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34447         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34448         __gettimeofday instead of gettimeofday.
34450 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34452         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34454 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34456         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34458         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34459         info.
34461 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34464         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34465         strcpy-sse2-unaligned strncpy-sse2-unaligned
34466         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34467         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34468         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34469         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34470         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34471         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34472         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34473         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34474         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34475         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34476         (STRCPY): Support SSE2 and SSSE3 versions.
34478 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34480         [BZ #12874]
34481         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34482         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34483         kernels which artificially limit size of requests.
34485 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34488         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34489         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34490         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34491         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34492         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34493         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34494         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34495         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34496         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34497         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34498         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34499         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34500         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34501         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34503         Enable unaligned load optimization for Intel Core i3, i5 and i7
34504         processors.
34505         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34506         Define.
34507         (index_Fast_Unaligned_Load): Define.
34508         (HAS_FAST_UNALIGNED_LOAD): Define.
34510 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
34512         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34514 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34516         [BZ #12907]
34517         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34518         until it is clear that the information is realy needed.
34519         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34521 2011-06-22  Andreas Schwab  <schwab@redhat.com>
34523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34525 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34527         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34528         /sys/devices/system/cpu/online if it is usable.
34530         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34531         reading the information from the /proc filesystem to once a second.
34533 2011-06-21  Andreas Jaeger  <aj@suse.de>
34535         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34536         NULL after inclusion of kernel headers.
34538 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
34540         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34541         calls to internal_setent.
34543         [BZ #12885]
34544         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34545         addresses using gethostbyname4_r ignore IPv4 addresses.
34547         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34548         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
34550         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34552 2011-06-20  David S. Miller  <davem@davemloft.net>
34554         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34555         inclusions.
34556         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34558         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34559         (elf_irel): Use it.
34560         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34561         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34562         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34563         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34564         * sysdeps/x86_64/dl-irel.h: Likewise.
34566         * elf/dl-runtime.c: Use elf_ifunc_invoke.
34567         * elf/dl-sym.c: Likewise.
34569 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34571         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
34572         need to dereference resplen2.
34574 2011-06-14  Andreas Schwab  <schwab@redhat.com>
34576         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34578 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34580         * Makeconfig: Define vardbdir and inst_vardbdir.
34581         * nss/Makefile: Add rules to install db-Makefile.
34583         * nss/nss_db/db-XXX.c: Cleanup.
34585         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34586         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34587         GLIBC_PRIVATE.
34588         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34589         * nss/makedb.c: Implement -g option to specify that value strings
34590         are generated and should not be added to table iterated over for
34591         get*ent calls.
34592         * nss/nss_db/db-initgroups.c: New file.
34594         * nss/getent.c: Add support for initgroups lookups through getgrouplist
34595         interface.
34597         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34598         (internal_getgrouplist): Adjust to name change.
34599         Update use_initgroups_entry if this is not the first call.
34600         * nss/databases.def: Add initgroups entry.
34602         * nss/makedb.c (compute_tables): Check result of multiple hash table
34603         sizes to minimize maximum chain length.
34605 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
34607         * Versions.def: Add entry for libnss_db.
34608         * shlib-versions: Likewise.
34609         * nss/Makefile: Add rules to build libnss_db.
34610         * nss/Versions: Add libnss_db information.  Organize libnss_files
34611         entries better.
34612         * nss/db-Makefile: Add gshadow support.  Change rules for the new
34613         makedb progra.  Some minor improvements to generate smaller files.
34614         * nss/nss_db/nss_db.h: Move NSS database header data structures to
34615         here from...
34616         * nss/makedb.c: ...here.
34617         Improve database format to be smaller and require less memory at
34618         runtime.
34619         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
34620         db anymore.
34621         * nss/nss_db/db-netgrp.c: Likewise.
34622         * nss/nss_db/db-open.c: Likewise.
34623         * nss/nss_files/flies-XXX.x: Adjust comments.
34624         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34625         * nss/nss_files/files-grp.c: Likewise.
34626         * nss/nss_files/files-hosts.c: Likewise.
34627         * nss/nss_files/files-network.c: Likewise.
34628         * nss/nss_files/files-proto.c: Likewise.
34629         * nss/nss_files/files-pwd.c: Likewise.
34630         * nss/nss_files/files-rpc.c: Likewise.
34631         * nss/nss_files/files-service.c: Likewise.
34632         * nss/nss_files/files-sgrp.c: Likewise.
34633         * nss/nss_files/files-spwd.c: Likewise.
34634         * nss/nss_db/db-alias.c: Removed.
34635         * nss/nss_db/dummy-db.h: Removed.
34637 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
34639         * nss/makedb.c: Rewritten to not use database library.
34640         * nss/Makefile: Update to build new makedb program.
34642 2011-06-14  Andreas Jaeger  <aj@suse.de>
34644         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34645         memset declaration.
34647 2011-06-10  Andreas Schwab  <schwab@redhat.com>
34649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34650         tmpbuf.
34652 2011-06-10  Roland McGrath  <roland@hack.frob.com>
34654         * Makerules (shlib.lds): Fail if the linker script comes out empty.
34655         * elf/Makefile ($(objpfx)ld.so): Likewise.
34657         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34658         Don't list ld.so twice in dependencies.
34660         * posix/bug-regex31.c: Include <stdlib.h>.
34662         * nscd/hstcache.c (cache_addhst): Remove unused variable.
34664         * nis/nss_compat/compat-spwd.c
34665         (getspent_next_nss_netgr): Remove unused variable.
34666         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34668         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34669         nonmembers" output to use the right array.
34671         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34673         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34675         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34676         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34677         * catgets/gencat.c (read_input_file): Likewise.
34678         * locale/programs/locarchive.c (enlarge_archive): Likewise.
34680         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34681         variable definition inside #if's controlling its use.
34683         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34685         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34687         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34689         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34690         unreachable code.
34692         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34694         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34695         * configure: Regenerated.
34697         * Makerules: Revert last change.
34698         * elf/Makefile: Likewise.
34700 2011-06-09  Roland McGrath  <roland@hack.frob.com>
34702         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34703         * elf/Makefile ($(objpfx)librtld.os): Likewise.
34704         (reloc-link): Likewise.
34706 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
34708         * elf/Makefile: Add rules to build pldd.
34709         * elf/pldd.c: New file.
34710         * elf/pldd-xx.c: New file.
34712 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
34714         * version.h: Update for 2.15 development version.
34716 2011-06-07  David S. Miller  <davem@davemloft.net>
34718         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34719         ifuncs.
34720         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34721         elf_machine_lazy_rel): Likewise.
34722         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34723         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34724         elf_machine_lazy_rel): Likewise.
34725         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34726         dl_hwcap via passed in argument.
34727         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34728         Likewise.
34730 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34732         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34734 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34736         [BZ #12849]
34737         * manual/fdl-1.1.texi: New file, verbatim from:
34738         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34739         * manual/lgpl-2.1.texi: New file, verbatim from:
34740         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34741         * manual/Makefile (licenses): New variable, list those new file names.
34742         (texis): Use it.
34743         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34745         * manual/fdl.texi: File removed.
34746         * manual/lesser.texi: File removed.
34747         * manual/libc.texinfo (Copying, Documentation License):
34748         Use new @include file names, put @appendix directive before @include.
34750 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34752         [BZ #12841]
34753         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34754         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34755         (mq_open): Add __NTH.
34757 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34760         Assume Intel Core i3/i5/i7 processor if AVX is available.
34762 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34764         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34765         typo.
34767 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34769         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34770         memory.  Use alloca_account.  Fix memory leak when retrying.
34772 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34774         * version.h (RELEASE): Bump for 2.14 release.
34775         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34777         * config.make.in (RANLIB): Remove entry.
34779 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34781         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34782         (libc.pot): Work around missing support for .ksh extension in xgettext.
34784         [BZ #12684]
34785         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34786         if both request failed.
34787         (send_dg): In case of server errors clear resplen or *resplen2.
34789         [BZ #12454]
34790         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34791         when there are multiple maps.
34792         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34793         (_dl_fini): Remove test here.
34795         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34797 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34799         [BZ #12350]
34800         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34801         bit from old_res_options.
34802         (gaih_inet): Likewise.
34804         [BZ #11099]
34805         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34806         as signed.
34808         * resolv/res_init.c (res_setoptions): Make the code more compact.
34810         [BZ #11558]
34811         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34812         set RES_USEVC.
34814         [BZ #11634]
34815         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34817         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34819         [BZ #11781]
34820         * malloc/malloc.h: Declare malloc hook variables as volatile.
34822         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34823         in last patch.
34825         [BZ #11799]
34826         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34827         raise in the comment.
34828         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34829         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34830         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34832 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34834         [BZ #12811]
34835         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34836         grow the buffers more if it already has to be sufficient.
34837         (build_wcs_upper_buffer): Likewise.
34838         * posix/regexec.c (check_matching): Likewise.
34839         (clean_state_log_if_needed): Likewise.
34840         (extend_buffers): Don't enlarge buffers beyond size of the input
34841         buffer.
34842         Patches mostly by Emil Wojak <emil@wojak.eu>.
34843         * posix/bug-regex32.c: New file.
34844         * posix/Makefile (tests): Add bug-regex32.
34846         * locale/findlocale.c (_nl_find_locale): Return right away if
34847         _nl_explode_name failed.
34848         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34850         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34852         * debug/xtrace.sh: Unify messages.
34853         * malloc/memusage.sh: Likewise.
34855         [BZ #12813]
34856         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34857         time symbol from vDSO.  Substitute with vsyscall if not available.
34858         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34859         __vdso_time.
34861         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34862         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34863         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34864         Add sendmmsg and internal_sendmmsg.
34865         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34866         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34867         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34869         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34870         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34871         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34873 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34875         [BZ #12813]
34876         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34877         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34878         available.
34879         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34880         __vdso_getcpu.
34882         [BZ #12814]
34883         * iconvdata/Makefile (tests): Add bug-iconv9.
34884         * iconvdata/bug-iconv9.c: New file.
34886 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34888         [BZ #12814]
34889         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34891 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34893         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34894         (struct user_regs_struct): Change intcs field back to cs.
34896 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34898         * po/ja.po: Update from translation team.
34900 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34902         [BZ #12795]
34903         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34904         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34906 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34908         * stdlib/longlong.h: Update from GCC.
34910 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34912         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34913         parameter name.
34914         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34915         Add parameter name.
34916         (__sysconf): Pass it down.
34918 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34920         [BZ #12671]
34921         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34922         some situations.
34923         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34924         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34925         add in in __libc_use_alloca calls.  Adjust callers.
34926         (glob): Use malloc in some situations.
34928         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34929         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34930         pltexit.
34932 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
34934         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34935         and CLOCK_BOOTTIME_ALARM.
34937         [BZ #12782]
34938         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34939         is returned.
34941         * string/_strerror.c (__strerror_r): Print negative errors as signed
34942         numbers.
34944         [BZ #12777]
34945         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34946         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34947         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34949         * configure.in: Fix typo in redirection and correct removal of test
34950         files in two cases.
34952         [BZ #12788]
34953         * locale/setlocale.c (new_composite_name): Fix test to check for
34954         identical name of all categories.
34956         [BZ #12792]
34957         * libio/filedoalloc.c (local_isatty): New function.
34958         (_IO_file_doallocate): Use local_isatty.
34959         * stdio-common/perror.c (perror): In case a new stream is used
34960         forward the stream error.
34961         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34962         error flag.
34964 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
34966         [BZ #11869]
34967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34968         alloca.
34969         * include/alloca.h (extend_alloca_account): Define.
34971         [BZ #11857]
34972         * posix/regex.h: Fix comments with documentation of user-accessible
34973         fields after compilation and describe correct free'ing of pattern
34974         after re_compile_pattern.
34975         Patch by Reuben Thomas <rrt@sc3d.org>.
34977 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
34979         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34980         and -mno-altivec to prevent the compiler from using Altivec and/or
34981         VSX instructions when the corresponding registers are not available.
34983 2011-05-19  Andreas Schwab  <schwab@redhat.com>
34985         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34987 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
34989         * libio/freopen.c (freopen): Use __dup2, not dup2.
34990         * libio/freopen64.c (freopen64): Likewise.
34992 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34994         [BZ #12775]
34995         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34996         * math/Makefile (tests): Add test-powl.
34997         (CFLAGS-test-powl.c): Define.
34998         * math/test-powl.c: New file.
35000 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35002         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35004 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35006         [BZ #11837]
35007         * iconvdata/gb18030.c: Update to GB18020-2005.
35009 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35011         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35012         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35013         Patch by Aharon Robbins <arnold@skeeve.com>.
35015         [BZ #11892]
35016         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35017         on the stack.
35019         [BZ #11895]
35020         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35021         through underflows.
35023         [BZ #12766]
35024         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35025         point to strings before performing equality test for error_one_per_line
35026         mode.
35028         [BZ #11697]
35029         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35031         [BZ #11820]
35032         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35033         (struct user_fpregs_struct): Avoid __uint*_t types.
35035         [BZ #6420]
35036         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35037         symbol info.  Use it instead of calling _dl_addr locally.
35038         (lock_and_info): New function.
35039         (tr_freehook): Call lock_and_info and pass symbol info as additional
35040         parameter to tr_where.
35041         (tr_mallochook): Likewise.
35042         (tr_reallochook): Likewise.
35043         (tr_memalignhook): Likewise.
35045         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35046         used and couldn't be at all thread-safe.
35048 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35050         * libio/freopen.c (freopen): Don't close old file descriptor
35051         before the new one is opened.  Instead dup the new file descriptor
35052         to the old one after the new stream is created.
35053         * libio/freopen64.c (freopen64): Likewise.
35054         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35055         * libio/fileops.c (_IO_new_file_close_it): Handle new
35056         _IO_FLAGS2_NOCLOSE flag.
35057         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35058         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35059         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35060         _IO_FLAGS2_NOCLOSE flag.
35061         * include/unistd.h: Add hidden_proto for dup3.
35062         Define __have_dup3.
35063         * io/dup3.c: Define hidden symbol.
35064         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35066         [BZ #7101]
35067         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35068         when an incomplete long option is used.
35069         * posix/tst-getopt_long1.c: New file.
35070         * posix/Makefile (tests): Add tst-getopt_long1.
35072         [BZ #10138]
35073         * scripts/config.guess: Update from autoconf-2.68.
35074         * scripts/config.sub: Likewise.
35076         [BZ #10157]
35077         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35078         tests into ...
35079         (has_cpuclock): ...this.  New function.
35080         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35081         macro here based on has_cpuclock code.
35083         [BZ #10149]
35084         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35085         First byte (not low byte) is now always NUL.
35086         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35088         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35089         Use non-cancelable interfaces.
35091         [BZ #9809]
35092         * locale/iso-639.def: Add entry for Sorani.
35094         [BZ #11901]
35095         * include/stdlib.h: Move include protection to the right place.
35096         Define abort_msg_s.  Declare __abort_msg with it.
35097         * stdlib/abort.c (__abort_msg): Adjust type.
35098         * assert/assert.c (__assert_fail_base): New function.  Majority
35099         of code from __assert_fail.  Allocate memory for __abort_msg with
35100         mmap.
35101         (__assert_fail): Now call __assert_fail_base.
35102         * assert/assert-perr.c: Remove bulk of implementation.  Use
35103         __assert_fail_base.
35104         * include/assert.hL Declare __assert_fail_base.
35105         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35106         mmap.
35107         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35109 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35111         [BZ #11952]
35112         [BZ #12453]
35113         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35114         until all modules are registered in the DTV.
35115         * elf/Makefile: Add rules to build and run tst-tls19.
35116         * elf/tst-tls19.c: New file.
35117         * elf/tst-tls19mod1.c: New file.
35118         * elf/tst-tls19mod2.c: New file.
35119         * elf/tst-tls19mod3.c: New file.
35120         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35122         [BZ #12083]
35123         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35124         correctly.
35126         [BZ #12601]
35127         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35128         two-byte sequence errors.
35129         * iconvdata/Makefile (tests): Add bug-iconv8.
35130         * iconvdata/bug-iconv8.c: New file.
35132         [BZ #12626]
35133         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35134         buf2 definition.
35136         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35138         [BZ #12432]
35139         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35140         (dummy_getcfa): New function.
35141         (init): Get _Unwind_GetCFA address, use dummy if not found.
35142         (backtrace_helper): In recursion check, also check whether CFA changes.
35143         (__backtrace): Completely initialize arg.
35145         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35146         storing incomplete byte sequence in state object.  Avoid testing for
35147         guaranteed too small input if we know there is enough data available.
35149 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35151         * Makeconfig (+link-pie): Indent.
35152         * Rules (binaries-pie): Define if $(have-fpie) and
35153         $(build-shared).
35154         (binaries-shared): Also filter out $(binaries-pie).
35155         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35156         * nscd/Makefile (others-pie): Add nscd.
35157         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35158         ($(objpfx)nscd): Remove command override.
35159         * login/Makefile (others-pie): Add pt_chown.
35160         ($(objpfx)pt_chown): Remove command override.
35161         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35162         remove command overrides.
35164 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35166         * libio/tst_putwc.c: Fix error messages.
35168         [BZ #12724]
35169         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35170         currently writing and seek to current position when not.
35171         * libio/Makefile (tests): Add bug-fclose1.
35172         * libio/bug-fclose1.c: New file.
35174 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35176         [BZ #12511]
35177         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35178         don't set DF_1_NODELETE here.
35179         (do_lookup_x): When entering new entry test for copy relocation
35180         and if necessary set DF_1_NODELETE flag.
35181         * elf/tst-unique4.cc: New file.
35182         * elf/tst-unique4.h: New file.
35183         * elf/tst-unique4lib.cc: New file.
35184         * elf/Makefile: Add rules to build and run tst-unique4.
35185         Patch by Piotr Bury <pbury@goahead.com>.
35187 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35189         [BZ #12052]
35190         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35192         [BZ #12625]
35193         * misc/mntent_r.c (addmntent): Flush the stream after the output
35195         [BZ #12393]
35196         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35197         (is_trusted_path_normalize): Skip initial colon.  Append slash
35198         to empty buffer.  Duplicate is_trusted_path code but allow
35199         constructed patch to be prefix.
35200         (is_dst): Allow $ORIGIN followed by /.
35201         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35202         Correct testing of result of is_trusted_path_normalize
35203         (decompose_rpath): Fix warning.
35205 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35207         [BZ #11257]
35208         * grp/initgroups.c (internal_getgrouplist): When we found the service
35209         list through the initgroups entry in nsswitch.conf do not always
35210         continue on a successful lookup.  Don't always use the
35211         __nss_group_database value if it is set.
35212         * nss/nsswitch.conf (initgroups): Change action for successful db
35213         lookup to continue for compatibility.
35215 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35217         [BZ #11532]
35218         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35219         and CP774 modules.
35220         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35221         and CP774 modules.
35222         * iconvdata/tst-tables.sh: Likewise.
35223         * iconvdata/cp770.c: New file.
35224         * iconvdata/cp771.c: New file.
35225         * iconvdata/cp772.c: New file.
35226         * iconvdata/cp773.c: New file.
35227         * iconvdata/cp774.c: New file.
35228         * iconvdata/testdata/CP770: New file.
35229         * iconvdata/testdata/CP770..UTF8: New file.
35230         * iconvdata/testdata/CP771: New file.
35231         * iconvdata/testdata/CP771..UTF8: New file.
35232         * iconvdata/testdata/CP772: New file.
35233         * iconvdata/testdata/CP772..UTF8: New file.
35234         * iconvdata/testdata/CP773: New file.
35235         * iconvdata/testdata/CP773..UTF8: New file.
35236         * iconvdata/testdata/CP774: New file.
35237         * iconvdata/testdata/CP774..UTF8: New file.
35239         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35240         END CHARMAP line.
35241         * iconvdata/gen-8bit-gap.sh: Likewise.
35242         * iconvdata/gen-8bit.sh: Likewise.
35244         * locale/iso-639.def: Add ary entry.
35246         [BZ #11258]
35247         * locale/C-translit.h.in: Add U20A1 transliteration.
35249         [BZ #12178]
35250         * locale/iso-639.def: Add wae entry.
35251         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35253         [BZ #12545]
35254         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35255         for n.
35257         [BZ #12711]
35258         * locale/C-translit.h.in: Add entry for U20B9.
35259         Patch by pravin.d.s@gmail.com.
35261 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35263         [BZ #12713]
35264         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35265         ENAMETOOLONG use generic getcwd.
35266         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35267         in rtld.  Use *stat64.
35268         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35269         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35270         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35271         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35272         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35273         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35274         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35275         __fstatat64 macros.
35276         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35277         * dirent/rewinddir.c: Add libc_hidden_def.
35278         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35279         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35281         * include/dirent.h (__alloc_dir): Add flags parameter.
35282         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35283         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35284         __alloc_dir.
35285         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35286         from fdopendir if O_CLOEXEC is already set.
35288 2011-03-15  Alan Modra  <amodra@gmail.com>
35290         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35291         l_tls_firstbyte_offset non-zero.  Save padding offset in
35292         l_tls_firstbyte_offset for later use.
35293         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35294         freeing static tls block.
35296 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35298         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35299         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35300         being defined by the kernel headers.
35302 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35304         [BZ #12734]
35305         * resolv/resolv.h: Define RES_NOTLDQUERY.
35306         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35307         no-tld-query and set RES_NOTLDQUERY.
35308         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35309         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35310         modern BIND to search name as TLD unless forbidden.
35312 2011-05-07  Petr Baudis  <pasky@suse.cz>
35313             Ulrich Drepper  <drepper@gmail.com>
35315         [BZ #12393]
35316         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35317         (is_trusted_path): ...to here.
35318         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35319         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35320         using is_trusted_path_normalize() in setuid scripts.
35322 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35324         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35325         __BEGIN/__END_DECLS.
35327 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35329         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35330         NSS_STATUS_NOTFOUND if no record was found.
35332 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35334         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35335         (headers-not-in-tirpc): Remove rpc/netdb.h
35336         * resolv/netdb.h: Revert last change.
35338 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35340         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35341         circular dependency between libgcc.a and libc.a.
35343 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35345         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35346         * nis/Makefile: Don't install rpcsvc/*.
35347         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35348         instead of <rpc/types.h>.
35349         (MAXHOSTNAMELEN): Define.
35351 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35353         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35355 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35357         [BZ #12714]
35358         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35359         gethostbyname4_r when IPv6 results are possible.
35361 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35363         [BZ #12723]
35364         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35365         _PC_PIPE_BUF handling.
35367 2011-04-30  Bruno Haible  <bruno@clisp.org>
35369         [BZ #12717]
35370         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35371         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35372         to 'int'.
35373         * inet/getnameinfo.c (getnameinfo): Likewise.
35375 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35377         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35378         to groups setting in database lookup.
35379         * nss/nsswitch.conf: Add initgroups entry.
35381 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35383         [BZ #12685]
35384         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35385         mode string.
35386         Patch by Eric Blake <eblake@redhat.com>.
35388 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35390         * sunrpc/Makefile (need-export-routines): Add svc_run.
35391         (routines): Remove svc_run.
35392         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35393         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35394         * sunrpc/svc_run.c (svc_run): Likewise.
35395         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35397 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35399         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35400         problem in reallocation in last patch.
35402 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35404         * sunrpc/Makefile: Move inclusion of Rules.
35406 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35408         * nss/nss_files/files-initgroups.c: New file.
35409         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35410         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35411         _nss_files_initgroups_dyn.
35413 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35415         * elf/elf.h (R_ARM_IRELATIVE): Define.
35417 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35419         * po/ru.po: Update from translation team.
35421 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35423         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35424         dependencies.
35426 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35428         [BZ #12653]
35429         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35430         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35431         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35432         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35433         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35435 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35437         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35438         differing bytes.
35439         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35440         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35441         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35443 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35445         [BZ #12420]
35446         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35447         storing it.
35448         * stdlib/bug-getcontext.c: New file.
35449         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35451 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35453         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35454         instructions into .machine "z9-109".
35455         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35456         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35458 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35460         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35461         between environment variables and auxiliary vector.
35463 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35465         * Makefile: Add rules to build linkobj/libc.so.
35466         * include/libc-symbols.h: Define libc_hidden_nolink.
35467         * include/rpc/auth.h: Mark functions which are to be hidden.
35468         * include/rpc/auth_des.h: Likewise.
35469         * include/rpc/auth_unix.h: Likewise.
35470         * include/rpc/clnt.h: Likewise.
35471         * include/rpc/des_crypt.h: Likewise.
35472         * include/rpc/key_prot.h: Likewise.
35473         * include/rpc/pmap_clnt.h: Likewise.
35474         * include/rpc/pmap_prot.h: Likewise.
35475         * include/rpc/pmap_rmt.h: Likewise.
35476         * include/rpc/rpc_msg.h: Likewise.
35477         * include/rpc/svc.h: Likewise.
35478         * include/rpc/svc_auth.h: Likewise.
35479         * include/rpc/xdr.h: Likewise.
35480         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35481         * nss/Makefile: Likewise.
35482         * sunrpc/Makefile: Don't install headers.  Build library with normal
35483         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35484         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35485         for the compat linking library.  Remove use of INTDEF/INTUSE.
35486         * sunrpc/auth_none.c: Likewise.
35487         * sunrpc/auth_unix.c: Likewise.
35488         * sunrpc/authdes_prot.c: Likewise.
35489         * sunrpc/authuxprot.c: Likewise.
35490         * sunrpc/clnt_gen.c: Likewise.
35491         * sunrpc/clnt_perr.c: Likewise.
35492         * sunrpc/clnt_raw.c: Likewise.
35493         * sunrpc/clnt_simp.c: Likewise.
35494         * sunrpc/clnt_tcp.c: Likewise.
35495         * sunrpc/clnt_udp.c: Likewise.
35496         * sunrpc/clnt_unix.c: Likewise.
35497         * sunrpc/des_crypt.c: Likewise.
35498         * sunrpc/des_soft.c: Likewise.
35499         * sunrpc/get_myaddr.c: Likewise.
35500         * sunrpc/key_call.c: Likewise.
35501         * sunrpc/key_prot.c: Likewise.
35502         * sunrpc/netname.c: Likewise.
35503         * sunrpc/pm_getmaps.c: Likewise.
35504         * sunrpc/pm_getport.c: Likewise.
35505         * sunrpc/pmap_clnt.c: Likewise.
35506         * sunrpc/pmap_prot.c: Likewise.
35507         * sunrpc/pmap_prot2.c: Likewise.
35508         * sunrpc/pmap_rmt.c: Likewise.
35509         * sunrpc/publickey.c: Likewise.
35510         * sunrpc/rpc_cmsg.c: Likewise.
35511         * sunrpc/rpc_common.c: Likewise.
35512         * sunrpc/rpc_dtable.c: Likewise.
35513         * sunrpc/rpc_prot.c: Likewise.
35514         * sunrpc/rpc_thread.c: Likewise.
35515         * sunrpc/rtime.c: Likewise.
35516         * sunrpc/svc.c: Likewise.
35517         * sunrpc/svc_auth.c: Likewise.
35518         * sunrpc/svc_authux.c: Likewise.
35519         * sunrpc/svc_raw.c: Likewise.
35520         * sunrpc/svc_run.c: Likewise.
35521         * sunrpc/svc_simple.c: Likewise.
35522         * sunrpc/svc_tcp.c: Likewise.
35523         * sunrpc/svc_udp.c: Likewise.
35524         * sunrpc/svc_unix.c: Likewise.
35525         * sunrpc/svcauth_des.c: Likewise.
35526         * sunrpc/xcrypt.c: Likewise.
35527         * sunrpc/xdr.c: Likewise.
35528         * sunrpc/xdr_array.c: Likewise.
35529         * sunrpc/xdr_float.c: Likewise.
35530         * sunrpc/xdr_intXX_t.c: Likewise.
35531         * sunrpc/xdr_mem.c: Likewise.
35532         * sunrpc/xdr_rec.c: Likewise.
35533         * sunrpc/xdr_ref.c: Likewise.
35534         * sunrpc/xdr_sizeof.c: Likewise.
35535         * sunrpc/xdr_stdio.c: Likewise.
35537 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
35539         [BZ #12650]
35540         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35541         * sysdeps/ia64/dl-tls.h: Likewise.
35542         * sysdeps/powerpc/dl-tls.h: Likewise.
35543         * sysdeps/s390/dl-tls.h: Likewise.
35544         * sysdeps/sh/dl-tls.h: Likewise.
35545         * sysdeps/sparc/dl-tls.h: Likewise.
35546         * sysdeps/x86_64/dl-tls.h: Likewise.
35547         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35549 2011-03-14  Andreas Schwab  <schwab@redhat.com>
35551         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35552         rpath element also skip the following colon.
35553         (expand_dynamic_string_token): Add is_path parameter and pass
35554         down to DL_DST_REQUIRED and _dl_dst_substitute.
35555         (decompose_rpath): Call expand_dynamic_string_token with
35556         non-zero is_path.  Ignore empty rpaths.
35557         (_dl_map_object_from_fd): Call expand_dynamic_string_token
35558         with zero is_path.
35560 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
35562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35563         Make cancelable.
35565 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
35567         [BZ #12655]
35568         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35569         Patch by Filipe David Manana <fdmanana@apache.org>.
35571 2011-04-07  Andreas Schwab  <schwab@redhat.com>
35573         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35574         Maintain aligned stack.
35575         (CHECK_RSP): Remove unused macro.
35577 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
35579         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35580         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35582 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
35584         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35586         * include/features.h: Mention __USE_XOPEN2K8 in comment.
35588 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
35590         [BZ #12518]
35591         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35592         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35593         * sysdeps/x86_64/memmove.c: New file.
35594         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35595         (memcpy): Renamed to ...
35596         (__new_memcpy): This.
35597         (memcpy): Provide GLIBC_2_14 memcpy.
35598         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35599         (memcpy): Provide GLIBC_2_2_5 memcpy.
35601 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35603         [BZ #12631]
35604         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35606 2011-03-30  Andreas Schwab  <schwab@redhat.com>
35608         * misc/syncfs.c: New file.
35609         * misc/Makefile (routines): Add syncfs.
35610         * posix/unistd.h: Declare syncfs.
35611         * sysdeps/unix/syscalls.list: Add syncfs.
35613 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35615         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35616         open_by_handle_at.
35617         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35618         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35619         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35620         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35621         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35622         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35623         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35625 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35627         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35628         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35629         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35630         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35631         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35632         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35633         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35635         * io/Makefile: Compile fallocate.c, fallocate64.c, and
35636         sync_file_range.c with -fexceptions.
35637         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35638         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35639         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35640         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35641         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35642         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35643         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35644         sync_file_range as cancellation point
35645         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
35646         now a wrapper around __call_sync_file_range with cancellation handling.
35647         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35648         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
35649         function name to __call_sync_file_range.
35650         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35651         Add call_sync_file_range.
35653 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35656         bits/timex.h.
35658 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35660         * iconv/iconv.h: Fix typo in comment.
35661         * io/fcntl.h: Likewise.
35662         * libio/stdio.h: Likewise.
35663         * posix/spawn.h: Likewise.
35664         * posix/unistd.h: Likewise.
35665         * stdlib/stdlib.h: Likewise.
35666         * time/time.h: Likewise.
35667         * wcsmbs/wchar.h: Likewise.
35669         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35670         open_by_handle): Add.
35671         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35672         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
35673         Augment a few comments.
35674         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35675         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35676         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35677         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35678         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35679         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35680         open_by_handle.
35682         * io/fcntl.h (AT_EMPTY_PATH): Define.
35684 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
35686         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35687         * sysdeps/unix/sysv/linux/bits/time.h: New file.
35688         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35689         to...
35690         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
35691         * Versions.def: Add GLIBC_2.14.
35692         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35693         Export.
35695 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
35697         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35698         round counter.
35699         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35701 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35703         [BZ #12597]
35704         * string/test-strncmp.c (do_page_test): New function.
35705         (check2): Likewise.
35706         (test_main): Call check2.
35707         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35709 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
35711         [BZ #12587]
35712         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35713         Handle cache information in CPU leaf 4.
35714         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35716 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
35718         [BZ #12583]
35719         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35720         character representation.
35721         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35723 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35725         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35726         END(__isnan) to END(__isnanf) to match function entry point/label
35727         EALIGN(__isnanf,...).
35729 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35731         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35733 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35735         [BZ #12510]
35736         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35737         copy from the symbol referenced in the relocation to initialize the
35738         used variable.
35739         Patch by Piotr Bury <pbury@goahead.com>.
35740         * elf/Makefile: Add rules to build and tst-unique3.
35741         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35742         * elf/tst-unique3.cc: New file.
35743         * elf/tst-unique3.h: New file.
35744         * elf/tst-unique3lib.cc: New file.
35745         * elf/tst-unique3lib2.cc: New file.
35747         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35749 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35751         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35752         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35753         to _start.
35755 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35757         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35758         to-be-loaded object along a path to loader is ld.so.
35760 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35761             Ulrich Drepper  <drepper@gmail.com>
35763         * sysdeps/x86_64/memset.S: After aligning destination, code
35764         branches to different locations depending on the value of
35765         misalignment, when multiarch is enabled. Fix this.
35767 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35769         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35770         Set _x86_64_preferred_memory_instruction for AMD processsors.
35771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35772         Set bit_Prefer_SSE_for_memop for AMD processors.
35774 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35776         * libio/fmemopen.c (fmemopen): Optimize a bit.
35778 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35780         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35782 2011-03-03  Roland McGrath  <roland@redhat.com>
35784         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35786 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35788         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35789         __bzero_ultra1 instead of __memset_ultra1.
35791 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35792             Ulrich Drepper  <drepper@gmail.com>
35794         [BZ #12509]
35795         * include/link.h (struct link_map): Add l_orig_initfini.
35796         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35797         returning unsuccessfully.
35798         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35799         close of a file loaded at startup, restore the original l_initfini
35800         list.
35801         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35802         list, store the pointer.
35803         * elf/Makefile ($(objpfx)noload-mem): New rule.
35804         (noload-ENV): Define.
35805         (tests): Add $(objpfx)noload-mem.
35806         * elf/noload.c: Include <memcheck.h>.
35807         (main): Call mtrace.  Close all opened handles.
35809 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35811         [BZ #12454]
35812         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35813         dependencies are missing.
35815 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35817         Fix __if_freereq crash: Unlike the generic version which uses free,
35818         Hurd needs munmap.
35819         * sysdeps/mach/hurd/ifreq.h: New file.
35821 2011-01-27  Petr Baudis  <pasky@suse.cz>
35822             Ulrich Drepper  <drepper@gmail.com>
35824         [BZ 12445]#
35825         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35826         to extend_alloca().
35827         * stdio-common/bug23.c: New file.
35828         * stdio-common/Makefile (tests): Add bug23.
35830 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35831             Ulrich Drepper  <drepper@gmail.com>
35833         [BZ #12489]
35834         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35835         before performing relro protection.  At old place add assertion
35836         to make sure nothing changed.
35838 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35839             Glauber de Oliveira Costa  <glommer@gmail.com>
35841         * elf/elf.h: Add new ARM TLS relocs.
35843 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35846         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35847         cast from r3.
35848         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35849         'tests' variable.
35850         * sysdeps/wordsize-64/tst-writev.c: New file.
35852 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35854         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35855         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35856         insns in _dl_start to prevent a TOC reference before relocs are
35857         resolved.
35859 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35861         [BZ #12469]
35862         * Makeconfig: Remove RANLIB definition.
35863         * Makerules: Don't use RANLIB.
35864         * aclocal.m4: Remove ranlib test.
35865         * configure.in: No need to check for ranlib.
35866         * elf/rtld-Rules: Don't use RANLIB.
35868 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35870         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35871         protection macro.
35872         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35873         inclusion protection macro.
35875         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35876         SIGRTMIN and SIGRTMAX and print information in that case only when
35877         SIGRTMIN is defined.
35879 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35881         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35882         arginfo fn returning -1.
35884         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35885         and thousands string is zero terminated.
35887 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35889         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35890         sysdeps/unix/sysv/linux/bits/socket.h.
35892 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35894         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35895         (__CPU_COUNT): Remove old macros.
35896         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35897         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35898         (__CPU_ALLOC, __CPU_FREE): Add macros.
35899         (__sched_cpualloc, __sched_cpufree): Add declarations.
35901 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35903         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35904         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35905         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35906         (readdhstai): Return value of addhstaiX call.
35907         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35908         (addgrbyX): Return value returned by cache_addgr.
35909         (readdgrbyname): Return value returned by addgrbyX.
35910         (readdgrbygid): Likewise.
35911         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35912         (addpwbyX): Return value returned by cache_addpw.
35913         (readdpwbyname): Return value returned by addhstbyX.
35914         (readdpwbyuid): Likewise.
35915         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35916         (addservbyX): Return value returned by cache_addserv.
35917         (readdservbyname): Return value returned by addservbyX:
35918         (readdservbyport): Likewise.
35919         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35920         (addhstbyX): Return value returned by cache_addhst.
35921         (readdhstbyname): Return value returned by addhstbyX.
35922         (readdhstbyaddr): Likewise.
35923         (readdhstbynamev6): Likewise.
35924         (readdhstbyaddrv6): Likewise.
35925         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35926         (readdinitgroups): Return value returned by addinitgroupsX.
35927         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35928         (prune_cache): Keep track of timeout value of re-added entries.
35929         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35930         * nscd/nscd.h: Adjust prototypes of readd* functions.
35932 2011-02-04  Roland McGrath  <roland@redhat.com>
35934         * nis/nis_server.c (nis_servstate): Use the right name for 0.
35935         (nis_stats): Likewise.
35936         * nis/nis_modify.c (nis_modify): Likewise.
35937         * nis/nis_remove.c (nis_remove): Likewise.
35938         * nis/nis_add.c (nis_add): Likewise.
35940         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35942         * posix/fnmatch_loop.c: Add some consts.
35944         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35946 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
35948         [BZ #12460]
35949         * config.make.in (config-cflags-novzeroupper): Define.
35950         * configure.in: Substitute libc_cv_cc_novzeroupper.
35951         * elf/Makefile (AVX-CFLAGS): Define.
35952         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35953         (CFLAGS-tst-auditmod4a.c): Likewise.
35954         (CFLAGS-tst-auditmod4b.c): Likewise.
35955         (CFLAGS-tst-auditmod6b.c): Likewise.
35956         (CFLAGS-tst-auditmod6c.c): Likewise.
35957         (CFLAGS-tst-auditmod7b.c): Likewise.
35958         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35960 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
35962         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35963         function to the callback.
35964         Patch partly by Jiri Olsa <jolsa@redhat.com>.
35966 2011-02-02  Andreas Schwab  <schwab@redhat.com>
35968         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35969         of errno.
35971 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
35973         [BZ #11724]
35974         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35975         of constructors.
35976         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35977         of destructors.
35978         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35980         [BZ #11724]
35981         * elf/Makefile: Add rules to build and run new test.
35982         * elf/tst-initorder.c: New file.
35983         * elf/tst-initorder.exp: New file.
35984         * elf/tst-initordera1.c: New file.
35985         * elf/tst-initordera2.c: New file.
35986         * elf/tst-initordera3.c: New file.
35987         * elf/tst-initordera4.c: New file.
35988         * elf/tst-initorderb1.c: New file.
35989         * elf/tst-initorderb2.c: New file.
35990         * elf/tst-order-a1.c: New file.
35991         * elf/tst-order-a2.c: New file.
35992         * elf/tst-order-a3.c: New file.
35993         * elf/tst-order-a4.c: New file.
35994         * elf/tst-order-b1.c: New file.
35995         * elf/tst-order-b2.c: New file.
35996         * elf/tst-order-main.c: New file.
35997         New test case by George Gensure <werkt0@gmail.com>.
35999 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36002         decoding ACE if AI_CANONIDN.
36004 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36006         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36008 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36010         * version.h (RELEASE): Bump for 2.13 release.
36011         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36013         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36015         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36016         MADV_NOHUGEPAGE.
36017         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36018         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36019         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36020         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36021         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36022         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36024         * posix/getconf.c: Update copyright year.
36025         * catgets/gencat.c: Likewise.
36026         * csu/version.c: Likewise.
36027         * debug/catchsegv.sh: Likewise.
36028         * debug/xtrace.sh: Likewise.
36029         * elf/ldconfig.c: Likewise.
36030         * elf/ldd.bash.in: Likewise.
36031         * elf/sprof.c (print_version): Likewise.
36032         * iconv/iconv_prog.c: Likewise.
36033         * iconv/iconvconfig.c: Likewise.
36034         * locale/programs/locale.c: Likewise.
36035         * locale/programs/localedef.c: Likewise.
36036         * malloc/memusage.sh: Likewise.
36037         * malloc/mtrace.pl: Likewise.
36038         * nscd/nscd.c (print_version): Likewise.
36039         * nss/getent.c: Likewise.
36041         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36042         PF_CAIF, and PF_ALG.
36043         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36045 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36047         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36048         (modules-names): Use them.
36049         (ifunc-test-modules, ifunc-pie-tests): Define.
36050         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36051         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36052         (test-extras): Likewise.
36053         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36054         $(compile-command.c).
36055         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36056         (all-built-dso): Define.
36057         (check-textrel.out, check-execstack.out): Depend on it.
36059         * configure.in: Don't override --enable-multi-arch.
36061 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36063         [BZ #6812]
36064         * nscd/hstcache.c (tryagain): Define.
36065         (cache_addhst): Return tryagain not notfound for temporary errors.
36066         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36067         failed.
36069 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36071         [BZ #10563]
36072         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36073         to make the syscall.
36074         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36076         [BZ #12378]
36077         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36078         and fall back to matching as normal character if the string ends before
36079         the matching ']' is found.  This is what POSIX requires.
36080         * posix/testfnm.c: Adjust test result.
36081         * posix/globtest.sh: Adjust test result.  Add new test.
36082         * posix/tst-fnmatch.input: Likewise.
36083         * posix/tst-fnmatch2.c: Add new test.
36085 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36087         * elf/Makefile (check-execstack): Revert last change.  Depend on
36088         check-execstack.h.
36089         (check-execstack.h): New target.
36090         (generated): Add check-execstack.h.
36091         * elf/check-execstack.c: Include "check-execstack.h".
36092         (main): Revert last change.
36093         (handle_file): Return zero if GNU_STACK is absent and
36094         DEFAULT_STACK_PERMS doesn't include PF_X.
36096 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36098         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36099         in child fails because the descriptor is already closed.
36100         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36101         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36102         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36104         [BZ #12397]
36105         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36106         syscall.
36108         [BZ #10484]
36109         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36110         temporary buffer used to handle multi lookups locally.
36111         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36113 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36115         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36116         loader is ld.so.
36118 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36120         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36121         alignment for SSE2.
36123 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36125         [BZ #12394]
36126         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36127         characters.  When rounding increased number of integer digits recompute
36128         number of groups.
36129         * stdio-common/tst-grouping.c: New file.
36130         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36132 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36134         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36135         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36137         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36138         void.
36139         * bits/select.h: Likewise.
36141 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36143         * po/ja.po: Update from translation team.
36145 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36147         [BZ #11155]
36148         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36149         implementation just like for lxstat, fxstatat, et al.
36151 2010-12-27  Jim Meyering  <meyering@redhat.com>
36153         [BZ #12348]
36154         * posix/regexec.c (build_trtable): Return failure indication upon
36155         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36157 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36159         [BZ #12201]
36160         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36161         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36162         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36163         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36165         [BZ #12207]
36166         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36168         [BZ #12204]
36169         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36170         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36172 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36174         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36175         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36176         script has SORT_BY_INIT_PRIORITY.
36177         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36178         NO_CTORS_DTORS_SECTIONS is defined.
36179         * elf/soinit.c: Likewise.
36180         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36181         NO_CTORS_DTORS_SECTIONS is defined.
36182         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36183         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36184         * sysdeps/sh/init-first.c: Likewise.
36185         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36187 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36189         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36190         always use the slow path.
36192 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36194         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36195         similar rule which adds the sysdep directories to the header search in
36196         order to pick up the correct platform stackinfo.h.
36197         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36198         perform test if it is, otherwise return successfully without testing.
36199         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36200         DEFAULT_STACK_PERMS define in stackinfo.h.
36201         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36202         defined in stackinfo.h.
36203         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36204         DEFAULT_STACK_PERMS defined in stackinfo.h.
36205         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36206         * sysdeps/ia64/stackinfo.h: Likewise.
36207         * sysdeps/s390/stackinfo.h: Likewise.
36208         * sysdeps/sh/stackinfo.h: Likewise.
36209         * sysdeps/sparc/stackinfo.h: Likewise.
36210         * sysdeps/x86_64/stackinfo.h: Likewise.
36211         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36212         PF_X for powerpc64.  Retain PF_X for powerpc32.
36214 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36216         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36217         accurately.
36218         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36219         GETDENTS_64BIT_ALIGNED.
36221 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36223         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36225 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36227         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36228         _GNU_SOURCE.
36230         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36231         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36232         Remove __restrict.
36233         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36234         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36236 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36238         [BZ #11655]
36239         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36240         are initialized.
36242 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36244         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36246 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36248         * po/it.po: Update from translation team.
36250 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36252         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36253         unused codes.
36255 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36257         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36259 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36261         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36262         specially.
36263         (gaih_getanswer_slice): Likewise.
36265 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36267         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36269 2010-05-31  Petr Baudis  <pasky@suse.cz>
36271         [BZ #11149]
36272         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36273         silently even in the chroot mode.
36275 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36277         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36278         last patch a bit.  Pretty printing
36280 2010-05-31  Petr Baudis <pasky@suse.cz>
36282         [BZ #10085]
36283         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36284         initialization of skip_initgroups_dyn.
36286 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36288         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36289         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36291 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36293         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36295 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36297         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36298         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36299         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36300         ($(objpfx)tst-fnmatch-mem): New rule.
36301         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36302         * posix/tst-fnmatch.c (main): Call mtrace.
36304 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36307         Support Intel processor model 6 and model 0x2c.
36309 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36311         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36312           signed comparison.
36314 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36316         [BZ #12205]
36317         * string/test-strncasecmp.c (check_result): New function.
36318         (do_one_test): Use it.
36319         (check1): New function.
36320         (test_main): Use it.
36321         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36322         Support strcasecmp and strncasecmp.
36324 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36326         [BZ #12194]
36327         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36328         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36330 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36332         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36333         IFUNC support.
36334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36335         memset-x86-64.
36336         * sysdeps/x86_64/multiarch/bzero.S: New file.
36337         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36338         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36339         * sysdeps/x86_64/multiarch/memset.S: New file.
36340         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36342         Set bit_Prefer_SSE_for_memop for Intel processors.
36343         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36344         Define.
36345         (index_Prefer_SSE_for_memop): Define.
36346         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36348 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36350         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36351         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36353 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36355         [BZ #12191]
36356         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36357         (__x86_64_raw_data_cache_size_half): Likewise.
36358         (__x86_64_raw_shared_cache_size): Likewise.
36359         (__x86_64_raw_shared_cache_size_half): Likewise.
36361         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36362         (__x86_64_raw_data_cache_size_half): Likewise.
36363         (__x86_64_raw_shared_cache_size): Likewise.
36364         (__x86_64_raw_shared_cache_size_half): Likewise.
36365         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36366         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36367         and __x86_64_raw_shared_cache_size_half.  Round
36368         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36369         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36370         to multiple of 256 bytes.
36372 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36374         [BZ #12167]
36375         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36376         of inacessible symlinks.  Verify result of symlink before returning it.
36377         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36378         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36380 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36382         * math/math.h (isinf): Fix typo in comment.
36384 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36386         * po/da.po: Update from translation team.
36388 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36390         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36391         is added to the list.
36393 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36394             Ulrich Drepper  <drepper@gmail.com>
36396         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36397         the global list here.  Move code to...
36398         (_dl_add_to_namespace_list): ...here.  New function.
36399         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36400         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36401         * elf/dl-load.c (lose): Don't remove the element from the list.
36402         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36403         (_dl_map_object): Likewise.
36405 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36407         [BZ #12159]
36408         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36409         into all bytes of SSE register.
36410         Patch by Richard Li <richardpku@gmail.com>.
36412 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36414         [BZ #12140]
36415         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36416         perturbing.
36418 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36420         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36421         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36422         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36423         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36425         submachine.
36426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36428 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36430         * include/dlfcn.h (__RTLD_SECURE): Define.
36431         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36432         mode & __RTLD_SECURE instead.
36433         (open_path): Rename preloaded parameter to secure.
36434         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36435         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36436         * elf/dl-deps.c (openaux): Likewise.
36437         * elf/rtld.c (struct map_args): Remove is_preloaded.
36438         (map_doit): Don't use it.
36439         (dl_main): Likewise.
36440         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36441         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36443 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36445         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36446         (sysd-rules-targets): Remove duplicates.
36447         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36448         rtld-%.$o dependency.
36450 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36452         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36453         _dl_map_object do it.
36455 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36457         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36458         fast fma builtins, define the macros in the C99 standard.
36459         (FP_FAST_FMAF): Likewise.
36460         (FP_FAST_FMAL): Likewise.
36461         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36463         * bits/mathdef.h: Update copyright year.
36464         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36466 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36468         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36469         builtins, define the macros in the C99 standard.
36470         (FP_FAST_FMAF): Likewise.
36471         (FP_FAST_FMAL): Likewise.
36472         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36473         multiply/add.
36474         (FP_FAST_FMAF): Likewise.
36476 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36478         [BZ #3268]
36479         * math/libm-test.inc (fma_test): Some new testcases.
36480         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36481         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36482         y and infinite z.  Do multiplication by C already in long double.
36483         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36484         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36485         y and infinite z.  Do bitwise or of inexact bit into u.d.
36486         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36487         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36488         * sysdeps/i386/fpu/s_fma.S: Removed.
36489         * sysdeps/i386/fpu/s_fmal.S: Removed.
36491 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36493         [BZ #3268]
36494         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36496         computation is not scheduled after fetestexcept.  Fix value
36497         of minimum denormal long double.
36499 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36501         [BZ #3268]
36502         * math/libm-test.inc (fma_test): Add some more tests.
36503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36504         correctly.
36506 2010-10-15  Andreas Schwab  <schwab@redhat.com>
36508         * scripts/data/localplt-s390-linux-gnu.data: New file.
36509         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36511 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
36513         [BZ #3268]
36514         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36515         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36516         instead of dbl-64.
36517         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36518         inlines.
36519         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36520         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36521         if one of x and y is very large and the other is subnormal.
36522         * sysdeps/s390/fpu/s_fmaf.c: New file.
36523         * sysdeps/s390/fpu/s_fma.c: New file.
36524         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36525         * sysdeps/powerpc/fpu/s_fma.S: New file.
36526         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36527         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36528         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36530 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
36532         [BZ #3268]
36533         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36534         fma tests.
36535         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36536         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36537         * sysdeps/i386/i686/multiarch/s_fma.c: Include
36538         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36539         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36540         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36541         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36543 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
36545         [BZ #12078]
36546         * posix/regcomp.c (parse_branch): One more memory leak plugged.
36547         * posix/bug-regex31.input: Add test case.
36549 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36551         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36552         * posix/bug-regex31.input: New file.
36554         [BZ #12078]
36555         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36556         (parse_sub_exp): Fix last change, use postorder.
36558         * posix/bug-regex31.c: New file.
36559         * posix/Makefile: Add rules to build and run bug-regex31.
36561         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36563         [BZ #12078]
36564         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36566         [BZ #12108]
36567         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36568         to have entries in sys_siglist.
36570         [BZ #12093]
36571         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36572         be NULL.
36574 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
36576         [BZ #3268]
36577         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36578         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36579         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36580         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36581         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36582         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36583         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36584         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36585         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36586         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36587         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36588         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36589         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36590         * math/ftestexcept.c (fetestexcept): Likewise.
36591         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36592         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36593         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36594         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36595         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36596         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36597         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36599 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36601         [BZ #12107]
36602         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36603         newline.
36605 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
36607         * string/bug-strstr1.c: New file.
36608         * string/Makefile: Add rules to build and run bug-strstr1.
36610 2010-10-05  Eric Blake  <eblake@redhat.com>
36612         [BZ #12092]
36613         * string/str-two-way.h (two_way_long_needle): Always clear memory
36614         when skipping input due to the shift table.
36616 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
36618         [BZ #12005]
36619         * malloc/mcheck.c: Handle large requests.
36621         [BZ #12077]
36622         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36623         for strncmp and strncasecmp.
36624         * string/stratcliff.c: Add tests for strcmp and strncmp.
36625         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36627 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36629         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36630         __set_fpscr.
36632 2010-09-30  Andreas Jaeger  <aj@suse.de>
36634         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36635         (CGROUP_SUPER_MAGIC): Define.
36636         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36637         Handle btrfs and cgroup file systems.
36638         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36639         Likewise.
36641 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
36643         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36644         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36646 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36648         [BZ #12067]
36649         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36650         trying to locate the ELF header.
36652 2010-09-27  Andreas Schwab  <schwab@redhat.com>
36654         [BZ #11611]
36655         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36656         Mask out sign-bit copies when constructing f_fsid.
36658 2010-09-24  Petr Baudis <pasky@suse.cz>
36660         * debug/stack_chk_fail_local.c: Add missing licence exception.
36661         * debug/warning-nop.c: Likewise.
36663 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
36665         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36666         implementing getdents64 using getdents syscall, set d_type if
36667         __ASSUME_GETDENTS32_D_TYPE.
36669 2010-09-16  Andreas Schwab  <schwab@redhat.com>
36671         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36672         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36674 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
36676         [BZ #12037]
36677         * posix/unistd.h: Undo change of feature selection for ftruncate from
36678         2010-01-11.
36680 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
36682         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36683         detection.
36685 2010-09-20  Andreas Schwab  <schwab@redhat.com>
36687         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36688         fanotify_mark.
36689         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36691 2010-09-14  Andreas Schwab  <schwab@redhat.com>
36693         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36694         variables after CHECK_SP call.
36695         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36697 2010-09-13  Andreas Schwab  <schwab@redhat.com>
36698             Ulrich Drepper  <drepper@redhat.com>
36700         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36701         re-relocationg ld.so.
36702         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36703         _dl_init_paths call.
36704         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
36705         here anymore.
36707 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
36709         * resolv/res_init.c (__res_vinit): Count the default server we added.
36711 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
36712             Ulrich Drepper  <drepper@redhat.com>
36714         [BZ #11968]
36715         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36716         (____longjmp_chk): Use %ebx for saving value across system call.
36717         Add unwind info.
36719 2010-09-06  Andreas Schwab  <schwab@redhat.com>
36721         * manual/Makefile: Don't mix pattern rules with normal rules.
36723 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36725         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36726         operation.
36727         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36728         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36729         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36730         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36731         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36732         Likewise.
36734 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36736         [BZ #11979]
36737         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36738         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36740 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36742         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36743         * sysdeps/x86_64/addmul_1.S: Likewise.
36744         * sysdeps/x86_64/lshift.S: Likewise.
36745         * sysdeps/x86_64/mul_1.S: Likewise.
36746         * sysdeps/x86_64/rshift.S: Likewise.
36747         * sysdeps/x86_64/sub_n.S: Likewise.
36748         * sysdeps/x86_64/submul_1.S: Likewise.
36750 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36752         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36753         Define __sched_param instead of SCHED_* and sched_param when
36754         <bits/sched.h> is included with __need_schedparam defined.
36755         * bits/sched.h [__need_schedparam]
36756         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36757         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36758         (__defined_schedparam): Define to 1.
36759         (__sched_param): New structure, identical to sched_param.
36760         (__need_schedparam): Undefine.
36762 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36764         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36765         (epoll_create1): Declare.
36767         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36769 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36771         [BZ #7066]
36772         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36773         shifting retval into place.
36775 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36777         * nis/rpcsvc/nis.h: Update copyright notice.
36778         * nis/rpcsvc/nis.x: Likewise.
36779         * nis/rpcsvc/nis_callback.h: Likewise.
36780         * nis/rpcsvc/nis_callback.x: Likewise.
36781         * nis/rpcsvc/nis_object.x: Likewise.
36782         * nis/rpcsvc/nis_tags.h: Likewise.
36783         * nis/rpcsvc/yp.h: Likewise.
36784         * nis/rpcsvc/yp.x: Likewise.
36785         * nis/rpcsvc/ypupd.h: Likewise.
36786         * nis/yp_xdr.c: Likewise.
36787         * nis/ypupdate_xdr.c: Likewise.
36789         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36790         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36791         (pmap_getport): Use __libc_rpc_getport.
36792         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36793         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36794         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36796 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36799         fanotify_mark.
36801 2010-08-27  Roland McGrath  <roland@redhat.com>
36803         * sysdeps/i386/i686/multiarch/Makefile
36804         (CFLAGS-varshift.c): New variable.
36806 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36808         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36809         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36811         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36813         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36815 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36817         * sysdeps/x86_64/strlen.S: Unroll the loop.
36818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36819         strlen-sse2 strlen-sse2-bsf.
36820         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36821         __strlen_no_bsf if bit_Slow_BSF is set.
36822         (__strlen_sse42): Removed.
36823         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36824         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36826 2010-08-25  Roland McGrath  <roland@redhat.com>
36828         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36829         * sysdeps/x86_64/multiarch/varshift.c: New file.
36830         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36831         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36832         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36833         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36835 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36837         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36838         strlen-sse2 strlen-sse2-bsf.
36839         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36840         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36841         (__strlen_sse2): Removed.
36842         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36843         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36845         bit_Slow_BSF for Atom.
36846         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36847         (index_Slow_BSF): Define.
36848         (HAS_SLOW_BSF): Define.
36850 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36852         [BZ #10851]
36853         * resolv/res_init.c (__res_vinit): When no server address at all
36854         is given default to loopback.
36856 2010-08-24  Roland McGrath  <roland@redhat.com>
36858         * configure.in: Remove config-name.h generation.
36859         * configure: Regenerated.
36860         * config-name.in: File removed.
36861         * scripts/config-uname.sh: New file.
36862         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36863         ($(objdir)config-name.h): New target.
36865         * sunrpc/rpc_parse.h: Avoid nested comment.
36867 2010-08-24  Richard Henderson  <rth@redhat.com>
36868             Ulrich Drepper  <drepper@redhat.com>
36869             H.J. Lu  <hongjiu.lu@intel.com>
36871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36872         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36873         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36874         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36875         _mm_alignr_epi8 with _mm_loadu_si128.
36876         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36877         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36878         (__m128i_shift_right): Removed.
36879         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36880         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36881         * sysdeps/x86_64/multiarch/varshift.h: New file.
36882         * sysdeps/x86_64/multiarch/varshift.S: New file.
36884 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36886         * configure.in: Move assembler checks to before sysdep dir checking.
36888 2010-08-20  Petr Baudis  <pasky@suse.cz>
36890         * LICENSES: Sync the sunrpc license.
36892 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36894         * sunrpc/auth_des.c: Update copyright notice once again.
36895         * sunrpc/auth_none.c: Likewise.
36896         * sunrpc/auth_unix.c: Likewise.
36897         * sunrpc/authdes_prot.c: Likewise.
36898         * sunrpc/authuxprot.c: Likewise.
36899         * sunrpc/bindrsvprt.c: Likewise.
36900         * sunrpc/clnt_gen.c: Likewise.
36901         * sunrpc/clnt_perr.c: Likewise.
36902         * sunrpc/clnt_raw.c: Likewise.
36903         * sunrpc/clnt_simp.c: Likewise.
36904         * sunrpc/clnt_tcp.c: Likewise.
36905         * sunrpc/clnt_udp.c: Likewise.
36906         * sunrpc/clnt_unix.c: Likewise.
36907         * sunrpc/des_crypt.c: Likewise.
36908         * sunrpc/des_soft.c: Likewise.
36909         * sunrpc/get_myaddr.c: Likewise.
36910         * sunrpc/getrpcport.c: Likewise.
36911         * sunrpc/key_call.c: Likewise.
36912         * sunrpc/key_prot.c: Likewise.
36913         * sunrpc/openchild.c: Likewise.
36914         * sunrpc/pm_getmaps.c: Likewise.
36915         * sunrpc/pm_getport.c: Likewise.
36916         * sunrpc/pmap_clnt.c: Likewise.
36917         * sunrpc/pmap_prot.c: Likewise.
36918         * sunrpc/pmap_prot2.c: Likewise.
36919         * sunrpc/pmap_rmt.c: Likewise.
36920         * sunrpc/rpc/auth.h: Likewise.
36921         * sunrpc/rpc/auth_unix.h: Likewise.
36922         * sunrpc/rpc/clnt.h: Likewise.
36923         * sunrpc/rpc/des_crypt.h: Likewise.
36924         * sunrpc/rpc/key_prot.h: Likewise.
36925         * sunrpc/rpc/netdb.h: Likewise.
36926         * sunrpc/rpc/pmap_clnt.h: Likewise.
36927         * sunrpc/rpc/pmap_prot.h: Likewise.
36928         * sunrpc/rpc/pmap_rmt.h: Likewise.
36929         * sunrpc/rpc/rpc.h: Likewise.
36930         * sunrpc/rpc/rpc_des.h: Likewise.
36931         * sunrpc/rpc/rpc_msg.h: Likewise.
36932         * sunrpc/rpc/svc.h: Likewise.
36933         * sunrpc/rpc/svc_auth.h: Likewise.
36934         * sunrpc/rpc/types.h: Likewise.
36935         * sunrpc/rpc/xdr.h: Likewise.
36936         * sunrpc/rpc_clntout.c: Likewise.
36937         * sunrpc/rpc_cmsg.c: Likewise.
36938         * sunrpc/rpc_common.c: Likewise.
36939         * sunrpc/rpc_cout.c: Likewise.
36940         * sunrpc/rpc_dtable.c: Likewise.
36941         * sunrpc/rpc_hout.c: Likewise.
36942         * sunrpc/rpc_main.c: Likewise.
36943         * sunrpc/rpc_parse.c: Likewise.
36944         * sunrpc/rpc_parse.h: Likewise.
36945         * sunrpc/rpc_prot.c: Likewise.
36946         * sunrpc/rpc_sample.c: Likewise.
36947         * sunrpc/rpc_scan.c: Likewise.
36948         * sunrpc/rpc_scan.h: Likewise.
36949         * sunrpc/rpc_svcout.c: Likewise.
36950         * sunrpc/rpc_tblout.c: Likewise.
36951         * sunrpc/rpc_util.c: Likewise.
36952         * sunrpc/rpc_util.h: Likewise.
36953         * sunrpc/rpcinfo.c: Likewise.
36954         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36955         * sunrpc/rpcsvc/key_prot.x: Likewise.
36956         * sunrpc/rpcsvc/klm_prot.x: Likewise.
36957         * sunrpc/rpcsvc/mount.x: Likewise.
36958         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36959         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36960         * sunrpc/rpcsvc/rex.x: Likewise.
36961         * sunrpc/rpcsvc/rstat.x: Likewise.
36962         * sunrpc/rpcsvc/rusers.x: Likewise.
36963         * sunrpc/rpcsvc/sm_inter.x: Likewise.
36964         * sunrpc/rpcsvc/spray.x: Likewise.
36965         * sunrpc/rpcsvc/yppasswd.x: Likewise.
36966         * sunrpc/rtime.c: Likewise.
36967         * sunrpc/svc.c: Likewise.
36968         * sunrpc/svc_auth.c: Likewise.
36969         * sunrpc/svc_authux.c: Likewise.
36970         * sunrpc/svc_raw.c: Likewise.
36971         * sunrpc/svc_run.c: Likewise.
36972         * sunrpc/svc_simple.c: Likewise.
36973         * sunrpc/svc_tcp.c: Likewise.
36974         * sunrpc/svc_udp.c: Likewise.
36975         * sunrpc/svc_unix.c: Likewise.
36976         * sunrpc/svcauth_des.c: Likewise.
36977         * sunrpc/xcrypt.c: Likewise.
36978         * sunrpc/xdr.c: Likewise.
36979         * sunrpc/xdr_array.c: Likewise.
36980         * sunrpc/xdr_float.c: Likewise.
36981         * sunrpc/xdr_mem.c: Likewise.
36982         * sunrpc/xdr_rec.c: Likewise.
36983         * sunrpc/xdr_ref.c: Likewise.
36984         * sunrpc/xdr_sizeof.c: Likewise.
36985         * sunrpc/xdr_stdio.c: Likewise.
36987         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36988         handling.
36990 2010-08-19  Andreas Schwab  <schwab@redhat.com>
36992         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36994 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
36996         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36997         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36998         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36999         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37000         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37001         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37002         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37003         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37004         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37005         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37006         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37007         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37008         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37009         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37011 2010-07-26  Anton Blanchard  <anton@samba.org>
37013         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37014         * malloc/arena.c (heap_trim): Likewise.
37016 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37018         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37019         here.  Not...
37020         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37021         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37023 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37025         * sysdeps/i386/elf/Makefile: New file.
37027 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37029         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37030         from fanotify_init.
37031         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37032         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37034 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37036         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37037         of strncasecmp_l.
37038         * sysdeps/multiarch/strcmp.S: Likewise.
37040 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37042         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37043         strncase_l-nonascii.
37044         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37045         Add strncase_l-ssse3.
37046         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37047         * sysdeps/x86_64/strcmp.S: Likewise.
37048         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37049         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37050         * sysdeps/x86_64/strncase.S: New file.
37051         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37052         * sysdeps/x86_64/strncase_l.S: New file.
37053         * string/Makefile (strop-tests): Add strncasecmp.
37054         * string/test-strncasecmp.c: New file.
37056         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37057         warning.
37059         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37060         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37062 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37064         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37066 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37068         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37069         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37070         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37072 2010-05-01  Alan Modra  <amodra@gmail.com>
37074         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37075         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37076         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37077         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37078         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37079         tidying.  Don't tail-call __sigjmp_save for static lib.
37080         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37081         save location.
37082         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37083         (CALL_MCOUNT): Add eh info, and nop after bl.
37084         (TAIL_CALL_SYSCALL_ERROR): New macro.
37085         (PSEUDO_RET): Use it.
37086         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37087         Correct save location of integer regs and cr.
37088         (_dl_profile_resolve): Correct cr save location.  Delete nops
37089         after bl when SHARED.  Reduce cfi size a little by better
37090         placement of cfi directives.
37091         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37092         make a stack frame.  Instead use parm save area as a temp.
37093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37094         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37096         Don't make a stack frame for parent, use parm save area.
37097         Increase child stack frame to 112 bytes.  Don't save unused reg,
37098         and adjust reg usage.  Set up cfi on error recovery and
37099         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37101         (__makecontext): Add dummy nop after jump to exit.
37102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37103         Use correct parm save area and cr save, reduce stack frame.
37104         Correct cfi for possible PSEUDO_RET frame setup.
37105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37106         Branch to local label emitted by PSEUDO_RET rather than
37107         __syscall_error.
37109 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37111         [BZ #11904]
37112         * locale/programs/locale.c (print_assignment): New function.
37113         (show_locale_vars): Use it.
37115 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37117         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37118         field.
37119         (struct statfs64): Likewise.
37120         (_STATFS_F_FLAGS): Define.
37121         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37122         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37123         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37124         (ST_VALID): Define locally.
37125         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37126         __statvfs_getflags, use the provided value.
37127         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37128         __ASSUME_STATFS_F_FLAGS.
37130         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37132         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37133         Add sys/fanotify.h.
37134         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37135         fanotify_mask for GLIBC_2.13.
37136         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37137         fanotify_init and fanotify_mark.
37138         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37139         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37141         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37142         Add prlimit.
37143         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37144         prlimit64 for GLIBC_2.13.
37145         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37146         prlimit64.
37147         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37148         syscall.
37149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37150         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37151         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37152         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37153         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37154         add prlimit alias.
37155         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37157         [BZ #11903]
37158         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37159         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37161         * nss/Makefile: Add rules to build and run tst-nss-test1.
37162         * shlib-versions: Add entry for libnss_test1.
37163         * nss/nss_test1.c: New file.
37164         * nss/tst-nss-test1.c: New file.
37166         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37167         (__nss_configure_lookup): Set appropriate entry in
37168         __nss_configure_lookup to true.
37169         * nss/nsswitch.h: Define enum with indeces of databases in
37170         databases and __nss_database_custom arrays.  Declare
37171         __nss_database_custom.
37172         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37173         to avoid using nscd when custom rules are installed.
37174         * nss/getXXbyYY_r.c: Likewise.
37175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37177         * nss/nss_files/files-parse.c: Whitespace fixes.
37179 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37181         [BZ #11883]
37182         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37183         * posix/fnmatch_loop.c: Likewise.
37185 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37187         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37188         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37189         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37190         * Versions.def [GLIBC_2.13]: Add.
37192 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37194         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37195         Also fail if tpwd after pwuid call is NULL.
37197 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37199         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37200         when converting to ms.
37202 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37204         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37205         EOPNOTSUPP errors with ENOTTY.
37206         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37207         EOPNOTSUPP errors with ENOTTY.
37209 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37211         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37212         Add strcasecmp_l-ssse3.
37213         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37214         strcasecmp.
37215         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37216         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37217         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37219 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37221         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37223         * string/Makefile (strop-tests): Add strcasecmp.
37224         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37225         strcasecmp_l-nonascii.
37226         (gen-as-const-headers): Add locale-defines.sym.
37227         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37228         * sysdeps/x86_64/strcasecmp.S: New file.
37229         * sysdeps/x86_64/strcasecmp_l.S: New file.
37230         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37231         * sysdeps/x86_64/locale-defines.sym: New file.
37232         * string/test-strcasecmp.c: New file.
37234         * string/test-strcasestr.c: Test both ends of the range of characters.
37235         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37237 2010-07-29  Roland McGrath  <roland@redhat.com>
37239         [BZ #11856]
37240         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37242 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37244         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37245         for ld.so.
37247 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37249         * manual/memory.texi (Malloc Tunable Parameters): Document
37250         M_PERTURB.
37252 2010-07-26  Roland McGrath  <roland@redhat.com>
37254         [BZ #11840]
37255         * configure.in (-fgnu89-inline check): Set and substitute
37256         gnu89_inline, not libc_cv_gnu89_inline.
37257         * configure: Regenerated.
37258         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37260 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37262         * string/test-strnlen.c: New file.
37263         * string/Makefile (strop-tests): Add strnlen.
37264         * string/tester.c (test_strnlen): Add a few more test cases.
37265         * string/tst-strlen.c: Better error reporting.
37267         * sysdeps/x86_64/strnlen.S: New file.
37269 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37271         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37272         lower-latency instructions.
37274 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37276         * string/test-strcasestr.c: New file.
37277         * string/test-strstr.c: New file.
37278         * string/Makefile (strop-tests): Add strstr and strcasestr.
37279         * string/str-two-way.h: Don't undefine MAX.
37280         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37282 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37285         strcasestr-nonascii.
37286         (CFLAGS-strcasestr-nonascii.c): Define.
37287         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37288         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37289         Remove unused attribute.
37291 2010-07-20  Roland McGrath  <roland@redhat.com>
37293         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37294         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37295         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37296         like LD_HWCAP_MASK can disable hwcaps.
37298 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37300         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37302 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37304         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37305         call in strcasestr.
37306         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37307         __strcasestr_sse42_nonascii.
37308         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37309         strcasestr-nonascii.c.
37310         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37312 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37314         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37315         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37316         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37317         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37319 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37321         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37322         fcntl.
37324 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37326         [BZ #11577]
37327         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37328         dl_signal_cerror.
37330 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37332         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37333         _PC_PIPE_BUF using F_GETPIPE_SZ.
37335 2010-07-05  Roland McGrath  <roland@redhat.com>
37337         * manual/arith.texi (Rounding Functions): Fix rint description
37338         implicit in round description.
37340 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37342         * elf/Makefile: Fix linking for a few tests to make recent linker
37343         happy.
37345 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37347         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37348         $(common-objpfx)libc_nonshared.a.
37350 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37352         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37353         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37354         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37355         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37356         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37357         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37358         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37359         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37374         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37375         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37376         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37377         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37378         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37379         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37380         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37381         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37382         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37383         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37384         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37385         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37401 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37403         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37404         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37405         * string/memmove.c (memmove): Renamed to ...
37406         (MEMMOVE): ...this.  Default to memmove.
37407         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37408         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37409         (END_CHK): Define.
37410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37411         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37412         mempcpy-ssse3-back memmove-ssse3-back.
37413         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37414         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37415         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37416         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37417         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37418         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37419         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37420         * sysdeps/x86_64/multiarch/memmove.c: New file.
37421         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37422         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37423         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37424         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37425         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37426         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37427         Define.
37428         (index_Fast_Copy_Backward): Define.
37429         (HAS_ARCH_FEATURE): Define.
37430         (HAS_FAST_REP_STRING): Define.
37431         (HAS_FAST_COPY_BACKWARD): Define.
37433 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37435         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37436         Restore proper fallback handling.
37438 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37440         [BZ #11701]
37441         * posix/group_member.c (__group_member): Correct checking loop.
37443         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37444         OOM in getpwuid_r correctly.  Return error number when the caller
37445         should return, otherwise -1.
37446         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37447         call returning > 0 value.
37448         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37450 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37452         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37453         libc_nonshared.a from targets in modules-names.
37455 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37457         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37458         requires it.
37460 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37462         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37463         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37464         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37465         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37467 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37469         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37471 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37473         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37474         and F_GETPIPE_SZ.
37475         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37476         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37477         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37479         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37480         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37482 2010-06-14  Roland McGrath  <roland@redhat.com>
37484         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37486 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37488         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37489         __REDIRECT followed by __THROW.
37490         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37491         * posix/getopt.h (getopt): Likewise.
37493 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37495         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37496         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37497         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37498         in AT_FLAGS.
37499         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37500         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37502 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37504         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37506 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
37508         [BZ #11640]
37509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37510         Properly check family and model.
37512 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
37514         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37516 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
37518         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37520 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
37522         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37523         symbol reference.
37525 2010-05-19  Andreas Schwab  <schwab@redhat.com>
37527         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37528         symbol reference.
37530 2010-05-21  Andreas Schwab  <schwab@redhat.com>
37532         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37533         and internal_recvmmsg.
37534         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37535         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37536         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37537         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37539         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37540         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37541         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37543 2010-05-20  Andreas Schwab  <schwab@redhat.com>
37545         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37547 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
37549         POWER7 optimizations.
37550         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37551         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37553 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
37555         * version.h: Update for 2.13 development version.
37557 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
37559         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37560         exceptions.  Return 0.
37562 2010-05-07  Roland McGrath  <roland@redhat.com>
37564         * elf/ldconfig.c (main): Add a const.
37566 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
37568         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37569         (args_options): Add no-idn option.
37570         (ahosts_keys_int): Add idn_flags to ai_flags.
37571         (parse_option): Handle 'i' option to clear idn_flags.
37573         * malloc/malloc.c (_int_free): Possible race in the most recently
37574         added check.  Only act on the data if no current modification
37575         happened.
37577 See ChangeLog.17 for earlier changes.